workflow
unanchored
audit-all-workers
List all workers with their bindings and last-modified date.
cloudflareworkersauditsecurityinventory
Body
param([string]$token="",[string]$account="269368ec7f35ec20dd0485e72fe3ee56")\nif(-not $token){$token=$env:CF_API_TOKEN}\n$h=@{"Authorization"="Bearer $token"}\n$workers=((Invoke-WebRequest -Uri "https://api.cloudflare.com/client/v4/accounts/$account/workers/scripts" -Headers $h).Content|ConvertFrom-Json).result\nforeach($w in $workers){\n $bindings=((Invoke-WebRequest -Uri "https://api.cloudflare.com/client/v4/accounts/$account/workers/scripts/$($w.id)/bindings" -Headers $h).Content|ConvertFrom-Json).result\n $bNames=($bindings|ForEach-Object{"$($_.type):$($_.name)"}) -join ","\n Write-Output "$($w.id.PadRight(35)) $($w.modified_on.Substring(0,10)) [$bNames]"\n}
Provenance
Cryptographic details
| id | reg_wf_audit_all_workers |
| content sha256 | 5b4b5793b0ab850df038e9f8bb812cf1e1d8349563ee7ceeb906b7601bd38b36 |
Execute via API
POST /api/execute
{ "ref": "reg_wf_audit_all_workers" }
// or by hash prefix:
{ "ref": "5b4b5793b0ab850d" }
Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.