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
Successful response
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] |
Successful response
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 | filter , returnPartialSuccess | Gets a summary of the number and severity of occurrences. |
projects_occurrences_get_vulnerability_summary | select | projectsId | filter , returnPartialSuccess | 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 filter = '{{ filter }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}';
Gets a summary of the number and severity of occurrences.
SELECT
counts,
unreachable
FROM google.containeranalysis.vulnerability_summary
WHERE projectsId = '{{ projectsId }}' -- required
AND filter = '{{ filter }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}';