feat(SIG-107): add Regal policy linting batch - #29
Conversation
Sigilix OverviewEffort: 3/5 (medium) Quality gates
Summary — latest pushAdds default-on Regal Rego policy linting with a pinned binary checksum and a runner-owned high-confidence bug/import profile, and extracts the inline zizmor and Hadolint scan steps into standalone runner scripts to keep scan.yml under the 1k-line limit. The Regal integration wires through the static tool manifest, SARIF contract, README catalog, and CI test list. The specialist review found zero findings and approved the change. Important files
Sequence diagramsequenceDiagram
participant CI as scan.yml
participant Regal as run_regal.sh
participant Config as regal-sigilix.yaml
participant SARIF as sigilix_sarif_contract.py
CI->>Regal: bash run_regal.sh
Regal->>Regal: discover_rego_files
Regal->>Regal: download & verify regal binary
Regal->>Config: load --config-file
Regal->>Regal: regal lint (SARIF output)
Regal->>SARIF: normalize regal.raw.sarif → regal.sarif
Confidence: 4/5The change is well-structured with comprehensive tests, pinned binary verification, and graceful empty-SARIF fallbacks, though the new shell scripts would benefit from integration tests covering their failure paths.
Suggested labels: |
|
Warning Review limit reached
More reviews will be available in 36 minutes and 23 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Post-merge response to Sigilix overview notes:
Validation for commit |
What
Why
How verified