diff options
Diffstat (limited to 'security/scripts/check_security_root.sh')
-rw-r--r-- | security/scripts/check_security_root.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/scripts/check_security_root.sh b/security/scripts/check_security_root.sh index ca388fd..5dd40f8 100644 --- a/security/scripts/check_security_root.sh +++ b/security/scripts/check_security_root.sh @@ -60,6 +60,10 @@ while IFS= read -r line; do # Found in white list, exclude it sed -i "/$line/d" $FILTERED_PODS_LIST fi + # tmp ugly workaround to exlude dep (temporary dcae dockers) + if grep -e dep-$wl_name <<< "$line" > /dev/null ;then + sed -i "/$line/d" $FILTERED_PODS_LIST + fi done < $WL_RAW_FILE_PATH done < $FILTERED_PODS_LIST |