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.
Constructor Details
#initialize(**args) ⇒ Xss
Returns a new instance of Xss.
983 984 985 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 983 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
966 967 968 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 966 def attack_vector @attack_vector end |
#error_message ⇒ String
An error message generated by a javascript breakage.
Corresponds to the JSON property errorMessage
971 972 973 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 971 def @error_message end |
#stack_traces ⇒ Array<String>
Stack traces leading to the point where the XSS occurred.
Corresponds to the JSON property stackTraces
976 977 978 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 976 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
981 982 983 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 981 def stored_xss_seeding_url @stored_xss_seeding_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
988 989 990 991 992 993 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 988 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 |