Retrieves analysis results of Cloud components such as Docker
container images. The Container Analysis API is an implementation of
the Grafeas <https://grafeas.io>__ API.
Analysis results are stored as a series of occurrences. An
Occurrence contains information about a specific analysis
instance on a resource. An occurrence refers to a Note. A note
contains details describing the analysis and is generally stored in
a separate project, called a Provider. Multiple occurrences can
refer to the same note.
For example, an SSL vulnerability could affect multiple images. In
this case, there would be one note for the vulnerability and an
occurrence for each image with the vulnerability referring to that
note.
Retrieves analysis results of Cloud components such as Docker
container images. The Container Analysis API is an implementation of
the Grafeas <https://grafeas.io>__ API.
Analysis results are stored as a series of occurrences. An
Occurrence contains information about a specific analysis
instance on a resource. An occurrence refers to a Note. A note
contains details describing the analysis and is generally stored in
a separate project, called a Provider. Multiple occurrences can
refer to the same note.
For example, an SSL vulnerability could affect multiple images. In
this case, there would be one note for the vulnerability and an
occurrence for each image with the vulnerability referring to that
note.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Package container_analysis (2.18.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.18.1 (latest)](/python/docs/reference/containeranalysis/latest/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.18.0](/python/docs/reference/containeranalysis/2.18.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.17.2](/python/docs/reference/containeranalysis/2.17.2/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.16.0](/python/docs/reference/containeranalysis/2.16.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.15.1](/python/docs/reference/containeranalysis/2.15.1/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.14.5](/python/docs/reference/containeranalysis/2.14.5/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.13.0](/python/docs/reference/containeranalysis/2.13.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.12.4](/python/docs/reference/containeranalysis/2.12.4/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.11.1](/python/docs/reference/containeranalysis/2.11.1/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.10.0](/python/docs/reference/containeranalysis/2.10.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.9.3](/python/docs/reference/containeranalysis/2.9.3/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.8.1](/python/docs/reference/containeranalysis/2.8.1/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.7.3](/python/docs/reference/containeranalysis/2.7.3/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.6.3](/python/docs/reference/containeranalysis/2.6.3/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.5.0](/python/docs/reference/containeranalysis/2.5.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.4.2](/python/docs/reference/containeranalysis/2.4.2/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.3.0](/python/docs/reference/containeranalysis/2.3.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.2.3](/python/docs/reference/containeranalysis/2.2.3/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.1.0](/python/docs/reference/containeranalysis/2.1.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [2.0.0](/python/docs/reference/containeranalysis/2.0.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [1.0.5](/python/docs/reference/containeranalysis/1.0.5/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [0.3.1](/python/docs/reference/containeranalysis/0.3.1/google.cloud.devtools.containeranalysis_v1.services.container_analysis)\n- [0.2.0](/python/docs/reference/containeranalysis/0.2.0/google.cloud.devtools.containeranalysis_v1.services.container_analysis) \nAPI documentation for `devtools.containeranalysis_v1.services.container_analysis` package. \n\nClasses\n-------\n\n### [ContainerAnalysisAsyncClient](/python/docs/reference/containeranalysis/latest/google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient)\n\nRetrieves analysis results of Cloud components such as Docker\ncontainer images. The Container Analysis API is an implementation of\nthe `Grafeas \u003chttps://grafeas.io\u003e`__ API.\n\nAnalysis results are stored as a series of occurrences. An\n`Occurrence` contains information about a specific analysis\ninstance on a resource. An occurrence refers to a `Note`. A note\ncontains details describing the analysis and is generally stored in\na separate project, called a `Provider`. Multiple occurrences can\nrefer to the same note.\n\nFor example, an SSL vulnerability could affect multiple images. In\nthis case, there would be one note for the vulnerability and an\noccurrence for each image with the vulnerability referring to that\nnote.\n\n### [ContainerAnalysisClient](/python/docs/reference/containeranalysis/latest/google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient)\n\nRetrieves analysis results of Cloud components such as Docker\ncontainer images. The Container Analysis API is an implementation of\nthe `Grafeas \u003chttps://grafeas.io\u003e`__ API.\n\nAnalysis results are stored as a series of occurrences. An\n`Occurrence` contains information about a specific analysis\ninstance on a resource. An occurrence refers to a `Note`. A note\ncontains details describing the analysis and is generally stored in\na separate project, called a `Provider`. Multiple occurrences can\nrefer to the same note.\n\nFor example, an SSL vulnerability could affect multiple images. In\nthis case, there would be one note for the vulnerability and an\noccurrence for each image with the vulnerability referring to that\nnote."]]