Class: Google::Apis::WebsecurityscannerV1::Xxe
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1::Xxe
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/websecurityscanner_v1/classes.rb,
lib/google/apis/websecurityscanner_v1/representations.rb,
lib/google/apis/websecurityscanner_v1/representations.rb
Overview
Information reported for an XXE.
Instance Attribute Summary collapse
-
#payload_location ⇒ String
Location within the request where the payload was placed.
-
#payload_value ⇒ String
The XML string that triggered the XXE vulnerability.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Xxe
constructor
A new instance of Xxe.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Xxe
Returns a new instance of Xxe.
1023 1024 1025 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 1023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload_location ⇒ String
Location within the request where the payload was placed.
Corresponds to the JSON property payloadLocation
1015 1016 1017 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 1015 def payload_location @payload_location end |
#payload_value ⇒ String
The XML string that triggered the XXE vulnerability. Non-payload values might
be redacted.
Corresponds to the JSON property payloadValue
1021 1022 1023 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 1021 def payload_value @payload_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1028 1029 1030 1031 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 1028 def update!(**args) @payload_location = args[:payload_location] if args.key?(:payload_location) @payload_value = args[:payload_value] if args.key?(:payload_value) end |