Interface FindingOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Finding, Finding.Builder

    public interface FindingOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsSourceProperties​(String key)
      Source specific properties.
      String getCategory()
      The additional taxonomy group within findings from a given source.
      com.google.protobuf.ByteString getCategoryBytes()
      The additional taxonomy group within findings from a given source.
      com.google.protobuf.Timestamp getCreateTime()
      The time at which the finding was created in Security Command Center.
      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      The time at which the finding was created in Security Command Center.
      com.google.protobuf.Timestamp getEventTime()
      The time at which the event took place, or when an update to the finding occurred.
      com.google.protobuf.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.
      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.
      String getName()
      The relative resource name of this finding.
      com.google.protobuf.ByteString getNameBytes()
      The relative resource name of this finding.
      String getParent()
      Immutable.
      com.google.protobuf.ByteString getParentBytes()
      Immutable.
      String getResourceName()
      For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.
      com.google.protobuf.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,​com.google.protobuf.Value> getSourceProperties()
      Deprecated.
      int getSourcePropertiesCount()
      Source specific properties.
      Map<String,​com.google.protobuf.Value> getSourcePropertiesMap()
      Source specific properties.
      com.google.protobuf.Value getSourcePropertiesOrDefault​(String key, com.google.protobuf.Value defaultValue)
      Source specific properties.
      com.google.protobuf.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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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()
         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];
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.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];
        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.v1beta1.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.v1beta1.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

        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;
      • getSourcePropertiesMap

        Map<String,​com.google.protobuf.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;
      • 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

        com.google.protobuf.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;
      • 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.v1beta1.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.v1beta1.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.v1beta1.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.
         
        .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.
         
        .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.
         
        .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;