Write compliance rules as plain sentences, and get a report of what was checked, what was found and why each check passed or failed. Runs as a Rego library or as a Rust command.
https://ergo.kosli.com/ โ// momentum
// why it's here
- Created 8 weeks ago and already shipping
- Built almost entirely by one person
- Health 94/100 with only 22 stars
- 10 releases in the last 90 days
// how to help
// readme
Ergo
Ergo checks that your deployments, pull requests or expenses follow rules written as plain sentences, like approved_by is a non-empty string, and gives back a report that says what it checked, what it found and why each check passed or failed. Whoever owns a rule can write it, and whoever has to trust the result can read the report without knowing how it was computed.
Ergo is at 0.6. Any 0.x release may still change what a policy says or what a report shows, and CHANGELOG.md says when it does.
What Ergo does
Policies read like sentences
A check is one line: approved_by is a non-empty string, every commits.verified is true, some licenses is in $params.allowed_licenses. Sentences can also count, compare times, match patterns and allow a margin, as in count of approvers is at least 2, reviewed_at is before deployed_at, branch matches '^release/' or cost is 2.5 within 0.01. When a check can pass in more than one way, any_of names the ways.