Skip to content

Commit

Permalink
update README (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Long <mlongii@amazon.com>
  • Loading branch information
bluesentinelsec and Michael Long authored Sep 6, 2024
1 parent d62e2b9 commit 0ef860b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Perform the following steps to quickly add this action to your GitHub Actions pi
# modify this block to scan your intended artifact
- name: Inspector Scan
id: inspector
uses: aws-actions/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
uses: aws-actions/vulnerability-scan-github-action-for-amazon-inspector@v1
with:
# change artifact_type to either 'repository', 'container', 'binary', or 'archive'.
artifact_type: 'repository'
Expand Down Expand Up @@ -175,7 +175,7 @@ The below example shows how to enable action outputs in various locations and fo
```yaml
- name: Scan container
id: inspector
uses: aws/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
uses: aws/vulnerability-scan-github-action-for-amazon-inspector@v1
with:
artifact_type: 'container'
artifact_path: 'ubuntu:14.04'
Expand Down Expand Up @@ -219,7 +219,7 @@ The example below shows how to set up vulnerability thresholds and fail the job
```yaml
- name: Invoke Amazon Inspector Scan
id: inspector
uses: aws/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
uses: aws/vulnerability-scan-github-action-for-amazon-inspector@v1
with:
artifact_type: 'repository'
artifact_path: './'
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
role-to-assume: "arn:aws:iam::<AWS_ACCOUNT_ID>:role/<IAM_ROLE_NAME>"

- name: Scan built image with Inspector
uses: aws-actions/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
uses: aws-actions/vulnerability-scan-github-action-for-amazon-inspector@v1
id: inspector
with:
artifact_type: 'container'
Expand Down

0 comments on commit 0ef860b

Please sign in to comment.