public final class Finding extends GeneratedMessageV3 implements FindingOrBuilder
A Finding resource represents a vulnerability instance identified during a ScanRun.Protobuf type
google.cloud.websecurityscanner.v1.Finding
Modifier and Type | Class and Description |
---|---|
static class |
Finding.Builder
A Finding resource represents a vulnerability instance identified during a
ScanRun.
|
static class |
Finding.Severity
The severity level of a vulnerability.
|
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 |
SEVERITY_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 |
static int |
XXE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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 SEVERITY_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 static final int XXE_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()
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 FindingOrBuilder
public 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 FindingOrBuilder
public 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-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
getFindingType
in interface FindingOrBuilder
public 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-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
getFindingTypeBytes
in interface FindingOrBuilder
public int getSeverityValue()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSeverityValue
in interface FindingOrBuilder
public Finding.Severity getSeverity()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSeverity
in interface FindingOrBuilder
public String getHttpMethod()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
getHttpMethod
in interface FindingOrBuilder
public ByteString getHttpMethodBytes()
Output only. The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
getHttpMethodBytes
in interface FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public String getBody()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
getBody
in interface FindingOrBuilder
public ByteString getBodyBytes()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
getBodyBytes
in interface FindingOrBuilder
public String getDescription()
Output only. The description of the vulnerability.
string description = 6;
getDescription
in interface FindingOrBuilder
public ByteString getDescriptionBytes()
Output only. The description of the vulnerability.
string description = 6;
getDescriptionBytes
in interface FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public String getFinalUrl()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
getFinalUrl
in interface FindingOrBuilder
public ByteString getFinalUrlBytes()
Output only. The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
getFinalUrlBytes
in interface FindingOrBuilder
public String getTrackingId()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
getTrackingId
in interface FindingOrBuilder
public ByteString getTrackingIdBytes()
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
getTrackingIdBytes
in interface FindingOrBuilder
public boolean hasForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
hasForm
in interface FindingOrBuilder
public Form getForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
getForm
in interface FindingOrBuilder
public FormOrBuilder getFormOrBuilder()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
getFormOrBuilder
in interface FindingOrBuilder
public boolean hasOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
hasOutdatedLibrary
in interface FindingOrBuilder
public OutdatedLibrary getOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
getOutdatedLibrary
in interface FindingOrBuilder
public OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
getOutdatedLibraryOrBuilder
in interface FindingOrBuilder
public 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.v1.ViolatingResource violating_resource = 12;
hasViolatingResource
in interface FindingOrBuilder
public 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.v1.ViolatingResource violating_resource = 12;
getViolatingResource
in interface FindingOrBuilder
public 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.v1.ViolatingResource violating_resource = 12;
getViolatingResourceOrBuilder
in interface FindingOrBuilder
public boolean hasVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
hasVulnerableHeaders
in interface FindingOrBuilder
public VulnerableHeaders getVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
getVulnerableHeaders
in interface FindingOrBuilder
public VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
getVulnerableHeadersOrBuilder
in interface FindingOrBuilder
public boolean hasVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
hasVulnerableParameters
in interface FindingOrBuilder
public VulnerableParameters getVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
getVulnerableParameters
in interface FindingOrBuilder
public VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
getVulnerableParametersOrBuilder
in interface FindingOrBuilder
public boolean hasXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
hasXss
in interface FindingOrBuilder
public Xss getXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
getXss
in interface FindingOrBuilder
public XssOrBuilder getXssOrBuilder()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
getXssOrBuilder
in interface FindingOrBuilder
public boolean hasXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasXxe
in interface FindingOrBuilder
public Xxe getXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getXxe
in interface FindingOrBuilder
public XxeOrBuilder getXxeOrBuilder()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getXxeOrBuilder
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.