Trento Checks are the way Trento provides continous infractructure compliance.
They are implemented with a declarative, YAML-based DSL aiming at expressing some expectations on the configuration of a target system, or a group of target systems.
The Checks are then executed by our Trento checks engine, Wanda.
The Checks code was originally hosted together with Wanda itself and only later decoupled in this repository, so most of the related documentation will remain there until migrated somewhere else (if ever).
You can start learning more by consulting the specification document.
Wanda architecture aims to simplify testing Checks Executions and adding new ones.
Start the environment with:
$ docker-compose up -d
Wanda is exposed on port 4000
and the API documentation is available at http://localhost:4000/swaggerui
Note that the message broker must be reachable by Wanda and all the targets.
Built-in Checks can be found in the Catalog directory at ./checks/
To implement new checks and test them:
- write a new Check Specification file
- locate the newly created Check in the Catalog directory
./checks/
- test the execution as described in the check engine
See CONTRIBUTING.md
See the LICENSE notice.