lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.62.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.63.0

- old
+ new

@@ -721,12 +721,13 @@ @service_enablement_state = args[:service_enablement_state] if args.key?(:service_enablement_state) @update_time = args[:update_time] if args.key?(:update_time) end end - # CVE stands for Common Vulnerabilities and Exposures. More information: https:// - # cve.mitre.org + # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE + # record](https://www.cve.org/ResourcesSupport/Glossary) that describes this + # vulnerability. class Cve include Google::Apis::Core::Hashable # Common Vulnerability Scoring System version 3. # Corresponds to the JSON property `cvssv3` @@ -2264,10 +2265,17 @@ # with "AND" of other resources. # Corresponds to the JSON property `scope` # @return [String] attr_accessor :scope + # Resource value mapping for Sensitive Data Protection findings. If any of these + # mappings have a resource value that is not unspecified, the resource_value + # field will be ignored when reading this configuration. + # Corresponds to the JSON property `sensitiveDataProtectionMapping` + # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping] + attr_accessor :sensitive_data_protection_mapping + # Required. Tag values combined with AND to check against. Values in the form " # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing # Corresponds to the JSON property `tagValues` # @return [Array<String>] @@ -2289,10 +2297,11 @@ @name = args[:name] if args.key?(:name) @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector) @resource_type = args[:resource_type] if args.key?(:resource_type) @resource_value = args[:resource_value] if args.key?(:resource_value) @scope = args[:scope] if args.key?(:scope) + @sensitive_data_protection_mapping = args[:sensitive_data_protection_mapping] if args.key?(:sensitive_data_protection_mapping) @tag_values = args[:tag_values] if args.key?(:tag_values) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -2393,10 +2402,38 @@ @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end end + # Resource value mapping for Sensitive Data Protection findings. If any of these + # mappings have a resource value that is not unspecified, the resource_value + # field will be ignored when reading this configuration. + class GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping + include Google::Apis::Core::Hashable + + # Resource value mapping for high-sensitivity Sensitive Data Protection findings + # Corresponds to the JSON property `highSensitivityMapping` + # @return [String] + attr_accessor :high_sensitivity_mapping + + # Resource value mapping for medium-sensitivity Sensitive Data Protection + # findings + # Corresponds to the JSON property `mediumSensitivityMapping` + # @return [String] + attr_accessor :medium_sensitivity_mapping + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @high_sensitivity_mapping = args[:high_sensitivity_mapping] if args.key?(:high_sensitivity_mapping) + @medium_sensitivity_mapping = args[:medium_sensitivity_mapping] if args.key?(:medium_sensitivity_mapping) + end + end + # Response of asset discovery run class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse include Google::Apis::Core::Hashable # The duration between asset discovery run start and end @@ -3953,11 +3990,12 @@ # Refers to common vulnerability fields e.g. cve, cvss, cwe etc. class Vulnerability include Google::Apis::Core::Hashable - # CVE stands for Common Vulnerabilities and Exposures. More information: https:// - # cve.mitre.org + # CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE + # record](https://www.cve.org/ResourcesSupport/Glossary) that describes this + # vulnerability. # Corresponds to the JSON property `cve` # @return [Google::Apis::SecuritycenterV1beta2::Cve] attr_accessor :cve # Package is a generic definition of a package.