Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class AttackExposure.
An attack exposure contains the results of an attack path simulation run.
Generated from protobuf message google.cloud.securitycenter.v2.AttackExposure
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ score
float
A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
↳ latest_calculation_time
↳ attack_exposure_result
string
The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789
↳ state
int
Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
↳ exposed_high_value_resources_count
int
The number of high value resources that are exposed as a result of this finding.
↳ exposed_medium_value_resources_count
int
The number of medium value resources that are exposed as a result of this finding.
↳ exposed_low_value_resources_count
int
The number of high value resources that are exposed as a result of this finding.
getScore
A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
float
setScore
A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.
var
float
$this
getLatestCalculationTime
The most recent time the attack exposure was updated on this finding.
hasLatestCalculationTime
clearLatestCalculationTime
setLatestCalculationTime
The most recent time the attack exposure was updated on this finding.
$this
getAttackExposureResult
The resource name of the attack path simulation result that contains the details regarding this attack exposure score.
Example: organizations/123/simulations/456/attackExposureResults/789
string
setAttackExposureResult
The resource name of the attack path simulation result that contains the details regarding this attack exposure score.
Example: organizations/123/simulations/456/attackExposureResults/789
var
string
$this
getState
Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
int
setState
Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
var
int
$this
getExposedHighValueResourcesCount
The number of high value resources that are exposed as a result of this finding.
int
setExposedHighValueResourcesCount
The number of high value resources that are exposed as a result of this finding.
var
int
$this
getExposedMediumValueResourcesCount
The number of medium value resources that are exposed as a result of this finding.
int
setExposedMediumValueResourcesCount
The number of medium value resources that are exposed as a result of this finding.
var
int
$this
getExposedLowValueResourcesCount
The number of high value resources that are exposed as a result of this finding.
int
setExposedLowValueResourcesCount
The number of high value resources that are exposed as a result of this finding.
var
int
$this