# Run Go tests (syncs policies automatically)
make test
# Run Rego unit tests (requires conftest)
make test-rego
# Lint Rego policies (requires regal)
make lint-rego
# Build binary
make build
# Run against example configs
make demo- Create or edit a
.regofile inrules/policy/main/(rules are grouped by category) - Add the rule as
deny contains msg if { ... }(blocking) orwarn contains msg if { ... }(advisory) - Format the message as
"OTEL-NNN: description."β the engine extracts the rule ID from this prefix - Add a test in the matching
*_test.regofile - Run
make test && make test-rego && make lint-regoto verify