vulnerability_summary
Creates, updates, deletes, gets or lists a vulnerability_summary resource.
Overview
| Name | vulnerability_summary |
| Type | Resource |
| Id | google.containeranalysis.vulnerability_summary |
Fields
The following fields are returned by SELECT queries:
- projects_locations_occurrences_get_vulnerability_summary
- projects_occurrences_get_vulnerability_summary
| Name | Datatype | Description |
|---|---|---|
counts | array | A listing by resource of the number of fixable and total vulnerabilities. |
unreachable | array | Unordered list. Unreachable regions. Populated for requests from the global region when return_partial_success is set. Format: projects/[PROJECT_ID]/locations/[LOCATION] |
| Name | Datatype | Description |
|---|---|---|
counts | array | A listing by resource of the number of fixable and total vulnerabilities. |
unreachable | array | Unordered 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_occurrences_get_vulnerability_summary | select | projectsId, locationsId | returnPartialSuccess, filter | Gets a summary of the number and severity of occurrences. |
projects_occurrences_get_vulnerability_summary | select | projectsId | returnPartialSuccess, filter | Gets 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
filter | string | |
returnPartialSuccess | boolean |
SELECT examples
- projects_locations_occurrences_get_vulnerability_summary
- projects_occurrences_get_vulnerability_summary
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 returnPartialSuccess = '{{ returnPartialSuccess }}'
AND filter = '{{ filter }}'
;
Gets a summary of the number and severity of occurrences.
SELECT
counts,
unreachable
FROM google.containeranalysis.vulnerability_summary
WHERE projectsId = '{{ projectsId }}' -- required
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND filter = '{{ filter }}'
;