public final class Finding extends GeneratedMessageV3 implements FindingOrBuilder
A Finding resource represents a vulnerability instance identified during a ScanRun.Protobuf type
google.cloud.websecurityscanner.v1beta.Finding
Modifier and Type | Class and Description |
---|---|
static class |
Finding.Builder
A Finding resource represents a vulnerability instance identified during a
ScanRun.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
BODY_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FINAL_URL_FIELD_NUMBER |
static int |
FINDING_TYPE_FIELD_NUMBER |
static int |
FORM_FIELD_NUMBER |
static int |
FRAME_URL_FIELD_NUMBER |
static int |
FUZZED_URL_FIELD_NUMBER |
static int |
HTTP_METHOD_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OUTDATED_LIBRARY_FIELD_NUMBER |
static int |
REPRODUCTION_URL_FIELD_NUMBER |
static int |
TRACKING_ID_FIELD_NUMBER |
static int |
VIOLATING_RESOURCE_FIELD_NUMBER |
static int |
VULNERABLE_HEADERS_FIELD_NUMBER |
static int |
VULNERABLE_PARAMETERS_FIELD_NUMBER |
static int |
XSS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBody()
The body of the request that triggered the vulnerability.
|
ByteString |
getBodyBytes()
The body of the request that triggered the vulnerability.
|
static Finding |
getDefaultInstance() |
Finding |
getDefaultInstanceForType() |
String |
getDescription()
The description of the vulnerability.
|
ByteString |
getDescriptionBytes()
The description of the vulnerability.
|
static Descriptors.Descriptor |
getDescriptor() |
String |
getFinalUrl()
The URL where the browser lands when the vulnerability is detected.
|
ByteString |
getFinalUrlBytes()
The URL where the browser lands when the vulnerability is detected.
|
String |
getFindingType()
The type of the Finding.
|
ByteString |
getFindingTypeBytes()
The type of the Finding.
|
Form |
getForm()
An addon containing information reported for a vulnerability with an HTML
form, if any.
|
FormOrBuilder |
getFormOrBuilder()
An addon containing information reported for a vulnerability with an HTML
form, if any.
|
String |
getFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate
parent IFrame is reported.
|
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.
|
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.
|
ByteString |
getHttpMethodBytes()
The http method of the request that triggered the vulnerability, in
uppercase.
|
String |
getName()
The resource name of the Finding.
|
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.
|
Parser<Finding> |
getParserForType() |
String |
getReproductionUrl()
The URL containing human-readable payload that user can leverage to
reproduce the vulnerability.
|
ByteString |
getReproductionUrlBytes()
The URL containing human-readable payload that user can leverage to
reproduce the vulnerability.
|
int |
getSerializedSize() |
String |
getTrackingId()
The tracking ID uniquely identifies a vulnerability instance across
multiple ScanRuns.
|
ByteString |
getTrackingIdBytes()
The tracking ID uniquely identifies a vulnerability instance across
multiple ScanRuns.
|
UnknownFieldSet |
getUnknownFields() |
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 |
hasForm()
An addon containing information reported for a vulnerability with an HTML
form, if any.
|
int |
hashCode() |
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Finding.Builder |
newBuilder() |
static Finding.Builder |
newBuilder(Finding prototype) |
Finding.Builder |
newBuilderForType() |
protected Finding.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Finding |
parseDelimitedFrom(InputStream input) |
static Finding |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(byte[] data) |
static Finding |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(ByteBuffer data) |
static Finding |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(ByteString data) |
static Finding |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(CodedInputStream input) |
static Finding |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(InputStream input) |
static Finding |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Finding> |
parser() |
Finding.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int FINDING_TYPE_FIELD_NUMBER
public static final int HTTP_METHOD_FIELD_NUMBER
public static final int FUZZED_URL_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int REPRODUCTION_URL_FIELD_NUMBER
public static final int FRAME_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER
public static final int TRACKING_ID_FIELD_NUMBER
public static final int FORM_FIELD_NUMBER
public static final int OUTDATED_LIBRARY_FIELD_NUMBER
public static final int VIOLATING_RESOURCE_FIELD_NUMBER
public static final int VULNERABLE_HEADERS_FIELD_NUMBER
public static final int VULNERABLE_PARAMETERS_FIELD_NUMBER
public static final int XSS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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;
getName
in interface FindingOrBuilder
public 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;
getNameBytes
in interface FindingOrBuilder
public 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;
getFindingType
in interface FindingOrBuilder
public 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;
getFindingTypeBytes
in interface FindingOrBuilder
public String getHttpMethod()
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
getHttpMethod
in interface FindingOrBuilder
public ByteString getHttpMethodBytes()
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
getHttpMethodBytes
in interface FindingOrBuilder
public String getFuzzedUrl()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
getFuzzedUrl
in interface FindingOrBuilder
public ByteString getFuzzedUrlBytes()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
getFuzzedUrlBytes
in interface FindingOrBuilder
public String getBody()
The body of the request that triggered the vulnerability.
string body = 5;
getBody
in interface FindingOrBuilder
public ByteString getBodyBytes()
The body of the request that triggered the vulnerability.
string body = 5;
getBodyBytes
in interface FindingOrBuilder
public String getDescription()
The description of the vulnerability.
string description = 6;
getDescription
in interface FindingOrBuilder
public ByteString getDescriptionBytes()
The description of the vulnerability.
string description = 6;
getDescriptionBytes
in interface FindingOrBuilder
public String getReproductionUrl()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
getReproductionUrl
in interface FindingOrBuilder
public ByteString getReproductionUrlBytes()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
getReproductionUrlBytes
in interface FindingOrBuilder
public String getFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
getFrameUrl
in interface FindingOrBuilder
public ByteString getFrameUrlBytes()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
getFrameUrlBytes
in interface FindingOrBuilder
public String getFinalUrl()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
getFinalUrl
in interface FindingOrBuilder
public ByteString getFinalUrlBytes()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
getFinalUrlBytes
in interface FindingOrBuilder
public String getTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
getTrackingId
in interface FindingOrBuilder
public ByteString getTrackingIdBytes()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
getTrackingIdBytes
in interface FindingOrBuilder
public boolean hasForm()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
hasForm
in interface FindingOrBuilder
public Form getForm()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
getForm
in interface FindingOrBuilder
public FormOrBuilder getFormOrBuilder()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
getFormOrBuilder
in interface FindingOrBuilder
public boolean hasOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
hasOutdatedLibrary
in interface FindingOrBuilder
public OutdatedLibrary getOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
getOutdatedLibrary
in interface FindingOrBuilder
public OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
getOutdatedLibraryOrBuilder
in interface FindingOrBuilder
public 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;
hasViolatingResource
in interface FindingOrBuilder
public 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;
getViolatingResource
in interface FindingOrBuilder
public 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;
getViolatingResourceOrBuilder
in interface FindingOrBuilder
public boolean hasVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
hasVulnerableHeaders
in interface FindingOrBuilder
public VulnerableHeaders getVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
getVulnerableHeaders
in interface FindingOrBuilder
public VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
getVulnerableHeadersOrBuilder
in interface FindingOrBuilder
public boolean hasVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
hasVulnerableParameters
in interface FindingOrBuilder
public VulnerableParameters getVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
getVulnerableParameters
in interface FindingOrBuilder
public VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
getVulnerableParametersOrBuilder
in interface FindingOrBuilder
public boolean hasXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
hasXss
in interface FindingOrBuilder
public Xss getXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
getXss
in interface FindingOrBuilder
public XssOrBuilder getXssOrBuilder()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
getXssOrBuilder
in interface FindingOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Finding parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(InputStream input) throws IOException
IOException
public static Finding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Finding parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Finding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Finding parseFrom(CodedInputStream input) throws IOException
IOException
public static Finding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Finding.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Finding.Builder newBuilder()
public static Finding.Builder newBuilder(Finding prototype)
public Finding.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Finding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Finding getDefaultInstance()
public Parser<Finding> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Finding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.