Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::AttackExposure.
An attack exposure contains the results of an attack path simulation run.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attack_exposure_result
def attack_exposure_result() -> ::String
Returns
-
(::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
#attack_exposure_result=
def attack_exposure_result=(value) -> ::String
Parameter
-
value (::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
Returns
-
(::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
#exposed_high_value_resources_count
def exposed_high_value_resources_count() -> ::Integer
Returns
- (::Integer) — The number of high value resources that are exposed as a result of this finding.
#exposed_high_value_resources_count=
def exposed_high_value_resources_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of high value resources that are exposed as a result of this finding.
Returns
- (::Integer) — The number of high value resources that are exposed as a result of this finding.
#exposed_low_value_resources_count
def exposed_low_value_resources_count() -> ::Integer
Returns
- (::Integer) — The number of high value resources that are exposed as a result of this finding.
#exposed_low_value_resources_count=
def exposed_low_value_resources_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of high value resources that are exposed as a result of this finding.
Returns
- (::Integer) — The number of high value resources that are exposed as a result of this finding.
#exposed_medium_value_resources_count
def exposed_medium_value_resources_count() -> ::Integer
Returns
- (::Integer) — The number of medium value resources that are exposed as a result of this finding.
#exposed_medium_value_resources_count=
def exposed_medium_value_resources_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of medium value resources that are exposed as a result of this finding.
Returns
- (::Integer) — The number of medium value resources that are exposed as a result of this finding.
#latest_calculation_time
def latest_calculation_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The most recent time the attack exposure was updated on this finding.
#latest_calculation_time=
def latest_calculation_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The most recent time the attack exposure was updated on this finding.
Returns
- (::Google::Protobuf::Timestamp) — The most recent time the attack exposure was updated on this finding.
#score
def score() -> ::Float
Returns
- (::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.
#score=
def score=(value) -> ::Float
Parameter
- value (::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.
Returns
- (::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.
#state
def state() -> ::Google::Cloud::SecurityCenter::V1::AttackExposure::State
Returns
- (::Google::Cloud::SecurityCenter::V1::AttackExposure::State) — What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
#state=
def state=(value) -> ::Google::Cloud::SecurityCenter::V1::AttackExposure::State
Parameter
- value (::Google::Cloud::SecurityCenter::V1::AttackExposure::State) — What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.
Returns
- (::Google::Cloud::SecurityCenter::V1::AttackExposure::State) — What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.