CI/CD Gate checks your infrastructure-as-code against Australian Essential Eight (E8) and ISM compliance policies — directly from your CI pipeline.
Built by Civvra. The hosted API is available at RegoHub.
It wraps conftest and OPA/Rego to provide:
- Privilege & security controls — privileged containers, host namespace access, capabilities
- Image security — digest pinning, no
latesttags, imagePullPolicy - Secrets detection — hardcoded AWS keys, password variables without
sensitive=true - Network security — Ingress TLS, exposed ports, service exposure
- Storage controls — hostPath volumes, secret injection patterns
- Socratic mode — every violation shows framework IDs, tier labels, and remediation hints
Supported frameworks: ISM (Information Security Manual) • Essential Eight • SOCI Act
Verification tiers: L1 (Machine-Verified) • L2 (Evidence-Assisted) • L3 (Process-Mapped) • L4 (Advisory)
Currently shipped: L1 — E8 + ISM E8 ML1 baseline (55 rules, 13 policy files)
CI/CD Gate is a compliance posture monitor — not a compliance certification.
This tool evaluates infrastructure-as-code against published compliance frameworks using automated Rego policies. It provides:
- ✅ Automated posture checking against machine-testable controls
- ✅ Framework-identified violation reporting (ISM, E8, SOCI)
- ✅ Tier-labelled verification levels (L1-L4)
It does NOT provide:
- ❌ A formal compliance audit or certification
- ❌ Qualified IRAP assessor services
- ❌ Legal advice on regulatory obligations
Tier L1 controls are machine-verified. Tiers L2-L4 provide coverage monitoring and evidence collection — not certification.
Use at your own risk. Free and open-source software (Apache 2.0).
- conftest — the CLI wraps conftest to evaluate OPA/Rego policies
# macOS brew install conftest # Linux (via Linuxbrew) brew install conftest # Or download from https://github.com/open-policy-agent/conftest/releases
- Go 1.21+ (only needed for
go installmethod below)
# Install via Homebrew (macOS/Linux)
brew tap monch1962/tap
brew install cicd-gate
# Or install via Go (requires Go 1.21+)
go install github.com/monch1962/compliance-platform/packages/cicd-gate@latest
# Or download from GitHub Releases
# https://github.com/monch1962/compliance-platform/releases
# pip package coming soon (locked out of PyPI, will publish when access restored)
# Verify it works
cicd-gate version# Generate a config file (includes legal disclaimer)
cicd-gate init
# Scan the current directory
cicd-gate scan .
# Scan with verbose remediation hints (framework IDs, tier labels, remediation)
cicd-gate scan . --socratic
# Scan a specific directory with custom policies
cicd-gate scan ./infra --policy ./custom-policiesAdd to .github/workflows/compliance.yml:
name: Compliance Check
on: [pull_request]
jobs:
compliance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: monch1962/compliance-platform@v0.3.1| Policy | ID | Rules | Frameworks | Tier |
|---|---|---|---|---|
| K8s Security | K8S-SEC-* | 12 | ISM-0445, ISM-1175, ISM-1380, ISM-1688, ISM-1689, E8 #2, #6 | L1 |
| K8s IAM | K8S-IAM-* | 9 | ISM-0445, ISM-1175, ISM-1883, E8 #6 | L1-L2 |
| K8s Network | K8S-NET-* | 5 | ISM-1401, ISM-1504, E8 #5 | L1-L2 |
| K8s Storage | K8S-STO-* | 3 | ISM-0445, E8 #6 | L1-L2 |
| K8s App Control | E8-AC-* | 3 | ISM-0843, ISM-1657, ISM-1870, E8 #1 | L1 |
| K8s Patch OS | E8-OS-* | 3 | ISM-1690, ISM-1694, ISM-1877, E8 #7 | L1-L2 |
| K8s Backup | E8-BK-* | 6 | ISM-1511, ISM-1810, ISM-1811, E8 #8 | L2 |
| K8s EOL Support | CESS-* | 5 | ISM-1501, ISM-1704, ISM-1905, E8: Cessation of Support | L1 |
| K8s Vuln Scan | VULN-* | 3 | ISM-1698, ISM-1699, ISM-1876, E8: Scanning | L1-L2 |
| Docker | DKR-* | 4 | ISM-1690, ISM-1694, E8 #2 | L1-L2 |
| Secrets | SEC-* | 2 | ISM-0445, ISM-1175, E8 #6 | L1 |
Total: 55 rules across 13 policy files — 5 of 8 E8 strategies automated (E8 #3, #4 need manual attestation)
ISM control IDs sourced from ASD's official OSCAL catalog (March 2026), E8 ML1 baseline profile.
L2-L4 controls (full ISM, SOCI, CPS 234, TSSR, PSPF, APPs) are in development.
$ cicd-gate scan . --socratic
CI/CD Gate — Compliance Posture Monitor
Frameworks: ISM | E8 | SOCI
Tier: L1 (Machine-Verified)
Legal: This is a posture monitor, not a certification.
✖ K8S-SEC-001: Container "app" runs privileged
[ISM-1172] [E8: Restrict Admin Privileges (ML2)] [Tier: L1]
Fix: set securityContext.privileged: false
✓ K8S-SEC-003: Container "web" sets runAsNonRoot: true
Summary:
3 failed, 30 passed, 33 total (L1: 30/30)
# Run tests
cd packages/cicd-gate && go test ./...
# Test policies
opa test packages/policies/ -v
# Scan demo fixtures
conftest test demo/k8s/ --policy packages/policies/
# Build
cd packages/cicd-gate && go build -o cicd-gate .Apache 2.0 — Use at your own risk. This tool is not a substitute for a formal compliance audit.
See LICENSE for full terms.
