bouncer

v0.3.0
io.github.nugehs/bouncer Checked 3 hours ago Published 1 month ago

Static compliance-controls checker for UK Online Safety Act & ICO Children's Code.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

compliance_check Compliance Controls Check

Run the configured regulation rule packs against the target repo and return per-control verdicts (pass/fail/unknown) with file-level evidence. Deterministic; no LLM involved.

ParameterTypeDescription
configstringPath to bouncer.config.json. Defaults to searching up from cwd.
ignorearrayRule ids to skip.
packsarrayRestrict to these pack ids (e.g. uk-osa, uk-aadc).
statusstringFilter findings: fail, unknown (fail+unknown), or all (default).

list_rules List Compliance Rules

List every rule the configured packs apply, with standard, severity, and surface. No scanning.

ParameterTypeDescription
configstringPath to bouncer.config.json.

explain_rule Explain Compliance Rule

Explain a single rule: the legal standard, intent, fix, and exactly how bouncer checks it.

ParameterTypeDescription
ruleId *stringRule id, e.g. aadc.geolocation-default-off.
configstringPath to bouncer.config.json.

list_packs List Rule Packs

List the regulation rule packs bundled with bouncer (and any local pack dirs).

ParameterTypeDescription
configstringOptional bouncer.config.json to include its packDirs.