Reference documentation and code samples for the Google Cloud Container Analysis V1 Client class FixableTotalByDigest.
Per resource and severity counts of fixable and total vulnerabilities.
Generated from protobuf message google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest
Namespace
Google \ Cloud \ ContainerAnalysis \ V1 \ VulnerabilityOccurrencesSummaryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resource_uri |
string
The affected resource. |
↳ severity |
int
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. |
↳ fixable_count |
int|string
The number of fixable vulnerabilities associated with this resource. |
↳ total_count |
int|string
The total number of vulnerabilities associated with this resource. |
getResourceUri
The affected resource.
Returns | |
---|---|
Type | Description |
string |
setResourceUri
The affected resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSeverity
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
Returns | |
---|---|
Type | Description |
int |
setSeverity
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getFixableCount
The number of fixable vulnerabilities associated with this resource.
Returns | |
---|---|
Type | Description |
int|string |
setFixableCount
The number of fixable vulnerabilities associated with this resource.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getTotalCount
The total number of vulnerabilities associated with this resource.
Returns | |
---|---|
Type | Description |
int|string |
setTotalCount
The total number of vulnerabilities associated with this resource.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |