lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.59.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.60.0

- old
+ new

@@ -74,16 +74,10 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ComplianceSnapshot - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Config class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -146,10 +140,16 @@ 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 EnvironmentVariable class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -332,340 +332,10 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudSecuritycenterV2Access - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2AccessReview - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Application - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2AttackExposure - 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 - - class GoogleCloudSecuritycenterV2BigQueryExport - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Binding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2CloudDlpDataProfile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2CloudDlpInspection - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2CloudLoggingEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Compliance - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Connection - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Contact - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2ContactDetails - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Container - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Cve - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Cvssv3 - 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 - - class GoogleCloudSecuritycenterV2Detection - 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 - - class GoogleCloudSecuritycenterV2ExfilResource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Exfiltration - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2ExternalSystem - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2File - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Finding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Geolocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2IamBinding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Indicator - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2KernelRootkit - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Kubernetes - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Label - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2LoadBalancer - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2LogEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2MemoryHashSignature - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2MitreAttack - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2MuteConfig - 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 - - class GoogleCloudSecuritycenterV2NodePool - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2NotificationMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Object - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2OrgPolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Pod - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Process - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2ProcessSignature - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Reference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Resource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2ResourceValueConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2Role - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2SecurityMarks - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2SecurityPosture - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo - 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 - - class GoogleCloudSecuritycenterV2Vulnerability - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudSecuritycenterV2YaraRuleSignature - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class IamBinding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -740,10 +410,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Package + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Pod class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -776,10 +452,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SecurityBulletin + 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 @@ -948,24 +630,10 @@ property :standard, as: 'standard' property :version, as: 'version' end end - class ComplianceSnapshot - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :category, as: 'category' - property :compliance_standard, as: 'complianceStandard' - property :compliance_version, as: 'complianceVersion' - property :count, :numeric_string => true, as: 'count' - property :leaf_container_resource, as: 'leafContainerResource' - property :name, as: 'name' - property :project_display_name, as: 'projectDisplayName' - property :snapshot_time, as: 'snapshotTime' - end - end - class Config # @private class Representation < Google::Apis::Core::JsonRepresentation property :module_enablement_state, as: 'moduleEnablementState' hash :value, as: 'value' @@ -1076,10 +744,18 @@ property :binary, as: 'binary' property :percent_pages_matched, as: 'percentPagesMatched' end end + class DiskPath + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_uuid, as: 'partitionUuid' + property :relative_path, as: 'relativePath' + end + end + class EnvironmentVariable # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :val, as: 'val' @@ -1128,10 +804,12 @@ class File # @private class Representation < Google::Apis::Core::JsonRepresentation property :contents, as: 'contents' + property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::DiskPath::Representation + property :hashed_size, :numeric_string => true, as: 'hashedSize' property :partially_hashed, as: 'partiallyHashed' property :path, as: 'path' property :sha256, as: 'sha256' property :size, :numeric_string => true, as: 'size' @@ -1473,658 +1151,10 @@ hash :marks, as: 'marks' property :name, as: 'name' end end - class GoogleCloudSecuritycenterV2Access - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :caller_ip, as: 'callerIp' - property :caller_ip_geo, as: 'callerIpGeo', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Geolocation, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Geolocation::Representation - - property :method_name, as: 'methodName' - property :principal_email, as: 'principalEmail' - property :principal_subject, as: 'principalSubject' - collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo::Representation - - property :service_account_key_name, as: 'serviceAccountKeyName' - property :service_name, as: 'serviceName' - property :user_agent, as: 'userAgent' - property :user_agent_family, as: 'userAgentFamily' - property :user_name, as: 'userName' - end - end - - class GoogleCloudSecuritycenterV2AccessReview - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :group, as: 'group' - property :name, as: 'name' - property :ns, as: 'ns' - property :resource, as: 'resource' - property :subresource, as: 'subresource' - property :verb, as: 'verb' - property :version, as: 'version' - end - end - - class GoogleCloudSecuritycenterV2Application - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :base_uri, as: 'baseUri' - property :full_uri, as: 'fullUri' - end - end - - class GoogleCloudSecuritycenterV2AttackExposure - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :attack_exposure_result, as: 'attackExposureResult' - property :exposed_high_value_resources_count, as: 'exposedHighValueResourcesCount' - property :exposed_low_value_resources_count, as: 'exposedLowValueResourcesCount' - property :exposed_medium_value_resources_count, as: 'exposedMediumValueResourcesCount' - property :latest_calculation_time, as: 'latestCalculationTime' - property :score, as: 'score' - property :state, as: 'state' - end - end - - class GoogleCloudSecuritycenterV2BackupDisasterRecovery - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :appliance, as: 'appliance' - collection :applications, as: 'applications' - property :backup_create_time, as: 'backupCreateTime' - property :backup_template, as: 'backupTemplate' - property :backup_type, as: 'backupType' - property :host, as: 'host' - collection :policies, as: 'policies' - collection :policy_options, as: 'policyOptions' - property :profile, as: 'profile' - property :storage_pool, as: 'storagePool' - end - end - - class GoogleCloudSecuritycenterV2BigQueryExport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :dataset, as: 'dataset' - property :description, as: 'description' - property :filter, as: 'filter' - property :most_recent_editor, as: 'mostRecentEditor' - property :name, as: 'name' - property :principal, as: 'principal' - property :update_time, as: 'updateTime' - end - end - - class GoogleCloudSecuritycenterV2Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :ns, as: 'ns' - property :role, as: 'role', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role::Representation - - collection :subjects, as: 'subjects', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Subject, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Subject::Representation - - end - end - - class GoogleCloudSecuritycenterV2BulkMuteFindingsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudSecuritycenterV2CloudDlpDataProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data_profile, as: 'dataProfile' - property :parent_type, as: 'parentType' - end - end - - class GoogleCloudSecuritycenterV2CloudDlpInspection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :full_scan, as: 'fullScan' - property :info_type, as: 'infoType' - property :info_type_count, :numeric_string => true, as: 'infoTypeCount' - property :inspect_job, as: 'inspectJob' - end - end - - class GoogleCloudSecuritycenterV2CloudLoggingEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :insert_id, as: 'insertId' - property :log_id, as: 'logId' - property :resource_container, as: 'resourceContainer' - property :timestamp, as: 'timestamp' - end - end - - class GoogleCloudSecuritycenterV2Compliance - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ids, as: 'ids' - property :standard, as: 'standard' - property :version, as: 'version' - end - end - - class GoogleCloudSecuritycenterV2Connection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :destination_ip, as: 'destinationIp' - property :destination_port, as: 'destinationPort' - property :protocol, as: 'protocol' - property :source_ip, as: 'sourceIp' - property :source_port, as: 'sourcePort' - end - end - - class GoogleCloudSecuritycenterV2Contact - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :email, as: 'email' - end - end - - class GoogleCloudSecuritycenterV2ContactDetails - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Contact, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Contact::Representation - - end - end - - class GoogleCloudSecuritycenterV2Container - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :image_id, as: 'imageId' - collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Label, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Label::Representation - - property :name, as: 'name' - property :uri, as: 'uri' - end - end - - 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 :id, as: 'id' - collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference::Representation - - property :upstream_fix_available, as: 'upstreamFixAvailable' - end - end - - class GoogleCloudSecuritycenterV2Cvssv3 - # @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 GoogleCloudSecuritycenterV2Database - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - collection :grantees, as: 'grantees' - property :name, as: 'name' - property :query, as: 'query' - property :user_name, as: 'userName' - property :version, as: 'version' - end - end - - class GoogleCloudSecuritycenterV2Detection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :binary, as: 'binary' - property :percent_pages_matched, as: 'percentPagesMatched' - end - end - - class GoogleCloudSecuritycenterV2EnvironmentVariable - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :val, as: 'val' - end - end - - class GoogleCloudSecuritycenterV2ExfilResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :components, as: 'components' - property :name, as: 'name' - end - end - - class GoogleCloudSecuritycenterV2Exfiltration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sources, as: 'sources', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExfilResource::Representation - - collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExfilResource::Representation - - property :total_exfiltrated_bytes, :numeric_string => true, as: 'totalExfiltratedBytes' - end - end - - class GoogleCloudSecuritycenterV2ExternalSystem - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :assignees, as: 'assignees' - property :external_system_update_time, as: 'externalSystemUpdateTime' - property :external_uid, as: 'externalUid' - property :name, as: 'name' - property :status, as: 'status' - end - end - - class GoogleCloudSecuritycenterV2File - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :contents, as: 'contents' - property :hashed_size, :numeric_string => true, as: 'hashedSize' - property :partially_hashed, as: 'partiallyHashed' - property :path, as: 'path' - property :sha256, as: 'sha256' - property :size, :numeric_string => true, as: 'size' - end - end - - class GoogleCloudSecuritycenterV2Finding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access::Representation - - property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application::Representation - - property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure::Representation - - property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery::Representation - - property :canonical_name, as: 'canonicalName' - property :category, as: 'category' - property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation - - property :cloud_dlp_inspection, as: 'cloudDlpInspection', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpInspection, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpInspection::Representation - - collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Compliance, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Compliance::Representation - - collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Connection, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Connection::Representation - - 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' - property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Database::Representation - - property :description, as: 'description' - 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 - - property :external_uri, as: 'externalUri' - collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File::Representation - - property :finding_class, as: 'findingClass' - collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding::Representation - - property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator::Representation - - property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit::Representation - - property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes::Representation - - collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2LoadBalancer::Representation - - collection :log_entries, as: 'logEntries', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2LogEntry, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2LogEntry::Representation - - 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_initiator, as: 'muteInitiator' - property :mute_update_time, as: 'muteUpdateTime' - property :name, as: 'name' - property :next_steps, as: 'nextSteps' - collection :org_policies, as: 'orgPolicies', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2OrgPolicy, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2OrgPolicy::Representation - - property :parent, as: 'parent' - property :parent_display_name, as: 'parentDisplayName' - collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process::Representation - - property :resource_name, as: 'resourceName' - property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityMarks::Representation - - property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture::Representation - - property :severity, as: 'severity' - hash :source_properties, as: 'sourceProperties' - property :state, as: 'state' - property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability::Representation - - end - end - - class GoogleCloudSecuritycenterV2Geolocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :region_code, as: 'regionCode' - end - end - - class GoogleCloudSecuritycenterV2IamBinding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action, as: 'action' - property :member, as: 'member' - property :role, as: 'role' - end - end - - class GoogleCloudSecuritycenterV2Indicator - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :domains, as: 'domains' - collection :ip_addresses, as: 'ipAddresses' - collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ProcessSignature, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ProcessSignature::Representation - - collection :uris, as: 'uris' - end - end - - class GoogleCloudSecuritycenterV2KernelRootkit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :unexpected_code_modification, as: 'unexpectedCodeModification' - property :unexpected_ftrace_handler, as: 'unexpectedFtraceHandler' - property :unexpected_interrupt_handler, as: 'unexpectedInterruptHandler' - property :unexpected_kernel_code_pages, as: 'unexpectedKernelCodePages' - property :unexpected_kprobe_handler, as: 'unexpectedKprobeHandler' - property :unexpected_processes_in_runqueue, as: 'unexpectedProcessesInRunqueue' - property :unexpected_read_only_data_modification, as: 'unexpectedReadOnlyDataModification' - property :unexpected_system_call_handler, as: 'unexpectedSystemCallHandler' - end - end - - class GoogleCloudSecuritycenterV2Kubernetes - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AccessReview, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AccessReview::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Binding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Binding::Representation - - collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2NodePool, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2NodePool::Representation - - collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node::Representation - - collection :objects, as: 'objects', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Object, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Object::Representation - - collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Pod, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Pod::Representation - - collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Role::Representation - - end - end - - class GoogleCloudSecuritycenterV2Label - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :value, as: 'value' - end - end - - class GoogleCloudSecuritycenterV2LoadBalancer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class GoogleCloudSecuritycenterV2LogEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cloud_logging_entry, as: 'cloudLoggingEntry', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudLoggingEntry, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudLoggingEntry::Representation - - end - end - - class GoogleCloudSecuritycenterV2MemoryHashSignature - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :binary_family, as: 'binaryFamily' - collection :detections, as: 'detections', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Detection, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Detection::Representation - - end - end - - class GoogleCloudSecuritycenterV2MitreAttack - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :additional_tactics, as: 'additionalTactics' - collection :additional_techniques, as: 'additionalTechniques' - property :primary_tactic, as: 'primaryTactic' - collection :primary_techniques, as: 'primaryTechniques' - property :version, as: 'version' - end - end - - class GoogleCloudSecuritycenterV2MuteConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :description, as: 'description' - property :filter, as: 'filter' - property :most_recent_editor, as: 'mostRecentEditor' - property :name, as: 'name' - property :update_time, as: 'updateTime' - end - end - - class GoogleCloudSecuritycenterV2Node - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class GoogleCloudSecuritycenterV2NodePool - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node::Representation - - end - end - - class GoogleCloudSecuritycenterV2NotificationMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Finding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Finding::Representation - - property :notification_config_name, as: 'notificationConfigName' - property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Resource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Resource::Representation - - end - end - - class GoogleCloudSecuritycenterV2Object - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Container, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Container::Representation - - property :group, as: 'group' - property :kind, as: 'kind' - property :name, as: 'name' - property :ns, as: 'ns' - end - end - - class GoogleCloudSecuritycenterV2OrgPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class GoogleCloudSecuritycenterV2Pod - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Container, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Container::Representation - - collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Label, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Label::Representation - - property :name, as: 'name' - property :ns, as: 'ns' - end - end - - class GoogleCloudSecuritycenterV2Process - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :args, as: 'args' - property :arguments_truncated, as: 'argumentsTruncated' - property :binary, as: 'binary', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File::Representation - - collection :env_variables, as: 'envVariables', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2EnvironmentVariable, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2EnvironmentVariable::Representation - - property :env_variables_truncated, as: 'envVariablesTruncated' - collection :libraries, as: 'libraries', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File::Representation - - property :name, as: 'name' - property :parent_pid, :numeric_string => true, as: 'parentPid' - property :pid, :numeric_string => true, as: 'pid' - property :script, as: 'script', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File::Representation - - end - end - - class GoogleCloudSecuritycenterV2ProcessSignature - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :memory_hash_signature, as: 'memoryHashSignature', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MemoryHashSignature, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MemoryHashSignature::Representation - - property :yara_rule_signature, as: 'yaraRuleSignature', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2YaraRuleSignature, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2YaraRuleSignature::Representation - - end - end - - class GoogleCloudSecuritycenterV2Reference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source' - property :uri, as: 'uri' - end - end - - class GoogleCloudSecuritycenterV2Resource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :name, as: 'name' - property :type, as: 'type' - end - end - - class GoogleCloudSecuritycenterV2ResourceValueConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :description, as: 'description' - property :name, as: 'name' - hash :resource_labels_selector, as: 'resourceLabelsSelector' - property :resource_type, as: 'resourceType' - property :resource_value, as: 'resourceValue' - property :scope, as: 'scope' - collection :tag_values, as: 'tagValues' - property :update_time, as: 'updateTime' - end - end - - class GoogleCloudSecuritycenterV2Role - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :name, as: 'name' - property :ns, as: 'ns' - end - end - - class GoogleCloudSecuritycenterV2SecurityMarks - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :canonical_name, as: 'canonicalName' - hash :marks, as: 'marks' - property :name, as: 'name' - end - end - - class GoogleCloudSecuritycenterV2SecurityPosture - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :changed_policy, as: 'changedPolicy' - property :name, as: 'name' - property :posture_deployment, as: 'postureDeployment' - property :posture_deployment_resource, as: 'postureDeploymentResource' - property :revision_id, as: 'revisionId' - end - end - - class GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :principal_email, as: 'principalEmail' - property :principal_subject, as: 'principalSubject' - end - end - - class GoogleCloudSecuritycenterV2Subject - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :name, as: 'name' - property :ns, as: 'ns' - end - end - - class GoogleCloudSecuritycenterV2Vulnerability - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve::Representation - - end - end - - class GoogleCloudSecuritycenterV2YaraRuleSignature - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :yara_rule, as: 'yaraRule' - end - end - class IamBinding # @private class Representation < Google::Apis::Core::JsonRepresentation property :action, as: 'action' property :member, as: 'member' @@ -2254,10 +1284,20 @@ class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' end end + class Package + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cpe_uri, as: 'cpeUri' + property :package_name, as: 'packageName' + property :package_type, as: 'packageType' + property :package_version, as: 'packageVersion' + end + end + class Pod # @private class Representation < Google::Apis::Core::JsonRepresentation collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation @@ -2291,10 +1331,11 @@ class ProcessSignature # @private class Representation < Google::Apis::Core::JsonRepresentation property :memory_hash_signature, as: 'memoryHashSignature', class: Google::Apis::SecuritycenterV1beta2::MemoryHashSignature, decorator: Google::Apis::SecuritycenterV1beta2::MemoryHashSignature::Representation + property :signature_type, as: 'signatureType' property :yara_rule_signature, as: 'yaraRuleSignature', class: Google::Apis::SecuritycenterV1beta2::YaraRuleSignature, decorator: Google::Apis::SecuritycenterV1beta2::YaraRuleSignature::Representation end end @@ -2324,10 +1365,19 @@ property :name, as: 'name' property :ns, as: 'ns' end end + class SecurityBulletin + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bulletin_id, as: 'bulletinId' + property :submission_time, as: 'submissionTime' + property :suggested_upgrade_version, as: 'suggestedUpgradeVersion' + end + end + class SecurityCenterSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :log_sink_project, as: 'logSinkProject' property :name, as: 'name' @@ -2409,9 +1459,15 @@ class Vulnerability # @private class Representation < Google::Apis::Core::JsonRepresentation property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::Cve, decorator: Google::Apis::SecuritycenterV1beta2::Cve::Representation + + property :fixed_package, as: 'fixedPackage', class: Google::Apis::SecuritycenterV1beta2::Package, decorator: Google::Apis::SecuritycenterV1beta2::Package::Representation + + property :offending_package, as: 'offendingPackage', class: Google::Apis::SecuritycenterV1beta2::Package, decorator: Google::Apis::SecuritycenterV1beta2::Package::Representation + + property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1beta2::SecurityBulletin, decorator: Google::Apis::SecuritycenterV1beta2::SecurityBulletin::Representation end end class WebSecurityScannerSettings