Class Finding

  • All Implemented Interfaces:
    FindingOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Finding
    extends com.google.protobuf.GeneratedMessageV3
    implements FindingOrBuilder
     Security Command Center finding.
    
     A finding is a record of assessment data like security, risk, health, or
     privacy, that is ingested into Security Command Center for presentation,
     notification, analysis, policy testing, and enforcement. For example, a
     cross-site scripting (XSS) vulnerability in an App Engine application is a
     finding.
     
    Protobuf type google.cloud.securitycenter.v1.Finding
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         The [relative resource
         name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
         of the finding. Example:
         "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
         "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
         "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
         
        string name = 1;
        Specified by:
        getName in interface FindingOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The [relative resource
         name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
         of the finding. Example:
         "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
         "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
         "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
         
        string name = 1;
        Specified by:
        getNameBytes in interface FindingOrBuilder
        Returns:
        The bytes for name.
      • getParent

        public 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;
        Specified by:
        getParent in interface FindingOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public 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;
        Specified by:
        getParentBytes in interface FindingOrBuilder
        Returns:
        The bytes for parent.
      • getResourceName

        public 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;
        Specified by:
        getResourceName in interface FindingOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public 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;
        Specified by:
        getResourceNameBytes in interface FindingOrBuilder
        Returns:
        The bytes for resourceName.
      • getStateValue

        public int getStateValue()
         The state of the finding.
         
        .google.cloud.securitycenter.v1.Finding.State state = 4;
        Specified by:
        getStateValue in interface FindingOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public Finding.State getState()
         The state of the finding.
         
        .google.cloud.securitycenter.v1.Finding.State state = 4;
        Specified by:
        getState in interface FindingOrBuilder
        Returns:
        The state.
      • getCategory

        public 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;
        Specified by:
        getCategory in interface FindingOrBuilder
        Returns:
        The category.
      • getCategoryBytes

        public 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;
        Specified by:
        getCategoryBytes in interface FindingOrBuilder
        Returns:
        The bytes for category.
      • getExternalUri

        public 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;
        Specified by:
        getExternalUri in interface FindingOrBuilder
        Returns:
        The externalUri.
      • getExternalUriBytes

        public 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;
        Specified by:
        getExternalUriBytes in interface FindingOrBuilder
        Returns:
        The bytes for externalUri.
      • getSourcePropertiesCount

        public int getSourcePropertiesCount()
        Description copied from interface: FindingOrBuilder
         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;
        Specified by:
        getSourcePropertiesCount in interface FindingOrBuilder
      • containsSourceProperties

        public 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;
        Specified by:
        containsSourceProperties in interface FindingOrBuilder
      • getSourcePropertiesMap

        public 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;
        Specified by:
        getSourcePropertiesMap in interface FindingOrBuilder
      • getSourcePropertiesOrDefault

        public 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;
        Specified by:
        getSourcePropertiesOrDefault in interface FindingOrBuilder
      • getSourcePropertiesOrThrow

        public 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;
        Specified by:
        getSourcePropertiesOrThrow in interface FindingOrBuilder
      • hasSecurityMarks

        public 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.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSecurityMarks in interface FindingOrBuilder
        Returns:
        Whether the securityMarks field is set.
      • getSecurityMarks

        public 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.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSecurityMarks in interface FindingOrBuilder
        Returns:
        The securityMarks.
      • getSecurityMarksOrBuilder

        public 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.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSecurityMarksOrBuilder in interface FindingOrBuilder
      • hasEventTime

        public boolean hasEventTime()
         The time the finding was first detected. If an existing finding is updated,
         then this is the time the update occurred.
         For example, if the finding represents an open firewall, this property
         captures the time the detector believes the firewall became open. The
         accuracy is determined by the detector. If the finding is later resolved,
         then this time reflects when the finding was resolved. This must not
         be set to a value greater than the current timestamp.
         
        .google.protobuf.Timestamp event_time = 9;
        Specified by:
        hasEventTime in interface FindingOrBuilder
        Returns:
        Whether the eventTime field is set.
      • getEventTime

        public com.google.protobuf.Timestamp getEventTime()
         The time the finding was first detected. If an existing finding is updated,
         then this is the time the update occurred.
         For example, if the finding represents an open firewall, this property
         captures the time the detector believes the firewall became open. The
         accuracy is determined by the detector. If the finding is later resolved,
         then this time reflects when the finding was resolved. This must not
         be set to a value greater than the current timestamp.
         
        .google.protobuf.Timestamp event_time = 9;
        Specified by:
        getEventTime in interface FindingOrBuilder
        Returns:
        The eventTime.
      • getEventTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
         The time the finding was first detected. If an existing finding is updated,
         then this is the time the update occurred.
         For example, if the finding represents an open firewall, this property
         captures the time the detector believes the firewall became open. The
         accuracy is determined by the detector. If the finding is later resolved,
         then this time reflects when the finding was resolved. This must not
         be set to a value greater than the current timestamp.
         
        .google.protobuf.Timestamp event_time = 9;
        Specified by:
        getEventTimeOrBuilder in interface FindingOrBuilder
      • hasCreateTime

        public boolean hasCreateTime()
         The time at which the finding was created in Security Command Center.
         
        .google.protobuf.Timestamp create_time = 10;
        Specified by:
        hasCreateTime in interface FindingOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The time at which the finding was created in Security Command Center.
         
        .google.protobuf.Timestamp create_time = 10;
        Specified by:
        getCreateTime in interface FindingOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time at which the finding was created in Security Command Center.
         
        .google.protobuf.Timestamp create_time = 10;
        Specified by:
        getCreateTimeOrBuilder in interface FindingOrBuilder
      • getSeverityValue

        public int getSeverityValue()
         The severity of the finding. This field is managed by the source that
         writes the finding.
         
        .google.cloud.securitycenter.v1.Finding.Severity severity = 12;
        Specified by:
        getSeverityValue in interface FindingOrBuilder
        Returns:
        The enum numeric value on the wire for severity.
      • getSeverity

        public Finding.Severity getSeverity()
         The severity of the finding. This field is managed by the source that
         writes the finding.
         
        .google.cloud.securitycenter.v1.Finding.Severity severity = 12;
        Specified by:
        getSeverity in interface FindingOrBuilder
        Returns:
        The severity.
      • getCanonicalName

        public 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;
        Specified by:
        getCanonicalName in interface FindingOrBuilder
        Returns:
        The canonicalName.
      • getCanonicalNameBytes

        public 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;
        Specified by:
        getCanonicalNameBytes in interface FindingOrBuilder
        Returns:
        The bytes for canonicalName.
      • getMuteValue

        public int getMuteValue()
         Indicates the mute state of a finding (either muted, unmuted
         or undefined). Unlike other attributes of a finding, a finding provider
         shouldn't set the value of mute.
         
        .google.cloud.securitycenter.v1.Finding.Mute mute = 15;
        Specified by:
        getMuteValue in interface FindingOrBuilder
        Returns:
        The enum numeric value on the wire for mute.
      • getMute

        public Finding.Mute getMute()
         Indicates the mute state of a finding (either muted, unmuted
         or undefined). Unlike other attributes of a finding, a finding provider
         shouldn't set the value of mute.
         
        .google.cloud.securitycenter.v1.Finding.Mute mute = 15;
        Specified by:
        getMute in interface FindingOrBuilder
        Returns:
        The mute.
      • getFindingClassValue

        public int getFindingClassValue()
         The class of the finding.
         
        .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17;
        Specified by:
        getFindingClassValue in interface FindingOrBuilder
        Returns:
        The enum numeric value on the wire for findingClass.
      • hasIndicator

        public boolean hasIndicator()
         Represents what's commonly known as an *indicator of compromise* (IoC) in
         computer forensics. This is an artifact observed on a network or in an
         operating system that, with high confidence, indicates a computer
         intrusion. For more information, see [Indicator of
         compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
         
        .google.cloud.securitycenter.v1.Indicator indicator = 18;
        Specified by:
        hasIndicator in interface FindingOrBuilder
        Returns:
        Whether the indicator field is set.
      • getIndicator

        public Indicator getIndicator()
         Represents what's commonly known as an *indicator of compromise* (IoC) in
         computer forensics. This is an artifact observed on a network or in an
         operating system that, with high confidence, indicates a computer
         intrusion. For more information, see [Indicator of
         compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
         
        .google.cloud.securitycenter.v1.Indicator indicator = 18;
        Specified by:
        getIndicator in interface FindingOrBuilder
        Returns:
        The indicator.
      • getIndicatorOrBuilder

        public IndicatorOrBuilder getIndicatorOrBuilder()
         Represents what's commonly known as an *indicator of compromise* (IoC) in
         computer forensics. This is an artifact observed on a network or in an
         operating system that, with high confidence, indicates a computer
         intrusion. For more information, see [Indicator of
         compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).
         
        .google.cloud.securitycenter.v1.Indicator indicator = 18;
        Specified by:
        getIndicatorOrBuilder in interface FindingOrBuilder
      • hasVulnerability

        public boolean hasVulnerability()
         Represents vulnerability-specific fields like CVE and CVSS scores.
         CVE stands for Common Vulnerabilities and Exposures
         (https://cve.mitre.org/about/)
         
        .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
        Specified by:
        hasVulnerability in interface FindingOrBuilder
        Returns:
        Whether the vulnerability field is set.
      • getVulnerability

        public Vulnerability getVulnerability()
         Represents vulnerability-specific fields like CVE and CVSS scores.
         CVE stands for Common Vulnerabilities and Exposures
         (https://cve.mitre.org/about/)
         
        .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
        Specified by:
        getVulnerability in interface FindingOrBuilder
        Returns:
        The vulnerability.
      • getVulnerabilityOrBuilder

        public VulnerabilityOrBuilder getVulnerabilityOrBuilder()
         Represents vulnerability-specific fields like CVE and CVSS scores.
         CVE stands for Common Vulnerabilities and Exposures
         (https://cve.mitre.org/about/)
         
        .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
        Specified by:
        getVulnerabilityOrBuilder in interface FindingOrBuilder
      • hasMuteUpdateTime

        public boolean hasMuteUpdateTime()
         Output only. The most recent time this finding was muted or unmuted.
         
        .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMuteUpdateTime in interface FindingOrBuilder
        Returns:
        Whether the muteUpdateTime field is set.
      • getMuteUpdateTime

        public com.google.protobuf.Timestamp getMuteUpdateTime()
         Output only. The most recent time this finding was muted or unmuted.
         
        .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMuteUpdateTime in interface FindingOrBuilder
        Returns:
        The muteUpdateTime.
      • getMuteUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getMuteUpdateTimeOrBuilder()
         Output only. The most recent time this finding was muted or unmuted.
         
        .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMuteUpdateTimeOrBuilder in interface FindingOrBuilder
      • getExternalSystemsCount

        public int getExternalSystemsCount()
        Description copied from interface: FindingOrBuilder
         Output only. Third party SIEM/SOAR fields within SCC, contains external
         system information and external system finding fields.
         
        map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExternalSystemsCount in interface FindingOrBuilder
      • containsExternalSystems

        public boolean containsExternalSystems​(String key)
         Output only. Third party SIEM/SOAR fields within SCC, contains external
         system information and external system finding fields.
         
        map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsExternalSystems in interface FindingOrBuilder
      • getExternalSystemsMap

        public Map<String,​ExternalSystem> getExternalSystemsMap()
         Output only. Third party SIEM/SOAR fields within SCC, contains external
         system information and external system finding fields.
         
        map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExternalSystemsMap in interface FindingOrBuilder
      • getExternalSystemsOrDefault

        public ExternalSystem getExternalSystemsOrDefault​(String key,
                                                          ExternalSystem defaultValue)
         Output only. Third party SIEM/SOAR fields within SCC, contains external
         system information and external system finding fields.
         
        map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExternalSystemsOrDefault in interface FindingOrBuilder
      • getExternalSystemsOrThrow

        public ExternalSystem getExternalSystemsOrThrow​(String key)
         Output only. Third party SIEM/SOAR fields within SCC, contains external
         system information and external system finding fields.
         
        map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExternalSystemsOrThrow in interface FindingOrBuilder
      • hasMitreAttack

        public boolean hasMitreAttack()
         MITRE ATT&CK tactics and techniques related to this finding.
         See: https://attack.mitre.org
         
        .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25;
        Specified by:
        hasMitreAttack in interface FindingOrBuilder
        Returns:
        Whether the mitreAttack field is set.
      • getMitreAttack

        public MitreAttack getMitreAttack()
         MITRE ATT&CK tactics and techniques related to this finding.
         See: https://attack.mitre.org
         
        .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25;
        Specified by:
        getMitreAttack in interface FindingOrBuilder
        Returns:
        The mitreAttack.
      • getMitreAttackOrBuilder

        public MitreAttackOrBuilder getMitreAttackOrBuilder()
         MITRE ATT&CK tactics and techniques related to this finding.
         See: https://attack.mitre.org
         
        .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25;
        Specified by:
        getMitreAttackOrBuilder in interface FindingOrBuilder
      • hasAccess

        public boolean hasAccess()
         Access details associated with the finding, such as more information on the
         caller, which method was accessed, and from where.
         
        .google.cloud.securitycenter.v1.Access access = 26;
        Specified by:
        hasAccess in interface FindingOrBuilder
        Returns:
        Whether the access field is set.
      • getAccess

        public Access getAccess()
         Access details associated with the finding, such as more information on the
         caller, which method was accessed, and from where.
         
        .google.cloud.securitycenter.v1.Access access = 26;
        Specified by:
        getAccess in interface FindingOrBuilder
        Returns:
        The access.
      • getAccessOrBuilder

        public AccessOrBuilder getAccessOrBuilder()
         Access details associated with the finding, such as more information on the
         caller, which method was accessed, and from where.
         
        .google.cloud.securitycenter.v1.Access access = 26;
        Specified by:
        getAccessOrBuilder in interface FindingOrBuilder
      • getConnectionsList

        public List<Connection> getConnectionsList()
         Contains information about the IP connection associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.Connection connections = 31;
        Specified by:
        getConnectionsList in interface FindingOrBuilder
      • getConnectionsCount

        public int getConnectionsCount()
         Contains information about the IP connection associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.Connection connections = 31;
        Specified by:
        getConnectionsCount in interface FindingOrBuilder
      • getConnections

        public Connection getConnections​(int index)
         Contains information about the IP connection associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.Connection connections = 31;
        Specified by:
        getConnections in interface FindingOrBuilder
      • getConnectionsOrBuilder

        public ConnectionOrBuilder getConnectionsOrBuilder​(int index)
         Contains information about the IP connection associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.Connection connections = 31;
        Specified by:
        getConnectionsOrBuilder in interface FindingOrBuilder
      • getMuteInitiator

        public String getMuteInitiator()
         Records additional information about the mute operation, for example, the
         [mute configuration](/security-command-center/docs/how-to-mute-findings)
         that muted the finding and the user who muted the finding.
         
        string mute_initiator = 28;
        Specified by:
        getMuteInitiator in interface FindingOrBuilder
        Returns:
        The muteInitiator.
      • getMuteInitiatorBytes

        public com.google.protobuf.ByteString getMuteInitiatorBytes()
         Records additional information about the mute operation, for example, the
         [mute configuration](/security-command-center/docs/how-to-mute-findings)
         that muted the finding and the user who muted the finding.
         
        string mute_initiator = 28;
        Specified by:
        getMuteInitiatorBytes in interface FindingOrBuilder
        Returns:
        The bytes for muteInitiator.
      • getProcessesList

        public List<Process> getProcessesList()
         Represents operating system processes associated with the Finding.
         
        repeated .google.cloud.securitycenter.v1.Process processes = 30;
        Specified by:
        getProcessesList in interface FindingOrBuilder
      • getProcessesCount

        public int getProcessesCount()
         Represents operating system processes associated with the Finding.
         
        repeated .google.cloud.securitycenter.v1.Process processes = 30;
        Specified by:
        getProcessesCount in interface FindingOrBuilder
      • getProcesses

        public Process getProcesses​(int index)
         Represents operating system processes associated with the Finding.
         
        repeated .google.cloud.securitycenter.v1.Process processes = 30;
        Specified by:
        getProcesses in interface FindingOrBuilder
      • getProcessesOrBuilder

        public ProcessOrBuilder getProcessesOrBuilder​(int index)
         Represents operating system processes associated with the Finding.
         
        repeated .google.cloud.securitycenter.v1.Process processes = 30;
        Specified by:
        getProcessesOrBuilder in interface FindingOrBuilder
      • getContactsCount

        public int getContactsCount()
        Description copied from interface: FindingOrBuilder
         Output only. Map containing the points of contact for the given finding.
         The key represents the type of contact, while the value contains a list of
         all the contacts that pertain. Please refer to:
         https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
        
             {
               "security": {
                 "contacts": [
                   {
                     "email": "person1@company.com"
                   },
                   {
                     "email": "person2@company.com"
                   }
                 ]
               }
             }
         
        map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContactsCount in interface FindingOrBuilder
      • containsContacts

        public boolean containsContacts​(String key)
         Output only. Map containing the points of contact for the given finding.
         The key represents the type of contact, while the value contains a list of
         all the contacts that pertain. Please refer to:
         https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
        
             {
               "security": {
                 "contacts": [
                   {
                     "email": "person1@company.com"
                   },
                   {
                     "email": "person2@company.com"
                   }
                 ]
               }
             }
         
        map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsContacts in interface FindingOrBuilder
      • getContactsMap

        public Map<String,​ContactDetails> getContactsMap()
         Output only. Map containing the points of contact for the given finding.
         The key represents the type of contact, while the value contains a list of
         all the contacts that pertain. Please refer to:
         https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
        
             {
               "security": {
                 "contacts": [
                   {
                     "email": "person1@company.com"
                   },
                   {
                     "email": "person2@company.com"
                   }
                 ]
               }
             }
         
        map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContactsMap in interface FindingOrBuilder
      • getContactsOrDefault

        public ContactDetails getContactsOrDefault​(String key,
                                                   ContactDetails defaultValue)
         Output only. Map containing the points of contact for the given finding.
         The key represents the type of contact, while the value contains a list of
         all the contacts that pertain. Please refer to:
         https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
        
             {
               "security": {
                 "contacts": [
                   {
                     "email": "person1@company.com"
                   },
                   {
                     "email": "person2@company.com"
                   }
                 ]
               }
             }
         
        map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContactsOrDefault in interface FindingOrBuilder
      • getContactsOrThrow

        public ContactDetails getContactsOrThrow​(String key)
         Output only. Map containing the points of contact for the given finding.
         The key represents the type of contact, while the value contains a list of
         all the contacts that pertain. Please refer to:
         https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
        
             {
               "security": {
                 "contacts": [
                   {
                     "email": "person1@company.com"
                   },
                   {
                     "email": "person2@company.com"
                   }
                 ]
               }
             }
         
        map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContactsOrThrow in interface FindingOrBuilder
      • getCompliancesList

        public List<Compliance> getCompliancesList()
         Contains compliance information for security standards associated to the
         finding.
         
        repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
        Specified by:
        getCompliancesList in interface FindingOrBuilder
      • getCompliancesOrBuilderList

        public List<? extends ComplianceOrBuilder> getCompliancesOrBuilderList()
         Contains compliance information for security standards associated to the
         finding.
         
        repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
        Specified by:
        getCompliancesOrBuilderList in interface FindingOrBuilder
      • getCompliancesCount

        public int getCompliancesCount()
         Contains compliance information for security standards associated to the
         finding.
         
        repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
        Specified by:
        getCompliancesCount in interface FindingOrBuilder
      • getCompliances

        public Compliance getCompliances​(int index)
         Contains compliance information for security standards associated to the
         finding.
         
        repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
        Specified by:
        getCompliances in interface FindingOrBuilder
      • getCompliancesOrBuilder

        public ComplianceOrBuilder getCompliancesOrBuilder​(int index)
         Contains compliance information for security standards associated to the
         finding.
         
        repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
        Specified by:
        getCompliancesOrBuilder in interface FindingOrBuilder
      • getParentDisplayName

        public String getParentDisplayName()
         Output only. The human readable display name of the finding source such as
         "Event Threat Detection" or "Security Health Analytics".
         
        string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParentDisplayName in interface FindingOrBuilder
        Returns:
        The parentDisplayName.
      • getParentDisplayNameBytes

        public com.google.protobuf.ByteString getParentDisplayNameBytes()
         Output only. The human readable display name of the finding source such as
         "Event Threat Detection" or "Security Health Analytics".
         
        string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getParentDisplayNameBytes in interface FindingOrBuilder
        Returns:
        The bytes for parentDisplayName.
      • getDescription

        public String getDescription()
         Contains more details about the finding.
         
        string description = 37;
        Specified by:
        getDescription in interface FindingOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Contains more details about the finding.
         
        string description = 37;
        Specified by:
        getDescriptionBytes in interface FindingOrBuilder
        Returns:
        The bytes for description.
      • hasExfiltration

        public boolean hasExfiltration()
         Represents exfiltrations associated with the finding.
         
        .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38;
        Specified by:
        hasExfiltration in interface FindingOrBuilder
        Returns:
        Whether the exfiltration field is set.
      • getExfiltration

        public Exfiltration getExfiltration()
         Represents exfiltrations associated with the finding.
         
        .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38;
        Specified by:
        getExfiltration in interface FindingOrBuilder
        Returns:
        The exfiltration.
      • getIamBindingsList

        public List<IamBinding> getIamBindingsList()
         Represents IAM bindings associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;
        Specified by:
        getIamBindingsList in interface FindingOrBuilder
      • getIamBindingsCount

        public int getIamBindingsCount()
         Represents IAM bindings associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;
        Specified by:
        getIamBindingsCount in interface FindingOrBuilder
      • getIamBindings

        public IamBinding getIamBindings​(int index)
         Represents IAM bindings associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;
        Specified by:
        getIamBindings in interface FindingOrBuilder
      • getNextSteps

        public String getNextSteps()
         Steps to address the finding.
         
        string next_steps = 40;
        Specified by:
        getNextSteps in interface FindingOrBuilder
        Returns:
        The nextSteps.
      • getNextStepsBytes

        public com.google.protobuf.ByteString getNextStepsBytes()
         Steps to address the finding.
         
        string next_steps = 40;
        Specified by:
        getNextStepsBytes in interface FindingOrBuilder
        Returns:
        The bytes for nextSteps.
      • getModuleName

        public String getModuleName()
         Unique identifier of the module which generated the finding.
         Example:
         folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
         
        string module_name = 41;
        Specified by:
        getModuleName in interface FindingOrBuilder
        Returns:
        The moduleName.
      • getModuleNameBytes

        public com.google.protobuf.ByteString getModuleNameBytes()
         Unique identifier of the module which generated the finding.
         Example:
         folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
         
        string module_name = 41;
        Specified by:
        getModuleNameBytes in interface FindingOrBuilder
        Returns:
        The bytes for moduleName.
      • getContainersList

        public List<Container> getContainersList()
         Containers associated with the finding. This field provides information for
         both Kubernetes and non-Kubernetes containers.
         
        repeated .google.cloud.securitycenter.v1.Container containers = 42;
        Specified by:
        getContainersList in interface FindingOrBuilder
      • getContainersOrBuilderList

        public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
         Containers associated with the finding. This field provides information for
         both Kubernetes and non-Kubernetes containers.
         
        repeated .google.cloud.securitycenter.v1.Container containers = 42;
        Specified by:
        getContainersOrBuilderList in interface FindingOrBuilder
      • getContainersCount

        public int getContainersCount()
         Containers associated with the finding. This field provides information for
         both Kubernetes and non-Kubernetes containers.
         
        repeated .google.cloud.securitycenter.v1.Container containers = 42;
        Specified by:
        getContainersCount in interface FindingOrBuilder
      • getContainers

        public Container getContainers​(int index)
         Containers associated with the finding. This field provides information for
         both Kubernetes and non-Kubernetes containers.
         
        repeated .google.cloud.securitycenter.v1.Container containers = 42;
        Specified by:
        getContainers in interface FindingOrBuilder
      • getContainersOrBuilder

        public ContainerOrBuilder getContainersOrBuilder​(int index)
         Containers associated with the finding. This field provides information for
         both Kubernetes and non-Kubernetes containers.
         
        repeated .google.cloud.securitycenter.v1.Container containers = 42;
        Specified by:
        getContainersOrBuilder in interface FindingOrBuilder
      • hasKubernetes

        public boolean hasKubernetes()
         Kubernetes resources associated with the finding.
         
        .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43;
        Specified by:
        hasKubernetes in interface FindingOrBuilder
        Returns:
        Whether the kubernetes field is set.
      • getKubernetes

        public Kubernetes getKubernetes()
         Kubernetes resources associated with the finding.
         
        .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43;
        Specified by:
        getKubernetes in interface FindingOrBuilder
        Returns:
        The kubernetes.
      • hasDatabase

        public boolean hasDatabase()
         Database associated with the finding.
         
        .google.cloud.securitycenter.v1.Database database = 44;
        Specified by:
        hasDatabase in interface FindingOrBuilder
        Returns:
        Whether the database field is set.
      • getDatabase

        public Database getDatabase()
         Database associated with the finding.
         
        .google.cloud.securitycenter.v1.Database database = 44;
        Specified by:
        getDatabase in interface FindingOrBuilder
        Returns:
        The database.
      • getFilesList

        public List<File> getFilesList()
         File associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.File files = 46;
        Specified by:
        getFilesList in interface FindingOrBuilder
      • getFilesCount

        public int getFilesCount()
         File associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.File files = 46;
        Specified by:
        getFilesCount in interface FindingOrBuilder
      • getFiles

        public File getFiles​(int index)
         File associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.File files = 46;
        Specified by:
        getFiles in interface FindingOrBuilder
      • getFilesOrBuilder

        public FileOrBuilder getFilesOrBuilder​(int index)
         File associated with the finding.
         
        repeated .google.cloud.securitycenter.v1.File files = 46;
        Specified by:
        getFilesOrBuilder in interface FindingOrBuilder
      • hasCloudDlpInspection

        public boolean hasCloudDlpInspection()
         Cloud Data Loss Prevention (Cloud DLP) inspection results that are
         associated with the finding.
         
        .google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;
        Specified by:
        hasCloudDlpInspection in interface FindingOrBuilder
        Returns:
        Whether the cloudDlpInspection field is set.
      • getCloudDlpInspection

        public CloudDlpInspection getCloudDlpInspection()
         Cloud Data Loss Prevention (Cloud DLP) inspection results that are
         associated with the finding.
         
        .google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;
        Specified by:
        getCloudDlpInspection in interface FindingOrBuilder
        Returns:
        The cloudDlpInspection.
      • hasCloudDlpDataProfile

        public boolean hasCloudDlpDataProfile()
         Cloud DLP data profile that is associated with the finding.
         
        .google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;
        Specified by:
        hasCloudDlpDataProfile in interface FindingOrBuilder
        Returns:
        Whether the cloudDlpDataProfile field is set.
      • getCloudDlpDataProfile

        public CloudDlpDataProfile getCloudDlpDataProfile()
         Cloud DLP data profile that is associated with the finding.
         
        .google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;
        Specified by:
        getCloudDlpDataProfile in interface FindingOrBuilder
        Returns:
        The cloudDlpDataProfile.
      • hasKernelRootkit

        public boolean hasKernelRootkit()
         Signature of the kernel rootkit.
         
        .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;
        Specified by:
        hasKernelRootkit in interface FindingOrBuilder
        Returns:
        Whether the kernelRootkit field is set.
      • getKernelRootkit

        public KernelRootkit getKernelRootkit()
         Signature of the kernel rootkit.
         
        .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;
        Specified by:
        getKernelRootkit in interface FindingOrBuilder
        Returns:
        The kernelRootkit.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Finding parseFrom​(ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Finding parseFrom​(ByteBuffer data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Finding parseFrom​(com.google.protobuf.ByteString data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Finding parseFrom​(com.google.protobuf.ByteString data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Finding parseFrom​(byte[] data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Finding parseFrom​(byte[] data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Finding parseFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Finding.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Finding.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Finding.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Finding getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Finding> parser()
      • getParserForType

        public com.google.protobuf.Parser<Finding> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Finding getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder