trivy-azure-pipelines-task icon indicating copy to clipboard operation
trivy-azure-pipelines-task copied to clipboard

Request to change --security-checks to --Scanners

Open akhil-ph opened this issue 1 year ago • 4 comments

When I'm using trivy task in my pipeline, I'm getting a warning --security-checks is deprecated use --scanners instead. I'm using trivy version 0.42.1

please make this change in a way that we can choose the type of scanner to use via argument eg:

- task: trivy@1
  displayName: 'trivy container'
  inputs:
    version: 'v0.42.1'
    docker: false
    image: 'node:latest'
    scanners: 'vuln,secret'
    severities: 'HIGH,CRITICAL'
    exitCode: '1'
    ignoreUnfixed: true
    options: '--vuln-type library'

akhil-ph avatar Jun 16 '23 06:06 akhil-ph