Class: Google::Apis::WebsecurityscannerV1beta::Xxe

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/websecurityscanner_v1beta/classes.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb

Overview

Information reported for an XXE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Xxe

Returns a new instance of Xxe.



1022
1023
1024
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 1022

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#payload_locationString

Location within the request where the payload was placed. Corresponds to the JSON property payloadLocation

Returns:

  • (String)


1014
1015
1016
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 1014

def payload_location
  @payload_location
end

#payload_valueString

The XML string that triggered the XXE vulnerability. Non-payload values might be redacted. Corresponds to the JSON property payloadValue

Returns:

  • (String)


1020
1021
1022
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 1020

def payload_value
  @payload_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1027
1028
1029
1030
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 1027

def update!(**args)
  @payload_location = args[:payload_location] if args.key?(:payload_location)
  @payload_value = args[:payload_value] if args.key?(:payload_value)
end