Interface FindingOrBuilder (2.6.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
TypeDescription
String

The body.

getBodyBytes()

public abstract ByteString getBodyBytes()

The body of the request that triggered the vulnerability.

string body = 5;

Returns
TypeDescription
ByteString

The bytes for body.

getDescription()

public abstract String getDescription()

The description of the vulnerability.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of the vulnerability.

string description = 6;

Returns
TypeDescription
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
TypeDescription
String

The finalUrl.

getFinalUrlBytes()

public abstract ByteString getFinalUrlBytes()

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

string final_url = 9;

Returns
TypeDescription
ByteString

The bytes for finalUrl.

getFindingType()

public abstract Finding.FindingType getFindingType()

The type of the Finding.

.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 2;

Returns
TypeDescription
Finding.FindingType

The findingType.

getFindingTypeValue()

public abstract int getFindingTypeValue()

The type of the Finding.

.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for findingType.

getFrameUrl()

public abstract String getFrameUrl()

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

string frame_url = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getOutdatedLibrary()

public abstract OutdatedLibrary getOutdatedLibrary()

An addon containing information about outdated libraries.

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

Returns
TypeDescription
OutdatedLibrary

The outdatedLibrary.

getOutdatedLibraryOrBuilder()

public abstract OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()

An addon containing information about outdated libraries.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The trackingId.

getTrackingIdBytes()

public abstract ByteString getTrackingIdBytes()

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

string tracking_id = 10;

Returns
TypeDescription
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.v1alpha.ViolatingResource violating_resource = 12;

Returns
TypeDescription
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.v1alpha.ViolatingResource violating_resource = 12;

Returns
TypeDescription
ViolatingResourceOrBuilder

getVulnerableHeaders()

public abstract VulnerableHeaders getVulnerableHeaders()

An addon containing information about vulnerable or missing HTTP headers.

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

Returns
TypeDescription
VulnerableHeaders

The vulnerableHeaders.

getVulnerableHeadersOrBuilder()

public abstract VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()

An addon containing information about vulnerable or missing HTTP headers.

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

Returns
TypeDescription
VulnerableHeadersOrBuilder

getVulnerableParameters()

public abstract VulnerableParameters getVulnerableParameters()

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

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

Returns
TypeDescription
VulnerableParameters

The vulnerableParameters.

getVulnerableParametersOrBuilder()

public abstract VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()

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

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

Returns
TypeDescription
VulnerableParametersOrBuilder

getXss()

public abstract Xss getXss()

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

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

Returns
TypeDescription
Xss

The xss.

getXssOrBuilder()

public abstract XssOrBuilder getXssOrBuilder()

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

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

Returns
TypeDescription
XssOrBuilder

hasOutdatedLibrary()

public abstract boolean hasOutdatedLibrary()

An addon containing information about outdated libraries.

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

Returns
TypeDescription
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.v1alpha.ViolatingResource violating_resource = 12;

Returns
TypeDescription
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.v1alpha.VulnerableHeaders vulnerable_headers = 15;

Returns
TypeDescription
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.v1alpha.VulnerableParameters vulnerable_parameters = 13;

Returns
TypeDescription
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.v1alpha.Xss xss = 14;

Returns
TypeDescription
boolean

Whether the xss field is set.