You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenShift clusters must meet compliance standards like CIS, E8, Moderate, and PCI-DSS. The Compliance Operator scans clusters for violations and generates remediation objects (usually MachineConfigs) to fix them. This repository automates the full workflow: installing the operator, running scans, collecting remediations, merging overlapping MachineConfigs, organizing them by topic, and generating compliance reports. A live dashboard tracks remediation progress across OCP versions.
Quick Start
# Install the operator (auto-deploys storage if needed)
./core/install-compliance-operator.sh
# Scan all profiles (E8, CIS, Moderate, PCI-DSS). Use --platform ocp|rhcos to filter.
./core/create-scan.sh
# Collect and process results
./core/collect-complianceremediations.sh
python3 core/combine-machineconfigs-by-path.py --src-dir complianceremediations --out-dir complianceremediations --no-move
./core/organize-machine-configs.sh
./core/generate-compliance-markdown.sh
# Or run everything in one command
make full-workflow
make lint # Run all linters (Python + Bash)
make python-test # Run pytest
make test-compliance # Run full CI validation on local cluster
make preflight # Check all dependencies
make serve-docs # Serve dashboard locally