Class Finding.Builder (2.9.0)

public static final class Finding.Builder extends GeneratedMessageV3.Builder<Finding.Builder> 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

Implements

FindingOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCompliances(Iterable<? extends Compliance> values)

public Finding.Builder addAllCompliances(Iterable<? extends Compliance> values)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Compliance>
Returns
TypeDescription
Finding.Builder

addAllConnections(Iterable<? extends Connection> values)

public Finding.Builder addAllConnections(Iterable<? extends Connection> values)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Connection>
Returns
TypeDescription
Finding.Builder

addAllContainers(Iterable<? extends Container> values)

public Finding.Builder addAllContainers(Iterable<? extends Container> values)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Container>
Returns
TypeDescription
Finding.Builder

addAllIamBindings(Iterable<? extends IamBinding> values)

public Finding.Builder addAllIamBindings(Iterable<? extends IamBinding> values)

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.IamBinding>
Returns
TypeDescription
Finding.Builder

addAllProcesses(Iterable<? extends Process> values)

public Finding.Builder addAllProcesses(Iterable<? extends Process> values)

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Process>
Returns
TypeDescription
Finding.Builder

addCompliances(Compliance value)

public Finding.Builder addCompliances(Compliance value)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
valueCompliance
Returns
TypeDescription
Finding.Builder

addCompliances(Compliance.Builder builderForValue)

public Finding.Builder addCompliances(Compliance.Builder builderForValue)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
builderForValueCompliance.Builder
Returns
TypeDescription
Finding.Builder

addCompliances(int index, Compliance value)

public Finding.Builder addCompliances(int index, Compliance value)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameters
NameDescription
indexint
valueCompliance
Returns
TypeDescription
Finding.Builder

addCompliances(int index, Compliance.Builder builderForValue)

public Finding.Builder addCompliances(int index, Compliance.Builder builderForValue)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameters
NameDescription
indexint
builderForValueCompliance.Builder
Returns
TypeDescription
Finding.Builder

addCompliancesBuilder()

public Compliance.Builder addCompliancesBuilder()

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Returns
TypeDescription
Compliance.Builder

addCompliancesBuilder(int index)

public Compliance.Builder addCompliancesBuilder(int index)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
indexint
Returns
TypeDescription
Compliance.Builder

addConnections(Connection value)

public Finding.Builder addConnections(Connection value)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
valueConnection
Returns
TypeDescription
Finding.Builder

addConnections(Connection.Builder builderForValue)

public Finding.Builder addConnections(Connection.Builder builderForValue)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
builderForValueConnection.Builder
Returns
TypeDescription
Finding.Builder

addConnections(int index, Connection value)

public Finding.Builder addConnections(int index, Connection value)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameters
NameDescription
indexint
valueConnection
Returns
TypeDescription
Finding.Builder

addConnections(int index, Connection.Builder builderForValue)

public Finding.Builder addConnections(int index, Connection.Builder builderForValue)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameters
NameDescription
indexint
builderForValueConnection.Builder
Returns
TypeDescription
Finding.Builder

addConnectionsBuilder()

public Connection.Builder addConnectionsBuilder()

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Returns
TypeDescription
Connection.Builder

addConnectionsBuilder(int index)

public Connection.Builder addConnectionsBuilder(int index)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
Connection.Builder

addContainers(Container value)

public Finding.Builder addContainers(Container value)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
valueContainer
Returns
TypeDescription
Finding.Builder

addContainers(Container.Builder builderForValue)

public Finding.Builder addContainers(Container.Builder builderForValue)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
builderForValueContainer.Builder
Returns
TypeDescription
Finding.Builder

addContainers(int index, Container value)

public Finding.Builder addContainers(int index, Container value)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameters
NameDescription
indexint
valueContainer
Returns
TypeDescription
Finding.Builder

addContainers(int index, Container.Builder builderForValue)

public Finding.Builder addContainers(int index, Container.Builder builderForValue)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameters
NameDescription
indexint
builderForValueContainer.Builder
Returns
TypeDescription
Finding.Builder

addContainersBuilder()

