class Google::Apis::WebsecurityscannerV1::Xss

Information reported for an XSS.

Attributes

attack_vector[RW]

The attack vector of the payload triggering this XSS. Corresponds to the JSON property `attackVector` @return [String]

error_message[RW]

An error message generated by a javascript breakage. Corresponds to the JSON property `errorMessage` @return [String]

stack_traces[RW]

Stack traces leading to the point where the XSS occurred. Corresponds to the JSON property `stackTraces` @return [Array<String>]

stored_xss_seeding_url[RW]

The reproduction url for the seeding POST request of a Stored XSS. Corresponds to the JSON property `storedXssSeedingUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1/classes.rb, line 990
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/websecurityscanner_v1/classes.rb, line 995
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