-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Azure Pipeline Task
- task: MicrosoftSecurityDevOps@1
displayName: 'Run Security Scan'
inputs:
categories: 'secrets, artifacts, containers, code'
tools: 'trivy,eslint'
artifactName: 'CodeAnalysisLogs'
config: '$(Build.SourcesDirectory)/.gdn/msdo-config-linux.gdnconfig'
break: false
gdnconfig
{
"tools": [
{
"tool": {
"name": "trivy",
"version": "latest"
},
"arguments": {
"Action": "filesystem",
"Target": "src/backend/api",
"ExitCode": 100,
"TableFormat": "sarif",
"Scanners": "vuln"
}
},
{
"tool": {
"name": "eslint",
"version": "latest"
},
"arguments": {
"ExclusionPatterns": "*.d.ts",
"Targets": "src/ui"
}
}
]
}
error
##[error]Error running tool 2 of 2: eslint
##[error]UnrecognizedArgumentException: Unrecognized argument key: Extensions
##[error]BreakException: Guardian detected one or more breaking results.
Metadata
Metadata
Assignees
Labels
No labels