gcloud beta container images describe

From wikieduonline
Revision as of 08:46, 30 August 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

gcloud beta container images describe
gcloud container images describe --help
gcloud beta container images describe "$REPOSITORY/$image@$SHA" --show-package-vulnerability --format json | jq '.package_vulnerability_summary.vulnerabilities.CRITICAL | length ')

Examples

gcloud beta container images describe "eu.gcr.io/project/nginx@sha256:358e251e4fdc3c10c95a254" --show-package-vulnerability
discovery_summary:
  discovery: []
image_summary:
  digest: sha256:358e251e4fdc3c10c95a254
  fully_qualified_digest: eu.gcr.io/project/nginx@sha256:58e251e4fdc3c10c95a254
  registry: eu.gcr.io
  repository: project/nginx
package_vulnerability_summary:
  not_fixed_vulnerability_count: 0
  total_vulnerability_found: 0
  vulnerabilities: {}

See also

Advertising: