Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
… security guide Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
|
||
| See the [Safe Outputs Reference](/gh-aw/reference/safe-outputs/) for complete configuration details. | ||
|
|
||
| #### Content Sanitization |
There was a problem hiding this comment.
Removed Content Sanitization section in commit 3734e6c
| - **Length and Line Limits**: Content truncated if exceeding safety thresholds (0.5MB, 65k lines) | ||
| - **Control Character Removal**: ANSI sequences and non-printable characters stripped | ||
|
|
||
| #### Configuration Example |
There was a problem hiding this comment.
Removed Configuration Example section in commit 3734e6c
| - Each output job receives only the specific write permission it needs | ||
| - Output is validated and sanitized before any GitHub API calls | ||
|
|
||
| #### Best Practices |
There was a problem hiding this comment.
Removed Best Practices section (Safe Outputs) in commit 3734e6c
| - Reduce false positives by considering workflow design | ||
| - Provide more accurate threat assessments | ||
|
|
||
| #### Detection Response Format |
There was a problem hiding this comment.
Removed Detection Response Format section in commit 3734e6c
| - Safe output jobs are blocked from executing | ||
| - Logs and artifacts provide audit trail for review | ||
|
|
||
| #### Configuration |
There was a problem hiding this comment.
Removed Configuration section in commit 3734e6c
| enabled: false # Explicitly disable (not recommended) | ||
| ``` | ||
|
|
||
| #### Job Dependencies |
There was a problem hiding this comment.
Removed Job Dependencies section in commit 3734e6c
|
|
||
| This ensures no GitHub API write operations occur until the agent output is verified as safe. | ||
|
|
||
| #### Security Guidelines |
There was a problem hiding this comment.
Removed Security Guidelines section in commit 3734e6c
| - **Err on the side of caution**: When uncertain, treats potential threats seriously | ||
| - **Clear, actionable feedback**: Provides specific reasons for detected threats | ||
|
|
||
| #### Monitoring and Debugging |
There was a problem hiding this comment.
Removed Monitoring and Debugging section in commit 3734e6c
| 3. Add custom detection prompt instructions to provide context | ||
| 4. In rare cases, disable detection (not recommended for production) | ||
|
|
||
| #### Best Practices |
There was a problem hiding this comment.
Removed Best Practices section (Threat Detection) in commit 3734e6c
| - **Configuration**: Top-level `network.allowed` | ||
| - **Best for**: Controlling engine access to development tools and APIs | ||
|
|
||
| #### Security Best Practices |
There was a problem hiding this comment.
Removed Security Best Practices section (Network Isolation) in commit 3734e6c
|
@copilot keep the security guide as an overview and link to other in depth docs. Do not add too much details of the implentation in that page. |
…Network Isolation sections Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
…s to detailed docs Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Simplified all three sections to high-level overviews with links to detailed reference documentation in commit b7f6d65. Removed implementation details, code examples, comparison tables, and troubleshooting sections. Each section now provides a concise overview and directs users to the appropriate reference docs for details. 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
… details Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Reduced Network Isolation section to minimal overview in commit d34eba0. Removed technical implementation details (Docker containers, proxy, iptables, ecosystem identifiers) and kept only the core concepts with links to detailed documentation. 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.