Skip to content

Commit

Permalink
Fix action version number in examples (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Long <[email protected]>
  • Loading branch information
bluesentinelsec and Michael Long authored Apr 30, 2024
1 parent 818b780 commit 3820085
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 @@ -84,7 +84,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
uses: aws-actions/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
with:
# change artifact_type to either 'repository', 'container', 'binary', or 'archive'.
artifact_type: 'repository'
Expand Down Expand Up @@ -169,7 +169,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
uses: aws/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
with:
artifact_type: 'container'
artifact_path: 'ubuntu:14.04'
Expand Down Expand Up @@ -213,7 +213,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
uses: aws/vulnerability-scan-github-action-for-amazon-inspector@v1.0.0
with:
artifact_type: 'repository'
artifact_path: './'
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
role-to-assume: "arn:aws:iam::<AWS_ACCOUNT_ID>:role/<IAM_ROLE_NAME>"

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

0 comments on commit 3820085

Please sign in to comment.