Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.DS_Store
node_modules
node_modules
example/*
delete_issues.js
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ The tool will need some information passed to it as parameters (many are optiona
* Default is 'directory'

* Optional
* policy
* **Strongly recommended**: Policy name from the Veracode platform to use for policy evaluation. The policy name will be automatically URL encoded (e.g., %26 for &, %2F for /) when downloading and using the policy. If a policy is not specified, the policy shield on the Veracode platform will remain empty and the action will not be able to make a decision on whether the workflow step should fail based on policy violations. The policy will be downloaded as a `.rego` file and attached to all scan commands.
* fail_build
* Fail the build upon findings. Takes true or false
* debug
Expand Down Expand Up @@ -83,6 +85,7 @@ The basic yml
type: "directory"
source: "./"
format: "json"
policy: "My Policy Name"
debug: false
fail_build: true
```
Expand Down
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,12 @@ inputs:
default: 'CLOUD'
required: false
generate_sbom_output:
description: 'Generate SBOM files as part of the scan'
default: 'true'
required: false
description: 'Generate SBOM files as part of the scan'
default: 'true'
required: false
policy:
description: 'Policy name from Veracode platform to use for policy evaluation. The policy name will be URL encoded automatically (e.g., %26 for &, %2F for /).'
required: false
runs:
using: 'node20'
main: 'dist/index.js'
Expand Down
Loading