Difference between revisions of "Gcloud beta container images describe"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  gcloud beta container images describe "$REPOSITORY/$image@$SHA" [[--show-package-vulnerability]] --format json | jq '.package_vulnerability_summary.vulnerabilities.CRITICAL | [[length]] ')
 
  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
 
  gcloud beta container images describe "eu.[[gcr.io]]/project/nginx@sha256:358e251e4fdc3c10c95a254" --show-package-vulnerability
 
  discovery_summary:
 
  discovery_summary:

Revision as of 08:46, 30 August 2022

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: