Class: Google::Cloud::WebSecurityScanner::V1::Xss
- Inherits:
-
Object
- Object
- Google::Cloud::WebSecurityScanner::V1::Xss
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/websecurityscanner/v1/finding_addon.rb
Overview
Information reported for an XSS.
Defined Under Namespace
Modules: AttackVector
Instance Attribute Summary collapse
-
#attack_vector ⇒ ::Google::Cloud::WebSecurityScanner::V1::Xss::AttackVector
The attack vector of the payload triggering this XSS.
-
#error_message ⇒ ::String
An error message generated by a javascript breakage.
-
#stack_traces ⇒ ::Array<::String>
Stack traces leading to the point where the XSS occurred.
-
#stored_xss_seeding_url ⇒ ::String
The reproduction url for the seeding POST request of a Stored XSS.
Instance Attribute Details
#attack_vector ⇒ ::Google::Cloud::WebSecurityScanner::V1::Xss::AttackVector
Returns The attack vector of the payload triggering this XSS.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/finding_addon.rb', line 110 class Xss include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of XSS attack vector. module AttackVector # Unknown attack vector. ATTACK_VECTOR_UNSPECIFIED = 0 # The attack comes from fuzzing the browser's localStorage. LOCAL_STORAGE = 1 # The attack comes from fuzzing the browser's sessionStorage. SESSION_STORAGE = 2 # The attack comes from fuzzing the window's name property. WINDOW_NAME = 3 # The attack comes from fuzzing the referrer property. REFERRER = 4 # The attack comes from fuzzing an input element. FORM_INPUT = 5 # The attack comes from fuzzing the browser's cookies. COOKIE = 6 # The attack comes from hijacking the post messaging mechanism. POST_MESSAGE = 7 # The attack comes from fuzzing parameters in the url. GET_PARAMETERS = 8 # The attack comes from fuzzing the fragment in the url. URL_FRAGMENT = 9 # The attack comes from fuzzing the HTML comments. HTML_COMMENT = 10 # The attack comes from fuzzing the POST parameters. POST_PARAMETERS = 11 # The attack comes from fuzzing the protocol. PROTOCOL = 12 # The attack comes from the server side and is stored. STORED_XSS = 13 # The attack is a Same-Origin Method Execution attack via a GET parameter. SAME_ORIGIN = 14 # The attack payload is received from a third-party host via a URL that is # user-controllable USER_CONTROLLABLE_URL = 15 end end |
#error_message ⇒ ::String
Returns An error message generated by a javascript breakage.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/finding_addon.rb', line 110 class Xss include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of XSS attack vector. module AttackVector # Unknown attack vector. ATTACK_VECTOR_UNSPECIFIED = 0 # The attack comes from fuzzing the browser's localStorage. LOCAL_STORAGE = 1 # The attack comes from fuzzing the browser's sessionStorage. SESSION_STORAGE = 2 # The attack comes from fuzzing the window's name property. WINDOW_NAME = 3 # The attack comes from fuzzing the referrer property. REFERRER = 4 # The attack comes from fuzzing an input element. FORM_INPUT = 5 # The attack comes from fuzzing the browser's cookies. COOKIE = 6 # The attack comes from hijacking the post messaging mechanism. POST_MESSAGE = 7 # The attack comes from fuzzing parameters in the url. GET_PARAMETERS = 8 # The attack comes from fuzzing the fragment in the url. URL_FRAGMENT = 9 # The attack comes from fuzzing the HTML comments. HTML_COMMENT = 10 # The attack comes from fuzzing the POST parameters. POST_PARAMETERS = 11 # The attack comes from fuzzing the protocol. PROTOCOL = 12 # The attack comes from the server side and is stored. STORED_XSS = 13 # The attack is a Same-Origin Method Execution attack via a GET parameter. SAME_ORIGIN = 14 # The attack payload is received from a third-party host via a URL that is # user-controllable USER_CONTROLLABLE_URL = 15 end end |
#stack_traces ⇒ ::Array<::String>
Returns Stack traces leading to the point where the XSS occurred.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/finding_addon.rb', line 110 class Xss include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of XSS attack vector. module AttackVector # Unknown attack vector. ATTACK_VECTOR_UNSPECIFIED = 0 # The attack comes from fuzzing the browser's localStorage. LOCAL_STORAGE = 1 # The attack comes from fuzzing the browser's sessionStorage. SESSION_STORAGE = 2 # The attack comes from fuzzing the window's name property. WINDOW_NAME = 3 # The attack comes from fuzzing the referrer property. REFERRER = 4 # The attack comes from fuzzing an input element. FORM_INPUT = 5 # The attack comes from fuzzing the browser's cookies. COOKIE = 6 # The attack comes from hijacking the post messaging mechanism. POST_MESSAGE = 7 # The attack comes from fuzzing parameters in the url. GET_PARAMETERS = 8 # The attack comes from fuzzing the fragment in the url. URL_FRAGMENT = 9 # The attack comes from fuzzing the HTML comments. HTML_COMMENT = 10 # The attack comes from fuzzing the POST parameters. POST_PARAMETERS = 11 # The attack comes from fuzzing the protocol. PROTOCOL = 12 # The attack comes from the server side and is stored. STORED_XSS = 13 # The attack is a Same-Origin Method Execution attack via a GET parameter. SAME_ORIGIN = 14 # The attack payload is received from a third-party host via a URL that is # user-controllable USER_CONTROLLABLE_URL = 15 end end |
#stored_xss_seeding_url ⇒ ::String
Returns The reproduction url for the seeding POST request of a Stored XSS.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/finding_addon.rb', line 110 class Xss include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of XSS attack vector. module AttackVector # Unknown attack vector. ATTACK_VECTOR_UNSPECIFIED = 0 # The attack comes from fuzzing the browser's localStorage. LOCAL_STORAGE = 1 # The attack comes from fuzzing the browser's sessionStorage. SESSION_STORAGE = 2 # The attack comes from fuzzing the window's name property. WINDOW_NAME = 3 # The attack comes from fuzzing the referrer property. REFERRER = 4 # The attack comes from fuzzing an input element. FORM_INPUT = 5 # The attack comes from fuzzing the browser's cookies. COOKIE = 6 # The attack comes from hijacking the post messaging mechanism. POST_MESSAGE = 7 # The attack comes from fuzzing parameters in the url. GET_PARAMETERS = 8 # The attack comes from fuzzing the fragment in the url. URL_FRAGMENT = 9 # The attack comes from fuzzing the HTML comments. HTML_COMMENT = 10 # The attack comes from fuzzing the POST parameters. POST_PARAMETERS = 11 # The attack comes from fuzzing the protocol. PROTOCOL = 12 # The attack comes from the server side and is stored. STORED_XSS = 13 # The attack is a Same-Origin Method Execution attack via a GET parameter. SAME_ORIGIN = 14 # The attack payload is received from a third-party host via a URL that is # user-controllable USER_CONTROLLABLE_URL = 15 end end |