Interface AttackExposureOrBuilder (2.61.0)

public interface AttackExposureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttackExposureResult()

public abstract String 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 attack_exposure_result = 3;

Returns
Type Description
String

The attackExposureResult.

getAttackExposureResultBytes()

public abstract ByteString getAttackExposureResultBytes()

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 attack_exposure_result = 3;

Returns
Type Description
ByteString

The bytes for attackExposureResult.

getExposedHighValueResourcesCount()

public abstract int getExposedHighValueResourcesCount()

The number of high value resources that are exposed as a result of this finding.

int32 exposed_high_value_resources_count = 5;

Returns
Type Description
int

The exposedHighValueResourcesCount.

getExposedLowValueResourcesCount()

public abstract int getExposedLowValueResourcesCount()

The number of high value resources that are exposed as a result of this finding.

int32 exposed_low_value_resources_count = 7;

Returns
Type Description
int

The exposedLowValueResourcesCount.

getExposedMediumValueResourcesCount()

public abstract int getExposedMediumValueResourcesCount()

The number of medium value resources that are exposed as a result of this finding.

int32 exposed_medium_value_resources_count = 6;

Returns
Type Description
int

The exposedMediumValueResourcesCount.

getLatestCalculationTime()

public abstract Timestamp getLatestCalculationTime()

The most recent time the attack exposure was updated on this finding.

.google.protobuf.Timestamp latest_calculation_time = 2;

Returns
Type Description
Timestamp

The latestCalculationTime.

getLatestCalculationTimeOrBuilder()

public abstract TimestampOrBuilder getLatestCalculationTimeOrBuilder()

The most recent time the attack exposure was updated on this finding.

.google.protobuf.Timestamp latest_calculation_time = 2;

Returns
Type Description
TimestampOrBuilder

getScore()

public abstract double 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.

double score = 1;

Returns
Type Description
double

The score.

getState()

public abstract AttackExposure.State getState()

Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.

.google.cloud.securitycenter.v2.AttackExposure.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AttackExposure.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.

.google.cloud.securitycenter.v2.AttackExposure.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasLatestCalculationTime()

public abstract boolean hasLatestCalculationTime()

The most recent time the attack exposure was updated on this finding.

.google.protobuf.Timestamp latest_calculation_time = 2;

Returns
Type Description
boolean

Whether the latestCalculationTime field is set.