Class Finding
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.websecurityscanner.v1alpha.Finding
- All Implemented Interfaces:
FindingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Finding
extends com.google.protobuf.GeneratedMessage
implements FindingOrBuilder
A Finding resource represents a vulnerability instance identified during a ScanRun.Protobuf type
google.cloud.websecurityscanner.v1alpha.Finding- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Finding resource represents a vulnerability instance identified during a ScanRun.static enumTypes of Findings.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBody()The body of the request that triggered the vulnerability.com.google.protobuf.ByteStringThe body of the request that triggered the vulnerability.static FindingThe description of the vulnerability.com.google.protobuf.ByteStringThe description of the vulnerability.static final com.google.protobuf.Descriptors.DescriptorThe URL where the browser lands when the vulnerability is detected.com.google.protobuf.ByteStringThe URL where the browser lands when the vulnerability is detected.The type of the Finding.intThe type of the Finding.If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.com.google.protobuf.ByteStringIf the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.com.google.protobuf.ByteStringThe URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.The http method of the request that triggered the vulnerability, in uppercase.com.google.protobuf.ByteStringThe http method of the request that triggered the vulnerability, in uppercase.getName()The resource name of the Finding.com.google.protobuf.ByteStringThe resource name of the Finding.An addon containing information about outdated libraries.An addon containing information about outdated libraries.com.google.protobuf.Parser<Finding>The URL containing human-readable payload that user can leverage to reproduce the vulnerability.com.google.protobuf.ByteStringThe URL containing human-readable payload that user can leverage to reproduce the vulnerability.intThe tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.com.google.protobuf.ByteStringThe tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.An addon containing information about vulnerable or missing HTTP headers.An addon containing information about vulnerable or missing HTTP headers.An addon containing information about request parameters which were found to be vulnerable.An addon containing information about request parameters which were found to be vulnerable.getXss()An addon containing information reported for an XSS, if any.An addon containing information reported for an XSS, if any.inthashCode()booleanAn addon containing information about outdated libraries.booleanAn addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.booleanAn addon containing information about vulnerable or missing HTTP headers.booleanAn addon containing information about request parameters which were found to be vulnerable.booleanhasXss()An addon containing information reported for an XSS, if any.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Finding.Builderstatic Finding.BuildernewBuilder(Finding prototype) protected Finding.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static FindingparseDelimitedFrom(InputStream input) static FindingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FindingparseFrom(byte[] data) static FindingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FindingparseFrom(com.google.protobuf.ByteString data) static FindingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FindingparseFrom(com.google.protobuf.CodedInputStream input) static FindingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FindingparseFrom(InputStream input) static FindingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FindingparseFrom(ByteBuffer data) static FindingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Finding>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FINDING_TYPE_FIELD_NUMBER
public static final int FINDING_TYPE_FIELD_NUMBER- See Also:
-
HTTP_METHOD_FIELD_NUMBER
public static final int HTTP_METHOD_FIELD_NUMBER- See Also:
-
FUZZED_URL_FIELD_NUMBER
public static final int FUZZED_URL_FIELD_NUMBER- See Also:
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
REPRODUCTION_URL_FIELD_NUMBER
public static final int REPRODUCTION_URL_FIELD_NUMBER- See Also:
-
FRAME_URL_FIELD_NUMBER
public static final int FRAME_URL_FIELD_NUMBER- See Also:
-
FINAL_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER- See Also:
-
TRACKING_ID_FIELD_NUMBER
public static final int TRACKING_ID_FIELD_NUMBER- See Also:
-
OUTDATED_LIBRARY_FIELD_NUMBER
public static final int OUTDATED_LIBRARY_FIELD_NUMBER- See Also:
-
VIOLATING_RESOURCE_FIELD_NUMBER
public static final int VIOLATING_RESOURCE_FIELD_NUMBER- See Also:
-
VULNERABLE_HEADERS_FIELD_NUMBER
public static final int VULNERABLE_HEADERS_FIELD_NUMBER- See Also:
-
VULNERABLE_PARAMETERS_FIELD_NUMBER
public static final int VULNERABLE_PARAMETERS_FIELD_NUMBER- See Also:
-
XSS_FIELD_NUMBER
public static final int XSS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
getNamein interfaceFindingOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for name.
-
getFindingTypeValue
public int getFindingTypeValue()The type of the Finding.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 2;- Specified by:
getFindingTypeValuein interfaceFindingOrBuilder- Returns:
- The enum numeric value on the wire for findingType.
-
getFindingType
The type of the Finding.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 2;- Specified by:
getFindingTypein interfaceFindingOrBuilder- Returns:
- The findingType.
-
getHttpMethod
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;- Specified by:
getHttpMethodin interfaceFindingOrBuilder- Returns:
- The httpMethod.
-
getHttpMethodBytes
public com.google.protobuf.ByteString getHttpMethodBytes()The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;- Specified by:
getHttpMethodBytesin interfaceFindingOrBuilder- Returns:
- The bytes for httpMethod.
-
getFuzzedUrl
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;- Specified by:
getFuzzedUrlin interfaceFindingOrBuilder- Returns:
- The fuzzedUrl.
-
getFuzzedUrlBytes
public 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;- Specified by:
getFuzzedUrlBytesin interfaceFindingOrBuilder- Returns:
- The bytes for fuzzedUrl.
-
getBody
The body of the request that triggered the vulnerability.
string body = 5;- Specified by:
getBodyin interfaceFindingOrBuilder- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()The body of the request that triggered the vulnerability.
string body = 5;- Specified by:
getBodyBytesin interfaceFindingOrBuilder- Returns:
- The bytes for body.
-
getDescription
The description of the vulnerability.
string description = 6;- Specified by:
getDescriptionin interfaceFindingOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the vulnerability.
string description = 6;- Specified by:
getDescriptionBytesin interfaceFindingOrBuilder- Returns:
- The bytes for description.
-
getReproductionUrl
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;- Specified by:
getReproductionUrlin interfaceFindingOrBuilder- Returns:
- The reproductionUrl.
-
getReproductionUrlBytes
public com.google.protobuf.ByteString getReproductionUrlBytes()The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;- Specified by:
getReproductionUrlBytesin interfaceFindingOrBuilder- Returns:
- The bytes for reproductionUrl.
-
getFrameUrl
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;- Specified by:
getFrameUrlin interfaceFindingOrBuilder- Returns:
- The frameUrl.
-
getFrameUrlBytes
public com.google.protobuf.ByteString getFrameUrlBytes()If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;- Specified by:
getFrameUrlBytesin interfaceFindingOrBuilder- Returns:
- The bytes for frameUrl.
-
getFinalUrl
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;- Specified by:
getFinalUrlin interfaceFindingOrBuilder- Returns:
- The finalUrl.
-
getFinalUrlBytes
public com.google.protobuf.ByteString getFinalUrlBytes()The URL where the browser lands when the vulnerability is detected.
string final_url = 9;- Specified by:
getFinalUrlBytesin interfaceFindingOrBuilder- Returns:
- The bytes for finalUrl.
-
getTrackingId
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;- Specified by:
getTrackingIdin interfaceFindingOrBuilder- Returns:
- The trackingId.
-
getTrackingIdBytes
public com.google.protobuf.ByteString getTrackingIdBytes()The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;- Specified by:
getTrackingIdBytesin interfaceFindingOrBuilder- Returns:
- The bytes for trackingId.
-
hasOutdatedLibrary
public boolean hasOutdatedLibrary()An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1alpha.OutdatedLibrary outdated_library = 11;- Specified by:
hasOutdatedLibraryin interfaceFindingOrBuilder- Returns:
- Whether the outdatedLibrary field is set.
-
getOutdatedLibrary
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1alpha.OutdatedLibrary outdated_library = 11;- Specified by:
getOutdatedLibraryin interfaceFindingOrBuilder- Returns:
- The outdatedLibrary.
-
getOutdatedLibraryOrBuilder
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1alpha.OutdatedLibrary outdated_library = 11;- Specified by:
getOutdatedLibraryOrBuilderin interfaceFindingOrBuilder
-
hasViolatingResource
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.v1alpha.ViolatingResource violating_resource = 12;- Specified by:
hasViolatingResourcein interfaceFindingOrBuilder- Returns:
- Whether the violatingResource field is set.
-
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;- Specified by:
getViolatingResourcein interfaceFindingOrBuilder- Returns:
- The violatingResource.
-
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;- Specified by:
getViolatingResourceOrBuilderin interfaceFindingOrBuilder
-
hasVulnerableHeaders
public boolean hasVulnerableHeaders()An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders vulnerable_headers = 15;- Specified by:
hasVulnerableHeadersin interfaceFindingOrBuilder- Returns:
- Whether the vulnerableHeaders field is set.
-
getVulnerableHeaders
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders vulnerable_headers = 15;- Specified by:
getVulnerableHeadersin interfaceFindingOrBuilder- Returns:
- The vulnerableHeaders.
-
getVulnerableHeadersOrBuilder
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1alpha.VulnerableHeaders vulnerable_headers = 15;- Specified by:
getVulnerableHeadersOrBuilderin interfaceFindingOrBuilder
-
hasVulnerableParameters
public boolean hasVulnerableParameters()An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1alpha.VulnerableParameters vulnerable_parameters = 13;- Specified by:
hasVulnerableParametersin interfaceFindingOrBuilder- Returns:
- Whether the vulnerableParameters field is set.
-
getVulnerableParameters
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1alpha.VulnerableParameters vulnerable_parameters = 13;- Specified by:
getVulnerableParametersin interfaceFindingOrBuilder- Returns:
- The vulnerableParameters.
-
getVulnerableParametersOrBuilder
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1alpha.VulnerableParameters vulnerable_parameters = 13;- Specified by:
getVulnerableParametersOrBuilderin interfaceFindingOrBuilder
-
hasXss
public boolean hasXss()An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1alpha.Xss xss = 14;- Specified by:
hasXssin interfaceFindingOrBuilder- Returns:
- Whether the xss field is set.
-
getXss
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1alpha.Xss xss = 14;- Specified by:
getXssin interfaceFindingOrBuilder- Returns:
- The xss.
-
getXssOrBuilder
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1alpha.Xss xss = 14;- Specified by:
getXssOrBuilderin interfaceFindingOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Finding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Finding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Finding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Finding.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-