public Container.Builder addContainersBuilder()

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Returns
TypeDescription
Container.Builder

addContainersBuilder(int index)

public Container.Builder addContainersBuilder(int index)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
indexint
Returns
TypeDescription
Container.Builder

addIamBindings(IamBinding value)

public Finding.Builder addIamBindings(IamBinding value)

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Parameter
NameDescription
valueIamBinding
Returns
TypeDescription
Finding.Builder

addIamBindings(IamBinding.Builder builderForValue)

public Finding.Builder addIamBindings(IamBinding.Builder builderForValue)

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Parameter
NameDescription
builderForValueIamBinding.Builder
Returns
TypeDescription
Finding.Builder

addIamBindings(int index, IamBinding value)

public Finding.Builder addIamBindings(int index, IamBinding value)

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Parameters
NameDescription
indexint
valueIamBinding
Returns
TypeDescription
Finding.Builder

addIamBindings(int index, IamBinding.Builder builderForValue)

public Finding.Builder addIamBindings(int index, IamBinding.Builder builderForValue)

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Parameters
NameDescription
indexint
builderForValueIamBinding.Builder
Returns
TypeDescription
Finding.Builder

addIamBindingsBuilder()

public IamBinding.Builder addIamBindingsBuilder()

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Returns
TypeDescription
IamBinding.Builder

addIamBindingsBuilder(int index)

public IamBinding.Builder addIamBindingsBuilder(int index)

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamBinding.Builder

addProcesses(Process value)

public Finding.Builder addProcesses(Process value)

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Parameter
NameDescription
valueProcess
Returns
TypeDescription
Finding.Builder

addProcesses(Process.Builder builderForValue)

public Finding.Builder addProcesses(Process.Builder builderForValue)

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Parameter
NameDescription
builderForValueProcess.Builder
Returns
TypeDescription
Finding.Builder

addProcesses(int index, Process value)

public Finding.Builder addProcesses(int index, Process value)

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Parameters
NameDescription
indexint
valueProcess
Returns
TypeDescription
Finding.Builder

addProcesses(int index, Process.Builder builderForValue)

public Finding.Builder addProcesses(int index, Process.Builder builderForValue)

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Parameters
NameDescription
indexint
builderForValueProcess.Builder
Returns
TypeDescription
Finding.Builder

addProcessesBuilder()

public Process.Builder addProcessesBuilder()

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Returns
TypeDescription
Process.Builder

addProcessesBuilder(int index)

public Process.Builder addProcessesBuilder(int index)

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Parameter
NameDescription
indexint
Returns
TypeDescription
Process.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Finding.Builder
Overrides

build()

public Finding build()
Returns
TypeDescription
Finding

buildPartial()

public Finding buildPartial()
Returns
TypeDescription
Finding

clear()

public Finding.Builder clear()
Returns
TypeDescription
Finding.Builder
Overrides

clearAccess()

public Finding.Builder clearAccess()

Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.

.google.cloud.securitycenter.v1.Access access = 26;

Returns
TypeDescription
Finding.Builder

clearCanonicalName()

public Finding.Builder clearCanonicalName()

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
TypeDescription
Finding.Builder

This builder for chaining.

clearCategory()

public Finding.Builder clearCategory()

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
TypeDescription
Finding.Builder

This builder for chaining.

clearCompliances()

public Finding.Builder clearCompliances()

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Returns
TypeDescription
Finding.Builder

clearConnections()

public Finding.Builder clearConnections()

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Returns
TypeDescription
Finding.Builder

clearContacts()

public Finding.Builder clearContacts()
Returns
TypeDescription
Finding.Builder

clearContainers()

public Finding.Builder clearContainers()

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Returns
TypeDescription
Finding.Builder

clearCreateTime()

public Finding.Builder clearCreateTime()

The time at which the finding was created in Security Command Center.

.google.protobuf.Timestamp create_time = 10;

Returns
TypeDescription
Finding.Builder

clearDescription()

public Finding.Builder clearDescription()

Contains more detail about the finding.

string description = 37;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearEventTime()

public Finding.Builder clearEventTime()

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;

