public final class AttackExposure extends GeneratedMessageV3 implements AttackExposureOrBuilder
An attack exposure contains the results of an attack path simulation run.
Protobuf type google.cloud.securitycenter.v2.AttackExposure
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTACK_EXPOSURE_RESULT_FIELD_NUMBER
public static final int ATTACK_EXPOSURE_RESULT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXPOSED_HIGH_VALUE_RESOURCES_COUNT_FIELD_NUMBER
public static final int EXPOSED_HIGH_VALUE_RESOURCES_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXPOSED_LOW_VALUE_RESOURCES_COUNT_FIELD_NUMBER
public static final int EXPOSED_LOW_VALUE_RESOURCES_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXPOSED_MEDIUM_VALUE_RESOURCES_COUNT_FIELD_NUMBER
public static final int EXPOSED_MEDIUM_VALUE_RESOURCES_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LATEST_CALCULATION_TIME_FIELD_NUMBER
public static final int LATEST_CALCULATION_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AttackExposure getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AttackExposure.Builder newBuilder()
newBuilder(AttackExposure prototype)
public static AttackExposure.Builder newBuilder(AttackExposure prototype)
public static AttackExposure parseDelimitedFrom(InputStream input)
public static AttackExposure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AttackExposure parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttackExposure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AttackExposure parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttackExposure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttackExposure parseFrom(CodedInputStream input)
public static AttackExposure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AttackExposure parseFrom(InputStream input)
public static AttackExposure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AttackExposure parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttackExposure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AttackExposure> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAttackExposureResult()
public 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 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.
|
getDefaultInstanceForType()
public AttackExposure getDefaultInstanceForType()
getExposedHighValueResourcesCount()
public 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 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 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 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 TimestampOrBuilder getLatestCalculationTimeOrBuilder()
The most recent time the attack exposure was updated on this finding.
.google.protobuf.Timestamp latest_calculation_time = 2;
getParserForType()
public Parser<AttackExposure> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public 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];
getStateValue()
public 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 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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AttackExposure.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttackExposure.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AttackExposure.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides