lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.7.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.8.0
- old
+ new
@@ -32,10 +32,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Cve
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Cvssv3
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Details
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -122,10 +134,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Reference
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class SecurityCenterSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -146,10 +164,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Vulnerability
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class WebSecurityScannerSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -172,10 +196,36 @@
property :service_enablement_state, as: 'serviceEnablementState'
property :update_time, as: 'updateTime'
end
end
+ class Cve
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :cvssv3, as: 'cvssv3', class: Google::Apis::SecuritycenterV1beta2::Cvssv3, decorator: Google::Apis::SecuritycenterV1beta2::Cvssv3::Representation
+
+ property :id, as: 'id'
+ collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::Reference, decorator: Google::Apis::SecuritycenterV1beta2::Reference::Representation
+
+ end
+ end
+
+ class Cvssv3
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :attack_complexity, as: 'attackComplexity'
+ property :attack_vector, as: 'attackVector'
+ property :availability_impact, as: 'availabilityImpact'
+ property :base_score, as: 'baseScore'
+ property :confidentiality_impact, as: 'confidentialityImpact'
+ property :integrity_impact, as: 'integrityImpact'
+ property :privileges_required, as: 'privilegesRequired'
+ property :scope, as: 'scope'
+ property :user_interaction, as: 'userInteraction'
+ end
+ end
+
class Details
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
@@ -211,10 +261,12 @@
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
property :severity, as: 'severity'
hash :source_properties, as: 'sourceProperties'
property :state, as: 'state'
+ property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::Vulnerability::Representation
+
end
end
class Folder
# @private
@@ -243,10 +295,11 @@
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
+ property :type, as: 'type'
end
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
# @private
@@ -338,10 +391,18 @@
collection :domains, as: 'domains'
collection :ip_addresses, as: 'ipAddresses'
end
end
+ class Reference
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :source, as: 'source'
+ property :uri, as: 'uri'
+ end
+ end
+
class SecurityCenterSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :log_sink_project, as: 'logSinkProject'
property :name, as: 'name'
@@ -375,9 +436,17 @@
class Representation < Google::Apis::Core::JsonRepresentation
property :details, as: 'details', class: Google::Apis::SecuritycenterV1beta2::Details, decorator: Google::Apis::SecuritycenterV1beta2::Details::Representation
property :name, as: 'name'
property :tier, as: 'tier'
+ end
+ end
+
+ class Vulnerability
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::Cve, decorator: Google::Apis::SecuritycenterV1beta2::Cve::Representation
+
end
end
class WebSecurityScannerSettings
# @private