Skip to content

Commit

Permalink
updated kubernetes_secrets_compare_gcp_secret_manager.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Sep 22, 2024
1 parent af72a55 commit 36513ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ check_key(){
else
gcp_secret_value="$("$srcdir/../gcp/gcp_secret_get.sh" "$gcp_secret")"
# if it's GCP service account key
# doesn't work
# false positive - trivy:ignore:gcp-service-account doesn't work
# trivy:ignore:gcp-service-account
if grep -Fq '"type": "service_account"' <<< "$gcp_secret_value"; then
if [ -n "$(diff -w <(echo "$gcp_secret_value") <(echo "$k8s_secret_value") )" ]; then
Expand Down

0 comments on commit 36513ef

Please sign in to comment.