From 6188a88f198876991a9b76f800169d9843269caa Mon Sep 17 00:00:00 2001 From: Matthias Glastra Date: Wed, 2 Oct 2024 14:11:27 +0200 Subject: [PATCH] Update attestation/environment/sensitive_env_vars.go Co-authored-by: Kairo Araujo Signed-off-by: Matthias Glastra --- attestation/environment/sensitive_env_vars.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/attestation/environment/sensitive_env_vars.go b/attestation/environment/sensitive_env_vars.go index 50f6dd61..64f1ba24 100644 --- a/attestation/environment/sensitive_env_vars.go +++ b/attestation/environment/sensitive_env_vars.go @@ -21,11 +21,11 @@ func DefaultSensitiveEnvList() map[string]struct{} { return map[string]struct{}{ // Glob pattern list - "*_TOKEN": {}, - "SECRET_*": {}, - "*_API_KEY": {}, - "*_PASSWORD": {}, - "*_JWT": {}, + "*TOKEN*": {}, + "*SECRET*": {}, + "*API_KEY*": {}, + "*PASSWORD*": {}, + "*JWT*": {}, // Explicit list "AWS_ACCESS_KEY_ID": {},