简体   繁体   English

推送到工件存储库未触发 GCP 容器扫描

[英]GCP Container Scanning not triggered by pushing to Artifact Repository

Even though the Container Scanning API is enabled and Vulnerability scanning is enabled for the Artifact Registry, newly pushed images are not being scanned.即使启用了容器扫描 API 并为 Artifact Registry 启用了漏洞扫描,新推送的图像也不会被扫描。

在此处输入图像描述

On-demand scan results also don't show up in the Artifact Repository UI.按需扫描结果也不会显示在工件存储库 UI 中。

在此处输入图像描述

Is there something else I need to enable?还有什么我需要启用的吗?

I believe your containers are being pushed to Google Container Registry (GCR), as evident by "Container Registry host" being eu.gcr.io in your first screenshot.我相信您的容器正在被推送到 Google Container Registry (GCR),正如您的第一个屏幕截图中的“Container Registry host”是eu.gcr.io所证明的那样。 The results should be available in the GCR page and won't show up in the Artifact Registry page.结果应该在 GCR 页面中可用,并且不会显示在 Artifact Registry 页面中。

On-demand scans are not accessible through the UI (Artifact Registry or GCR pages).无法通过 UI(工件注册表或 GCR 页面)访问按需扫描。 You can only access the results through the gcloud CLI: https://cloud.google.com/container-analysis/docs/on-demand-scanning-howto#retrieve您只能通过gcloud CLI 访问结果: https://cloud.google.com/container-analysis/docs/on-demand-scanning-howto#retrieve

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM