Class Finding.Builder (2.56.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.Compliance>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.Connection>
Returns
Type Description
Finding.Builder

addAllContainers(Iterable<? extends Container> values)

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

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.Container>
Returns
Type Description
Finding.Builder

addAllFiles(Iterable<? extends File> values)

public Finding.Builder addAllFiles(Iterable<? extends File> values)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.File>
Returns
Type Description
Finding.Builder

addAllGroupMemberships(Iterable<? extends GroupMembership> values)

public Finding.Builder addAllGroupMemberships(Iterable<? extends GroupMembership> values)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.GroupMembership>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.IamBinding>
Returns
Type Description
Finding.Builder

addAllLoadBalancers(Iterable<? extends LoadBalancer> values)

public Finding.Builder addAllLoadBalancers(Iterable<? extends LoadBalancer> values)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.LoadBalancer>
Returns
Type Description
Finding.Builder

addAllLogEntries(Iterable<? extends LogEntry> values)

public Finding.Builder addAllLogEntries(Iterable<? extends LogEntry> values)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.LogEntry>
Returns
Type Description
Finding.Builder

addAllOrgPolicies(Iterable<? extends OrgPolicy> values)

public Finding.Builder addAllOrgPolicies(Iterable<? extends OrgPolicy> values)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.OrgPolicy>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.Process>
Returns
Type Description
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
Name Description
value Compliance
Returns
Type Description
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
Name Description
builderForValue Compliance.Builder
Returns
Type Description
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
Name Description
index int
value Compliance
Returns
Type Description
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
Name Description
index int
builderForValue Compliance.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Connection
Returns
Type Description
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
Name Description
builderForValue Connection.Builder
Returns
Type Description
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
Name Description
index int
value Connection
Returns
Type Description
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
Name Description
index int
builderForValue Connection.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Connection.Builder

addContainers(Container value)

public Finding.Builder addContainers(Container value)

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

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

Parameter
Name Description
value Container
Returns
Type Description
Finding.Builder

addContainers(Container.Builder builderForValue)

public Finding.Builder addContainers(Container.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Container.Builder
Returns
Type Description
Finding.Builder

addContainers(int index, Container value)

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

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

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

Parameters
Name Description
index int
value Container
Returns
Type Description
Finding.Builder

addContainers(int index, Container.Builder builderForValue)

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

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

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

Parameters
Name Description
index int
builderForValue Container.Builder
Returns
Type Description
Finding.Builder

addContainersBuilder()

public Container.Builder addContainersBuilder()

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

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

Returns
Type Description
Container.Builder

addContainersBuilder(int index)

public Container.Builder addContainersBuilder(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;

Parameter
Name Description
index int
Returns
Type Description
Container.Builder

addFiles(File value)

public Finding.Builder addFiles(File value)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
value File
Returns
Type Description
Finding.Builder

addFiles(File.Builder builderForValue)

public Finding.Builder addFiles(File.Builder builderForValue)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
builderForValue File.Builder
Returns
Type Description
Finding.Builder

addFiles(int index, File value)

public Finding.Builder addFiles(int index, File value)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameters
Name Description
index int
value File
Returns
Type Description
Finding.Builder

addFiles(int index, File.Builder builderForValue)

public Finding.Builder addFiles(int index, File.Builder builderForValue)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameters
Name Description
index int
builderForValue File.Builder
Returns
Type Description
Finding.Builder

addFilesBuilder()

public File.Builder addFilesBuilder()

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Returns
Type Description
File.Builder

addFilesBuilder(int index)

public File.Builder addFilesBuilder(int index)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
index int
Returns
Type Description
File.Builder

addGroupMemberships(GroupMembership value)

public Finding.Builder addGroupMemberships(GroupMembership value)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
value GroupMembership
Returns
Type Description
Finding.Builder

addGroupMemberships(GroupMembership.Builder builderForValue)

public Finding.Builder addGroupMemberships(GroupMembership.Builder builderForValue)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
builderForValue GroupMembership.Builder
Returns
Type Description
Finding.Builder

addGroupMemberships(int index, GroupMembership value)

public Finding.Builder addGroupMemberships(int index, GroupMembership value)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameters
Name Description
index int
value GroupMembership
Returns
Type Description
Finding.Builder

addGroupMemberships(int index, GroupMembership.Builder builderForValue)

public Finding.Builder addGroupMemberships(int index, GroupMembership.Builder builderForValue)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameters
Name Description
index int
builderForValue GroupMembership.Builder
Returns
Type Description
Finding.Builder

addGroupMembershipsBuilder()

public GroupMembership.Builder addGroupMembershipsBuilder()

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Returns
Type Description
GroupMembership.Builder

addGroupMembershipsBuilder(int index)

public GroupMembership.Builder addGroupMembershipsBuilder(int index)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
index int
Returns
Type Description
GroupMembership.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
Name Description
value IamBinding
Returns
Type Description
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
Name Description
builderForValue IamBinding.Builder
Returns
Type Description
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
Name Description
index int
value IamBinding
Returns
Type Description
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
Name Description
index int
builderForValue IamBinding.Builder
Returns
Type Description
Finding.Builder

addIamBindingsBuilder()

public IamBinding.Builder addIamBindingsBuilder()

Represents IAM bindings associated with the finding.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
IamBinding.Builder

addLoadBalancers(LoadBalancer value)

public Finding.Builder addLoadBalancers(LoadBalancer value)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
value LoadBalancer
Returns
Type Description
Finding.Builder

addLoadBalancers(LoadBalancer.Builder builderForValue)

public Finding.Builder addLoadBalancers(LoadBalancer.Builder builderForValue)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
builderForValue LoadBalancer.Builder
Returns
Type Description
Finding.Builder

addLoadBalancers(int index, LoadBalancer value)

public Finding.Builder addLoadBalancers(int index, LoadBalancer value)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameters
Name Description
index int
value LoadBalancer
Returns
Type Description
Finding.Builder

addLoadBalancers(int index, LoadBalancer.Builder builderForValue)

public Finding.Builder addLoadBalancers(int index, LoadBalancer.Builder builderForValue)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameters
Name Description
index int
builderForValue LoadBalancer.Builder
Returns
Type Description
Finding.Builder

addLoadBalancersBuilder()

public LoadBalancer.Builder addLoadBalancersBuilder()

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Returns
Type Description
LoadBalancer.Builder

addLoadBalancersBuilder(int index)

public LoadBalancer.Builder addLoadBalancersBuilder(int index)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
index int
Returns
Type Description
LoadBalancer.Builder

addLogEntries(LogEntry value)

public Finding.Builder addLogEntries(LogEntry value)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
value LogEntry
Returns
Type Description
Finding.Builder

addLogEntries(LogEntry.Builder builderForValue)

public Finding.Builder addLogEntries(LogEntry.Builder builderForValue)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
builderForValue LogEntry.Builder
Returns
Type Description
Finding.Builder

addLogEntries(int index, LogEntry value)

public Finding.Builder addLogEntries(int index, LogEntry value)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameters
Name Description
index int
value LogEntry
Returns
Type Description
Finding.Builder

addLogEntries(int index, LogEntry.Builder builderForValue)

public Finding.Builder addLogEntries(int index, LogEntry.Builder builderForValue)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameters
Name Description
index int
builderForValue LogEntry.Builder
Returns
Type Description
Finding.Builder

addLogEntriesBuilder()

public LogEntry.Builder addLogEntriesBuilder()

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Returns
Type Description
LogEntry.Builder

addLogEntriesBuilder(int index)

public LogEntry.Builder addLogEntriesBuilder(int index)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
index int
Returns
Type Description
LogEntry.Builder

addOrgPolicies(OrgPolicy value)

public Finding.Builder addOrgPolicies(OrgPolicy value)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
value OrgPolicy
Returns
Type Description
Finding.Builder

addOrgPolicies(OrgPolicy.Builder builderForValue)

public Finding.Builder addOrgPolicies(OrgPolicy.Builder builderForValue)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
builderForValue OrgPolicy.Builder
Returns
Type Description
Finding.Builder

addOrgPolicies(int index, OrgPolicy value)

public Finding.Builder addOrgPolicies(int index, OrgPolicy value)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameters
Name Description
index int
value OrgPolicy
Returns
Type Description
Finding.Builder

addOrgPolicies(int index, OrgPolicy.Builder builderForValue)

public Finding.Builder addOrgPolicies(int index, OrgPolicy.Builder builderForValue)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameters
Name Description
index int
builderForValue OrgPolicy.Builder
Returns
Type Description
Finding.Builder

addOrgPoliciesBuilder()

public OrgPolicy.Builder addOrgPoliciesBuilder()

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Returns
Type Description
OrgPolicy.Builder

addOrgPoliciesBuilder(int index)

public OrgPolicy.Builder addOrgPoliciesBuilder(int index)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
index int
Returns
Type Description
OrgPolicy.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
Name Description
value Process
Returns
Type Description
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
Name Description
builderForValue Process.Builder
Returns
Type Description
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
Name Description
index int
value Process
Returns
Type Description
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
Name Description
index int
builderForValue Process.Builder
Returns
Type Description
Finding.Builder

addProcessesBuilder()

public Process.Builder addProcessesBuilder()

Represents operating system processes associated with the Finding.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Process.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Finding.Builder
Overrides

build()

public Finding build()
Returns
Type Description
Finding

buildPartial()

public Finding buildPartial()
Returns
Type Description
Finding

clear()

public Finding.Builder clear()
Returns
Type Description
Finding.Builder
Overrides

clearAccess()

public Finding.Builder clearAccess()

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;

Returns
Type Description
Finding.Builder

clearApplication()

public Finding.Builder clearApplication()

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Returns
Type Description
Finding.Builder

clearAttackExposure()

public Finding.Builder clearAttackExposure()

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Returns
Type Description
Finding.Builder

clearBackupDisasterRecovery()

public Finding.Builder clearBackupDisasterRecovery()

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Returns
Type Description
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
Type Description
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
Type Description
Finding.Builder

This builder for chaining.

clearCloudArmor()

public Finding.Builder clearCloudArmor()

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Returns
Type Description
Finding.Builder

clearCloudDlpDataProfile()

public Finding.Builder clearCloudDlpDataProfile()

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Returns
Type Description
Finding.Builder

clearCloudDlpInspection()

public Finding.Builder clearCloudDlpInspection()

Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;

Returns
Type Description
Finding.Builder

clearCompliances()

public Finding.Builder clearCompliances()

Contains compliance information for security standards associated to the finding.

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

Returns
Type Description
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
Type Description
Finding.Builder

clearContacts()

public Finding.Builder clearContacts()
Returns
Type Description
Finding.Builder

clearContainers()

public Finding.Builder clearContainers()

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

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

Returns
Type Description
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
Type Description
Finding.Builder

clearDatabase()

public Finding.Builder clearDatabase()

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Returns
Type Description
Finding.Builder

clearDescription()

public Finding.Builder clearDescription()

Contains more details about the finding.

string description = 37;

Returns
Type Description
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
Type Description
Finding.Builder

clearExfiltration()

public Finding.Builder clearExfiltration()

Represents exfiltrations associated with the finding.

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

Returns
Type Description
Finding.Builder

clearExternalSystems()

public Finding.Builder clearExternalSystems()
Returns
Type Description
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
Type Description
Finding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Finding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Finding.Builder
Overrides

clearFiles()

public Finding.Builder clearFiles()

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Returns
Type Description
Finding.Builder

clearFindingClass()

public Finding.Builder clearFindingClass()

The class of the finding.

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

Returns
Type Description
Finding.Builder

This builder for chaining.

clearGroupMemberships()

public Finding.Builder clearGroupMemberships()

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Returns
Type Description
Finding.Builder

clearIamBindings()

public Finding.Builder clearIamBindings()

Represents IAM bindings associated with the finding.

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

Returns
Type Description
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. For more information, see Indicator of compromise.

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

Returns
Type Description
Finding.Builder

clearKernelRootkit()

public Finding.Builder clearKernelRootkit()

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Returns
Type Description
Finding.Builder

clearKubernetes()

public Finding.Builder clearKubernetes()

Kubernetes resources associated with the finding.

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

Returns
Type Description
Finding.Builder

clearLoadBalancers()

public Finding.Builder clearLoadBalancers()

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Returns
Type Description
Finding.Builder

clearLogEntries()

public Finding.Builder clearLogEntries()

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Returns
Type Description
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
Type Description
Finding.Builder

clearModuleName()

public Finding.Builder clearModuleName()

Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885

string module_name = 41;

Returns
Type Description
Finding.Builder

This builder for chaining.

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
Type Description
Finding.Builder

This builder for chaining.

clearMuteInfo()

public Finding.Builder clearMuteInfo()

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Finding.Builder

clearMuteInitiator()

public Finding.Builder clearMuteInitiator()

Records additional information about the mute operation, for example, the mute configuration that muted the finding and the user who muted the finding.

string mute_initiator = 28;

Returns
Type Description
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
Type Description
Finding.Builder

clearName()

public Finding.Builder clearName()

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

Returns
Type Description
Finding.Builder

This builder for chaining.

clearNextSteps()

public Finding.Builder clearNextSteps()

Steps to address the finding.

string next_steps = 40;

Returns
Type Description
Finding.Builder

This builder for chaining.

clearNotebook()

public Finding.Builder clearNotebook()

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Returns
Type Description
Finding.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Finding.Builder
Overrides

clearOrgPolicies()

public Finding.Builder clearOrgPolicies()

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Returns
Type Description
Finding.Builder

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
Type Description
Finding.Builder

This builder for chaining.

clearParentDisplayName()

public Finding.Builder clearParentDisplayName()

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
Finding.Builder

clearSecurityPosture()

public Finding.Builder clearSecurityPosture()

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Returns
Type Description
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
Type Description
Finding.Builder

This builder for chaining.

clearSourceProperties()

public Finding.Builder clearSourceProperties()
Returns
Type Description
Finding.Builder

clearState()

public Finding.Builder clearState()

The state of the finding.

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

Returns
Type Description
Finding.Builder

This builder for chaining.

clearToxicCombination()

public Finding.Builder clearToxicCombination()

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Returns
Type Description
Finding.Builder

clearVulnerability()

public Finding.Builder clearVulnerability()

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;

Returns
Type Description
Finding.Builder

clone()

public Finding.Builder clone()
Returns
Type Description
Finding.Builder
Overrides

containsContacts(String key)

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

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;

Returns
Type Description
Access

The access.

getAccessBuilder()

public Access.Builder getAccessBuilder()

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;

Returns
Type Description
Access.Builder

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;

Returns
Type Description
AccessOrBuilder

getApplication()

public Application getApplication()

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Returns
Type Description
Application

The application.

getApplicationBuilder()

public Application.Builder getApplicationBuilder()

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Returns
Type Description
Application.Builder

getApplicationOrBuilder()

public ApplicationOrBuilder getApplicationOrBuilder()

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Returns
Type Description
ApplicationOrBuilder

getAttackExposure()

public AttackExposure getAttackExposure()

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Returns
Type Description
AttackExposure

The attackExposure.

getAttackExposureBuilder()

public AttackExposure.Builder getAttackExposureBuilder()

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Returns
Type Description
AttackExposure.Builder

getAttackExposureOrBuilder()

public AttackExposureOrBuilder getAttackExposureOrBuilder()

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Returns
Type Description
AttackExposureOrBuilder

getBackupDisasterRecovery()

public BackupDisasterRecovery getBackupDisasterRecovery()

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Returns
Type Description
BackupDisasterRecovery

The backupDisasterRecovery.

getBackupDisasterRecoveryBuilder()

public BackupDisasterRecovery.Builder getBackupDisasterRecoveryBuilder()

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Returns
Type Description
BackupDisasterRecovery.Builder

getBackupDisasterRecoveryOrBuilder()

public BackupDisasterRecoveryOrBuilder getBackupDisasterRecoveryOrBuilder()

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Returns
Type Description
BackupDisasterRecoveryOrBuilder

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for category.

getCloudArmor()

public CloudArmor getCloudArmor()

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Returns
Type Description
CloudArmor

The cloudArmor.

getCloudArmorBuilder()

public CloudArmor.Builder getCloudArmorBuilder()

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Returns
Type Description
CloudArmor.Builder

getCloudArmorOrBuilder()

public CloudArmorOrBuilder getCloudArmorOrBuilder()

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Returns
Type Description
CloudArmorOrBuilder

getCloudDlpDataProfile()

public CloudDlpDataProfile getCloudDlpDataProfile()

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Returns
Type Description
CloudDlpDataProfile

The cloudDlpDataProfile.

getCloudDlpDataProfileBuilder()

public CloudDlpDataProfile.Builder getCloudDlpDataProfileBuilder()

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Returns
Type Description
CloudDlpDataProfile.Builder

getCloudDlpDataProfileOrBuilder()

public CloudDlpDataProfileOrBuilder getCloudDlpDataProfileOrBuilder()

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Returns
Type Description
CloudDlpDataProfileOrBuilder

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;

Returns
Type Description
CloudDlpInspection

The cloudDlpInspection.

getCloudDlpInspectionBuilder()

public CloudDlpInspection.Builder getCloudDlpInspectionBuilder()

Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;

Returns
Type Description
CloudDlpInspection.Builder

getCloudDlpInspectionOrBuilder()

public CloudDlpInspectionOrBuilder getCloudDlpInspectionOrBuilder()

Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;

Returns
Type Description
CloudDlpInspectionOrBuilder

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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.securitycenter.v1.ConnectionOrBuilder>

getContacts() (deprecated)

public Map<String,ContactDetails> getContacts()

Use #getContactsMap() instead.

Returns
Type Description
Map<String,ContactDetails>

getContactsCount()

public int getContactsCount()

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,ContactDetails>

getContactsOrDefault(String key, ContactDetails defaultValue)

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue ContactDetails
Returns
Type Description
ContactDetails

getContactsOrThrow(String key)

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ContactDetails

getContainers(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Container

getContainersBuilder(int index)

public Container.Builder getContainersBuilder(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;

Parameter
Name Description
index int
Returns
Type Description
Container.Builder

getContainersBuilderList()

public List<Container.Builder> getContainersBuilderList()

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

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

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<Container>

getContainersOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ContainerOrBuilder

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;

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

getCreateTime()

public Timestamp getCreateTime()

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

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

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

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
TimestampOrBuilder

getDatabase()

public Database getDatabase()

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Returns
Type Description
Database

The database.

getDatabaseBuilder()

public Database.Builder getDatabaseBuilder()

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Returns
Type Description
Database.Builder

getDatabaseOrBuilder()

public DatabaseOrBuilder getDatabaseOrBuilder()

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Returns
Type Description
DatabaseOrBuilder

getDefaultInstanceForType()

public Finding getDefaultInstanceForType()
Returns
Type Description
Finding

getDescription()

public String getDescription()

Contains more details about the finding.

string description = 37;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Contains more details about the finding.

string description = 37;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventTime()

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

Returns
Type Description
Timestamp

The eventTime.

getEventTimeBuilder()

public Timestamp.Builder getEventTimeBuilder()

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
Type Description
Builder

getEventTimeOrBuilder()

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

Returns
Type Description
TimestampOrBuilder

getExfiltration()

public Exfiltration getExfiltration()

Represents exfiltrations associated with the finding.

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

Returns
Type Description
Exfiltration

The exfiltration.

getExfiltrationBuilder()

public Exfiltration.Builder getExfiltrationBuilder()

Represents exfiltrations associated with the finding.

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

Returns
Type Description
Exfiltration.Builder

getExfiltrationOrBuilder()

public ExfiltrationOrBuilder getExfiltrationOrBuilder()

Represents exfiltrations associated with the finding.

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

Returns
Type Description
ExfiltrationOrBuilder

getExternalSystems() (deprecated)

public Map<String,ExternalSystem> getExternalSystems()
Returns
Type Description
Map<String,ExternalSystem>

getExternalSystemsCount()

public int getExternalSystemsCount()

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

Returns
Type Description
int

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

Returns
Type Description
Map<String,ExternalSystem>

getExternalSystemsOrDefault(String key, ExternalSystem defaultValue)

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

Parameters
Name Description
key String
defaultValue ExternalSystem
Returns
Type Description
ExternalSystem

getExternalSystemsOrThrow(String key)

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

Parameter
Name Description
key String
Returns
Type Description
ExternalSystem

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;

Returns
Type Description
String

The externalUri.

getExternalUriBytes()

public 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
Type Description
ByteString

The bytes for externalUri.

getFiles(int index)

public File getFiles(int index)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
index int
Returns
Type Description
File

getFilesBuilder(int index)

public File.Builder getFilesBuilder(int index)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
index int
Returns
Type Description
File.Builder

getFilesBuilderList()

public List<File.Builder> getFilesBuilderList()

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Returns
Type Description
List<Builder>

getFilesCount()

public int getFilesCount()

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Returns
Type Description
int

getFilesList()

public List<File> getFilesList()

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Returns
Type Description
List<File>

getFilesOrBuilder(int index)

public FileOrBuilder getFilesOrBuilder(int index)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
index int
Returns
Type Description
FileOrBuilder

getFilesOrBuilderList()

public List<? extends FileOrBuilder> getFilesOrBuilderList()

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.FileOrBuilder>

getFindingClass()

public Finding.FindingClass getFindingClass()

The class of the finding.

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

Returns
Type Description
Finding.FindingClass

The findingClass.

getFindingClassValue()

public int getFindingClassValue()

The class of the finding.

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

Returns
Type Description
int

The enum numeric value on the wire for findingClass.

getGroupMemberships(int index)

public GroupMembership getGroupMemberships(int index)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
index int
Returns
Type Description
GroupMembership

getGroupMembershipsBuilder(int index)

public GroupMembership.Builder getGroupMembershipsBuilder(int index)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
index int
Returns
Type Description
GroupMembership.Builder

getGroupMembershipsBuilderList()

public List<GroupMembership.Builder> getGroupMembershipsBuilderList()

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Returns
Type Description
List<Builder>

getGroupMembershipsCount()

public int getGroupMembershipsCount()

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Returns
Type Description
int

getGroupMembershipsList()

public List<GroupMembership> getGroupMembershipsList()

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Returns
Type Description
List<GroupMembership>

getGroupMembershipsOrBuilder(int index)

public GroupMembershipOrBuilder getGroupMembershipsOrBuilder(int index)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
index int
Returns
Type Description
GroupMembershipOrBuilder

getGroupMembershipsOrBuilderList()

public List<? extends GroupMembershipOrBuilder> getGroupMembershipsOrBuilderList()

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.GroupMembershipOrBuilder>

getIamBindings(int index)

public IamBinding getIamBindings(int index)

Represents IAM bindings associated with the finding.

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

Parameter
Name Description
index int
Returns
Type Description
IamBinding

getIamBindingsBuilder(int index)

public IamBinding.Builder getIamBindingsBuilder(int index)

Represents IAM bindings associated with the finding.

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

Parameter
Name Description
index int
Returns
Type Description
IamBinding.Builder

getIamBindingsBuilderList()

public List<IamBinding.Builder> getIamBindingsBuilderList()

Represents IAM bindings associated with the finding.

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

Returns
Type Description
List<Builder>

getIamBindingsCount()

public int getIamBindingsCount()

Represents IAM bindings associated with the finding.

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

Returns
Type Description
int

getIamBindingsList()

public List<IamBinding> getIamBindingsList()

Represents IAM bindings associated with the finding.

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

Returns
Type Description
List<IamBinding>

getIamBindingsOrBuilder(int index)

public IamBindingOrBuilder getIamBindingsOrBuilder(int index)

Represents IAM bindings associated with the finding.

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

Parameter
Name Description
index int
Returns
Type Description
IamBindingOrBuilder

getIamBindingsOrBuilderList()

public List<? extends IamBindingOrBuilder> getIamBindingsOrBuilderList()

Represents IAM bindings associated with the finding.

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

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.IamBindingOrBuilder>

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.

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

Returns
Type Description
Indicator

The indicator.

getIndicatorBuilder()

public Indicator.Builder getIndicatorBuilder()

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.

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

Returns
Type Description
Indicator.Builder

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.

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

Returns
Type Description
IndicatorOrBuilder

getKernelRootkit()

public KernelRootkit getKernelRootkit()

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Returns
Type Description
KernelRootkit

The kernelRootkit.

getKernelRootkitBuilder()

public KernelRootkit.Builder getKernelRootkitBuilder()

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Returns
Type Description
KernelRootkit.Builder

getKernelRootkitOrBuilder()

public KernelRootkitOrBuilder getKernelRootkitOrBuilder()

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Returns
Type Description
KernelRootkitOrBuilder

getKubernetes()

public Kubernetes getKubernetes()

Kubernetes resources associated with the finding.

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

Returns
Type Description
Kubernetes

The kubernetes.

getKubernetesBuilder()

public Kubernetes.Builder getKubernetesBuilder()

Kubernetes resources associated with the finding.

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

Returns
Type Description
Kubernetes.Builder

getKubernetesOrBuilder()

public KubernetesOrBuilder getKubernetesOrBuilder()

Kubernetes resources associated with the finding.

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

Returns
Type Description
KubernetesOrBuilder

getLoadBalancers(int index)

public LoadBalancer getLoadBalancers(int index)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
index int
Returns
Type Description
LoadBalancer

getLoadBalancersBuilder(int index)

public LoadBalancer.Builder getLoadBalancersBuilder(int index)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
index int
Returns
Type Description
LoadBalancer.Builder

getLoadBalancersBuilderList()

public List<LoadBalancer.Builder> getLoadBalancersBuilderList()

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Returns
Type Description
List<Builder>

getLoadBalancersCount()

public int getLoadBalancersCount()

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Returns
Type Description
int

getLoadBalancersList()

public List<LoadBalancer> getLoadBalancersList()

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Returns
Type Description
List<LoadBalancer>

getLoadBalancersOrBuilder(int index)

public LoadBalancerOrBuilder getLoadBalancersOrBuilder(int index)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
index int
Returns
Type Description
LoadBalancerOrBuilder

getLoadBalancersOrBuilderList()

public List<? extends LoadBalancerOrBuilder> getLoadBalancersOrBuilderList()

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.LoadBalancerOrBuilder>

getLogEntries(int index)

public LogEntry getLogEntries(int index)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
index int
Returns
Type Description
LogEntry

getLogEntriesBuilder(int index)

public LogEntry.Builder getLogEntriesBuilder(int index)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
index int
Returns
Type Description
LogEntry.Builder

getLogEntriesBuilderList()

public List<LogEntry.Builder> getLogEntriesBuilderList()

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Returns
Type Description
List<Builder>

getLogEntriesCount()

public int getLogEntriesCount()

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Returns
Type Description
int

getLogEntriesList()

public List<LogEntry> getLogEntriesList()

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Returns
Type Description
List<LogEntry>

getLogEntriesOrBuilder(int index)

public LogEntryOrBuilder getLogEntriesOrBuilder(int index)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
index int
Returns
Type Description
LogEntryOrBuilder

getLogEntriesOrBuilderList()

public List<? extends LogEntryOrBuilder> getLogEntriesOrBuilderList()

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.LogEntryOrBuilder>

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;

Returns
Type Description
MitreAttack

The mitreAttack.

getMitreAttackBuilder()

public MitreAttack.Builder getMitreAttackBuilder()

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

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

Returns
Type Description
MitreAttack.Builder

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;

Returns
Type Description
MitreAttackOrBuilder

getModuleName()

public String getModuleName()

Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885

string module_name = 41;

Returns
Type Description
String

The moduleName.

getModuleNameBytes()

public ByteString getModuleNameBytes()

Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885

string module_name = 41;

Returns
Type Description
ByteString

The bytes for moduleName.

getMutableContacts() (deprecated)

public Map<String,ContactDetails> getMutableContacts()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ContactDetails>

getMutableExternalSystems() (deprecated)

public Map<String,ExternalSystem> getMutableExternalSystems()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ExternalSystem>

getMutableSourceProperties() (deprecated)

public Map<String,Value> getMutableSourceProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Value>

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;

Returns
Type Description
Finding.Mute

The mute.

getMuteInfo()

public Finding.MuteInfo getMuteInfo()

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Finding.MuteInfo

The muteInfo.

getMuteInfoBuilder()

public Finding.MuteInfo.Builder getMuteInfoBuilder()

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Finding.MuteInfo.Builder

getMuteInfoOrBuilder()

public Finding.MuteInfoOrBuilder getMuteInfoOrBuilder()

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Finding.MuteInfoOrBuilder

getMuteInitiator()

public String getMuteInitiator()

Records additional information about the mute operation, for example, the mute configuration that muted the finding and the user who muted the finding.

string mute_initiator = 28;

Returns
Type Description
String

The muteInitiator.

getMuteInitiatorBytes()

public ByteString getMuteInitiatorBytes()

Records additional information about the mute operation, for example, the mute configuration that muted the finding and the user who muted the finding.

string mute_initiator = 28;

Returns
Type Description
ByteString

The bytes for muteInitiator.

getMuteUpdateTime()

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

Returns
Type Description
Timestamp

The muteUpdateTime.

getMuteUpdateTimeBuilder()

public Timestamp.Builder getMuteUpdateTimeBuilder()

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
Type Description
Builder

getMuteUpdateTimeOrBuilder()

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

Returns
Type Description
TimestampOrBuilder

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;

Returns
Type Description
int

The enum numeric value on the wire for mute.

getName()

public String getName()

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

Returns
Type Description
ByteString

The bytes for name.

getNextSteps()

public String getNextSteps()

Steps to address the finding.

string next_steps = 40;

Returns
Type Description
String

The nextSteps.

getNextStepsBytes()

public ByteString getNextStepsBytes()

Steps to address the finding.

string next_steps = 40;

Returns
Type Description
ByteString

The bytes for nextSteps.

getNotebook()

public Notebook getNotebook()

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Returns
Type Description
Notebook

The notebook.

getNotebookBuilder()

public Notebook.Builder getNotebookBuilder()

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Returns
Type Description
Notebook.Builder

getNotebookOrBuilder()

public NotebookOrBuilder getNotebookOrBuilder()

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Returns
Type Description
NotebookOrBuilder

getOrgPolicies(int index)

public OrgPolicy getOrgPolicies(int index)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
index int
Returns
Type Description
OrgPolicy

getOrgPoliciesBuilder(int index)

public OrgPolicy.Builder getOrgPoliciesBuilder(int index)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
index int
Returns
Type Description
OrgPolicy.Builder

getOrgPoliciesBuilderList()

public List<OrgPolicy.Builder> getOrgPoliciesBuilderList()

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Returns
Type Description
List<Builder>

getOrgPoliciesCount()

public int getOrgPoliciesCount()

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Returns
Type Description
int

getOrgPoliciesList()

public List<OrgPolicy> getOrgPoliciesList()

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Returns
Type Description
List<OrgPolicy>

getOrgPoliciesOrBuilder(int index)

public OrgPolicyOrBuilder getOrgPoliciesOrBuilder(int index)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
index int
Returns
Type Description
OrgPolicyOrBuilder

getOrgPoliciesOrBuilderList()

public List<? extends OrgPolicyOrBuilder> getOrgPoliciesOrBuilderList()

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.OrgPolicyOrBuilder>

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;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"

string parent = 2;

Returns
Type Description
ByteString

The bytes for parent.

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

Returns
Type Description
String

The parentDisplayName.

getParentDisplayNameBytes()

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

Returns
Type Description
ByteString

The bytes for parentDisplayName.

getProcesses(int index)

public Process getProcesses(int index)

Represents operating system processes associated with the Finding.

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

Parameter
Name Description
index int
Returns
Type Description
Process

getProcessesBuilder(int index)

public Process.Builder getProcessesBuilder(int index)

Represents operating system processes associated with the Finding.

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

Parameter
Name Description
index int
Returns
Type Description
Process.Builder

getProcessesBuilderList()

public List<Process.Builder> getProcessesBuilderList()

Represents operating system processes associated with the Finding.

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

Returns
Type Description
List<Builder>

getProcessesCount()

public int getProcessesCount()

Represents operating system processes associated with the Finding.

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

Returns
Type Description
int

getProcessesList()

public List<Process> getProcessesList()

Represents operating system processes associated with the Finding.

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

Returns
Type Description
List<Process>

getProcessesOrBuilder(int index)

public ProcessOrBuilder getProcessesOrBuilder(int index)

Represents operating system processes associated with the Finding.

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

Parameter
Name Description
index int
Returns
Type Description
ProcessOrBuilder

getProcessesOrBuilderList()

public List<? extends ProcessOrBuilder> getProcessesOrBuilderList()

Represents operating system processes associated with the Finding.

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

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.ProcessOrBuilder>

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;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public 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
Type Description
ByteString

The bytes for resourceName.

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

Returns
Type Description
SecurityMarks

The securityMarks.

getSecurityMarksBuilder()

public SecurityMarks.Builder getSecurityMarksBuilder()

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
Type Description
SecurityMarks.Builder

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

Returns
Type Description
SecurityMarksOrBuilder

getSecurityPosture()

public SecurityPosture getSecurityPosture()

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Returns
Type Description
SecurityPosture

The securityPosture.

getSecurityPostureBuilder()

public SecurityPosture.Builder getSecurityPostureBuilder()

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Returns
Type Description
SecurityPosture.Builder

getSecurityPostureOrBuilder()

public SecurityPostureOrBuilder getSecurityPostureOrBuilder()

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Returns
Type Description
SecurityPostureOrBuilder

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;

Returns
Type Description
Finding.Severity

The severity.

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;

Returns
Type Description
int

The enum numeric value on the wire for severity.

getSourceProperties() (deprecated)

public Map<String,Value> getSourceProperties()
Returns
Type Description
Map<String,Value>

getSourcePropertiesCount()

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

Returns
Type Description
int

getSourcePropertiesMap()

public Map<String,Value> getSourcePropertiesMap()

Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.

map<string, .google.protobuf.Value> source_properties = 7;

Returns
Type Description
Map<String,Value>

getSourcePropertiesOrDefault(String key, Value defaultValue)

public Value getSourcePropertiesOrDefault(String key, Value defaultValue)

Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.

map<string, .google.protobuf.Value> source_properties = 7;

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getSourcePropertiesOrThrow(String key)

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

Parameter
Name Description
key String
Returns
Type Description
Value

getState()

public Finding.State getState()

The state of the finding.

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

Returns
Type Description
Finding.State

The state.

getStateValue()

public int getStateValue()

The state of the finding.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getToxicCombination()

public ToxicCombination getToxicCombination()

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Returns
Type Description
ToxicCombination

The toxicCombination.

getToxicCombinationBuilder()

public ToxicCombination.Builder getToxicCombinationBuilder()

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Returns
Type Description
ToxicCombination.Builder

getToxicCombinationOrBuilder()

public ToxicCombinationOrBuilder getToxicCombinationOrBuilder()

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Returns
Type Description
ToxicCombinationOrBuilder

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;

Returns
Type Description
Vulnerability

The vulnerability.

getVulnerabilityBuilder()

public Vulnerability.Builder getVulnerabilityBuilder()

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;

Returns
Type Description
Vulnerability.Builder

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;

Returns
Type Description
VulnerabilityOrBuilder

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;

Returns
Type Description
boolean

Whether the access field is set.

hasApplication()

public boolean hasApplication()

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Returns
Type Description
boolean

Whether the application field is set.

hasAttackExposure()

public boolean hasAttackExposure()

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Returns
Type Description
boolean

Whether the attackExposure field is set.

hasBackupDisasterRecovery()

public boolean hasBackupDisasterRecovery()

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Returns
Type Description
boolean

Whether the backupDisasterRecovery field is set.

hasCloudArmor()

public boolean hasCloudArmor()

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Returns
Type Description
boolean

Whether the cloudArmor field is set.

hasCloudDlpDataProfile()

public boolean hasCloudDlpDataProfile()

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Returns
Type Description
boolean

Whether the cloudDlpDataProfile field is set.

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;

Returns
Type Description
boolean

Whether the cloudDlpInspection field is set.

hasCreateTime()

public boolean hasCreateTime()

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

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDatabase()

public boolean hasDatabase()

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Returns
Type Description
boolean

Whether the database field is set.

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;

Returns
Type Description
boolean

Whether the eventTime field is set.

hasExfiltration()

public boolean hasExfiltration()

Represents exfiltrations associated with the finding.

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

Returns
Type Description
boolean

Whether the exfiltration field is set.

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.

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

Returns
Type Description
boolean

Whether the indicator field is set.

hasKernelRootkit()

public boolean hasKernelRootkit()

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Returns
Type Description
boolean

Whether the kernelRootkit field is set.

hasKubernetes()

public boolean hasKubernetes()

Kubernetes resources associated with the finding.

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

Returns
Type Description
boolean

Whether the kubernetes field is set.

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;

Returns
Type Description
boolean

Whether the mitreAttack field is set.

hasMuteInfo()

public boolean hasMuteInfo()

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the muteInfo field is set.

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

Returns
Type Description
boolean

Whether the muteUpdateTime field is set.

hasNotebook()

public boolean hasNotebook()

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Returns
Type Description
boolean

Whether the notebook field is set.

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

Returns
Type Description
boolean

Whether the securityMarks field is set.

hasSecurityPosture()

public boolean hasSecurityPosture()

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Returns
Type Description
boolean

Whether the securityPosture field is set.

hasToxicCombination()

public boolean hasToxicCombination()

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Returns
Type Description
boolean

Whether the toxicCombination field is set.

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;

Returns
Type Description
boolean

Whether the vulnerability field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccess(Access value)

public Finding.Builder mergeAccess(Access value)

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;

Parameter
Name Description
value Access
Returns
Type Description
Finding.Builder

mergeApplication(Application value)

public Finding.Builder mergeApplication(Application value)

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Parameter
Name Description
value Application
Returns
Type Description
Finding.Builder

mergeAttackExposure(AttackExposure value)

public Finding.Builder mergeAttackExposure(AttackExposure value)

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Parameter
Name Description
value AttackExposure
Returns
Type Description
Finding.Builder

mergeBackupDisasterRecovery(BackupDisasterRecovery value)

public Finding.Builder mergeBackupDisasterRecovery(BackupDisasterRecovery value)

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Parameter
Name Description
value BackupDisasterRecovery
Returns
Type Description
Finding.Builder

mergeCloudArmor(CloudArmor value)

public Finding.Builder mergeCloudArmor(CloudArmor value)

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Parameter
Name Description
value CloudArmor
Returns
Type Description
Finding.Builder

mergeCloudDlpDataProfile(CloudDlpDataProfile value)

public Finding.Builder mergeCloudDlpDataProfile(CloudDlpDataProfile value)

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Parameter
Name Description
value CloudDlpDataProfile
Returns
Type Description
Finding.Builder

mergeCloudDlpInspection(CloudDlpInspection value)

public Finding.Builder mergeCloudDlpInspection(CloudDlpInspection value)

Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;

Parameter
Name Description
value CloudDlpInspection
Returns
Type Description
Finding.Builder

mergeCreateTime(Timestamp value)

public Finding.Builder mergeCreateTime(Timestamp value)

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

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
Finding.Builder

mergeDatabase(Database value)

public Finding.Builder mergeDatabase(Database value)

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Parameter
Name Description
value Database
Returns
Type Description
Finding.Builder

mergeEventTime(Timestamp value)

public Finding.Builder mergeEventTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
Finding.Builder

mergeExfiltration(Exfiltration value)

public Finding.Builder mergeExfiltration(Exfiltration value)

Represents exfiltrations associated with the finding.

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

Parameter
Name Description
value Exfiltration
Returns
Type Description
Finding.Builder

mergeFrom(Finding other)

public Finding.Builder mergeFrom(Finding other)
Parameter
Name Description
other Finding
Returns
Type Description
Finding.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Finding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Finding.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Finding.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Finding.Builder
Overrides

mergeIndicator(Indicator value)

public Finding.Builder mergeIndicator(Indicator value)

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.

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

Parameter
Name Description
value Indicator
Returns
Type Description
Finding.Builder

mergeKernelRootkit(KernelRootkit value)

public Finding.Builder mergeKernelRootkit(KernelRootkit value)

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Parameter
Name Description
value KernelRootkit
Returns
Type Description
Finding.Builder

mergeKubernetes(Kubernetes value)

public Finding.Builder mergeKubernetes(Kubernetes value)

Kubernetes resources associated with the finding.

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

Parameter
Name Description
value Kubernetes
Returns
Type Description
Finding.Builder

mergeMitreAttack(MitreAttack value)

public Finding.Builder mergeMitreAttack(MitreAttack value)

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

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

Parameter
Name Description
value MitreAttack
Returns
Type Description
Finding.Builder

mergeMuteInfo(Finding.MuteInfo value)

public Finding.Builder mergeMuteInfo(Finding.MuteInfo value)

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Finding.MuteInfo
Returns
Type Description
Finding.Builder

mergeMuteUpdateTime(Timestamp value)

public Finding.Builder mergeMuteUpdateTime(Timestamp value)

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Finding.Builder

mergeNotebook(Notebook value)

public Finding.Builder mergeNotebook(Notebook value)

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Parameter
Name Description
value Notebook
Returns
Type Description
Finding.Builder

mergeSecurityMarks(SecurityMarks value)

public Finding.Builder mergeSecurityMarks(SecurityMarks value)

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

Parameter
Name Description
value SecurityMarks
Returns
Type Description
Finding.Builder

mergeSecurityPosture(SecurityPosture value)

public Finding.Builder mergeSecurityPosture(SecurityPosture value)

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Parameter
Name Description
value SecurityPosture
Returns
Type Description
Finding.Builder

mergeToxicCombination(ToxicCombination value)

public Finding.Builder mergeToxicCombination(ToxicCombination value)

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Parameter
Name Description
value ToxicCombination
Returns
Type Description
Finding.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Finding.Builder
Overrides

mergeVulnerability(Vulnerability value)

public Finding.Builder mergeVulnerability(Vulnerability value)

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;

Parameter
Name Description
value Vulnerability
Returns
Type Description
Finding.Builder

putAllContacts(Map<String,ContactDetails> values)

public Finding.Builder putAllContacts(Map<String,ContactDetails> values)

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Map<String,ContactDetails>
Returns
Type Description
Finding.Builder

putAllExternalSystems(Map<String,ExternalSystem> values)

public Finding.Builder putAllExternalSystems(Map<String,ExternalSystem> values)

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
Name Description
values Map<String,ExternalSystem>
Returns
Type Description
Finding.Builder

putAllSourceProperties(Map<String,Value> values)

public Finding.Builder putAllSourceProperties(Map<String,Value> values)

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
Name Description
values Map<String,Value>
Returns
Type Description
Finding.Builder

putContacts(String key, ContactDetails value)

public Finding.Builder putContacts(String key, ContactDetails value)

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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
value ContactDetails
Returns
Type Description
Finding.Builder

putContactsBuilderIfAbsent(String key)

public ContactDetails.Builder putContactsBuilderIfAbsent(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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ContactDetails.Builder

putExternalSystems(String key, ExternalSystem value)

public Finding.Builder putExternalSystems(String key, ExternalSystem value)

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

Parameters
Name Description
key String
value ExternalSystem
Returns
Type Description
Finding.Builder

putExternalSystemsBuilderIfAbsent(String key)

public ExternalSystem.Builder putExternalSystemsBuilderIfAbsent(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
Name Description
key String
Returns
Type Description
ExternalSystem.Builder

putSourceProperties(String key, Value value)

public Finding.Builder putSourceProperties(String key, Value value)

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;

Parameters
Name Description
key String
value Value
Returns
Type Description
Finding.Builder

putSourcePropertiesBuilderIfAbsent(String key)

public Value.Builder putSourcePropertiesBuilderIfAbsent(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
Name Description
key String
Returns
Type Description
Builder

removeCompliances(int index)

public Finding.Builder removeCompliances(int index)

Contains compliance information for security standards associated to the finding.

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

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeConnections(int index)

public Finding.Builder removeConnections(int index)

Contains information about the IP connection associated with the finding.

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

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeContacts(String key)

public Finding.Builder removeContacts(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&#64;company.com"
       },
       {
         "email": "person2&#64;company.com"
       }
     ]
   }
 }

map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
Finding.Builder

removeContainers(int index)

public Finding.Builder removeContainers(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;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeExternalSystems(String key)

public Finding.Builder removeExternalSystems(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
Name Description
key String
Returns
Type Description
Finding.Builder

removeFiles(int index)

public Finding.Builder removeFiles(int index)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeGroupMemberships(int index)

public Finding.Builder removeGroupMemberships(int index)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeIamBindings(int index)

public Finding.Builder removeIamBindings(int index)

Represents IAM bindings associated with the finding.

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

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeLoadBalancers(int index)

public Finding.Builder removeLoadBalancers(int index)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeLogEntries(int index)

public Finding.Builder removeLogEntries(int index)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeOrgPolicies(int index)

public Finding.Builder removeOrgPolicies(int index)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeProcesses(int index)

public Finding.Builder removeProcesses(int index)

Represents operating system processes associated with the Finding.

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

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

removeSourceProperties(String key)

public Finding.Builder removeSourceProperties(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
Name Description
key String
Returns
Type Description
Finding.Builder

setAccess(Access value)

public Finding.Builder setAccess(Access value)

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;

Parameter
Name Description
value Access
Returns
Type Description
Finding.Builder

setAccess(Access.Builder builderForValue)

public Finding.Builder setAccess(Access.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Access.Builder
Returns
Type Description
Finding.Builder

setApplication(Application value)

public Finding.Builder setApplication(Application value)

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Parameter
Name Description
value Application
Returns
Type Description
Finding.Builder

setApplication(Application.Builder builderForValue)

public Finding.Builder setApplication(Application.Builder builderForValue)

Represents an application associated with the finding.

.google.cloud.securitycenter.v1.Application application = 53;

Parameter
Name Description
builderForValue Application.Builder
Returns
Type Description
Finding.Builder

setAttackExposure(AttackExposure value)

public Finding.Builder setAttackExposure(AttackExposure value)

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Parameter
Name Description
value AttackExposure
Returns
Type Description
Finding.Builder

setAttackExposure(AttackExposure.Builder builderForValue)

public Finding.Builder setAttackExposure(AttackExposure.Builder builderForValue)

The results of an attack path simulation relevant to this finding.

.google.cloud.securitycenter.v1.AttackExposure attack_exposure = 45;

Parameter
Name Description
builderForValue AttackExposure.Builder
Returns
Type Description
Finding.Builder

setBackupDisasterRecovery(BackupDisasterRecovery value)

public Finding.Builder setBackupDisasterRecovery(BackupDisasterRecovery value)

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Parameter
Name Description
value BackupDisasterRecovery
Returns
Type Description
Finding.Builder

setBackupDisasterRecovery(BackupDisasterRecovery.Builder builderForValue)

public Finding.Builder setBackupDisasterRecovery(BackupDisasterRecovery.Builder builderForValue)

Fields related to Backup and DR findings.

.google.cloud.securitycenter.v1.BackupDisasterRecovery backup_disaster_recovery = 55;

Parameter
Name Description
builderForValue BackupDisasterRecovery.Builder
Returns
Type Description
Finding.Builder

setCanonicalName(String value)

public Finding.Builder setCanonicalName(String value)

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;

Parameter
Name Description
value String

The canonicalName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setCanonicalNameBytes(ByteString value)

public Finding.Builder setCanonicalNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for canonicalName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setCategory(String value)

public Finding.Builder setCategory(String value)

The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"

string category = 5;

Parameter
Name Description
value String

The category to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setCategoryBytes(ByteString value)

public Finding.Builder setCategoryBytes(ByteString value)

The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"

string category = 5;

Parameter
Name Description
value ByteString

The bytes for category to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setCloudArmor(CloudArmor value)

public Finding.Builder setCloudArmor(CloudArmor value)

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Parameter
Name Description
value CloudArmor
Returns
Type Description
Finding.Builder

setCloudArmor(CloudArmor.Builder builderForValue)

public Finding.Builder setCloudArmor(CloudArmor.Builder builderForValue)

Fields related to Cloud Armor findings.

.google.cloud.securitycenter.v1.CloudArmor cloud_armor = 59;

Parameter
Name Description
builderForValue CloudArmor.Builder
Returns
Type Description
Finding.Builder

setCloudDlpDataProfile(CloudDlpDataProfile value)

public Finding.Builder setCloudDlpDataProfile(CloudDlpDataProfile value)

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Parameter
Name Description
value CloudDlpDataProfile
Returns
Type Description
Finding.Builder

setCloudDlpDataProfile(CloudDlpDataProfile.Builder builderForValue)

public Finding.Builder setCloudDlpDataProfile(CloudDlpDataProfile.Builder builderForValue)

Cloud DLP data profile that is associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpDataProfile cloud_dlp_data_profile = 49;

Parameter
Name Description
builderForValue CloudDlpDataProfile.Builder
Returns
Type Description
Finding.Builder

setCloudDlpInspection(CloudDlpInspection value)

public Finding.Builder setCloudDlpInspection(CloudDlpInspection value)

Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;

Parameter
Name Description
value CloudDlpInspection
Returns
Type Description
Finding.Builder

setCloudDlpInspection(CloudDlpInspection.Builder builderForValue)

public Finding.Builder setCloudDlpInspection(CloudDlpInspection.Builder builderForValue)

Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.

.google.cloud.securitycenter.v1.CloudDlpInspection cloud_dlp_inspection = 48;

Parameter
Name Description
builderForValue CloudDlpInspection.Builder
Returns
Type Description
Finding.Builder

setCompliances(int index, Compliance value)

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

Contains compliance information for security standards associated to the finding.

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

Parameters
Name Description
index int
value Compliance
Returns
Type Description
Finding.Builder

setCompliances(int index, Compliance.Builder builderForValue)

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

Contains compliance information for security standards associated to the finding.

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

Parameters
Name Description
index int
builderForValue Compliance.Builder
Returns
Type Description
Finding.Builder

setConnections(int index, Connection value)

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

Contains information about the IP connection associated with the finding.

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

Parameters
Name Description
index int
value Connection
Returns
Type Description
Finding.Builder

setConnections(int index, Connection.Builder builderForValue)

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

Contains information about the IP connection associated with the finding.

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

Parameters
Name Description
index int
builderForValue Connection.Builder
Returns
Type Description
Finding.Builder

setContainers(int index, Container value)

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

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

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

Parameters
Name Description
index int
value Container
Returns
Type Description
Finding.Builder

setContainers(int index, Container.Builder builderForValue)

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

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

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

Parameters
Name Description
index int
builderForValue Container.Builder
Returns
Type Description
Finding.Builder

setCreateTime(Timestamp value)

public Finding.Builder setCreateTime(Timestamp value)

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

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
Finding.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Finding.Builder setCreateTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Finding.Builder

setDatabase(Database value)

public Finding.Builder setDatabase(Database value)

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Parameter
Name Description
value Database
Returns
Type Description
Finding.Builder

setDatabase(Database.Builder builderForValue)

public Finding.Builder setDatabase(Database.Builder builderForValue)

Database associated with the finding.

.google.cloud.securitycenter.v1.Database database = 44;

Parameter
Name Description
builderForValue Database.Builder
Returns
Type Description
Finding.Builder

setDescription(String value)

public Finding.Builder setDescription(String value)

Contains more details about the finding.

string description = 37;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Finding.Builder setDescriptionBytes(ByteString value)

Contains more details about the finding.

string description = 37;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setEventTime(Timestamp value)

public Finding.Builder setEventTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
Finding.Builder

setEventTime(Timestamp.Builder builderForValue)

public Finding.Builder setEventTime(Timestamp.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Finding.Builder

setExfiltration(Exfiltration value)

public Finding.Builder setExfiltration(Exfiltration value)

Represents exfiltrations associated with the finding.

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

Parameter
Name Description
value Exfiltration
Returns
Type Description
Finding.Builder

setExfiltration(Exfiltration.Builder builderForValue)

public Finding.Builder setExfiltration(Exfiltration.Builder builderForValue)

Represents exfiltrations associated with the finding.

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

Parameter
Name Description
builderForValue Exfiltration.Builder
Returns
Type Description
Finding.Builder

setExternalUri(String value)

public Finding.Builder setExternalUri(String value)

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;

Parameter
Name Description
value String

The externalUri to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setExternalUriBytes(ByteString value)

public Finding.Builder setExternalUriBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for externalUri to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Finding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Finding.Builder
Overrides

setFiles(int index, File value)

public Finding.Builder setFiles(int index, File value)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameters
Name Description
index int
value File
Returns
Type Description
Finding.Builder

setFiles(int index, File.Builder builderForValue)

public Finding.Builder setFiles(int index, File.Builder builderForValue)

File associated with the finding.

repeated .google.cloud.securitycenter.v1.File files = 46;

Parameters
Name Description
index int
builderForValue File.Builder
Returns
Type Description
Finding.Builder

setFindingClass(Finding.FindingClass value)

public Finding.Builder setFindingClass(Finding.FindingClass value)

The class of the finding.

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

Parameter
Name Description
value Finding.FindingClass

The findingClass to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setFindingClassValue(int value)

public Finding.Builder setFindingClassValue(int value)

The class of the finding.

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

Parameter
Name Description
value int

The enum numeric value on the wire for findingClass to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setGroupMemberships(int index, GroupMembership value)

public Finding.Builder setGroupMemberships(int index, GroupMembership value)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameters
Name Description
index int
value GroupMembership
Returns
Type Description
Finding.Builder

setGroupMemberships(int index, GroupMembership.Builder builderForValue)

public Finding.Builder setGroupMemberships(int index, GroupMembership.Builder builderForValue)

Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.

repeated .google.cloud.securitycenter.v1.GroupMembership group_memberships = 65;

Parameters
Name Description
index int
builderForValue GroupMembership.Builder
Returns
Type Description
Finding.Builder

setIamBindings(int index, IamBinding value)

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

Represents IAM bindings associated with the finding.

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

Parameters
Name Description
index int
value IamBinding
Returns
Type Description
Finding.Builder

setIamBindings(int index, IamBinding.Builder builderForValue)

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

Represents IAM bindings associated with the finding.

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

Parameters
Name Description
index int
builderForValue IamBinding.Builder
Returns
Type Description
Finding.Builder

setIndicator(Indicator value)

public Finding.Builder setIndicator(Indicator value)

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.

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

Parameter
Name Description
value Indicator
Returns
Type Description
Finding.Builder

setIndicator(Indicator.Builder builderForValue)

public Finding.Builder setIndicator(Indicator.Builder builderForValue)

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.

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

Parameter
Name Description
builderForValue Indicator.Builder
Returns
Type Description
Finding.Builder

setKernelRootkit(KernelRootkit value)

public Finding.Builder setKernelRootkit(KernelRootkit value)

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Parameter
Name Description
value KernelRootkit
Returns
Type Description
Finding.Builder

setKernelRootkit(KernelRootkit.Builder builderForValue)

public Finding.Builder setKernelRootkit(KernelRootkit.Builder builderForValue)

Signature of the kernel rootkit.

.google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50;

Parameter
Name Description
builderForValue KernelRootkit.Builder
Returns
Type Description
Finding.Builder

setKubernetes(Kubernetes value)

public Finding.Builder setKubernetes(Kubernetes value)

Kubernetes resources associated with the finding.

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

Parameter
Name Description
value Kubernetes
Returns
Type Description
Finding.Builder

setKubernetes(Kubernetes.Builder builderForValue)

public Finding.Builder setKubernetes(Kubernetes.Builder builderForValue)

Kubernetes resources associated with the finding.

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

Parameter
Name Description
builderForValue Kubernetes.Builder
Returns
Type Description
Finding.Builder

setLoadBalancers(int index, LoadBalancer value)

public Finding.Builder setLoadBalancers(int index, LoadBalancer value)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameters
Name Description
index int
value LoadBalancer
Returns
Type Description
Finding.Builder

setLoadBalancers(int index, LoadBalancer.Builder builderForValue)

public Finding.Builder setLoadBalancers(int index, LoadBalancer.Builder builderForValue)

The load balancers associated with the finding.

repeated .google.cloud.securitycenter.v1.LoadBalancer load_balancers = 58;

Parameters
Name Description
index int
builderForValue LoadBalancer.Builder
Returns
Type Description
Finding.Builder

setLogEntries(int index, LogEntry value)

public Finding.Builder setLogEntries(int index, LogEntry value)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameters
Name Description
index int
value LogEntry
Returns
Type Description
Finding.Builder

setLogEntries(int index, LogEntry.Builder builderForValue)

public Finding.Builder setLogEntries(int index, LogEntry.Builder builderForValue)

Log entries that are relevant to the finding.

repeated .google.cloud.securitycenter.v1.LogEntry log_entries = 57;

Parameters
Name Description
index int
builderForValue LogEntry.Builder
Returns
Type Description
Finding.Builder

setMitreAttack(MitreAttack value)

public Finding.Builder setMitreAttack(MitreAttack value)

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

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

Parameter
Name Description
value MitreAttack
Returns
Type Description
Finding.Builder

setMitreAttack(MitreAttack.Builder builderForValue)

public Finding.Builder setMitreAttack(MitreAttack.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue MitreAttack.Builder
Returns
Type Description
Finding.Builder

setModuleName(String value)

public Finding.Builder setModuleName(String value)

Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885

string module_name = 41;

Parameter
Name Description
value String

The moduleName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setModuleNameBytes(ByteString value)

public Finding.Builder setModuleNameBytes(ByteString value)

Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885

string module_name = 41;

Parameter
Name Description
value ByteString

The bytes for moduleName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setMute(Finding.Mute value)

public Finding.Builder setMute(Finding.Mute value)

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;

Parameter
Name Description
value Finding.Mute

The mute to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setMuteInfo(Finding.MuteInfo value)

public Finding.Builder setMuteInfo(Finding.MuteInfo value)

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Finding.MuteInfo
Returns
Type Description
Finding.Builder

setMuteInfo(Finding.MuteInfo.Builder builderForValue)

public Finding.Builder setMuteInfo(Finding.MuteInfo.Builder builderForValue)

Output only. The mute information regarding this finding.

.google.cloud.securitycenter.v1.Finding.MuteInfo mute_info = 61 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Finding.MuteInfo.Builder
Returns
Type Description
Finding.Builder

setMuteInitiator(String value)

public Finding.Builder setMuteInitiator(String value)

Records additional information about the mute operation, for example, the mute configuration that muted the finding and the user who muted the finding.

string mute_initiator = 28;

Parameter
Name Description
value String

The muteInitiator to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setMuteInitiatorBytes(ByteString value)

public Finding.Builder setMuteInitiatorBytes(ByteString value)

Records additional information about the mute operation, for example, the mute configuration that muted the finding and the user who muted the finding.

string mute_initiator = 28;

Parameter
Name Description
value ByteString

The bytes for muteInitiator to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setMuteUpdateTime(Timestamp value)

public Finding.Builder setMuteUpdateTime(Timestamp value)

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Finding.Builder

setMuteUpdateTime(Timestamp.Builder builderForValue)

public Finding.Builder setMuteUpdateTime(Timestamp.Builder builderForValue)

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Finding.Builder

setMuteValue(int value)

public Finding.Builder setMuteValue(int value)

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;

Parameter
Name Description
value int

The enum numeric value on the wire for mute to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setName(String value)

public Finding.Builder setName(String value)

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Finding.Builder setNameBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setNextSteps(String value)

public Finding.Builder setNextSteps(String value)

Steps to address the finding.

string next_steps = 40;

Parameter
Name Description
value String

The nextSteps to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setNextStepsBytes(ByteString value)

public Finding.Builder setNextStepsBytes(ByteString value)

Steps to address the finding.

string next_steps = 40;

Parameter
Name Description
value ByteString

The bytes for nextSteps to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setNotebook(Notebook value)

public Finding.Builder setNotebook(Notebook value)

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Parameter
Name Description
value Notebook
Returns
Type Description
Finding.Builder

setNotebook(Notebook.Builder builderForValue)

public Finding.Builder setNotebook(Notebook.Builder builderForValue)

Notebook associated with the finding.

.google.cloud.securitycenter.v1.Notebook notebook = 63;

Parameter
Name Description
builderForValue Notebook.Builder
Returns
Type Description
Finding.Builder

setOrgPolicies(int index, OrgPolicy value)

public Finding.Builder setOrgPolicies(int index, OrgPolicy value)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameters
Name Description
index int
value OrgPolicy
Returns
Type Description
Finding.Builder

setOrgPolicies(int index, OrgPolicy.Builder builderForValue)

public Finding.Builder setOrgPolicies(int index, OrgPolicy.Builder builderForValue)

Contains information about the org policies associated with the finding.

repeated .google.cloud.securitycenter.v1.OrgPolicy org_policies = 51;

Parameters
Name Description
index int
builderForValue OrgPolicy.Builder
Returns
Type Description
Finding.Builder

setParent(String value)

public Finding.Builder setParent(String value)

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;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setParentBytes(ByteString value)

public Finding.Builder setParentBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setParentDisplayName(String value)

public Finding.Builder setParentDisplayName(String value)

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

Parameter
Name Description
value String

The parentDisplayName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setParentDisplayNameBytes(ByteString value)

public Finding.Builder setParentDisplayNameBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for parentDisplayName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setProcesses(int index, Process value)

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

Represents operating system processes associated with the Finding.

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

Parameters
Name Description
index int
value Process
Returns
Type Description
Finding.Builder

setProcesses(int index, Process.Builder builderForValue)

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

Represents operating system processes associated with the Finding.

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

Parameters
Name Description
index int
builderForValue Process.Builder
Returns
Type Description
Finding.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Finding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Finding.Builder
Overrides

setResourceName(String value)

public Finding.Builder setResourceName(String value)

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;

Parameter
Name Description
value String

The resourceName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setResourceNameBytes(ByteString value)

public Finding.Builder setResourceNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for resourceName to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setSecurityMarks(SecurityMarks value)

public Finding.Builder setSecurityMarks(SecurityMarks value)

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

Parameter
Name Description
value SecurityMarks
Returns
Type Description
Finding.Builder

setSecurityMarks(SecurityMarks.Builder builderForValue)

public Finding.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)

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

Parameter
Name Description
builderForValue SecurityMarks.Builder
Returns
Type Description
Finding.Builder

setSecurityPosture(SecurityPosture value)

public Finding.Builder setSecurityPosture(SecurityPosture value)

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Parameter
Name Description
value SecurityPosture
Returns
Type Description
Finding.Builder

setSecurityPosture(SecurityPosture.Builder builderForValue)

public Finding.Builder setSecurityPosture(SecurityPosture.Builder builderForValue)

The security posture associated with the finding.

.google.cloud.securitycenter.v1.SecurityPosture security_posture = 56;

Parameter
Name Description
builderForValue SecurityPosture.Builder
Returns
Type Description
Finding.Builder

setSeverity(Finding.Severity value)

public Finding.Builder setSeverity(Finding.Severity value)

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

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

Parameter
Name Description
value Finding.Severity

The severity to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setSeverityValue(int value)

public Finding.Builder setSeverityValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setState(Finding.State value)

public Finding.Builder setState(Finding.State value)

The state of the finding.

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

Parameter
Name Description
value Finding.State

The state to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setStateValue(int value)

public Finding.Builder setStateValue(int value)

The state of the finding.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Finding.Builder

This builder for chaining.

setToxicCombination(ToxicCombination value)

public Finding.Builder setToxicCombination(ToxicCombination value)

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Parameter
Name Description
value ToxicCombination
Returns
Type Description
Finding.Builder

setToxicCombination(ToxicCombination.Builder builderForValue)

public Finding.Builder setToxicCombination(ToxicCombination.Builder builderForValue)

Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests.

.google.cloud.securitycenter.v1.ToxicCombination toxic_combination = 64;

Parameter
Name Description
builderForValue ToxicCombination.Builder
Returns
Type Description
Finding.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Finding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Finding.Builder
Overrides

setVulnerability(Vulnerability value)

public Finding.Builder setVulnerability(Vulnerability value)

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;

Parameter
Name Description
value Vulnerability
Returns
Type Description
Finding.Builder

setVulnerability(Vulnerability.Builder builderForValue)

public Finding.Builder setVulnerability(Vulnerability.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Vulnerability.Builder
Returns
Type Description
Finding.Builder