Class: Google::Apis::WebsecurityscannerV1beta::Xxe
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1beta::Xxe
- 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
-
#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.
1022 1023 1024 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 1022 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
1014 1015 1016 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 1014 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
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 |