You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: produce additional output file for non-human output formats
* feat: update parameters and format
* docs: update README to reflect parameter changes
* feat: reflect paramter changes in hook
* test: reflect parameter changes in tests
* fix: add set -e to ensure hook doesn't silently fail
* chore: remove version, pin images and remove Read Only
* feat/fix: add shared lib for handling reading env vars correctly for strings or arrays parameters
* Revert "fix: add set -e to ensure hook doesn't silently fail"
This reverts commit f0bc975.
* fix/test: correct Env Var used to read and add test
* fix: make shared.bash executable for shellcheck
* fix: update pipeline for shellcheck shared.bash
* chore: re-add read-only for volume mounts as read-write not required
* feat: add check for duplicate file formats
* set a default output that will be used for the Build Annotations so that can be refactored separately
* added notes for future changes required for loop to support multiple output files with the same file format per Wiz CLI docs
Signed-off-by: Tom Watt <tom@buildkite.com>
* tests: add tests for duplicate file output formats
Signed-off-by: Tom Watt <tom@buildkite.com>
* docs/chore: file-output-format is optional with no default
Signed-off-by: Tom Watt <tom@buildkite.com>
* refactor: move setupWiz to separate file to run unit-tests
* feat: pass env vars to container instead of using flags to remove for job logs
* refactor: remove api-secret-env parameter in favour of using WIZ_CLIENT_SECRET
Signed-off-by: Tom Watt <tom@buildkite.com>
* feat: add check for Wiz Client Credentials
Signed-off-by: Tom Watt <tom@buildkite.com>
* tests: reflect usage of WIZ_CLIENT_* Credentials
* refactor: add teardown to cleanup dirs/files for authentication tests
Signed-off-by: Tom Watt <tom@buildkite.com>
* docs: Update README to reflect usage of WIZ_CLIENT_* credentials
* refactor: move buildAnnotation to separate file to be able to test separately from post-command script
* refactor: move *Scan to separate file to be able to test separately from post-command script
* refactor: create func for determining Wiz CLI container image
* chore: update plugin versions
* tests: check Wiz CLI Image used on different architectures
* refactor: create func to get CLI arguments that are passable to other funcs
Signed-off-by: Tom Watt <tom@buildkite.com>
* refactor/tests: use get_wiz_cli_args func for tests to check expected outcomes
Signed-off-by: Tom Watt <tom@buildkite.com>
* feat: use arguments in existing funcs to accomodate changes and ensure
Signed-off-by: Tom Watt <tom@buildkite.com>
* fix: correct shellcheck
Signed-off-by: Tom Watt <tom@buildkite.com>
* fix: correct shellcheck (again)
Signed-off-by: Tom Watt <tom@buildkite.com>
* fix: correct word splitting of CLI args
Signed-off-by: Tom Watt <tom@buildkite.com>
* fix: lib dir pathing
* revert: move sourcing to hook for ease and update tests for func usage
Signed-off-by: Tom Watt <tom@buildkite.com>
---------
Signed-off-by: Tom Watt <tom@buildkite.com>
Co-authored-by: Shimon Ulewicz <sulewicz@groq.com>
0 commit comments