Class: Google::Apis::WebsecurityscannerV1::Xss
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1::Xss
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/websecurityscanner_v1/classes.rb,
generated/google/apis/websecurityscanner_v1/representations.rb,
generated/google/apis/websecurityscanner_v1/representations.rb
Overview
Information reported for an XSS.
Instance Attribute Summary collapse
-
#attack_vector ⇒ String
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 Method Summary collapse
-
#initialize(**args) ⇒ Xss
constructor
A new instance of Xss.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Xss
Returns a new instance of Xss
936 937 938 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attack_vector ⇒ String
The attack vector of the payload triggering this XSS.
Corresponds to the JSON property attackVector
919 920 921 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 919 def attack_vector @attack_vector end |
#error_message ⇒ String
An error message generated by a javascript breakage.
Corresponds to the JSON property errorMessage
924 925 926 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 924 def @error_message end |
#stack_traces ⇒ Array<String>
Stack traces leading to the point where the XSS occurred.
Corresponds to the JSON property stackTraces
929 930 931 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 929 def stack_traces @stack_traces end |
#stored_xss_seeding_url ⇒ String
The reproduction url for the seeding POST request of a Stored XSS.
Corresponds to the JSON property storedXssSeedingUrl
934 935 936 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 934 def stored_xss_seeding_url @stored_xss_seeding_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
941 942 943 944 945 946 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 941 def update!(**args) @attack_vector = args[:attack_vector] if args.key?(:attack_vector) @error_message = args[:error_message] if args.key?(:error_message) @stack_traces = args[:stack_traces] if args.key?(:stack_traces) @stored_xss_seeding_url = args[:stored_xss_seeding_url] if args.key?(:stored_xss_seeding_url) end |