Skip to content

Instantly share code, notes, and snippets.

@joshjohanning
Created October 3, 2023 16:51
Show Gist options
  • Save joshjohanning/01348128d72c07cf3b9c7e7462074570 to your computer and use it in GitHub Desktop.
Save joshjohanning/01348128d72c07cf3b9c7e7462074570 to your computer and use it in GitHub Desktop.
GitHub Advanced Security in Azure DevOps
trigger:
- main
pool:
vmImage: windows-latest
variables:
advancedsecurity.codeql.querysuite: security-extended
advancedsecurity.submittoadvancedsecurity: true
steps:
- task: AdvancedSecurity-Codeql-Init@1
inputs:
languages: 'csharp'
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
- task: AdvancedSecurity-Dependency-Scanning@1
- task: AdvancedSecurity-Codeql-Autobuild@1
- task: AdvancedSecurity-Codeql-Analyze@1
- task: AdvancedSecurity-Publish@1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment