Commit 128ef28
feat(warden): Upload findings to GCS via Workload Identity Federation (#176)
* feat(warden): Upload findings to GCS via Workload Identity Federation
Authenticate to GCP using OIDC workload identity and upload warden
findings JSON to the warden-logs bucket after each PR scan. Files are
stored as timestamped JSON under org/repo paths for downstream analysis.
Co-Authored-By: Claude <noreply@anthropic.com>
Agent transcript: https://claudescope.sentry.dev/share/1bzpd9bFJDpsTMflTcligEabMBUvuiHXGg3hoDQHdvI
* fix(warden): Address review feedback on GCS upload steps
Move GCP auth after warden scan with continue-on-error so auth failures
don't block scanning. Guard rename/upload on findings-file being
non-empty. Use env var instead of direct expression interpolation.
Co-Authored-By: Claude <noreply@anthropic.com>
Agent transcript: https://claudescope.sentry.dev/share/BKBjQj046vaZRSSn53ACddWCi8IA4OfcDBXrt63hk7U
* fix(warden): Add continue-on-error to GCS upload step
Prevent upload failures (e.g. from failed GCP auth) from failing the
entire workflow job.
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c365b23 commit 128ef28
1 file changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments