Skip to content

The open alternative to Salesforce, designed for AI.

Audit runner egress on the QA Scout job (#24908)

Félix Malfaite45ac7721991
diff --git a/.github/workflows/ci-e2e-main.yaml b/.github/workflows/ci-e2e-main.yaml
index ab627356bb8..7633d008422 100644
--- a/.github/workflows/ci-e2e-main.yaml
+++ b/.github/workflows/ci-e2e-main.yaml
@@ -58,6 +58,21 @@ jobs:
ports:
- 6379:6379
steps:
+ # Audit only: records every outbound endpoint this job touches in the
+ # StepSecurity insights, blocks nothing, changes no behavior. This is
+ # the observation phase for the QA Scout containment follow-up: the
+ # agent step's allowlist scopes what it does, not where the runner can
+ # reach, so once the job's endpoint set is known and stable from a few
+ # weeks of audit data, egress-policy block with that allowlist makes
+ # real-time exfiltration impossible rather than merely unscoped.
+ - name: Harden runner (egress audit)
+ # Fail-open while auditing: an observer must never redden the status
+ # check. The eventual block-mode flip drops this so it fails closed.
+ continue-on-error: true
+ uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
+ with:
+ egress-policy: audit
+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 10