lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.71.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.72.0

- old
+ new

@@ -104,10 +104,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AzureTenant + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackupDisasterRecovery class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -194,10 +200,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DataAccessEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataFlowEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Database class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -212,16 +230,28 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Disk + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DiskPath class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DynamicMuteRecord + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EnvironmentVariable class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -500,10 +530,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2AzureTenant + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2BackupDisasterRecovery class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -590,10 +626,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2DataAccessEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2DataFlowEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Database class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -602,16 +650,28 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2Disk + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2DiskPath class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2DynamicMuteRecord + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2EnvironmentVariable class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -722,10 +782,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2MuteInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Node class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -866,10 +932,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2StaticMute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Subject class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -956,10 +1028,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class MuteInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Node class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -1094,10 +1172,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class StaticMute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Subject class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -1275,16 +1359,19 @@ property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta2::AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta2::AzureResourceGroup::Representation property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta2::AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta2::AzureSubscription::Representation + property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1beta2::AzureTenant, decorator: Google::Apis::SecuritycenterV1beta2::AzureTenant::Representation + end end class AzureResourceGroup # @private class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' property :name, as: 'name' end end class AzureSubscription @@ -1293,10 +1380,18 @@ property :display_name, as: 'displayName' property :id, as: 'id' end end + class AzureTenant + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + end + end + class BackupDisasterRecovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance, as: 'appliance' collection :applications, as: 'applications' @@ -1439,11 +1534,13 @@ 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 :exploit_release_date, as: 'exploitReleaseDate' property :exploitation_activity, as: 'exploitationActivity' + property :first_exploitation_date, as: 'firstExploitationDate' property :id, as: 'id' property :impact, as: 'impact' property :observed_in_the_wild, as: 'observedInTheWild' collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::Reference, decorator: Google::Apis::SecuritycenterV1beta2::Reference::Representation @@ -1465,10 +1562,31 @@ property :scope, as: 'scope' property :user_interaction, as: 'userInteraction' end end + class DataAccessEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_id, as: 'eventId' + property :event_time, as: 'eventTime' + property :operation, as: 'operation' + property :principal_email, as: 'principalEmail' + end + end + + class DataFlowEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_id, as: 'eventId' + property :event_time, as: 'eventTime' + property :operation, as: 'operation' + property :principal_email, as: 'principalEmail' + property :violated_location, as: 'violatedLocation' + end + end + class Database # @private class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' collection :grantees, as: 'grantees' @@ -1494,18 +1612,33 @@ property :binary, as: 'binary' property :percent_pages_matched, as: 'percentPagesMatched' end end + class Disk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + class DiskPath # @private class Representation < Google::Apis::Core::JsonRepresentation property :partition_uuid, as: 'partitionUuid' property :relative_path, as: 'relativePath' end end + class DynamicMuteRecord + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :match_time, as: 'matchTime' + property :mute_config, as: 'muteConfig' + end + end + class EnvironmentVariable # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :val, as: 'val' @@ -1592,13 +1725,19 @@ hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::ContactDetails::Representation collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation property :create_time, as: 'createTime' + collection :data_access_events, as: 'dataAccessEvents', class: Google::Apis::SecuritycenterV1beta2::DataAccessEvent, decorator: Google::Apis::SecuritycenterV1beta2::DataAccessEvent::Representation + + collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1beta2::DataFlowEvent, decorator: Google::Apis::SecuritycenterV1beta2::DataFlowEvent::Representation + property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta2::Database, decorator: Google::Apis::SecuritycenterV1beta2::Database::Representation property :description, as: 'description' + property :disk, as: 'disk', class: Google::Apis::SecuritycenterV1beta2::Disk, decorator: Google::Apis::SecuritycenterV1beta2::Disk::Representation + property :event_time, as: 'eventTime' property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation @@ -1622,10 +1761,12 @@ property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation property :module_name, as: 'moduleName' property :mute, as: 'mute' + property :mute_info, as: 'muteInfo', class: Google::Apis::SecuritycenterV1beta2::MuteInfo, decorator: Google::Apis::SecuritycenterV1beta2::MuteInfo::Representation + property :mute_initiator, as: 'muteInitiator' property :mute_update_time, as: 'muteUpdateTime' property :name, as: 'name' property :next_steps, as: 'nextSteps' property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta2::Notebook, decorator: Google::Apis::SecuritycenterV1beta2::Notebook::Representation @@ -1735,10 +1876,11 @@ end class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_provider, as: 'cloudProvider' property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig::Representation property :display_name, as: 'displayName' property :enablement_state, as: 'enablementState' property :name, as: 'name' @@ -1767,13 +1909,15 @@ # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' property :display_name, as: 'displayName' + property :expiry_time, as: 'expiryTime' property :filter, as: 'filter' property :most_recent_editor, as: 'mostRecentEditor' property :name, as: 'name' + property :type, as: 'type' property :update_time, as: 'updateTime' end end class GoogleCloudSecuritycenterV1NotificationMessage @@ -1857,10 +2001,11 @@ class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule # @private class Representation < Google::Apis::Core::JsonRepresentation property :ancestor_module, as: 'ancestorModule' + property :cloud_provider, as: 'cloudProvider' property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1CustomConfig::Representation property :display_name, as: 'displayName' property :enablement_state, as: 'enablementState' property :last_editor, as: 'lastEditor' @@ -2072,16 +2217,19 @@ property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup::Representation property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription::Representation + property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureTenant, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureTenant::Representation + end end class GoogleCloudSecuritycenterV2AzureResourceGroup # @private class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' property :name, as: 'name' end end class GoogleCloudSecuritycenterV2AzureSubscription @@ -2090,10 +2238,18 @@ property :display_name, as: 'displayName' property :id, as: 'id' end end + class GoogleCloudSecuritycenterV2AzureTenant + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + end + end + class GoogleCloudSecuritycenterV2BackupDisasterRecovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance, as: 'appliance' collection :applications, as: 'applications' @@ -2234,11 +2390,13 @@ class GoogleCloudSecuritycenterV2Cve # @private class Representation < Google::Apis::Core::JsonRepresentation property :cvssv3, as: 'cvssv3', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cvssv3, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cvssv3::Representation + property :exploit_release_date, as: 'exploitReleaseDate' property :exploitation_activity, as: 'exploitationActivity' + property :first_exploitation_date, as: 'firstExploitationDate' property :id, as: 'id' property :impact, as: 'impact' property :observed_in_the_wild, as: 'observedInTheWild' collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference::Representation @@ -2260,10 +2418,31 @@ property :scope, as: 'scope' property :user_interaction, as: 'userInteraction' end end + class GoogleCloudSecuritycenterV2DataAccessEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_id, as: 'eventId' + property :event_time, as: 'eventTime' + property :operation, as: 'operation' + property :principal_email, as: 'principalEmail' + end + end + + class GoogleCloudSecuritycenterV2DataFlowEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_id, as: 'eventId' + property :event_time, as: 'eventTime' + property :operation, as: 'operation' + property :principal_email, as: 'principalEmail' + property :violated_location, as: 'violatedLocation' + end + end + class GoogleCloudSecuritycenterV2Database # @private class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' collection :grantees, as: 'grantees' @@ -2280,18 +2459,33 @@ property :binary, as: 'binary' property :percent_pages_matched, as: 'percentPagesMatched' end end + class GoogleCloudSecuritycenterV2Disk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + class GoogleCloudSecuritycenterV2DiskPath # @private class Representation < Google::Apis::Core::JsonRepresentation property :partition_uuid, as: 'partitionUuid' property :relative_path, as: 'relativePath' end end + class GoogleCloudSecuritycenterV2DynamicMuteRecord + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :match_time, as: 'matchTime' + property :mute_config, as: 'muteConfig' + end + end + class GoogleCloudSecuritycenterV2EnvironmentVariable # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :val, as: 'val' @@ -2375,13 +2569,19 @@ hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ContactDetails::Representation collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Container, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Container::Representation property :create_time, as: 'createTime' + collection :data_access_events, as: 'dataAccessEvents', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataAccessEvent, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataAccessEvent::Representation + + collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataFlowEvent, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataFlowEvent::Representation + property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Database::Representation property :description, as: 'description' + property :disk, as: 'disk', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Disk, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Disk::Representation + property :event_time, as: 'eventTime' property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Exfiltration::Representation hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExternalSystem::Representation @@ -2405,10 +2605,12 @@ property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MitreAttack::Representation property :module_name, as: 'moduleName' property :mute, as: 'mute' + property :mute_info, as: 'muteInfo', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MuteInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MuteInfo::Representation + property :mute_initiator, as: 'muteInitiator' property :mute_update_time, as: 'muteUpdateTime' property :name, as: 'name' property :next_steps, as: 'nextSteps' property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Notebook, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Notebook::Representation @@ -2558,18 +2760,29 @@ class GoogleCloudSecuritycenterV2MuteConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' + property :expiry_time, as: 'expiryTime' property :filter, as: 'filter' property :most_recent_editor, as: 'mostRecentEditor' property :name, as: 'name' property :type, as: 'type' property :update_time, as: 'updateTime' end end + class GoogleCloudSecuritycenterV2MuteInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dynamic_mute_records, as: 'dynamicMuteRecords', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DynamicMuteRecord::Representation + + property :static_mute, as: 'staticMute', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2StaticMute, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2StaticMute::Representation + + end + end + class GoogleCloudSecuritycenterV2Node # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' end @@ -2825,10 +3038,18 @@ property :principal_email, as: 'principalEmail' property :principal_subject, as: 'principalSubject' end end + class GoogleCloudSecuritycenterV2StaticMute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :apply_time, as: 'applyTime' + property :state, as: 'state' + end + end + class GoogleCloudSecuritycenterV2Subject # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :name, as: 'name' @@ -2981,10 +3202,20 @@ collection :primary_techniques, as: 'primaryTechniques' property :version, as: 'version' end end + class MuteInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dynamic_mute_records, as: 'dynamicMuteRecords', class: Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord, decorator: Google::Apis::SecuritycenterV1beta2::DynamicMuteRecord::Representation + + property :static_mute, as: 'staticMute', class: Google::Apis::SecuritycenterV1beta2::StaticMute, decorator: Google::Apis::SecuritycenterV1beta2::StaticMute::Representation + + end + end + class Node # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' end @@ -3212,9 +3443,17 @@ class ServiceAccountDelegationInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :principal_email, as: 'principalEmail' property :principal_subject, as: 'principalSubject' + end + end + + class StaticMute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :apply_time, as: 'applyTime' + property :state, as: 'state' end end class Subject # @private