Enum Finding.FindingType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Finding.FindingType>
- Enclosing class:
- Finding
public static enum Finding.FindingType
extends Enum<Finding.FindingType>
implements com.google.protobuf.ProtocolMessageEnum
Types of Findings.Protobuf enum
google.cloud.websecurityscanner.v1alpha.Finding.FindingType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn application appears to be transmitting a password field in clear text.The invalid finding type.An application returns sensitive content with an invalid content type, or without an 'X-Content-Type-Options: nosniff' header.A malformed or invalid valued header.Mismatching values in a duplicate security header.Misspelled security header name.A page that was served over HTTPS also resources over HTTP.The version of an included library is known to contain a security issue.This type of vulnerability occurs when the value of a request parameter is reflected at the beginning of the response, for example, in requests using JSONP.A cross-site scripting (XSS) vulnerability in AngularJS module that occurs when a user-provided string is interpolated by Angular.A cross-site scripting (XSS) bug is found via JavaScript callback.A potential cross-site scripting (XSS) bug due to JavaScript breakage. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn application appears to be transmitting a password field in clear text.static final intThe invalid finding type.static final intAn application returns sensitive content with an invalid content type, or without an 'X-Content-Type-Options: nosniff' header.static final intA malformed or invalid valued header.static final intMismatching values in a duplicate security header.static final intMisspelled security header name.static final intA page that was served over HTTPS also resources over HTTP.static final intThe version of an included library is known to contain a security issue.static final intThis type of vulnerability occurs when the value of a request parameter is reflected at the beginning of the response, for example, in requests using JSONP.static final intA cross-site scripting (XSS) vulnerability in AngularJS module that occurs when a user-provided string is interpolated by Angular.static final intA cross-site scripting (XSS) bug is found via JavaScript callback.static final intA potential cross-site scripting (XSS) bug due to JavaScript breakage. -
Method Summary
Modifier and TypeMethodDescriptionstatic Finding.FindingTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Finding.FindingType>static Finding.FindingTypevalueOf(int value) Deprecated.static Finding.FindingTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Finding.FindingTypeReturns the enum constant of this type with the specified name.static Finding.FindingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FINDING_TYPE_UNSPECIFIED
The invalid finding type.
FINDING_TYPE_UNSPECIFIED = 0; -
MIXED_CONTENT
A page that was served over HTTPS also resources over HTTP. A man-in-the-middle attacker could tamper with the HTTP resource and gain full access to the website that loads the resource or to monitor the actions taken by the user.
MIXED_CONTENT = 1; -
OUTDATED_LIBRARY
The version of an included library is known to contain a security issue. The scanner checks the version of library in use against a known list of vulnerable libraries. False positives are possible if the version detection fails or if the library has been manually patched.
OUTDATED_LIBRARY = 2; -
ROSETTA_FLASH
This type of vulnerability occurs when the value of a request parameter is reflected at the beginning of the response, for example, in requests using JSONP. Under certain circumstances, an attacker may be able to supply an alphanumeric-only Flash file in the vulnerable parameter causing the browser to execute the Flash file as if it originated on the vulnerable server.
ROSETTA_FLASH = 5; -
XSS_CALLBACK
A cross-site scripting (XSS) bug is found via JavaScript callback. For detailed explanations on XSS, see https://www.google.com/about/appsecurity/learning/xss/.
XSS_CALLBACK = 3; -
XSS_ERROR
A potential cross-site scripting (XSS) bug due to JavaScript breakage. In some circumstances, the application under test might modify the test string before it is parsed by the browser. When the browser attempts to runs this modified test string, it will likely break and throw a JavaScript execution error, thus an injection issue is occurring. However, it may not be exploitable. Manual verification is needed to see if the test string modifications can be evaded and confirm that the issue is in fact an XSS vulnerability. For detailed explanations on XSS, see https://www.google.com/about/appsecurity/learning/xss/.
XSS_ERROR = 4; -
CLEAR_TEXT_PASSWORD
An application appears to be transmitting a password field in clear text. An attacker can eavesdrop network traffic and sniff the password field.
CLEAR_TEXT_PASSWORD = 6; -
INVALID_CONTENT_TYPE
An application returns sensitive content with an invalid content type, or without an 'X-Content-Type-Options: nosniff' header.
INVALID_CONTENT_TYPE = 7; -
XSS_ANGULAR_CALLBACK
A cross-site scripting (XSS) vulnerability in AngularJS module that occurs when a user-provided string is interpolated by Angular.
XSS_ANGULAR_CALLBACK = 8; -
INVALID_HEADER
A malformed or invalid valued header.
INVALID_HEADER = 9; -
MISSPELLED_SECURITY_HEADER_NAME
Misspelled security header name.
MISSPELLED_SECURITY_HEADER_NAME = 10; -
MISMATCHING_SECURITY_HEADER_VALUES
Mismatching values in a duplicate security header.
MISMATCHING_SECURITY_HEADER_VALUES = 11; -
UNRECOGNIZED
-
-
Field Details
-
FINDING_TYPE_UNSPECIFIED_VALUE
public static final int FINDING_TYPE_UNSPECIFIED_VALUEThe invalid finding type.
FINDING_TYPE_UNSPECIFIED = 0;- See Also:
-
MIXED_CONTENT_VALUE
public static final int MIXED_CONTENT_VALUEA page that was served over HTTPS also resources over HTTP. A man-in-the-middle attacker could tamper with the HTTP resource and gain full access to the website that loads the resource or to monitor the actions taken by the user.
MIXED_CONTENT = 1;- See Also:
-
OUTDATED_LIBRARY_VALUE
public static final int OUTDATED_LIBRARY_VALUEThe version of an included library is known to contain a security issue. The scanner checks the version of library in use against a known list of vulnerable libraries. False positives are possible if the version detection fails or if the library has been manually patched.
OUTDATED_LIBRARY = 2;- See Also:
-
ROSETTA_FLASH_VALUE
public static final int ROSETTA_FLASH_VALUEThis type of vulnerability occurs when the value of a request parameter is reflected at the beginning of the response, for example, in requests using JSONP. Under certain circumstances, an attacker may be able to supply an alphanumeric-only Flash file in the vulnerable parameter causing the browser to execute the Flash file as if it originated on the vulnerable server.
ROSETTA_FLASH = 5;- See Also:
-
XSS_CALLBACK_VALUE
public static final int XSS_CALLBACK_VALUEA cross-site scripting (XSS) bug is found via JavaScript callback. For detailed explanations on XSS, see https://www.google.com/about/appsecurity/learning/xss/.
XSS_CALLBACK = 3;- See Also:
-
XSS_ERROR_VALUE
public static final int XSS_ERROR_VALUEA potential cross-site scripting (XSS) bug due to JavaScript breakage. In some circumstances, the application under test might modify the test string before it is parsed by the browser. When the browser attempts to runs this modified test string, it will likely break and throw a JavaScript execution error, thus an injection issue is occurring. However, it may not be exploitable. Manual verification is needed to see if the test string modifications can be evaded and confirm that the issue is in fact an XSS vulnerability. For detailed explanations on XSS, see https://www.google.com/about/appsecurity/learning/xss/.
XSS_ERROR = 4;- See Also:
-
CLEAR_TEXT_PASSWORD_VALUE
public static final int CLEAR_TEXT_PASSWORD_VALUEAn application appears to be transmitting a password field in clear text. An attacker can eavesdrop network traffic and sniff the password field.
CLEAR_TEXT_PASSWORD = 6;- See Also:
-
INVALID_CONTENT_TYPE_VALUE
public static final int INVALID_CONTENT_TYPE_VALUEAn application returns sensitive content with an invalid content type, or without an 'X-Content-Type-Options: nosniff' header.
INVALID_CONTENT_TYPE = 7;- See Also:
-
XSS_ANGULAR_CALLBACK_VALUE
public static final int XSS_ANGULAR_CALLBACK_VALUEA cross-site scripting (XSS) vulnerability in AngularJS module that occurs when a user-provided string is interpolated by Angular.
XSS_ANGULAR_CALLBACK = 8;- See Also:
-
INVALID_HEADER_VALUE
public static final int INVALID_HEADER_VALUEA malformed or invalid valued header.
INVALID_HEADER = 9;- See Also:
-
MISSPELLED_SECURITY_HEADER_NAME_VALUE
public static final int MISSPELLED_SECURITY_HEADER_NAME_VALUEMisspelled security header name.
MISSPELLED_SECURITY_HEADER_NAME = 10;- See Also:
-
MISMATCHING_SECURITY_HEADER_VALUES_VALUE
public static final int MISMATCHING_SECURITY_HEADER_VALUES_VALUEMismatching values in a duplicate security header.
MISMATCHING_SECURITY_HEADER_VALUES = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-