Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: vulnerability scans of unsupported images
Lacework runs vulnerability scans only against the following list of supported distributions: * https://support.lacework.com/hc/en-us/articles/360035472393-Container-Vulnerability-Assessment-Overview Any other container image that is not listed there is unsupported and we will be displaying an error message similar to: ``` $ lacework vul report sha256:04e8df550c7b52cd8ec64143a1c853cd76b234b29ad9e37149ffe04786acd142 Usage: lacework vulnerability report <sha256:hash> [flags] Flags: --details increase details about the vulnerability report --digest tread the provided sha256 hash as image digest (DEPRECATED) (default true) -h, --help help for report --image_id tread the provided sha256 hash as image id Global Flags: -a, --account string account subdomain of URL (i.e. <ACCOUNT>.lacework.net) -k, --api_key string access key id -s, --api_secret string secret access key --debug turn on debug logging --json switch commands output from human-readable to json format --nocolor turn off colors --noninteractive disable interactive progress bars (i.e. 'spinners') -p, --profile string switch between profiles configured at ~/.lacework.toml ERROR unable to get report for the provided container image. (unsupported distribution) For more information about supported distributions, visit: https://support.lacework.com/hc/en-us/articles/360035472393-Container-Vulnerability-Assessment-Overview ``` Closes #132 Signed-off-by: Salim Afiune Maya <[email protected]>
- Loading branch information