Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ Ensure that you're using the <a href="https://github.com/Checkmarx/kics-github-a
| secrets_regexes_path | ./mydir/secrets-config.json | path to custom secrets regex rules configuration file | String | No | N/A |
| libraries_path | ./myLibsDir | path to directory with Rego libraries | String | No | N/A |
| cloud_provider | aws,azure | list of cloud providers to scan (alicloud, aws, azure, gcp) | String | No | N/A |
| use-ecr-registry | true | Whether to use AWS ECR as the container registry | Boolean | No | false |
| use-artifact-registry | true | Whether to use Google Artifact Registry as the container registry | Boolean | No | false |


## Simple usage example
Expand Down
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ inputs:
description: "Whether to use AWS ECR as the container registry"
required: false
default: "false"
use-artifact-registry:
description: "Whether to use Google Artifact Registry as the container registry"
required: false
default: "false"
branding:
icon: "shield"
color: "green"
Expand All @@ -119,6 +123,8 @@ runs:
run: |
if [[ "${{ inputs.use-ecr-registry }}" == "true" ]]; then
IMAGE="655028521085.dkr.ecr.eu-west-1.amazonaws.com/cp-gha-kics:0.0.2"
elif [[ "${{ inputs.use-artifact-registry }}" == "true" ]]; then
IMAGE="europe-west2-docker.pkg.dev/prj-itv-cloudsec-prod/org-images/gha-kics:0.0.2"
else
IMAGE="ghcr.io/itv/kics-github-action:develop"
fi
Expand Down