Interface FindingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Finding
,Finding.Builder
public interface FindingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBody()
Output only.com.google.protobuf.ByteString
getBodyBytes()
Output only.String
getDescription()
Output only.com.google.protobuf.ByteString
getDescriptionBytes()
Output only.String
getFinalUrl()
Output only.com.google.protobuf.ByteString
getFinalUrlBytes()
Output only.String
getFindingType()
Output only.com.google.protobuf.ByteString
getFindingTypeBytes()
Output only.Form
getForm()
Output only.FormOrBuilder
getFormOrBuilder()
Output only.String
getFrameUrl()
Output only.com.google.protobuf.ByteString
getFrameUrlBytes()
Output only.String
getFuzzedUrl()
Output only.com.google.protobuf.ByteString
getFuzzedUrlBytes()
Output only.String
getHttpMethod()
Output only.com.google.protobuf.ByteString
getHttpMethodBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.OutdatedLibrary
getOutdatedLibrary()
Output only.OutdatedLibraryOrBuilder
getOutdatedLibraryOrBuilder()
Output only.String
getReproductionUrl()
Output only.com.google.protobuf.ByteString
getReproductionUrlBytes()
Output only.Finding.Severity
getSeverity()
Output only.int
getSeverityValue()
Output only.String
getTrackingId()
Output only.com.google.protobuf.ByteString
getTrackingIdBytes()
Output only.ViolatingResource
getViolatingResource()
Output only.ViolatingResourceOrBuilder
getViolatingResourceOrBuilder()
Output only.VulnerableHeaders
getVulnerableHeaders()
Output only.VulnerableHeadersOrBuilder
getVulnerableHeadersOrBuilder()
Output only.VulnerableParameters
getVulnerableParameters()
Output only.VulnerableParametersOrBuilder
getVulnerableParametersOrBuilder()
Output only.Xss
getXss()
Output only.XssOrBuilder
getXssOrBuilder()
Output only.Xxe
getXxe()
Output only.XxeOrBuilder
getXxeOrBuilder()
Output only.boolean
hasForm()
Output only.boolean
hasOutdatedLibrary()
Output only.boolean
hasViolatingResource()
Output only.boolean
hasVulnerableHeaders()
Output only.boolean
hasVulnerableParameters()
Output only.boolean
hasXss()
Output only.boolean
hasXxe()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;
- Returns:
- The bytes for name.
-
getFindingType
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;
- Returns:
- The findingType.
-
getFindingTypeBytes
com.google.protobuf.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;
- Returns:
- The bytes for findingType.
-
getSeverityValue
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];
- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
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];
- Returns:
- The severity.
-
getHttpMethod
String getHttpMethod()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Returns:
- The httpMethod.
-
getHttpMethodBytes
com.google.protobuf.ByteString getHttpMethodBytes()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Returns:
- The bytes for httpMethod.
-
getFuzzedUrl
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;
- Returns:
- The fuzzedUrl.
-
getFuzzedUrlBytes
com.google.protobuf.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;
- Returns:
- The bytes for fuzzedUrl.
-
getBody
String getBody()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
- Returns:
- The bytes for body.
-
getDescription
String getDescription()
Output only. The description of the vulnerability.
string description = 6;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Output only. The description of the vulnerability.
string description = 6;
- Returns:
- The bytes for description.
-
getReproductionUrl
String getReproductionUrl()
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Returns:
- The reproductionUrl.
-
getReproductionUrlBytes
com.google.protobuf.ByteString getReproductionUrlBytes()
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Returns:
- The bytes for reproductionUrl.
-
getFrameUrl
String getFrameUrl()
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Returns:
- The frameUrl.
-
getFrameUrlBytes
com.google.protobuf.ByteString getFrameUrlBytes()
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Returns:
- The bytes for frameUrl.
-
getFinalUrl
String getFinalUrl()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Returns:
- The finalUrl.
-
getFinalUrlBytes
com.google.protobuf.ByteString getFinalUrlBytes()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Returns:
- The bytes for finalUrl.
-
getTrackingId
String getTrackingId()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Returns:
- The trackingId.
-
getTrackingIdBytes
com.google.protobuf.ByteString getTrackingIdBytes()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Returns:
- The bytes for trackingId.
-
hasForm
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;
- Returns:
- Whether the form field is set.
-
getForm
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;
- Returns:
- The form.
-
getFormOrBuilder
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;
-
hasOutdatedLibrary
boolean hasOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
- Returns:
- Whether the outdatedLibrary field is set.
-
getOutdatedLibrary
OutdatedLibrary getOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
- Returns:
- The outdatedLibrary.
-
getOutdatedLibraryOrBuilder
OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
-
hasViolatingResource
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;
- Returns:
- Whether the violatingResource field is set.
-
getViolatingResource
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;
- Returns:
- The violatingResource.
-
getViolatingResourceOrBuilder
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;
-
hasVulnerableHeaders
boolean hasVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
- Returns:
- Whether the vulnerableHeaders field is set.
-
getVulnerableHeaders
VulnerableHeaders getVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
- Returns:
- The vulnerableHeaders.
-
getVulnerableHeadersOrBuilder
VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
-
hasVulnerableParameters
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;
- Returns:
- Whether the vulnerableParameters field is set.
-
getVulnerableParameters
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;
- Returns:
- The vulnerableParameters.
-
getVulnerableParametersOrBuilder
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;
-
hasXss
boolean hasXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
- Returns:
- Whether the xss field is set.
-
getXss
Xss getXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
- Returns:
- The xss.
-
getXssOrBuilder
XssOrBuilder getXssOrBuilder()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
-
hasXxe
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];
- Returns:
- Whether the xxe field is set.
-
getXxe
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];
- Returns:
- The xxe.
-
getXxeOrBuilder
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];
-
-