Returns
TypeDescription
Finding.Builder

clearExfiltration()

public Finding.Builder clearExfiltration()

Represents exfiltration associated with the Finding.

.google.cloud.securitycenter.v1.Exfiltration exfiltration = 38;

Returns
TypeDescription
Finding.Builder

clearExternalSystems()

public Finding.Builder clearExternalSystems()
Returns
TypeDescription
Finding.Builder

clearExternalUri()

public Finding.Builder clearExternalUri()

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
TypeDescription
Finding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Finding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Finding.Builder
Overrides

clearFindingClass()

public Finding.Builder clearFindingClass()

The class of the finding.

.google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearIamBindings()

public Finding.Builder clearIamBindings()

Represents IAM bindings associated with the Finding.

repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39;

Returns
TypeDescription
Finding.Builder

clearIndicator()

public Finding.Builder clearIndicator()

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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise

.google.cloud.securitycenter.v1.Indicator indicator = 18;

Returns
TypeDescription
Finding.Builder

clearKubernetes()

public Finding.Builder clearKubernetes()

Kubernetes resources associated with the finding.

.google.cloud.securitycenter.v1.Kubernetes kubernetes = 43;

Returns
TypeDescription
Finding.Builder

clearMitreAttack()

public Finding.Builder clearMitreAttack()

MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org

.google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25;

Returns
TypeDescription
Finding.Builder

clearMute()

public Finding.Builder clearMute()

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;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearMuteInitiator()

public Finding.Builder clearMuteInitiator()

First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.

string mute_initiator = 28;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearMuteUpdateTime()

public Finding.Builder clearMuteUpdateTime()

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];

Returns
TypeDescription
Finding.Builder

clearName()

public Finding.Builder clearName()

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
TypeDescription
Finding.Builder

This builder for chaining.

clearNextSteps()

public Finding.Builder clearNextSteps()

Next steps associate to the finding.

string next_steps = 40;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Finding.Builder
Overrides

clearParent()

public Finding.Builder clearParent()

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
TypeDescription
Finding.Builder

This builder for chaining.

clearProcesses()

public Finding.Builder clearProcesses()

Represents operating system processes associated with the Finding.

repeated .google.cloud.securitycenter.v1.Process processes = 30;

Returns
TypeDescription
Finding.Builder

clearResourceName()

public Finding.Builder clearResourceName()

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
TypeDescription
Finding.Builder

This builder for chaining.

clearSecurityMarks()

public Finding.Builder clearSecurityMarks()

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];

Returns
TypeDescription
Finding.Builder

clearSeverity()

public Finding.Builder clearSeverity()

The severity of the finding. This field is managed by the source that writes the finding.

.google.cloud.securitycenter.v1.Finding.Severity severity = 12;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearSourceProperties()

public Finding.Builder clearSourceProperties()
Returns
TypeDescription
Finding.Builder

clearState()

public Finding.Builder clearState()

The state of the finding.

.google.cloud.securitycenter.v1.Finding.State state = 4;

Returns
TypeDescription
Finding.Builder

This builder for chaining.

clearVulnerability()

public Finding.Builder clearVulnerability()

Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)

.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;

Returns
TypeDescription
Finding.Builder

clone()

public Finding.Builder clone()
Returns
TypeDescription
Finding.Builder
Overrides

containsContacts(String key)

public boolean containsContacts(String key)

