dependency-check / azuredevops

Dependency Check Azure DevOps Extension
Apache License 2.0
47 stars 25 forks source link

How to output two file formats, not all (With YAML pipeline) #20

Closed gavinsteinhoff closed 5 years ago

gavinsteinhoff commented 5 years ago

Is it possible to output only two file types instead of all?

ejohn20 commented 5 years ago

You can configure this using the format option:

steps:
- task: dependency-check.dependencycheck.dependency-check-build-task.dependency-check-build-task@5
  displayName: 'Dependency Check'
  inputs:
    projectName: 'Puma Prey'
    scanPath: '**/*.csproj'
    format: 'HTML,JSON,JUNIT'
    failOnCVSS: 9
    additionalArguments: '--scan "$(Build.SourcesDirectory)\**\packages.config"'
ejohn20 commented 5 years ago

Valid options are:

CSV,HTML,JSON,JUNIT,XML