Interface FindingOrBuilder (2.49.0)

public interface FindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBody()

public abstract String getBody()

The body of the request that triggered the vulnerability.

string body = 5;

Returns
Type Description
String

The body.

getBodyBytes()

public abstract ByteString getBodyBytes()

The body of the request that triggered the vulnerability.

string body = 5;

Returns
Type Description
ByteString

The bytes for body.

getDescription()

public abstract String getDescription()

The description of the vulnerability.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of the vulnerability.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getFinalUrl()

public abstract String getFinalUrl()

The URL where the browser lands when the vulnerability is detected.

string final_url = 9;

Returns
Type Description
String

The finalUrl.

getFinalUrlBytes()

public abstract ByteString getFinalUrlBytes()

The URL where the browser lands when the vulnerability is detected.

string final_url = 9;

Returns
Type Description
ByteString

The bytes for finalUrl.

getFindingType()

public abstract String getFindingType()

The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details

string finding_type = 2;

Returns
Type Description
String

The findingType.

getFindingTypeBytes()

public abstract ByteString getFindingTypeBytes()

The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details

string finding_type = 2;

Returns
Type Description
ByteString

The bytes for findingType.

getForm()

public abstract Form getForm()

An addon containing information reported for a vulnerability with an HTML form, if any.

.google.cloud.websecurityscanner.v1beta.Form form = 16;

Returns
Type Description
Form

The form.

getFormOrBuilder()

public abstract FormOrBuilder getFormOrBuilder()

An addon containing information reported for a vulnerability with an HTML form, if any.

.google.cloud.websecurityscanner.v1beta.Form form = 16;

Returns
Type Description
FormOrBuilder

getFrameUrl()

public abstract String getFrameUrl()

If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.

string frame_url = 8;

Returns
Type Description
String

The frameUrl.

getFrameUrlBytes()

public abstract ByteString getFrameUrlBytes()

If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.

string frame_url = 8;

Returns
Type Description
ByteString

The bytes for frameUrl.

getFuzzedUrl()

public abstract String getFuzzedUrl()

The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.

string fuzzed_url = 4;

Returns
Type Description
String

The fuzzedUrl.

getFuzzedUrlBytes()

public abstract ByteString getFuzzedUrlBytes()

The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.

string fuzzed_url = 4;

Returns
Type Description
ByteString

The bytes for fuzzedUrl.

getHttpMethod()

public abstract String getHttpMethod()

The http method of the request that triggered the vulnerability, in uppercase.

string http_method = 3;

Returns
Type Description
String

The httpMethod.

getHttpMethodBytes()

public abstract ByteString getHttpMethodBytes()

The http method of the request that triggered the vulnerability, in uppercase.

string http_method = 3;

Returns
Type Description
ByteString

The bytes for httpMethod.

getName()

public abstract String getName()

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

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

The bytes for name.

getOutdatedLibrary()

public abstract OutdatedLibrary getOutdatedLibrary()

An addon containing information about outdated libraries.

.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;

Returns
Type Description
OutdatedLibrary

The outdatedLibrary.

getOutdatedLibraryOrBuilder()

public abstract OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()

An addon containing information about outdated libraries.

.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;

Returns
Type Description
OutdatedLibraryOrBuilder

getReproductionUrl()

public abstract String getReproductionUrl()

The URL containing human-readable payload that user can leverage to reproduce the vulnerability.

string reproduction_url = 7;

Returns
Type Description
String

The reproductionUrl.

getReproductionUrlBytes()

public abstract ByteString getReproductionUrlBytes()

The URL containing human-readable payload that user can leverage to reproduce the vulnerability.

string reproduction_url = 7;

Returns
Type Description
ByteString

The bytes for reproductionUrl.

getTrackingId()

public abstract String getTrackingId()

The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.

string tracking_id = 10;

Returns
Type Description
String

The trackingId.

getTrackingIdBytes()

public abstract ByteString getTrackingIdBytes()

The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.

string tracking_id = 10;

Returns
Type Description
ByteString

The bytes for trackingId.

getViolatingResource()

public abstract ViolatingResource getViolatingResource()

An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.

.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;

Returns
Type Description
ViolatingResource

The violatingResource.

getViolatingResourceOrBuilder()

public abstract ViolatingResourceOrBuilder getViolatingResourceOrBuilder()

An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.

.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;

Returns
Type Description
ViolatingResourceOrBuilder

getVulnerableHeaders()

public abstract VulnerableHeaders getVulnerableHeaders()

An addon containing information about vulnerable or missing HTTP headers.

.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;

Returns
Type Description
VulnerableHeaders

The vulnerableHeaders.

getVulnerableHeadersOrBuilder()

public abstract VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()

An addon containing information about vulnerable or missing HTTP headers.

.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;

Returns
Type Description
VulnerableHeadersOrBuilder

getVulnerableParameters()

public abstract VulnerableParameters getVulnerableParameters()

An addon containing information about request parameters which were found to be vulnerable.

.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;

Returns
Type Description
VulnerableParameters

The vulnerableParameters.

getVulnerableParametersOrBuilder()

public abstract VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()

An addon containing information about request parameters which were found to be vulnerable.

.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;

Returns
Type Description
VulnerableParametersOrBuilder

getXss()

public abstract Xss getXss()

An addon containing information reported for an XSS, if any.

.google.cloud.websecurityscanner.v1beta.Xss xss = 14;

Returns
Type Description
Xss

The xss.

getXssOrBuilder()

public abstract XssOrBuilder getXssOrBuilder()

An addon containing information reported for an XSS, if any.

.google.cloud.websecurityscanner.v1beta.Xss xss = 14;

Returns
Type Description
XssOrBuilder

hasForm()

public abstract boolean hasForm()

An addon containing information reported for a vulnerability with an HTML form, if any.

.google.cloud.websecurityscanner.v1beta.Form form = 16;

Returns
Type Description
boolean

Whether the form field is set.

hasOutdatedLibrary()

public abstract boolean hasOutdatedLibrary()

An addon containing information about outdated libraries.

.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;

Returns
Type Description
boolean

Whether the outdatedLibrary field is set.

hasViolatingResource()

public abstract boolean hasViolatingResource()

An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.

.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;

Returns
Type Description
boolean

Whether the violatingResource field is set.

hasVulnerableHeaders()

public abstract boolean hasVulnerableHeaders()

An addon containing information about vulnerable or missing HTTP headers.

.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;

Returns
Type Description
boolean

Whether the vulnerableHeaders field is set.

hasVulnerableParameters()

public abstract boolean hasVulnerableParameters()

An addon containing information about request parameters which were found to be vulnerable.

.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;

Returns
Type Description
boolean

Whether the vulnerableParameters field is set.

hasXss()

public abstract boolean hasXss()

An addon containing information reported for an XSS, if any.

.google.cloud.websecurityscanner.v1beta.Xss xss = 14;

Returns
Type Description
boolean

Whether the xss field is set.