Skip to content

Commit

Permalink
Merge pull request #16 from buildkite-plugins/SUP-2265
Browse files Browse the repository at this point in the history
 SUP-2265: fix unknown flag: --types
  • Loading branch information
tomowatt authored May 29, 2024
2 parents d6c2d87 + ef09992 commit 057a466
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:
env:
- WIZ_API_ID: "<your-id-goes-here>"
plugins:
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'docker'
image-address: "<image-address-to-pull-and-scan>"
```
Expand All @@ -28,7 +28,7 @@ If you are using the [AWS Assume Role Plugin](https://github.com/cultureamp/aws-
```yml
plugins:
- franklin-ross/aws-restore-role#HEAD
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'docker'
```

Expand All @@ -46,7 +46,7 @@ steps:
# to get the output of CDK diff, mount the volume in cdk diff stage
- volumes:
- './infrastructure/cdk.out:/app/infrastructure/cdk.out'
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'iac'
path: "infrastructure/cdk.out"
```
Expand All @@ -62,7 +62,7 @@ steps:
env:
- WIZ_API_ID: "<your-id-goes-here>"
plugins:
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'iac'
iac-type: 'Cloudformation'
path: 'cf-template.yaml'
Expand All @@ -82,7 +82,7 @@ steps:
env:
- WIZ_API_ID: "<your-id-goes-here>"
plugins:
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'iac'
iac-type: 'Terraform'
path: 'main.tf'
Expand All @@ -99,7 +99,7 @@ steps:
env:
- WIZ_API_ID: "<your-id-goes-here>"
plugins:
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'iac'
iac-type: 'Terraform'
path: 'my-terraform-dir'
Expand All @@ -116,7 +116,7 @@ steps:
env:
- WIZ_API_ID: "<your-id-goes-here>"
plugins:
- wiz#v1.3.0:
- wiz#v1.3.1:
scan-type: 'iac'
iac-type: 'Terraform'
path: 'plan.tfplanjson'
Expand Down
4 changes: 2 additions & 2 deletions hooks/post-command
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ if [[ -z "${!api_secret_var:-}" ]]; then
fi

if [[ -n "${IAC_TYPE}" ]]; then
args+=("--types ${IAC_TYPE}")
args+=("--types=${IAC_TYPE}")
fi

if [[ -n "${PARAMETER_FILES}" ]]; then
args+=("--parameter-files ${PARAMETER_FILES}")
args+=("--parameter-files=${PARAMETER_FILES}")
fi

# Get the architecture of the machine for running the container image due to "latest" not being multi-architecture
Expand Down

0 comments on commit 057a466

Please sign in to comment.