class Google::Apis::WebsecurityscannerV1beta::Finding
A Finding
resource represents a vulnerability instance identified during a ScanRun
.
Attributes
The body of the request that triggered the vulnerability. Corresponds to the JSON property `body` @return [String]
The description of the vulnerability. Corresponds to the JSON property `description` @return [String]
The URL where the browser lands when the vulnerability is detected. Corresponds to the JSON property `finalUrl` @return [String]
The type of the Finding
. Detailed and up-to-date information on findings can be found here: cloud.google.com/security-command-center/docs/how-to- remediate-web-security-scanner Corresponds to the JSON property `findingType` @return [String]
! Information about a vulnerability with an HTML. Corresponds to the JSON property `form` @return [Google::Apis::WebsecurityscannerV1beta::Form]
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported. Corresponds to the JSON property `frameUrl` @return [String]
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability. Corresponds to the JSON property `fuzzedUrl` @return [String]
The http method of the request that triggered the vulnerability, in uppercase. Corresponds to the JSON property `httpMethod` @return [String]
The resource name of the Finding
. The name follows the format of 'projects/` projectId`/scanConfigs/`scanConfigId`/scanruns/`scanRunId`/findings/`findingId` '. The finding IDs are generated by the system. Corresponds to the JSON property `name` @return [String]
Information reported for an outdated library. Corresponds to the JSON property `outdatedLibrary` @return [Google::Apis::WebsecurityscannerV1beta::OutdatedLibrary]
The URL containing human-readable payload that user can leverage to reproduce the vulnerability. Corresponds to the JSON property `reproductionUrl` @return [String]
The severity level of the reported vulnerability. Corresponds to the JSON property `severity` @return [String]
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns. Corresponds to the JSON property `trackingId` @return [String]
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. Corresponds to the JSON property `violatingResource` @return [Google::Apis::WebsecurityscannerV1beta::ViolatingResource]
Information about vulnerable or missing HTTP Headers. Corresponds to the JSON property `vulnerableHeaders` @return [Google::Apis::WebsecurityscannerV1beta::VulnerableHeaders]
Information about vulnerable request parameters. Corresponds to the JSON property `vulnerableParameters` @return [Google::Apis::WebsecurityscannerV1beta::VulnerableParameters]
Information reported for an XSS. Corresponds to the JSON property `xss` @return [Google::Apis::WebsecurityscannerV1beta::Xss]
Public Class Methods
# File lib/google/apis/websecurityscanner_v1beta/classes.rb, line 237 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/websecurityscanner_v1beta/classes.rb, line 242 def update!(**args) @body = args[:body] if args.key?(:body) @description = args[:description] if args.key?(:description) @final_url = args[:final_url] if args.key?(:final_url) @finding_type = args[:finding_type] if args.key?(:finding_type) @form = args[:form] if args.key?(:form) @frame_url = args[:frame_url] if args.key?(:frame_url) @fuzzed_url = args[:fuzzed_url] if args.key?(:fuzzed_url) @http_method = args[:http_method] if args.key?(:http_method) @name = args[:name] if args.key?(:name) @outdated_library = args[:outdated_library] if args.key?(:outdated_library) @reproduction_url = args[:reproduction_url] if args.key?(:reproduction_url) @severity = args[:severity] if args.key?(:severity) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) @violating_resource = args[:violating_resource] if args.key?(:violating_resource) @vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers) @vulnerable_parameters = args[:vulnerable_parameters] if args.key?(:vulnerable_parameters) @xss = args[:xss] if args.key?(:xss) end