fix(ci): pin Trivy action and load compose example env - #6
cursor[bot] wants to merge 2 commits into
Conversation
CI never resolved aquasecurity/trivy-action@v2. Pin the config scan to the v0.36.0 commit and validate stacks with each .env.example so required interpolations like GRAFANA_PASSWORD succeed. Co-authored-by: Adonis Jimenez <donny-devops@users.noreply.github.com>
Co-authored-by: Adonis Jimenez <donny-devops@users.noreply.github.com>
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 1 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 2 PR taxonomy bucket(s): Security Evidence, CI/CD Recommendation. Scanned 1 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 1 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 1 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Config AuditCommit: No changed-config issues detected (success) Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 1 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
Summary
CI on
mainat238f431failed two jobs that have been red since the workflow was added:aquasecurity/trivy-action@v2(that tag does not exist; it was pinned in8a6caaa).GRAFANA_PASSWORDis required and CI randocker compose configwithout the stack.env.example.Changes
aquasecurity/trivy-action@ed142fd(v0.36.0).docker compose --env-file .env.example config --quietso required variables are present without weakening the compose:?check for real deploys.Verification
docker compose --env-file .env.example config --quietsucceeds formonitoring-analyticsandhomelab-dashboard..env.examplestill fails onGRAFANA_PASSWORDas intended.yamllintis clean on.github/workflows/ci.yml.Triggered by the merge of #2 (docs). Author: @donny-devops.