Fix AWF resolution in PR Sous Chef detection job#32169
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
|
|
|
|
|
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
✅ Smoke OTEL — OTEL telemetry verified |
|
🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧 |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
Commit pushed:
|
Agent Container Tool Check
Result: 12/12 tools available ✅ Overall Status: PASS
|
|
Smoke Test Codex 25874070518: FAIL Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
|
|
Bug Fix
What was the bug?
PR Sous Cheffailed with a downstream “No Safe Outputs Generated” symptom, but the actual break was earlier in threat detection: the detection job never started AWF becausesudo -E awfresolved to no binary on the runner (sudo: awf: command not found).How did you fix it?
Secure-path compatibility
actions/setup/sh/install_awf_binary.shto expose the installed AWF binary at/usr/bin/awfon Linux.sudo -E awfworking even whensudodoes not include/usr/local/binin its effectivePATH.Installer hardening
Detection-path verification
awfis callable under a minimal sudo-style secure path, matching the execution mode used by detection jobs.Example
Changeset
awfbinary available under a secure sudo path on Linux and validating the install-time compatibility symlink.