Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix TestContainerVulnerabilityCommandsEndToEnd (#1484)
* ci: fix TestContainerVulnerabilityCommandsEndToEnd Signed-off-by: Salim Afiune Maya <[email protected]> * fix(cli): ctr show-assessment speed from 6m to 30s Just by using the `Returns` field on the search. 🤦 ``` ➜ go-sdk git:(afiune/ci/fix) date;./bin/lacework-cli-darwin-amd64 vuln container show-assessment sha256:a65572164cb78c4d04f57bd66201c775e2dab08fce394806a03a933c5daf9e48 --image_id --nocache;date Tue Dec 12 17:26:07 PST 2023 Flag --image_id has been deprecated, by default we now look up both, image_id and image_digest at once. CONTAINER IMAGE DETAILS VULNERABILITIES ------------------------------------------------------------------------------------------+--------------------------------- ID sha256:a65572164cb78c4d04f57bd66201c775e2dab08fce394806a03a933c5daf9e48 SEVERITY COUNT FIXABLE Digest sha256:77b2d2246518044ef95e3dbd029e51dd477788e5bf8e278e418685aabc3fe28a -----------+-------+---------- Registry index.docker.io Critical 45 30 Repository techallylw/test-cli-dirty High 169 91 Size 343.9 MB Medium 143 85 Created At 2020-11-12T00:29:45Z Low 0 0 Tags latest Info 345 6 Try adding '--details' to increase details shown about the vulnerability assessment. Tue Dec 12 17:26:36 PST 2023 ➜ go-sdk git:(afiune/ci/fix) ✗ date;lacework vuln container show-assessment sha256:a65572164cb78c4d04f57bd66201c775e2dab08fce394806a03a933c5daf9e48 --image_id --nocache;date Tue Dec 12 17:26:57 PST 2023 Flag --image_id has been deprecated, by default we now look up both, image_id and image_digest at once. CONTAINER IMAGE DETAILS VULNERABILITIES ------------------------------------------------------------------------------------------+--------------------------------- ID sha256:a65572164cb78c4d04f57bd66201c775e2dab08fce394806a03a933c5daf9e48 SEVERITY COUNT FIXABLE Digest sha256:77b2d2246518044ef95e3dbd029e51dd477788e5bf8e278e418685aabc3fe28a -----------+-------+---------- Registry index.docker.io Critical 45 30 Repository techallylw/test-cli-dirty High 169 91 Size 343.9 MB Medium 143 85 Created At 2020-11-12T00:29:45Z Low 0 0 Tags latest Info 345 6 Try adding '--details' to increase details shown about the vulnerability assessment. Tue Dec 12 17:31:08 PST 2023 ➜ go-sdk git:(afiune/ci/fix) ✗ ``` Signed-off-by: Salim Afiune Maya <[email protected]> --------- Signed-off-by: Salim Afiune Maya <[email protected]>
- Loading branch information