- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- FixableTotalByDigest
- Try it!
Gets a summary of the number and severity of occurrences.
HTTP request
GET https://containeranalysis.googleapis.com/v1beta1/{parent=projects/*}/occurrences:vulnerabilitySummary
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the project to get a vulnerability summary for in the form of |
Query parameters
Parameters | |
---|---|
filter |
The filter expression. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
A summary of how many vulnerability occurrences there are per resource and severity type.
JSON representation |
---|
{
"counts": [
{
object ( |
Fields | |
---|---|
counts[] |
A listing by resource of the number of fixable and total vulnerabilities. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
FixableTotalByDigest
Per resource and severity counts of fixable and total vulnerabilities.
JSON representation |
---|
{ "resource": { object ( |
Fields | |
---|---|
resource |
The affected resource. |
severity |
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. |
fixableCount |
The number of fixable vulnerabilities associated with this resource. |
totalCount |
The total number of vulnerabilities associated with this resource. |