public final class Finding extends com.google.protobuf.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBody()
Output only.
|
com.google.protobuf.ByteString |
getBodyBytes()
Output only.
|
static Finding |
getDefaultInstance() |
Finding |
getDefaultInstanceForType() |
String |
getDescription()
Output only.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Finding> |
getParserForType() |
String |
getReproductionUrl()
Output only.
|
com.google.protobuf.ByteString |
getReproductionUrlBytes()
Output only.
|
int |
getSerializedSize() |
String |
getTrackingId()
Output only.
|
com.google.protobuf.ByteString |
getTrackingIdBytes()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
boolean |
hasForm()
Output only.
|
int |
hashCode() |
boolean |
hasOutdatedLibrary()
Output only.
|
boolean |
hasViolatingResource()
Output only.
|
boolean |
hasVulnerableHeaders()
Output only.
|
boolean |
hasVulnerableParameters()
Output only.
|
boolean |
hasXss()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Finding.Builder |
newBuilder() |
static Finding.Builder |
newBuilder(Finding prototype) |
Finding.Builder |
newBuilderForType() |
protected Finding.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Finding |
parseDelimitedFrom(InputStream input) |
static Finding |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(byte[] data) |
static Finding |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(ByteBuffer data) |
static Finding |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(com.google.protobuf.ByteString data) |
static Finding |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Finding |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(InputStream input) |
static Finding |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Finding> |
parser() |
Finding.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getName in interface FindingOrBuilderpublic 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;getNameBytes in interface FindingOrBuilderpublic 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-scanner/docs/scan-result-details
string finding_type = 2;getFindingType in interface FindingOrBuilderpublic 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-scanner/docs/scan-result-details
string finding_type = 2;getFindingTypeBytes in interface FindingOrBuilderpublic String getHttpMethod()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;getHttpMethod in interface FindingOrBuilderpublic com.google.protobuf.ByteString getHttpMethodBytes()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;getHttpMethodBytes in interface FindingOrBuilderpublic 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;getFuzzedUrl in interface FindingOrBuilderpublic 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;getFuzzedUrlBytes in interface FindingOrBuilderpublic String getBody()
Output only. The body of the request that triggered the vulnerability.
string body = 5;getBody in interface FindingOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
Output only. The body of the request that triggered the vulnerability.
string body = 5;getBodyBytes in interface FindingOrBuilderpublic String getDescription()
Output only. The description of the vulnerability.
string description = 6;getDescription in interface FindingOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Output only. The description of the vulnerability.
string description = 6;getDescriptionBytes in interface FindingOrBuilderpublic String getReproductionUrl()
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;getReproductionUrl in interface FindingOrBuilderpublic 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;getReproductionUrlBytes in interface FindingOrBuilderpublic String getFrameUrl()
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;getFrameUrl in interface FindingOrBuilderpublic 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;getFrameUrlBytes in interface FindingOrBuilderpublic String getFinalUrl()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;getFinalUrl in interface FindingOrBuilderpublic com.google.protobuf.ByteString getFinalUrlBytes()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;getFinalUrlBytes in interface FindingOrBuilderpublic String getTrackingId()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;getTrackingId in interface FindingOrBuilderpublic com.google.protobuf.ByteString getTrackingIdBytes()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;getTrackingIdBytes in interface FindingOrBuilderpublic boolean hasForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;hasForm in interface FindingOrBuilderpublic Form getForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;getForm in interface FindingOrBuilderpublic FormOrBuilder getFormOrBuilder()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;getFormOrBuilder in interface FindingOrBuilderpublic boolean hasOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;hasOutdatedLibrary in interface FindingOrBuilderpublic OutdatedLibrary getOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;getOutdatedLibrary in interface FindingOrBuilderpublic OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;getOutdatedLibraryOrBuilder in interface FindingOrBuilderpublic 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.v1beta.ViolatingResource violating_resource = 12;hasViolatingResource in interface FindingOrBuilderpublic 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.v1beta.ViolatingResource violating_resource = 12;getViolatingResource in interface FindingOrBuilderpublic 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.v1beta.ViolatingResource violating_resource = 12;getViolatingResourceOrBuilder in interface FindingOrBuilderpublic boolean hasVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;hasVulnerableHeaders in interface FindingOrBuilderpublic VulnerableHeaders getVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;getVulnerableHeaders in interface FindingOrBuilderpublic VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;getVulnerableHeadersOrBuilder in interface FindingOrBuilderpublic boolean hasVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
hasVulnerableParameters in interface FindingOrBuilderpublic VulnerableParameters getVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
getVulnerableParameters in interface FindingOrBuilderpublic VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
getVulnerableParametersOrBuilder in interface FindingOrBuilderpublic boolean hasXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;hasXss in interface FindingOrBuilderpublic Xss getXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;getXss in interface FindingOrBuilderpublic XssOrBuilder getXssOrBuilder()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;getXssOrBuilder in interface FindingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Finding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Finding parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Finding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Finding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Finding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Finding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Finding parseFrom(InputStream input) throws IOException
IOExceptionpublic static Finding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Finding parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Finding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Finding parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Finding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Finding.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Finding.Builder newBuilder()
public static Finding.Builder newBuilder(Finding prototype)
public Finding.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Finding.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Finding getDefaultInstance()
public static com.google.protobuf.Parser<Finding> parser()
public com.google.protobuf.Parser<Finding> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Finding getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.