Domain (07): (QRP) Privacy fundamentals & context exclusions #43
MohamedRadwan-DevOps
announced in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Domain (07): (QRP) Privacy fundamentals & context exclusions (15%)
Document Type: QRP (Quick Revision Pack)
Scope: This document provides a high signal, minimal noise revision pack for this domain, optimized for last mile review. It focuses on crisp bullet points, micro examples, and checklists that cover the most important concepts and exam relevant angles.
Enhance code quality through testing
Testing/Improve effectiveness of existing tests
Testing/Generate boilerplate code for various test types
Testing/Write assertions for different testing scenarios
Testing/Quick check
validateUser(input)covering empty input, invalid email, valid user, duplicate user, and unexpected exception; then tighten assertions to verify exact exception messages.”Source:
Writing tests with GitHub Copilot (GitHub Docs)
Generate unit tests (Copilot Chat cookbook) (GitHub Docs)
Prompt engineering for GitHub Copilot Chat (GitHub Docs)
Leverage GitHub Copilot for security and performance
Security/Use existing tests to suggest improvements and spot issues
Code review/Enterprise collaborative reviews with security best practices
Security/Identify potential security vulnerabilities in your code
Performance/Suggest code optimizations for improved performance
Security & performance/Quick check
Source:
Analyze security (Copilot Chat cookbook) (GitHub Docs)
Using GitHub Copilot code review (GitHub Docs)
Refactor for performance optimization (Copilot Chat cookbook) (GitHub Docs)
Responsible use of GitHub Copilot (GitHub Docs)
Content exclusions
Content exclusions/Configuration
fnmatch-style matching (for example*.cfg,secret*,/scripts/**) and can include comments with#.Content exclusions/Effects
Content exclusions/Limitations
Content exclusions/Ownership of outputs
Content exclusions/Quick check
/config/**and*.env*at the org level, then reload the IDE and verify Copilot shows no inline suggestions in those files.”Source:
Content exclusion for GitHub Copilot (GitHub Docs)
Configure and audit content exclusion (GitHub Docs)
Copilot in GitHub.com now supports Content Exclusions (Preview) (GitHub Changelog)
Content Exclusion beta now supports non-Git files (GitHub Changelog)
Configure GitHub Copilot Access via Content Exclusion (Microsoft DevBlog)
Safeguards
Safeguards/Duplication detector filter
Safeguards/Contractual protection
Safeguards/Configure GitHub Copilot settings on GitHub.com
Safeguards/Security checks and warnings
Safeguards/Quick check
Source:
Managing GitHub Copilot policies as an individual subscriber (GitHub Docs)
Finding public code that matches GitHub Copilot suggestions (GitHub Docs)
Establishing trust in using GitHub Copilot (GitHub Resources)
Analyze security (Copilot Chat cookbook) (GitHub Docs)
Troubleshooting
Troubleshooting/Solve issues when suggestions are not showing for some files
Troubleshooting/Why context exclusions may not be applied
Troubleshooting/Trigger Copilot when suggestions are absent or not ideal
Troubleshooting/Steps for context exclusions in code editors
Troubleshooting/Quick check
/secrets/**, reload IDE, verify no suggestions in excluded files, then confirm non-excluded files still receive suggestions.”Source:
Troubleshooting common issues with GitHub Copilot (GitHub Docs)
Configure content exclusion (GitHub Docs)
Prompt engineering for GitHub Copilot Chat (GitHub Docs)
Beta Was this translation helpful? Give feedback.
All reactions