Interface FindingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Finding,Finding.Builder
@Generated
public interface FindingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSource specific properties.The canonical name of the finding.com.google.protobuf.ByteStringThe canonical name of the finding.The additional taxonomy group within findings from a given source.com.google.protobuf.ByteStringThe additional taxonomy group within findings from a given source.com.google.protobuf.TimestampThe time at which the finding was created in Security Command Center.com.google.protobuf.TimestampOrBuilderThe time at which the finding was created in Security Command Center.com.google.protobuf.TimestampThe time at which the event took place, or when an update to the finding occurred.com.google.protobuf.TimestampOrBuilderThe time at which the event took place, or when an update to the finding occurred.The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.com.google.protobuf.ByteStringThe URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.getName()The relative resource name of this finding.com.google.protobuf.ByteStringThe relative resource name of this finding.The relative resource name of the source the finding belongs to.com.google.protobuf.ByteStringThe relative resource name of the source the finding belongs to.For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.com.google.protobuf.ByteStringFor findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.Output only.Output only.The severity of the finding.intThe severity of the finding.Deprecated.intSource specific properties.Source specific properties.com.google.protobuf.ValuegetSourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue) Source specific properties.com.google.protobuf.ValueSource specific properties.getState()The state of the finding.intThe state of the finding.booleanThe time at which the finding was created in Security Command Center.booleanThe time at which the event took place, or when an update to the finding occurred.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;- Returns:
- The bytes for name.
-
getParent
String getParent()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;- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()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;- Returns:
- The bytes for parent.
-
getResourceName
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;- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.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;- Returns:
- The bytes for resourceName.
-
getStateValue
int getStateValue()The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Returns:
- The enum numeric value on the wire for state.
-
getState
Finding.State getState()The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Returns:
- The state.
-
getCategory
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;- Returns:
- The category.
-
getCategoryBytes
com.google.protobuf.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;- Returns:
- The bytes for category.
-
getExternalUri
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;- Returns:
- The externalUri.
-
getExternalUriBytes
com.google.protobuf.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;- Returns:
- The bytes for externalUri.
-
getSourcePropertiesCount
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; -
containsSourceProperties
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; -
getSourceProperties
Deprecated.UsegetSourcePropertiesMap()instead. -
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; -
getSourcePropertiesOrDefault
com.google.protobuf.Value getSourcePropertiesOrDefault(String key, com.google.protobuf.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; -
getSourcePropertiesOrThrow
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; -
hasSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the securityMarks field is set.
-
getSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The securityMarks.
-
getSecurityMarksOrBuilder
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.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEventTime
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. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9;- Returns:
- Whether the eventTime field is set.
-
getEventTime
com.google.protobuf.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. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9;- Returns:
- The eventTime.
-
getEventTimeOrBuilder
com.google.protobuf.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. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9; -
hasCreateTime
boolean hasCreateTime()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10; -
getSeverityValue
int getSeverityValue()The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Finding.Severity getSeverity()The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Returns:
- The severity.
-
getCanonicalName
String getCanonicalName()The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Returns:
- The canonicalName.
-
getCanonicalNameBytes
com.google.protobuf.ByteString getCanonicalNameBytes()The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Returns:
- The bytes for canonicalName.
-