为 Google Cloud 上的容器提供漏洞扫描和元数据存储服务。了解详情
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
代码示例
代码示例
Go 示例
使用 Container Analysis Go 库获取、创建和删除备注及发生实例
代码示例
代码示例
Java 示例
使用 Container Analysis Java 库获取、创建和删除备注及发生实例
代码示例
代码示例
Node.js 示例
使用 Container Analysis Node.js 库获取、创建和删除备注及发生实例
代码示例
代码示例
Python 示例
使用 Container Analysis Python 库获取、创建和删除备注及发生实例
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-19。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["\u003cp\u003eArtifact Analysis provides vulnerability scanning and metadata storage for containers on Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eYou can find quickstarts and guides for container images, Go packages, and Java packages to get started with scanning.\u003c/p\u003e\n"],["\u003cp\u003eResources are available for scanning images on demand or automatically, storing/retrieving metadata, and configuring access control.\u003c/p\u003e\n"],["\u003cp\u003eReference materials include the Container Analysis API and Client Libraries, alongside resources for pricing and support.\u003c/p\u003e\n"],["\u003cp\u003eCode samples in Go, Java, Node.js, and Python demonstrate how to get, create, and delete notes and occurrences with the Container Analysis libraries.\u003c/p\u003e\n"]]],[],null,["# Artifact Analysis documentation\n===============================\n\n[Read product documentation](/artifact-analysis/docs/artifact-analysis) Provides vulnerability scanning and metadata storage for containers on\nGoogle Cloud. [Learn more](/artifact-analysis/docs/artifact-analysis)\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Quickstart for container images](/artifact-analysis/docs/container-scanning-quickstart)\n\n-\n\n [Quickstart for Go packages](/artifact-analysis/docs/go-quickstart)\n\n-\n\n [Quickstart for Java packages](/artifact-analysis/docs/java-quickstart)\n\n-\n\n [Scanning images on demand](/artifact-analysis/docs/on-demand-scanning-howto)\n\n-\n\n [Scanning images automatically](/artifact-analysis/docs/automated-scanning-howto)\n\n-\n\n [Scanning images for Java package vulnerabilities](/artifact-analysis/docs/java-scanning)\n\n-\n\n [Storing and retrieving metadata](/artifact-analysis/docs/store-retrieve-metadata)\n\n-\n\n [Configuring access control](/artifact-analysis/docs/ca-access-control)\n\n-\n\n [Pub/Sub notifications](/artifact-analysis/docs/pub-sub-notifications)\n\n-\n\n [Securing Container Analysis in a service perimeter](/artifact-analysis/docs/aa-vpc-sc-service-perimeter)\n\nfind_in_page\n\n### Reference\n\n-\n\n [Container Analysis API](/artifact-analysis/docs/reference/rest)\n\n-\n\n [Container Analysis Client Libraries](/artifact-analysis/docs/reference/libraries)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/artifact-analysis/pricing)\n\n-\n\n [Getting support](/artifact-analysis/docs/getting-support)\n\nRelated resources\n-----------------\n\nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Code sample \nCode Samples\n\n### Go samples\n\n\nGet, create, and delete notes and occurrences with the Container Analysis Go library\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/container_registry/container_analysis) \nCode sample \nCode Samples\n\n### Java samples\n\n\nGet, create, and delete notes and occurrences with the Container Analysis Java library\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/container-registry/artifact-analysis/src/main/java/com/example/containeranalysis) \nCode sample \nCode Samples\n\n### Node.js samples\n\n\nGet, create, and delete notes and occurrences with the Container Analysis Node.js library\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/main/artifact-analysis/snippets) \nCode sample \nCode Samples\n\n### Python samples\n\n\nGet, create, and delete notes and occurrences with the Container Analysis Python library\n\n\n[Open GitHub\narrow_forward](https://github.com/googleapis/python-containeranalysis/tree/master/samples/snippets)\n\nRelated videos\n--------------"]]