-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23adad5
commit 9744e91
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Scan an image uploaded to ECR and fail if vulnerabilities are found. | |
```yaml | ||
- name: Scan Docker image | ||
id: docker-scan | ||
uses: alexjurkiewicz/[email protected].0 | ||
uses: alexjurkiewicz/[email protected].1 | ||
with: | ||
repository: myorg/myimage | ||
tag: v1.2.3 | ||
|
@@ -20,7 +20,7 @@ Scan an image uploaded to ECR and fail if vulnerabilities are found. | |
| ------ | --------- | ----------- | | ||
| repository | :white_check_mark: | ECR repository, eg myorg/myimage | | ||
| tag | :white_check_mark: | Image tag to scan | | ||
| fail_threshold | | Fail if any vulnerabilities equal to or over this severity level are detected. Valid values: critical, high, medium, low, informational. Default value is high. | | ||
| fail_threshold | | Fail if any vulnerabilities equal to or over this severity level are detected. Valid values: `critical`, `high`, `medium`, `low`, `informational`. Default value is `high`. | | ||
| ignore_list | | List of CVE IDs to ignore.<br/>:warning: **Note**: The `ignore_list` can either be a multi-line string (like the example below) or a list (separated using commas or spaces) containing CVE IDs to be ignored. | | ||
|
||
## Outputs | ||
|
@@ -82,7 +82,7 @@ jobs: | |
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$tag | ||
- name: Scan Docker image | ||
id: docker-scan | ||
uses: alexjurkiewicz/[email protected].0 | ||
uses: alexjurkiewicz/[email protected].1 | ||
with: | ||
repository: myorg/myimage | ||
tag: ${{ steps.docker-build.outputs.tag }} | ||
|