Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils/oscap-podman: Detect ambiguous scan target
In case that a container image and a running container have the same name, `oscap-podman` scans container image and a running container is skipped. This might be unexpected and might cause a confusion for user. Therefore, this commit adds a code which detects such situation and rather informs user about ambiguous scan target and terminates. In such cases the unique container image/container ID should be used for specifying the target of the scan.
- Loading branch information