You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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.
All reactions