Skip to content

Commit

Permalink
changing default image tag from 'latest' (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
psig-bah authored Dec 14, 2022
1 parent 5a4103b commit 305a9ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/owasp_dep_check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ OWASP Dependency Check Library Configuration Options
| `cvss_threshold` | A number between 0 and 10, inclusive, representing the failure threshold for vulnerabilities (**note:** will never fail unless a threshold is provided) | |
| `allow_suppression_file` | Allows whitelisting vulnerabilities using a suppression XML file | `true` |
| `suppression_file` | Path to the suppression file (see [here](https://jeremylong.github.io/DependencyCheck/general/suppression.html) for how to create a suppression file) | `dependency-check-suppression.xml` |
| `image_tag` | The tag for the scanner Docker image used | `latest` |
| `image_tag` | The tag for the scanner Docker image used | `7.3.0-8.6-2` |

## Example Configuration Snippet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void call() {
}
}

String image_tag = config?.image_tag ?: "latest"
String image_tag = config?.image_tag ?: "7.3.0-8.6-2"
inside_sdp_image "owasp-dep-check:$image_tag", {
unstash "workspace"

Expand Down

0 comments on commit 305a9ea

Please sign in to comment.