Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
genpolicy: block self paths for copyFile requests
Self paths are not useful and may cause security issues. Also move parent check to check_symlink_source since we only need this check for symlinks. We already filter self and parent path references in this regexp https://github.com/microsoft/kata-containers/blob/06ea44595d084461340fe172ec59826c168763ff/src/tools/genpolicy/rules.rego#L1185 Signed-off-by: Saul Paredes <[email protected]>
- Loading branch information