feat(security-identity): add security review gate via CODEOWNERS, PR template, and label#333
Merged
WilliamBerryiii merged 2 commits intomainfrom Apr 1, 2026
Merged
Conversation
…template, and label - add security-sensitive path entries to CODEOWNERS for SECURITY.md, 010-security-identity, deploy - add Security Review checklist section to PR template with 5 security checks - replace stale MegaLinter reference with generic lint checks pass item - create security-reviewed label for PRs touching security-sensitive paths 🔒 Fixes #171 - Generated by Copilot
katriendg
approved these changes
Mar 31, 2026
rezatnoMsirhC
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Established a security review gate for PRs touching security-sensitive paths in the repository. Three security-sensitive paths were registered in CODEOWNERS with
@microsoft/edge-ai-core-devas required reviewer. A new Security Review checklist section was added to the PR template with five security-focused checks. Asecurity-reviewedlabel was created to mark PRs that have completed security review./SECURITY.md,/src/000-cloud/010-security-identity/, and/deploy/with a comment header documenting the label requirementmega-linter-runner) with a tool-agnostic "lint checks pass" checklist item#0E8A16for PRs touching security-sensitive pathsRelated Issue
Fixes #171
Type of Change
Implementation Details
The security review gate uses a three-part approach:
@microsoft/edge-ai-core-devwhen PRs modify/SECURITY.md,/src/000-cloud/010-security-identity/, or/deploy/.security-reviewedlabel signals that a PR touching security-sensitive code has been reviewed and approved from a security perspective.The stale MegaLinter checklist item was replaced with a generic lint check item since the repository no longer uses MegaLinter.
Testing Performed
Manual validation performed:
/deploy/entry and all paths have correct leading/security-reviewedlabel exists inmicrosoft/edge-aiviagh label listmarkdownlinton PULL_REQUEST_TEMPLATE.md — passed with zero errorsValidation Steps
/SECURITY.md,/src/000-cloud/010-security-identity/, and/deploy/gh label list --search security-reviewedto confirm the label existsChecklist
terraform fmton all Terraform codeterraform validateon all Terraform codeaz bicep formaton all Bicep codeaz bicep buildto validate all Bicep codeSecurity Review
Additional Notes
Follow-up Tasks
security-reviewedis missing on PRs touching the designated pathsScreenshots (if applicable)
N/A — configuration-only changes with no visual components.