public interface FindingOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsSourceProperties(String key)
Source specific properties.
|
String |
getCategory()
The additional taxonomy group within findings from a given source.
|
ByteString |
getCategoryBytes()
The additional taxonomy group within findings from a given source.
|
Timestamp |
getCreateTime()
The time at which the finding was created in Security Command Center.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The time at which the finding was created in Security Command Center.
|
Timestamp |
getEventTime()
The time at which the event took place, or when an update to the finding
occurred.
|
TimestampOrBuilder |
getEventTimeOrBuilder()
The time at which the event took place, or when an update to the finding
occurred.
|
String |
getExternalUri()
The URI that, if available, points to a web page outside of Security
Command Center where additional information about the finding can be found.
|
ByteString |
getExternalUriBytes()
The URI that, if available, points to a web page outside of Security
Command Center where additional information about the finding can be found.
|
String |
getName()
The relative resource name of this finding.
|
ByteString |
getNameBytes()
The relative resource name of this finding.
|
String |
getParent()
Immutable.
|
ByteString |
getParentBytes()
Immutable.
|
String |
getResourceName()
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
ByteString |
getResourceNameBytes()
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
SecurityMarks |
getSecurityMarks()
Output only.
|
SecurityMarksOrBuilder |
getSecurityMarksOrBuilder()
Output only.
|
Map<String,Value> |
getSourceProperties()
Deprecated.
|
int |
getSourcePropertiesCount()
Source specific properties.
|
Map<String,Value> |
getSourcePropertiesMap()
Source specific properties.
|
Value |
getSourcePropertiesOrDefault(String key,
Value defaultValue)
Source specific properties.
|
Value |
getSourcePropertiesOrThrow(String key)
Source specific properties.
|
Finding.State |
getState()
The state of the finding.
|
int |
getStateValue()
The state of the finding.
|
boolean |
hasCreateTime()
The time at which the finding was created in Security Command Center.
|
boolean |
hasEventTime()
The time at which the event took place, or when an update to the finding
occurred.
|
boolean |
hasSecurityMarks()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
ByteString getNameBytes()
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
String getParent()
Immutable. The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];
ByteString getParentBytes()
Immutable. The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];
String getResourceName()
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;
ByteString getResourceNameBytes()
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;
int getStateValue()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
Finding.State getState()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
String getCategory()
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;
ByteString getCategoryBytes()
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;
String getExternalUri()
The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;
ByteString getExternalUriBytes()
The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;
int getSourcePropertiesCount()
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;
boolean containsSourceProperties(String key)
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;
@Deprecated Map<String,Value> getSourceProperties()
getSourcePropertiesMap()
instead.Map<String,Value> getSourcePropertiesMap()
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;
Value getSourcePropertiesOrDefault(String key, Value defaultValue)
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;
Value getSourcePropertiesOrThrow(String key)
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;
boolean hasSecurityMarks()
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
SecurityMarks getSecurityMarks()
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
SecurityMarksOrBuilder getSecurityMarksOrBuilder()
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasEventTime()
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.
.google.protobuf.Timestamp event_time = 9;
Timestamp getEventTime()
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.
.google.protobuf.Timestamp event_time = 9;
TimestampOrBuilder getEventTimeOrBuilder()
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.
.google.protobuf.Timestamp event_time = 9;
boolean hasCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
Timestamp getCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
Copyright © 2022 Google LLC. All rights reserved.