Output only. Map containing the point of contacts 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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsExternalSystems(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsSourceProperties(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAccess()

public Access getAccess()

Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.

.google.cloud.securitycenter.v1.Access access = 26;

Returns
TypeDescription
Access

The access.

getAccessBuilder()

public Access.Builder getAccessBuilder()

Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.

.google.cloud.securitycenter.v1.Access access = 26;

Returns
TypeDescription
Access.Builder

getAccessOrBuilder()

public AccessOrBuilder getAccessOrBuilder()

Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.

.google.cloud.securitycenter.v1.Access access = 26;

Returns
TypeDescription
AccessOrBuilder

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;

Returns
TypeDescription
String

The canonicalName.

getCanonicalNameBytes()

public 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
TypeDescription
ByteString

The bytes for canonicalName.

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;

Returns
TypeDescription
String

The category.

getCategoryBytes()

public 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
TypeDescription
ByteString

The bytes for category.

getCompliances(int index)

public Compliance getCompliances(int index)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
indexint
Returns
TypeDescription
Compliance

getCompliancesBuilder(int index)

public Compliance.Builder getCompliancesBuilder(int index)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
indexint
Returns
TypeDescription
Compliance.Builder

getCompliancesBuilderList()

public List<Compliance.Builder> getCompliancesBuilderList()

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Returns
TypeDescription
List<Builder>

getCompliancesCount()

public int getCompliancesCount()

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Returns
TypeDescription
int

getCompliancesList()

public List<Compliance> getCompliancesList()

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Returns
TypeDescription
List<Compliance>

getCompliancesOrBuilder(int index)

public ComplianceOrBuilder getCompliancesOrBuilder(int index)

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Parameter
NameDescription
indexint
Returns
TypeDescription
ComplianceOrBuilder

getCompliancesOrBuilderList()

public List<? extends ComplianceOrBuilder> getCompliancesOrBuilderList()

Contains compliance information for security standards associated to the finding.

repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.ComplianceOrBuilder>

getConnections(int index)

public Connection getConnections(int index)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
Connection

getConnectionsBuilder(int index)

public Connection.Builder getConnectionsBuilder(int index)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
Connection.Builder

getConnectionsBuilderList()

public List<Connection.Builder> getConnectionsBuilderList()

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Returns
TypeDescription
List<Builder>

getConnectionsCount()

public int getConnectionsCount()

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Returns
TypeDescription
int

getConnectionsList()

public List<Connection> getConnectionsList()

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Returns
TypeDescription
List<Connection>

getConnectionsOrBuilder(int index)

public ConnectionOrBuilder getConnectionsOrBuilder(int index)

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectionOrBuilder

getConnectionsOrBuilderList()

public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()

Contains information about the IP connection associated with the finding.

repeated .google.cloud.securitycenter.v1.Connection connections = 31;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.ConnectionOrBuilder>

getContacts()

public Map<String,ContactDetails> getContacts()

Use #getContactsMap() instead.

Returns
TypeDescription
Map<String,ContactDetails>

getContactsCount()

public int getContactsCount()

Output only. Map containing the point of contacts 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];

Returns
TypeDescription
int

getContactsMap()

public Map<String,ContactDetails> getContactsMap()

Output only. Map containing the point of contacts 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];

Returns
TypeDescription
Map<String,ContactDetails>

getContactsOrDefault(String key, ContactDetails defaultValue)

public ContactDetails getContactsOrDefault(String key, ContactDetails defaultValue)

Output only. Map containing the point of contacts 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];

Parameters
NameDescription
keyString
defaultValueContactDetails
Returns
TypeDescription
ContactDetails

getContactsOrThrow(String key)

public ContactDetails getContactsOrThrow(String key)

Output only. Map containing the point of contacts 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];

Parameter
NameDescription
keyString
Returns
TypeDescription
ContactDetails

getContainers(int index)

public Container getContainers(int index)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
indexint
Returns
TypeDescription
Container

getContainersBuilder(int index)

public Container.Builder getContainersBuilder(int index)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
indexint
Returns
TypeDescription
Container.Builder

getContainersBuilderList()

public List<Container.Builder> getContainersBuilderList()

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Returns
TypeDescription
List<Builder>

getContainersCount()

public int getContainersCount()

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Returns
TypeDescription
int

getContainersList()

public List<Container> getContainersList()

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Returns
TypeDescription
List<Container>

getContainersOrBuilder(int index)

public ContainerOrBuilder getContainersOrBuilder(int index)

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerOrBuilder

getContainersOrBuilderList()

public List<? extends ContainerOrBuilder> getContainersOrBuilderList()

Containers associated with the finding. containers provides information for both Kubernetes and non-Kubernetes containers.

repeated .google.cloud.securitycenter.v1.Container containers = 42;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.ContainerOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

The time at which the finding was created in