Skip to content

Commit

Permalink
vuln thresholds dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Long committed Feb 21, 2024
1 parent 719745f commit 19b1088
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ description: 'Generate SBOMs and scan for vulnerabilities in your project reposi
inputs:
artifact_type:
description: 'The artifact type you would like to scan with Amazon Inspector. Valid choices are "repository", "container", "binary", or "archive".'
required: yes
required: true
default: 'repository'

artifact_path:
description: 'The filepath to the artifact you would like to scan with Amazon Inspector. If scanning a container image, you must provide a value that follows the docker pull convention: "NAME[:TAG|@DIGEST]", for example, "alpine:latest", or a filepath to an image exported as tarball using "docker save".'
required: yes
required: true
default: './'

enable_vulnerability_thresholds:
description: 'If set to true, this will cause the Action to fail with exit code 1 when vulnerability thresholds are exceeded. This is intended to block uploads of build artifacts when the vulnerability threshold is exceeded.'
required: no
required: false
default: false

critical_threshold:
description: "The number of critical vulnerabilities that should trigger Action failure; this value does nothing when set to zero."
required: no
required: false
default: 0

high_threshold:
description: "The number of high vulnerabilities that should trigger Action failure; this value does nothing when set to zero."
required: no
required: false
default: 0

medium_threshold:
description: "The number of medium vulnerabilities that should trigger Action failure; this value does nothing when set to zero."
required: no
required: false
default: 0

low_threshold:
description: "The number of low vulnerabilities that should trigger Action failure; this value does nothing when set to zero."
required: no
required: false
default: 0


Expand Down

0 comments on commit 19b1088

Please sign in to comment.