aboutsummaryrefslogtreecommitdiffstats
path: root/security/scripts/check_security_root.sh
diff options
context:
space:
mode:
authormorganrol <morgan.richomme@orange.com>2021-08-24 16:49:19 +0200
committermorganrol <morgan.richomme@orange.com>2021-08-30 14:59:46 +0200
commit978b2e5a8a00e2d9439afd65ab9c487b50a6357b (patch)
tree2f3adb47de3341c8d6d9576330fcdf3d4d43ecc1 /security/scripts/check_security_root.sh
parent771c3370182ba117978edf296c9145cb387e2c1b (diff)
[WAIVERS] Update regex to exclude DCAE temp dockers
DCAE create pods during the tests these dockers are created without limits As security tests are executed after the tests, such pods are detected as part of the unlimitted pods Until it is fixed, we can add them in the waiver list Issue-ID: TEST-360 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Ifb514aa15beab885b5dc15505ebb244fd1a71f95
Diffstat (limited to 'security/scripts/check_security_root.sh')
-rw-r--r--security/scripts/check_security_root.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/scripts/check_security_root.sh b/security/scripts/check_security_root.sh
index f5b55c3..90ccd6b 100644
--- a/security/scripts/check_security_root.sh
+++ b/security/scripts/check_security_root.sh
@@ -68,7 +68,7 @@ while IFS= read -r line; do
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
+ if grep -e "^dep.*dcae-tcagen2" <<< "$line" > /dev/null ;then
sed -i "/$line/d" $FILTERED_PODS_LIST
fi
done < $WL_RAW_FILE_PATH