Add firewall property to included file schema for network configuration parity #7971
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
included_file_schema.jsonwas missing thefirewallproperty in network configuration, preventing included files from configuring AWF (Agent Workflow Firewall) rules while main workflows could.Changes
Schema Update: Added
firewallproperty tonetwork.oneOf[1].propertiesinpkg/parser/schemas/included_file_schema.jsonnull(default AWF settings),boolean(enable/disable),string("disable"), andobject(custom args/version/log-level)sandbox.agent: falseinstead)Binary Rebuild: Schemas are embedded via
//go:embed, requiringmake buildfor changes to take effectExample
Included files can now configure firewall rules:
This enables defense-in-depth architecture where modular workflow components can specify their own network security policies.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login -json GO111MODULE 0.1-go1.25.0.linGOMODCACHE GOINSECURE GOMOD GOMODCACHE ; \ fi env -json GO111MODULE ux-amd64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ux-amd64/pkg/tooversion(http block)/usr/bin/gh gh api user --jq .login -test.paniconexit0 4470383/b374/_testmain.go(http block)/usr/bin/gh gh api user --jq .login up-uv.git nk /usr/bin/git -export -f l/linux_amd64/li/tmp/validate-js-2653740916.cjs git -C e-github-app-token.git rev-parse /usr/bin/git -json GO111MODULE 0.1-go1.25.0.lin"mcp-server-playwright" --help git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.