- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.4
- 2.1.1
- 2.0.15
public static final class Finding.Builder extends GeneratedMessageV3.Builder<Finding.Builder> implements FindingOrBuilder
A Finding resource represents a vulnerability instance identified during a ScanRun.
Protobuf type google.cloud.websecurityscanner.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 |
clearBody()
public Finding.Builder clearBody()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
Type | Description |
Finding.Builder | This builder for chaining. |
clearDescription()
public Finding.Builder clearDescription()
Output only. The description of the vulnerability.
string description = 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 |
clearFinalUrl()
public Finding.Builder clearFinalUrl()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
Type | Description |
Finding.Builder | This builder for chaining. |
clearFindingType()
public Finding.Builder clearFindingType()
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
Type | Description |
Finding.Builder | This builder for chaining. |
clearForm()
public Finding.Builder clearForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Type | Description |
Finding.Builder |
clearFrameUrl()
public Finding.Builder clearFrameUrl()
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
Type | Description |
Finding.Builder | This builder for chaining. |
clearFuzzedUrl()
public Finding.Builder clearFuzzedUrl()
Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
Type | Description |
Finding.Builder | This builder for chaining. |
clearHttpMethod()
public Finding.Builder clearHttpMethod()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
Type | Description |
Finding.Builder | This builder for chaining. |
clearName()
public Finding.Builder clearName()
Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
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 |
clearOutdatedLibrary()
public Finding.Builder clearOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Type | Description |
Finding.Builder |
clearReproductionUrl()
public Finding.Builder clearReproductionUrl()
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
Type | Description |
Finding.Builder | This builder for chaining. |
clearSeverity()
public Finding.Builder clearSeverity()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Finding.Builder | This builder for chaining. |
clearTrackingId()
public Finding.Builder clearTrackingId()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
Type | Description |
Finding.Builder | This builder for chaining. |
clearViolatingResource()
public Finding.Builder clearViolatingResource()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Type | Description |
Finding.Builder |
clearVulnerableHeaders()
public Finding.Builder clearVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Type | Description |
Finding.Builder |
clearVulnerableParameters()
public Finding.Builder clearVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Type | Description |
Finding.Builder |
clearXss()
public Finding.Builder clearXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Type | Description |
Finding.Builder |
clearXxe()
public Finding.Builder clearXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Finding.Builder |
clone()
public Finding.Builder clone()
Type | Description |
Finding.Builder |
getBody()
public String getBody()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
Type | Description |
String | The body. |
getBodyBytes()
public ByteString getBodyBytes()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
Type | Description |
ByteString | The bytes for body. |
getDefaultInstanceForType()
public Finding getDefaultInstanceForType()
Type | Description |
Finding |
getDescription()
public String getDescription()
Output only. The description of the vulnerability.
string description = 6;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Output only. The description of the vulnerability.
string description = 6;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFinalUrl()
public String getFinalUrl()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
Type | Description |
String | The finalUrl. |
getFinalUrlBytes()
public ByteString getFinalUrlBytes()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
Type | Description |
ByteString | The bytes for finalUrl. |
getFindingType()
public String getFindingType()
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
Type | Description |
String | The findingType. |
getFindingTypeBytes()
public ByteString getFindingTypeBytes()
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
Type | Description |
ByteString | The bytes for findingType. |
getForm()
public Form getForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Type | Description |
Form | The form. |
getFormBuilder()
public Form.Builder getFormBuilder()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Type | Description |
Form.Builder |
getFormOrBuilder()
public FormOrBuilder getFormOrBuilder()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Type | Description |
FormOrBuilder |
getFrameUrl()
public String getFrameUrl()
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
Type | Description |
String | The frameUrl. |
getFrameUrlBytes()
public ByteString getFrameUrlBytes()
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
Type | Description |
ByteString | The bytes for frameUrl. |
getFuzzedUrl()
public String getFuzzedUrl()
Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
Type | Description |
String | The fuzzedUrl. |
getFuzzedUrlBytes()
public ByteString getFuzzedUrlBytes()
Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
Type | Description |
ByteString | The bytes for fuzzedUrl. |
getHttpMethod()
public String getHttpMethod()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
Type | Description |
String | The httpMethod. |
getHttpMethodBytes()
public ByteString getHttpMethodBytes()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
Type | Description |
ByteString | The bytes for httpMethod. |
getName()
public String getName()
Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOutdatedLibrary()
public OutdatedLibrary getOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Type | Description |
OutdatedLibrary | The outdatedLibrary. |
getOutdatedLibraryBuilder()
public OutdatedLibrary.Builder getOutdatedLibraryBuilder()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Type | Description |
OutdatedLibrary.Builder |
getOutdatedLibraryOrBuilder()
public OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Type | Description |
OutdatedLibraryOrBuilder |
getReproductionUrl()
public String getReproductionUrl()
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
Type | Description |
String | The reproductionUrl. |
getReproductionUrlBytes()
public ByteString getReproductionUrlBytes()
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
Type | Description |
ByteString | The bytes for reproductionUrl. |
getSeverity()
public Finding.Severity getSeverity()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Finding.Severity | The severity. |
getSeverityValue()
public int getSeverityValue()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for severity. |
getTrackingId()
public String getTrackingId()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
Type | Description |
String | The trackingId. |
getTrackingIdBytes()
public ByteString getTrackingIdBytes()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
Type | Description |
ByteString | The bytes for trackingId. |
getViolatingResource()
public ViolatingResource getViolatingResource()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Type | Description |
ViolatingResource | The violatingResource. |
getViolatingResourceBuilder()
public ViolatingResource.Builder getViolatingResourceBuilder()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Type | Description |
ViolatingResource.Builder |
getViolatingResourceOrBuilder()
public ViolatingResourceOrBuilder getViolatingResourceOrBuilder()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Type | Description |
ViolatingResourceOrBuilder |
getVulnerableHeaders()
public VulnerableHeaders getVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Type | Description |
VulnerableHeaders | The vulnerableHeaders. |
getVulnerableHeadersBuilder()
public VulnerableHeaders.Builder getVulnerableHeadersBuilder()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Type | Description |
VulnerableHeaders.Builder |
getVulnerableHeadersOrBuilder()
public VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Type | Description |
VulnerableHeadersOrBuilder |
getVulnerableParameters()
public VulnerableParameters getVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Type | Description |
VulnerableParameters | The vulnerableParameters. |
getVulnerableParametersBuilder()
public VulnerableParameters.Builder getVulnerableParametersBuilder()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Type | Description |
VulnerableParameters.Builder |
getVulnerableParametersOrBuilder()
public VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Type | Description |
VulnerableParametersOrBuilder |
getXss()
public Xss getXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Type | Description |
Xss | The xss. |
getXssBuilder()
public Xss.Builder getXssBuilder()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Type | Description |
Xss.Builder |
getXssOrBuilder()
public XssOrBuilder getXssOrBuilder()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Type | Description |
XssOrBuilder |
getXxe()
public Xxe getXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Xxe | The xxe. |
getXxeBuilder()
public Xxe.Builder getXxeBuilder()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Xxe.Builder |
getXxeOrBuilder()
public XxeOrBuilder getXxeOrBuilder()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
XxeOrBuilder |
hasForm()
public boolean hasForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Type | Description |
boolean | Whether the form field is set. |
hasOutdatedLibrary()
public boolean hasOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Type | Description |
boolean | Whether the outdatedLibrary field is set. |
hasViolatingResource()
public boolean hasViolatingResource()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Type | Description |
boolean | Whether the violatingResource field is set. |
hasVulnerableHeaders()
public boolean hasVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Type | Description |
boolean | Whether the vulnerableHeaders field is set. |
hasVulnerableParameters()
public boolean hasVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Type | Description |
boolean | Whether the vulnerableParameters field is set. |
hasXss()
public boolean hasXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Type | Description |
boolean | Whether the xss field is set. |
hasXxe()
public boolean hasXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the xxe field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeForm(Form value)
public Finding.Builder mergeForm(Form value)
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Name | Description |
value | Form |
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 |
mergeOutdatedLibrary(OutdatedLibrary value)
public Finding.Builder mergeOutdatedLibrary(OutdatedLibrary value)
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Name | Description |
value | OutdatedLibrary |
Type | Description |
Finding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Finding.Builder |
mergeViolatingResource(ViolatingResource value)
public Finding.Builder mergeViolatingResource(ViolatingResource value)
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Name | Description |
value | ViolatingResource |
Type | Description |
Finding.Builder |
mergeVulnerableHeaders(VulnerableHeaders value)
public Finding.Builder mergeVulnerableHeaders(VulnerableHeaders value)
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Name | Description |
value | VulnerableHeaders |
Type | Description |
Finding.Builder |
mergeVulnerableParameters(VulnerableParameters value)
public Finding.Builder mergeVulnerableParameters(VulnerableParameters value)
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Name | Description |
value | VulnerableParameters |
Type | Description |
Finding.Builder |
mergeXss(Xss value)
public Finding.Builder mergeXss(Xss value)
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Name | Description |
value | Xss |
Type | Description |
Finding.Builder |
mergeXxe(Xxe value)
public Finding.Builder mergeXxe(Xxe value)
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Xxe |
Type | Description |
Finding.Builder |
setBody(String value)
public Finding.Builder setBody(String value)
Output only. The body of the request that triggered the vulnerability.
string body = 5;
Name | Description |
value | String The body to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setBodyBytes(ByteString value)
public Finding.Builder setBodyBytes(ByteString value)
Output only. The body of the request that triggered the vulnerability.
string body = 5;
Name | Description |
value | ByteString The bytes for body to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setDescription(String value)
public Finding.Builder setDescription(String value)
Output only. The description of the vulnerability.
string description = 6;
Name | Description |
value | String The description to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Finding.Builder setDescriptionBytes(ByteString value)
Output only. The description of the vulnerability.
string description = 6;
Name | Description |
value | ByteString The bytes for description 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 |
setFinalUrl(String value)
public Finding.Builder setFinalUrl(String value)
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
Name | Description |
value | String The finalUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFinalUrlBytes(ByteString value)
public Finding.Builder setFinalUrlBytes(ByteString value)
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
Name | Description |
value | ByteString The bytes for finalUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFindingType(String value)
public Finding.Builder setFindingType(String value)
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
Name | Description |
value | String The findingType to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFindingTypeBytes(ByteString value)
public Finding.Builder setFindingTypeBytes(ByteString value)
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
Name | Description |
value | ByteString The bytes for findingType to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setForm(Form value)
public Finding.Builder setForm(Form value)
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Name | Description |
value | Form |
Type | Description |
Finding.Builder |
setForm(Form.Builder builderForValue)
public Finding.Builder setForm(Form.Builder builderForValue)
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
Name | Description |
builderForValue | Form.Builder |
Type | Description |
Finding.Builder |
setFrameUrl(String value)
public Finding.Builder setFrameUrl(String value)
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
Name | Description |
value | String The frameUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFrameUrlBytes(ByteString value)
public Finding.Builder setFrameUrlBytes(ByteString value)
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
Name | Description |
value | ByteString The bytes for frameUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFuzzedUrl(String value)
public Finding.Builder setFuzzedUrl(String value)
Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
Name | Description |
value | String The fuzzedUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFuzzedUrlBytes(ByteString value)
public Finding.Builder setFuzzedUrlBytes(ByteString value)
Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
Name | Description |
value | ByteString The bytes for fuzzedUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setHttpMethod(String value)
public Finding.Builder setHttpMethod(String value)
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
Name | Description |
value | String The httpMethod to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setHttpMethodBytes(ByteString value)
public Finding.Builder setHttpMethodBytes(ByteString value)
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
Name | Description |
value | ByteString The bytes for httpMethod to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setName(String value)
public Finding.Builder setName(String value)
Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
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)
Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setOutdatedLibrary(OutdatedLibrary value)
public Finding.Builder setOutdatedLibrary(OutdatedLibrary value)
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Name | Description |
value | OutdatedLibrary |
Type | Description |
Finding.Builder |
setOutdatedLibrary(OutdatedLibrary.Builder builderForValue)
public Finding.Builder setOutdatedLibrary(OutdatedLibrary.Builder builderForValue)
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
Name | Description |
builderForValue | OutdatedLibrary.Builder |
Type | Description |
Finding.Builder |
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 |
setReproductionUrl(String value)
public Finding.Builder setReproductionUrl(String value)
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
Name | Description |
value | String The reproductionUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setReproductionUrlBytes(ByteString value)
public Finding.Builder setReproductionUrlBytes(ByteString value)
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
Name | Description |
value | ByteString The bytes for reproductionUrl to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setSeverity(Finding.Severity value)
public Finding.Builder setSeverity(Finding.Severity value)
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
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)
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for severity to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setTrackingId(String value)
public Finding.Builder setTrackingId(String value)
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
Name | Description |
value | String The trackingId to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setTrackingIdBytes(ByteString value)
public Finding.Builder setTrackingIdBytes(ByteString value)
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
Name | Description |
value | ByteString The bytes for trackingId 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 |
setViolatingResource(ViolatingResource value)
public Finding.Builder setViolatingResource(ViolatingResource value)
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Name | Description |
value | ViolatingResource |
Type | Description |
Finding.Builder |
setViolatingResource(ViolatingResource.Builder builderForValue)
public Finding.Builder setViolatingResource(ViolatingResource.Builder builderForValue)
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
Name | Description |
builderForValue | ViolatingResource.Builder |
Type | Description |
Finding.Builder |
setVulnerableHeaders(VulnerableHeaders value)
public Finding.Builder setVulnerableHeaders(VulnerableHeaders value)
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Name | Description |
value | VulnerableHeaders |
Type | Description |
Finding.Builder |
setVulnerableHeaders(VulnerableHeaders.Builder builderForValue)
public Finding.Builder setVulnerableHeaders(VulnerableHeaders.Builder builderForValue)
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
Name | Description |
builderForValue | VulnerableHeaders.Builder |
Type | Description |
Finding.Builder |
setVulnerableParameters(VulnerableParameters value)
public Finding.Builder setVulnerableParameters(VulnerableParameters value)
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Name | Description |
value | VulnerableParameters |
Type | Description |
Finding.Builder |
setVulnerableParameters(VulnerableParameters.Builder builderForValue)
public Finding.Builder setVulnerableParameters(VulnerableParameters.Builder builderForValue)
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
Name | Description |
builderForValue | VulnerableParameters.Builder |
Type | Description |
Finding.Builder |
setXss(Xss value)
public Finding.Builder setXss(Xss value)
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Name | Description |
value | Xss |
Type | Description |
Finding.Builder |
setXss(Xss.Builder builderForValue)
public Finding.Builder setXss(Xss.Builder builderForValue)
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
Name | Description |
builderForValue | Xss.Builder |
Type | Description |
Finding.Builder |
setXxe(Xxe value)
public Finding.Builder setXxe(Xxe value)
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Xxe |
Type | Description |
Finding.Builder |
setXxe(Xxe.Builder builderForValue)
public Finding.Builder setXxe(Xxe.Builder builderForValue)
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Xxe.Builder |
Type | Description |
Finding.Builder |