- 2.63.0 (latest)
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Finding.BuilderImplements
FindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Finding.Builder |
build()
public Finding build()
Type | Description |
Finding |
buildPartial()
public Finding buildPartial()
Type | Description |
Finding |
clear()
public Finding.Builder clear()
Type | Description |
Finding.Builder |
clearAccess()
public Finding.Builder clearAccess()
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
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;
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;
Type | Description |
Finding.Builder | This builder for chaining. |
clearCreateTime()
public Finding.Builder clearCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
Type | Description |
Finding.Builder |
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;
Type | Description |
Finding.Builder |
clearExternalSystems()
public Finding.Builder clearExternalSystems()
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;
Type | Description |
Finding.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Finding.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Finding.Builder |
clearFindingClass()
public Finding.Builder clearFindingClass()
The class of the finding.
.google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17;
Type | Description |
Finding.Builder | This builder for chaining. |
clearIndicator()
public Finding.Builder clearIndicator()
Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
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;
Type | Description |
Finding.Builder |
clearMute()
public Finding.Builder clearMute()
Indicates the mute state of a finding (either unspecified, 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;
Type | Description |
Finding.Builder | This builder for chaining. |
clearMuteInitiator()
public Finding.Builder clearMuteInitiator()
First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
string mute_initiator = 28;
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];
Type | Description |
Finding.Builder |
clearName()
public Finding.Builder clearName()
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
Type | Description |
Finding.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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;
Type | Description |
Finding.Builder | This builder for chaining. |
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;
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];
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;
Type | Description |
Finding.Builder | This builder for chaining. |
clearSourceProperties()
public Finding.Builder clearSourceProperties()
Type | Description |
Finding.Builder |
clearState()
public Finding.Builder clearState()
The state of the finding.
.google.cloud.securitycenter.v1.Finding.State state = 4;
Type | Description |
Finding.Builder | This builder for chaining. |
clearVulnerability()
public Finding.Builder clearVulnerability()
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Type | Description |
Finding.Builder |
clone()
public Finding.Builder clone()
Type | Description |
Finding.Builder |
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];
Name | Description |
key | String |
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;
Name | Description |
key | String |
Type | Description |
boolean |
getAccess()
public Access getAccess()
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Type | Description |
Access | The access. |
getAccessBuilder()
public Access.Builder getAccessBuilder()
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Type | Description |
Access.Builder |
getAccessOrBuilder()
public AccessOrBuilder getAccessOrBuilder()
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Type | Description |
AccessOrBuilder |
getCanonicalName()
public String getCanonicalName()
The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.
string canonical_name = 14;
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;
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;
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;
Type | Description |
ByteString | The bytes for category. |
getCreateTime()
public Timestamp getCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
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;
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;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Finding getDefaultInstanceForType()
Type | Description |
Finding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
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;
Type | Description |
TimestampOrBuilder |
getExternalSystems()
public Map<String,ExternalSystem> getExternalSystems()
Use #getExternalSystemsMap() instead.
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];
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];
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];
Name | Description |
key | String |
defaultValue | ExternalSystem |
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];
Name | Description |
key | String |
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;
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;
Type | Description |
ByteString | The bytes for externalUri. |
getFindingClass()
public Finding.FindingClass getFindingClass()
The class of the finding.
.google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17;
Type | Description |
Finding.FindingClass | The findingClass. |
getFindingClassValue()
public int getFindingClassValue()
The class of the finding.
.google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17;
Type | Description |
int | The enum numeric value on the wire for findingClass. |
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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
Type | Description |
IndicatorOrBuilder |
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;
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;
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;
Type | Description |
MitreAttackOrBuilder |
getMutableExternalSystems()
public Map<String,ExternalSystem> getMutableExternalSystems()
Use alternate mutation accessors instead.
Type | Description |
Map<String,ExternalSystem> |
getMutableSourceProperties()
public Map<String,Value> getMutableSourceProperties()
Use alternate mutation accessors instead.
Type | Description |
Map<String,Value> |
getMute()
public Finding.Mute getMute()
Indicates the mute state of a finding (either unspecified, 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;
Type | Description |
Finding.Mute | The mute. |
getMuteInitiator()
public String getMuteInitiator()
First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
string mute_initiator = 28;
Type | Description |
String | The muteInitiator. |
getMuteInitiatorBytes()
public ByteString getMuteInitiatorBytes()
First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
string mute_initiator = 28;
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];
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];
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];
Type | Description |
TimestampOrBuilder |
getMuteValue()
public int getMuteValue()
Indicates the mute state of a finding (either unspecified, 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;
Type | Description |
int | The enum numeric value on the wire for mute. |
getName()
public String getName()
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParent()
public String getParent()
The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"
string parent = 2;
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;
Type | Description |
ByteString | The bytes for parent. |
getResourceName()
public String getResourceName()
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;
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;
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];
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];
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];
Type | Description |
SecurityMarksOrBuilder |
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;
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;
Type | Description |
int | The enum numeric value on the wire for severity. |
getSourceProperties()
public Map<String,Value> getSourceProperties()
Use #getSourcePropertiesMap() instead.
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;
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;
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;
Name | Description |
key | String |
defaultValue | Value |
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;
Name | Description |
key | String |
Type | Description |
Value |
getState()
public Finding.State getState()
The state of the finding.
.google.cloud.securitycenter.v1.Finding.State state = 4;
Type | Description |
Finding.State | The state. |
getStateValue()
public int getStateValue()
The state of the finding.
.google.cloud.securitycenter.v1.Finding.State state = 4;
Type | Description |
int | The enum numeric value on the wire for state. |
getVulnerability()
public Vulnerability getVulnerability()
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Type | Description |
Vulnerability | The vulnerability. |
getVulnerabilityBuilder()
public Vulnerability.Builder getVulnerabilityBuilder()
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Type | Description |
Vulnerability.Builder |
getVulnerabilityOrBuilder()
public VulnerabilityOrBuilder getVulnerabilityOrBuilder()
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Type | Description |
VulnerabilityOrBuilder |
hasAccess()
public boolean hasAccess()
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Type | Description |
boolean | Whether the access 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;
Type | Description |
boolean | Whether the createTime 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;
Type | Description |
boolean | Whether the eventTime 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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
Type | Description |
boolean | Whether the indicator 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;
Type | Description |
boolean | Whether the mitreAttack 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];
Type | Description |
boolean | Whether the muteUpdateTime 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];
Type | Description |
boolean | Whether the securityMarks field is set. |
hasVulnerability()
public boolean hasVulnerability()
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Type | Description |
boolean | Whether the vulnerability field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAccess(Access value)
public Finding.Builder mergeAccess(Access value)
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Name | Description |
value | Access |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
value | Timestamp |
Type | Description |
Finding.Builder |
mergeFrom(Finding other)
public Finding.Builder mergeFrom(Finding other)
Name | Description |
other | Finding |
Type | Description |
Finding.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Finding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Finding.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Finding.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Finding.Builder |
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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
Name | Description |
value | Indicator |
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;
Name | Description |
value | MitreAttack |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
value | SecurityMarks |
Type | Description |
Finding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Finding.Builder |
mergeVulnerability(Vulnerability value)
public Finding.Builder mergeVulnerability(Vulnerability value)
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Name | Description |
value | Vulnerability |
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];
Name | Description |
values | Map<String,ExternalSystem> |
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;
Name | Description |
values | Map<String,Value> |
Type | Description |
Finding.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];
Name | Description |
key | String |
value | ExternalSystem |
Type | Description |
Finding.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;
Name | Description |
key | String |
value | Value |
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];
Name | Description |
key | String |
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;
Name | Description |
key | String |
Type | Description |
Finding.Builder |
setAccess(Access value)
public Finding.Builder setAccess(Access value)
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Name | Description |
value | Access |
Type | Description |
Finding.Builder |
setAccess(Access.Builder builderForValue)
public Finding.Builder setAccess(Access.Builder builderForValue)
Access details associated to the Finding, such as more information on the caller, which method was accessed, from where, etc.
.google.cloud.securitycenter.v1.Access access = 26;
Name | Description |
builderForValue | Access.Builder |
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;
Name | Description |
value | String The canonicalName to set. |
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;
Name | Description |
value | ByteString The bytes for canonicalName to set. |
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;
Name | Description |
value | String The category to set. |
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;
Name | Description |
value | ByteString The bytes for category to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Finding.Builder |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | String The externalUri to set. |
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;
Name | Description |
value | ByteString The bytes for externalUri to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Finding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | Finding.FindingClass The findingClass to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for findingClass to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
Name | Description |
value | Indicator |
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. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
.google.cloud.securitycenter.v1.Indicator indicator = 18;
Name | Description |
builderForValue | Indicator.Builder |
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;
Name | Description |
value | MitreAttack |
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;
Name | Description |
builderForValue | MitreAttack.Builder |
Type | Description |
Finding.Builder |
setMute(Finding.Mute value)
public Finding.Builder setMute(Finding.Mute value)
Indicates the mute state of a finding (either unspecified, 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;
Name | Description |
value | Finding.Mute The mute to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setMuteInitiator(String value)
public Finding.Builder setMuteInitiator(String value)
First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
string mute_initiator = 28;
Name | Description |
value | String The muteInitiator to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setMuteInitiatorBytes(ByteString value)
public Finding.Builder setMuteInitiatorBytes(ByteString value)
First known as mute_annotation. Records additional information about the mute operation e.g. mute config that muted the finding, user who muted the finding, etc. Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.
string mute_initiator = 28;
Name | Description |
value | ByteString The bytes for muteInitiator to set. |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
Finding.Builder |
setMuteValue(int value)
public Finding.Builder setMuteValue(int value)
Indicates the mute state of a finding (either unspecified, 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;
Name | Description |
value | int The enum numeric value on the wire for mute to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setName(String value)
public Finding.Builder setName(String value)
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Finding.Builder setNameBytes(ByteString value)
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
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;
Name | Description |
value | String The parent to set. |
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;
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Finding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Finding.Builder |
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;
Name | Description |
value | String The resourceName to set. |
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;
Name | Description |
value | ByteString The bytes for resourceName to set. |
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];
Name | Description |
value | SecurityMarks |
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];
Name | Description |
builderForValue | SecurityMarks.Builder |
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;
Name | Description |
value | Finding.Severity The severity to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for severity to set. |
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;
Name | Description |
value | Finding.State The state to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Finding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Finding.Builder |
setVulnerability(Vulnerability value)
public Finding.Builder setVulnerability(Vulnerability value)
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Name | Description |
value | Vulnerability |
Type | Description |
Finding.Builder |
setVulnerability(Vulnerability.Builder builderForValue)
public Finding.Builder setVulnerability(Vulnerability.Builder builderForValue)
Represents vulnerability specific fields like cve, cvss scores etc. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)
.google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
Name | Description |
builderForValue | Vulnerability.Builder |
Type | Description |
Finding.Builder |