Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
tenantguard
command
Command tenantguard scans a self-hosted multi-tenant AI-agent deployment's configuration for confirmed tenant-isolation defects (TA01-TA05 and several extension rules), each mapped to a goclaw GitHub issue or pull request that reproduces the same failure mode, and reports findings with an optional (provisional, unverified) HIPAA Sec164.312 citation.
|
Command tenantguard scans a self-hosted multi-tenant AI-agent deployment's configuration for confirmed tenant-isolation defects (TA01-TA05 and several extension rules), each mapped to a goclaw GitHub issue or pull request that reproduces the same failure mode, and reports findings with an optional (provisional, unverified) HIPAA Sec164.312 citation. |
|
internal
|
|
|
collector
Package collector walks a target deployment's configuration directory and produces a single, merged CollectedConfig document.
|
Package collector walks a target deployment's configuration directory and produces a single, merged CollectedConfig document. |
|
compliance
Package compliance attaches regulatory-control citation metadata to scan findings.
|
Package compliance attaches regulatory-control citation metadata to scan findings. |
|
demo
Package demo bundles a single synthetic deployment config combining one violation of each TA01-TA05 rule plus TA09/TA10/TA13 (deployment-level checks), TA06 (cron creator identity), TA07 (sandbox container privilege), and TA11 (cross-tenant channel-session collision), so `tenantguard scan --demo`
|
Package demo bundles a single synthetic deployment config combining one violation of each TA01-TA05 rule plus TA09/TA10/TA13 (deployment-level checks), TA06 (cron creator identity), TA07 (sandbox container privilege), and TA11 (cross-tenant channel-session collision), so `tenantguard scan --demo` |
|
policy
Package policy embeds Open Policy Agent (github.com/open-policy-agent/opa/v1/rego) as a library — not a subprocess, not a hosted control plane — to evaluate the TA01-TA05 and TA13 tenant-isolation rules against a collector.CollectedConfig.
|
Package policy embeds Open Policy Agent (github.com/open-policy-agent/opa/v1/rego) as a library — not a subprocess, not a hosted control plane — to evaluate the TA01-TA05 and TA13 tenant-isolation rules against a collector.CollectedConfig. |
|
report
Package report renders scan findings as human-readable terminal output and as SARIF 2.1.0 (via github.com/owenrumney/go-sarif/v3), reusing a maintained library for the SARIF object model instead of hand-rolling the schema — see tenantguard-eng-review-2026-07-11.md, Search Before Building.
|
Package report renders scan findings as human-readable terminal output and as SARIF 2.1.0 (via github.com/owenrumney/go-sarif/v3), reusing a maintained library for the SARIF object model instead of hand-rolling the schema — see tenantguard-eng-review-2026-07-11.md, Search Before Building. |
Click to show internal directories.
Click to hide internal directories.