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()
The body of the request that triggered the vulnerability.com.google.protobuf.ByteString
getBodyBytes()
The body of the request that triggered the vulnerability.String
getDescription()
The description of the vulnerability.com.google.protobuf.ByteString
getDescriptionBytes()
The description of the vulnerability.String
getFinalUrl()
The URL where the browser lands when the vulnerability is detected.com.google.protobuf.ByteString
getFinalUrlBytes()
The URL where the browser lands when the vulnerability is detected.Finding.FindingType
getFindingType()
The type of the Finding.int
getFindingTypeValue()
The type of the Finding.String
getFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.com.google.protobuf.ByteString
getFrameUrlBytes()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.String
getFuzzedUrl()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.com.google.protobuf.ByteString
getFuzzedUrlBytes()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.String
getHttpMethod()
The http method of the request that triggered the vulnerability, in uppercase.com.google.protobuf.ByteString
getHttpMethodBytes()
The http method of the request that triggered the vulnerability, in uppercase.String
getName()
The resource name of the Finding.com.google.protobuf.ByteString
getNameBytes()
The resource name of the Finding.OutdatedLibrary
getOutdatedLibrary()
An addon containing information about outdated libraries.OutdatedLibraryOrBuilder
getOutdatedLibraryOrBuilder()
An addon containing information about outdated libraries.String
getReproductionUrl()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.com.google.protobuf.ByteString
getReproductionUrlBytes()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.String
getTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.com.google.protobuf.ByteString
getTrackingIdBytes()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.ViolatingResource
getViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.ViolatingResourceOrBuilder
getViolatingResourceOrBuilder()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.VulnerableHeaders
getVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.VulnerableHeadersOrBuilder
getVulnerableHeadersOrBuilder()
An addon containing information about vulnerable or missing HTTP headers.VulnerableParameters
getVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.VulnerableParametersOrBuilder
getVulnerableParametersOrBuilder()
An addon containing information about request parameters which were found to be vulnerable.Xss
getXss()
An addon containing information reported for an XSS, if any.XssOrBuilder
getXssOrBuilder()
An addon containing information reported for an XSS, if any.boolean
hasOutdatedLibrary()
An addon containing information about outdated libraries.boolean
hasViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.boolean
hasVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.boolean
hasVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.boolean
hasXss()
An addon containing information reported for an XSS, if any.-
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()
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()
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.
-
getFindingTypeValue
int getFindingTypeValue()
The type of the Finding.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 2;
- Returns:
- The enum numeric value on the wire for findingType.
-
getFindingType
Finding.FindingType getFindingType()
The type of the Finding.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 2;
- Returns:
- The findingType.
-
getHttpMethod
String getHttpMethod()
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()
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Returns:
- The bytes for httpMethod.
-
getFuzzedUrl
String getFuzzedUrl()
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()
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()
The body of the request that triggered the vulnerability.
string body = 5;
- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()
The body of the request that triggered the vulnerability.
string body = 5;
- Returns:
- The bytes for body.
-
getDescription
String getDescription()
The description of the vulnerability.
string description = 6;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The description of the vulnerability.
string description = 6;
- Returns:
- The bytes for description.
-
getReproductionUrl
String getReproductionUrl()
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()
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()
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()
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()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Returns:
- The finalUrl.
-
getFinalUrlBytes
com.google.protobuf.ByteString getFinalUrlBytes()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Returns:
- The bytes for finalUrl.
-
getTrackingId
String getTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Returns:
- The trackingId.
-
getTrackingIdBytes
com.google.protobuf.ByteString getTrackingIdBytes()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Returns:
- The bytes for trackingId.
-
hasOutdatedLibrary
boolean hasOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1alpha.OutdatedLibrary outdated_library = 11;
- Returns:
- Whether the outdatedLibrary field is set.
-
getOutdatedLibrary
OutdatedLibrary getOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1alpha.OutdatedLibrary outdated_library = 11;
- Returns:
- The outdatedLibrary.
-
getOutdatedLibraryOrBuilder
OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1alpha.OutdatedLibrary outdated_library = 11;
-
hasViolatingResource
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:
- Whether the violatingResource field is set.
-
getViolatingResource
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:
- The violatingResource.
-
getViolatingResourceOrBuilder
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;
-
hasVulnerableHeaders
boolean hasVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders vulnerable_headers = 15;
- Returns:
- Whether the vulnerableHeaders field is set.
-
getVulnerableHeaders
VulnerableHeaders getVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders vulnerable_headers = 15;
- Returns:
- The vulnerableHeaders.
-
getVulnerableHeadersOrBuilder
VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders vulnerable_headers = 15;
-
hasVulnerableParameters
boolean hasVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1alpha.VulnerableParameters vulnerable_parameters = 13;
- Returns:
- Whether the vulnerableParameters field is set.
-
getVulnerableParameters
VulnerableParameters getVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1alpha.VulnerableParameters vulnerable_parameters = 13;
- Returns:
- The vulnerableParameters.
-
getVulnerableParametersOrBuilder
VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1alpha.VulnerableParameters vulnerable_parameters = 13;
-
hasXss
boolean hasXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1alpha.Xss xss = 14;
- Returns:
- Whether the xss field is set.
-
getXss
Xss getXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1alpha.Xss xss = 14;
- Returns:
- The xss.
-
getXssOrBuilder
XssOrBuilder getXssOrBuilder()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1alpha.Xss xss = 14;
-
-