generated/google/apis/websecurityscanner_v1alpha/classes.rb in google-api-client-0.23.4 vs generated/google/apis/websecurityscanner_v1alpha/classes.rb in google-api-client-0.23.5
- old
+ new
@@ -95,11 +95,11 @@
attr_accessor :login_url
# Input only.
# Required.
# The password of the custom account. The credential is stored encrypted
- # and not returned in any response.
+ # and not returned in any response nor included in audit logs.
# Corresponds to the JSON property `password`
# @return [String]
attr_accessor :password
# Required.
@@ -221,10 +221,15 @@
# as JavaScript sources, image, audio files, etc.
# Corresponds to the JSON property `violatingResource`
# @return [Google::Apis::WebsecurityscannerV1alpha::ViolatingResource]
attr_accessor :violating_resource
+ # Information about vulnerable or missing HTTP Headers.
+ # Corresponds to the JSON property `vulnerableHeaders`
+ # @return [Google::Apis::WebsecurityscannerV1alpha::VulnerableHeaders]
+ attr_accessor :vulnerable_headers
+
# Information about vulnerable request parameters.
# Corresponds to the JSON property `vulnerableParameters`
# @return [Google::Apis::WebsecurityscannerV1alpha::VulnerableParameters]
attr_accessor :vulnerable_parameters
@@ -249,10 +254,11 @@
@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)
@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
end
@@ -289,11 +295,11 @@
include Google::Apis::Core::Hashable
# Input only.
# Required.
# The password of the Google account. The credential is stored encrypted
- # and not returned in any response.
+ # and not returned in any response nor included in audit logs.
# Corresponds to the JSON property `password`
# @return [String]
attr_accessor :password
# Required.
@@ -311,10 +317,35 @@
@password = args[:password] if args.key?(:password)
@username = args[:username] if args.key?(:username)
end
end
+ # Describes a HTTP Header.
+ class Header
+ include Google::Apis::Core::Hashable
+
+ # Header name.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # Header value.
+ # Corresponds to the JSON property `value`
+ # @return [String]
+ attr_accessor :value
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
+ @value = args[:value] if args.key?(:value)
+ end
+ end
+
# Response for the `ListCrawledUrls` method.
class ListCrawledUrlsResponse
include Google::Apis::Core::Hashable
# The list of CrawledUrls returned.
@@ -707,9 +738,34 @@
# Update properties of this object
def update!(**args)
@content_type = args[:content_type] if args.key?(:content_type)
@resource_url = args[:resource_url] if args.key?(:resource_url)
+ end
+ end
+
+ # Information about vulnerable or missing HTTP Headers.
+ class VulnerableHeaders
+ include Google::Apis::Core::Hashable
+
+ # List of vulnerable headers.
+ # Corresponds to the JSON property `headers`
+ # @return [Array<Google::Apis::WebsecurityscannerV1alpha::Header>]
+ attr_accessor :headers
+
+ # List of missing headers.
+ # Corresponds to the JSON property `missingHeaders`
+ # @return [Array<Google::Apis::WebsecurityscannerV1alpha::Header>]
+ attr_accessor :missing_headers
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @headers = args[:headers] if args.key?(:headers)
+ @missing_headers = args[:missing_headers] if args.key?(:missing_headers)
end
end
# Information about vulnerable request parameters.
class VulnerableParameters