Enable Advanced Security for your repository. A shield icon appears in the repository view for any repository with Advanced Security enabled. You can enable Advanced Security at the organization, project, or repository level. To access each of the scanning tools and results, you need to first enable Advanced Security. Advanced Security is billed based on the number of unique active committers across all enabled repositories in your subscription. Learn more: https://learn.microsoft.com/en-us/azure/devops/repos/security/configure-github-advanced-security-features
1. Go to Project Settings. 2. Select Repos -> Repositories. 3. Select the repository you want to enable Advanced Security for. 4. Turn 'On' the setting 'Advanced Security'.
{
"target": "ADORepositoryAdvancedSecurityEnablement",
"if": {
"allOf": [
{
"resource": "ADORepositoryAdvancedSecurityEnablement",
"property": "AdvSecEnabled",
"operator": "equals",
"value": true
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions