Contributing¶
Development setup¶
Requirements: Go 1.23+.
Build commands¶
make build # Build binary with version injection
make test # All tests, race detector enabled
make lint # golangci-lint
make vet # go vet
make fmt # gofmt
Run a single package:
Pre-PR checklist¶
Adding detection rules¶
- Add rules to
rules/default.yamlfollowing the Aguara YAML schema - Use
IAP-prefix for inter-agent rules - Include
true_positiveandfalse_positiveexamples - Run
make testto verify
Code style¶
- Follow standard Go conventions (
gofmt,go vet) - No CGO — all dependencies must be pure Go
- Keep the security pipeline order (cheapest checks first)
- Tests use
testify/assertandtestify/require
Reporting security vulnerabilities¶
See SECURITY.md.
License¶
Apache License 2.0. See LICENSE.