Append Slash to Sensitive Mount Path startswith

Make L#1932 equivalent to L#1898

Signed-off-by: Brad Geesaman <bradgeesaman+github@gmail.com>
This commit is contained in:
bgeesaman 2020-09-10 15:45:55 -04:00 committed by poiana
parent f02a998526
commit cb2439d757

View File

@ -1929,7 +1929,7 @@
condition: (user_trusted_containers or
container.image.repository in (trusted_images) or
container.image.repository in (falco_sensitive_mount_images) or
container.image.repository startswith quay.io/sysdig)
container.image.repository startswith quay.io/sysdig/)
# These container images are allowed to run with hostnetwork=true
- list: falco_hostnetwork_images