# VulnerabilityOccurrencesSummary

- [JSON representation](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/VulnerabilityOccurrencesSummary#SCHEMA_REPRESENTATION)
- [FixableTotalByDigest](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/VulnerabilityOccurrencesSummary#FixableTotalByDigest)
  - [JSON representation](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/VulnerabilityOccurrencesSummary#FixableTotalByDigest.SCHEMA_REPRESENTATION)

A summary of how many vulnerability occurrences there are per resource and severity type.

| JSON representation |
|---|
| ``` { "counts": [ { object (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/VulnerabilityOccurrencesSummary#FixableTotalByDigest`) } ], "unreachable": [ string ] } ``` |

| Fields ||
|---|---|
| `counts[]` | ``object (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/VulnerabilityOccurrencesSummary#FixableTotalByDigest`)`` A listing by resource of the number of fixable and total vulnerabilities. |
| `unreachable[]` | `string` Unordered list. Unreachable regions. Populated for requests from the global region when `returnPartialSuccess` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]` |

## FixableTotalByDigest

Per resource and severity counts of fixable and total vulnerabilities.

| JSON representation |
|---|
| ``` { "resourceUri": string, "severity": enum (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/Severity`), "fixableCount": string, "totalCount": string } ``` |

| Fields ||
|---|---|
| `resourceUri` | `string` The affected resource. |
| `severity` | ``enum (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1/Severity`)`` The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. |
| `fixableCount` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of fixable vulnerabilities associated with this resource. |
| `totalCount` | `string (https://developers.google.com/discovery/v1/type-format format)` The total number of vulnerabilities associated with this resource. |