name: Security Scan (SIAX Cloud) # Advisory security scanning on every push/PR + weekly re-run, matching the # fleet convention (--exit-code 0 so findings never block merges; they are # triaged via the repo's security channel and BACKLOG). # # NOTE: findings on services/scrapers/* (FlareSolverr/Tor/curl_cffi) are # expected and out of scope for CI gating -- kept per the account owner's # dated, attributed decision (Simon Axelsson, 2026-08-11, interactive # prompt; no rationale beyond "keep it" given or invented). See SECURITY.md # and docs/compliance/GOLDEN-STANDARD-REPORT.md control C6 for full context. on: push: branches: ["**"] pull_request: workflow_dispatch: schedule: - cron: "0 5 * * 1" # weekly Monday re-scan jobs: security: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install Trivy run: | curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin - name: Trivy fs scan (vuln + secrets, advisory) run: | trivy fs --scanners vuln,secret --severity HIGH,CRITICAL --exit-code 0 .