Replies: 1 comment
-
|
#8047 created (eventually) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Correct me if wrong, but isn't the first sample in the Volume Has Sensitive Host Directory query mounting an anonymous volume? i.e it isn't mounting a host directory at all.
Seems like the query is assuming that after attempting to split on a colon when the volume value doesn't have one that the first part is the host_path when in is actually the path mounted in the container:
kics/assets/queries/dockerCompose/volume_has_sensitive_host_directory/query.rego
Line 11 in 1947496
Was thinking of creating a bug issue but thought I'd just confirm here first.
Beta Was this translation helpful? Give feedback.
All reactions