Skip to main content

vulnerability_summary

Creates, updates, deletes, gets or lists a vulnerability_summary resource.

Overview

Namevulnerability_summary
TypeResource
Idgoogle.containeranalysis.vulnerability_summary

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
countsarrayA listing by resource of the number of fixable and total vulnerabilities.
unreachablearrayUnordered list. Unreachable regions. Populated for requests from the global region when return_partial_success is set. Format: projects/[PROJECT_ID]/locations/[LOCATION]

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_occurrences_get_vulnerability_summaryselectprojectsId, locationsIdfilter, returnPartialSuccessGets a summary of the number and severity of occurrences.
projects_occurrences_get_vulnerability_summaryselectprojectsIdfilter, returnPartialSuccessGets a summary of the number and severity of occurrences.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
filterstring
returnPartialSuccessboolean

SELECT examples

Gets a summary of the number and severity of occurrences.

SELECT
counts,
unreachable
FROM google.containeranalysis.vulnerability_summary
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND filter = '{{ filter }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}';