Study FAQ
Can Copilot content exclusion guarantee that sensitive files cannot be accessed?
Also asked as 2
- Is GitHub Copilot content exclusion a security boundary for sensitive files?
- What limitations prevent Copilot content exclusion from replacing file permissions?
Answer
No. Copilot content exclusion is a guardrail for supported Copilot access paths, not a filesystem security boundary. Use operating-system permissions and other resource access controls for data the execution environment must not access.
Content exclusion is available to organizations with Copilot Business or Enterprise. Repository administrators, organization owners and enterprise owners can configure exclusions within their applicable scope. Supported exclusion can keep affected files out of suggestions, responses and Copilot code review.
For agents in supported IDEs, Copilot CLI and the Copilot app, GitHub documents checks through Copilot tools and identifiable file paths in commands or scripts, while indirect access may escape detection. Third-party MCP servers or clients are not guaranteed to respect exclusions. Semantic information may also reach Copilot indirectly through an IDE.
Exclusions currently do not apply to symbolic links or repositories on remote filesystems. If an external server or service identity can reach the same sensitive resource, govern that route separately. An excluded path is not evidence that an overprivileged integration has lost access.
References: Content exclusion for GitHub Copilot - GitHub Docs.
Full explanation
GH-700: Apply Governance Controls to Copilot Business Work
Study guide · GH-700
Read the full explanation