lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.65.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.66.0
- old
+ new
@@ -189,19 +189,17 @@
# Represents an application associated with a finding.
class Application
include Google::Apis::Core::Hashable
# The base URI that identifies the network location of the application in which
- # the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com,
- # http://11.22.33.44:8080
+ # the vulnerability was detected. For example, `http://example.com`.
# Corresponds to the JSON property `baseUri`
# @return [String]
attr_accessor :base_uri
- # The full URI with payload that can be used to reproduce the vulnerability.
- # Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=
- # aMmYgI6H
+ # The full URI with payload that can be used to reproduce the vulnerability. For
+ # example, `http://example.com?p=aMmYgI6H`.
# Corresponds to the JSON property `fullUri`
# @return [String]
attr_accessor :full_uri
def initialize(**args)
@@ -281,18 +279,18 @@
# Information related to Google Cloud Backup and DR Service findings.
class BackupDisasterRecovery
include Google::Apis::Core::Hashable
# The name of the Backup and DR appliance that captures, moves, and manages the
- # lifecycle of backup data. For example, “backup-server-57137”.
+ # lifecycle of backup data. For example, `backup-server-57137`.
# Corresponds to the JSON property `appliance`
# @return [String]
attr_accessor :appliance
# The names of Backup and DR applications. An application is a VM, database, or
# file system on a managed host monitored by a backup and recovery appliance.
- # For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”.
+ # For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
# Corresponds to the JSON property `applications`
# @return [Array<String>]
attr_accessor :applications
# The timestamp at which the Backup and DR backup was created.
@@ -301,59 +299,59 @@
attr_accessor :backup_create_time
# The name of a Backup and DR template which comprises one or more backup
# policies. See the [Backup and DR documentation](https://cloud.google.com/
# backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information.
- # For example, “snap-ov”.
+ # For example, `snap-ov`.
# Corresponds to the JSON property `backupTemplate`
# @return [String]
attr_accessor :backup_template
- # The backup type of the Backup and DR image. For example, “Snapshot”, “Remote
- # Snapshot”, “OnVault”.
+ # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote
+ # Snapshot`, `OnVault`.
# Corresponds to the JSON property `backupType`
# @return [String]
attr_accessor :backup_type
# The name of a Backup and DR host, which is managed by the backup and recovery
# appliance and known to the management console. The host can be of type Generic
# (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.),
# vCenter, or an ESX server. See the [Backup and DR documentation on hosts](
# https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-
- # hosts-and-their-applications) for more information. For example, “centos7-01”.
+ # hosts-and-their-applications) for more information. For example, `centos7-01`.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The names of Backup and DR policies that are associated with a template and
# that define when to run a backup, how frequently to run a backup, and how long
- # to retain the backup image. For example, “onvaults”.
+ # to retain the backup image. For example, `onvaults`.
# Corresponds to the JSON property `policies`
# @return [Array<String>]
attr_accessor :policies
# The names of Backup and DR advanced policy options of a policy applying to an
# application. See the [Backup and DR documentation on policy options](https://
# cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings).
- # For example, “skipofflineappsincongrp, nounmap”.
+ # For example, `skipofflineappsincongrp, nounmap`.
# Corresponds to the JSON property `policyOptions`
# @return [Array<String>]
attr_accessor :policy_options
# The name of the Backup and DR resource profile that specifies the storage
# media for backups of application and VM data. See the [Backup and DR
# documentation on profiles](https://cloud.google.com/backup-disaster-recovery/
- # docs/concepts/backup-plan#profile). For example, “GCP”.
+ # docs/concepts/backup-plan#profile). For example, `GCP`.
# Corresponds to the JSON property `profile`
# @return [String]
attr_accessor :profile
# The name of the Backup and DR storage pool that the backup and recovery
# appliance is storing data in. The storage pool could be of type Cloud, Primary,
# Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](
# https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools).
- # For example, “DiskPoolOne”.
+ # For example, `DiskPoolOne`.
# Corresponds to the JSON property `storagePool`
# @return [String]
attr_accessor :storage_pool
def initialize(**args)
@@ -2009,10 +2007,20 @@
# References primary/secondary etc assignees in the external system.
# Corresponds to the JSON property `assignees`
# @return [Array<String>]
attr_accessor :assignees
+ # The time when the case was closed, as reported by the external system.
+ # Corresponds to the JSON property `caseCloseTime`
+ # @return [String]
+ attr_accessor :case_close_time
+
+ # The time when the case was created, as reported by the external system.
+ # Corresponds to the JSON property `caseCreateTime`
+ # @return [String]
+ attr_accessor :case_create_time
+
# The priority of the finding's corresponding case in the external system.
# Corresponds to the JSON property `casePriority`
# @return [String]
attr_accessor :case_priority
@@ -2062,10 +2070,12 @@
end
# Update properties of this object
def update!(**args)
@assignees = args[:assignees] if args.key?(:assignees)
+ @case_close_time = args[:case_close_time] if args.key?(:case_close_time)
+ @case_create_time = args[:case_create_time] if args.key?(:case_create_time)
@case_priority = args[:case_priority] if args.key?(:case_priority)
@case_sla = args[:case_sla] if args.key?(:case_sla)
@case_uri = args[:case_uri] if args.key?(:case_uri)
@external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
@external_uid = args[:external_uid] if args.key?(:external_uid)
@@ -3012,19 +3022,17 @@
# Represents an application associated with a finding.
class GoogleCloudSecuritycenterV2Application
include Google::Apis::Core::Hashable
# The base URI that identifies the network location of the application in which
- # the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com,
- # http://11.22.33.44:8080
+ # the vulnerability was detected. For example, `http://example.com`.
# Corresponds to the JSON property `baseUri`
# @return [String]
attr_accessor :base_uri
# The full URI with payload that could be used to reproduce the vulnerability.
- # Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=
- # aMmYgI6H
+ # For example, `http://example.com?p=aMmYgI6H`.
# Corresponds to the JSON property `fullUri`
# @return [String]
attr_accessor :full_uri
def initialize(**args)
@@ -3104,18 +3112,18 @@
# Information related to Google Cloud Backup and DR Service findings.
class GoogleCloudSecuritycenterV2BackupDisasterRecovery
include Google::Apis::Core::Hashable
# The name of the Backup and DR appliance that captures, moves, and manages the
- # lifecycle of backup data. For example, “backup-server-57137”.
+ # lifecycle of backup data. For example, `backup-server-57137`.
# Corresponds to the JSON property `appliance`
# @return [String]
attr_accessor :appliance
# The names of Backup and DR applications. An application is a VM, database, or
# file system on a managed host monitored by a backup and recovery appliance.
- # For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”.
+ # For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.
# Corresponds to the JSON property `applications`
# @return [Array<String>]
attr_accessor :applications
# The timestamp at which the Backup and DR backup was created.
@@ -3124,59 +3132,59 @@
attr_accessor :backup_create_time
# The name of a Backup and DR template which comprises one or more backup
# policies. See the [Backup and DR documentation](https://cloud.google.com/
# backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information.
- # For example, “snap-ov”.
+ # For example, `snap-ov`.
# Corresponds to the JSON property `backupTemplate`
# @return [String]
attr_accessor :backup_template
- # The backup type of the Backup and DR image. For example, “Snapshot”, “Remote
- # Snapshot”, “OnVault”.
+ # The backup type of the Backup and DR image. For example, `Snapshot`, `Remote
+ # Snapshot`, `OnVault`.
# Corresponds to the JSON property `backupType`
# @return [String]
attr_accessor :backup_type
# The name of a Backup and DR host, which is managed by the backup and recovery
# appliance and known to the management console. The host can be of type Generic
# (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.),
# vCenter, or an ESX server. See the [Backup and DR documentation on hosts](
# https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-
- # hosts-and-their-applications) for more information. For example, “centos7-01”.
+ # hosts-and-their-applications) for more information. For example, `centos7-01`.
# Corresponds to the JSON property `host`
# @return [String]
attr_accessor :host
# The names of Backup and DR policies that are associated with a template and
# that define when to run a backup, how frequently to run a backup, and how long
- # to retain the backup image. For example, “onvaults”.
+ # to retain the backup image. For example, `onvaults`.
# Corresponds to the JSON property `policies`
# @return [Array<String>]
attr_accessor :policies
# The names of Backup and DR advanced policy options of a policy applying to an
# application. See the [Backup and DR documentation on policy options](https://
# cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings).
- # For example, “skipofflineappsincongrp, nounmap”.
+ # For example, `skipofflineappsincongrp, nounmap`.
# Corresponds to the JSON property `policyOptions`
# @return [Array<String>]
attr_accessor :policy_options
# The name of the Backup and DR resource profile that specifies the storage
# media for backups of application and VM data. See the [Backup and DR
# documentation on profiles](https://cloud.google.com/backup-disaster-recovery/
- # docs/concepts/backup-plan#profile). For example, “GCP”.
+ # docs/concepts/backup-plan#profile). For example, `GCP`.
# Corresponds to the JSON property `profile`
# @return [String]
attr_accessor :profile
# The name of the Backup and DR storage pool that the backup and recovery
# appliance is storing data in. The storage pool could be of type Cloud, Primary,
# Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](
# https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools).
- # For example, “DiskPoolOne”.
+ # For example, `DiskPoolOne`.
# Corresponds to the JSON property `storagePool`
# @return [String]
attr_accessor :storage_pool
def initialize(**args)
@@ -3961,10 +3969,20 @@
# References primary/secondary etc assignees in the external system.
# Corresponds to the JSON property `assignees`
# @return [Array<String>]
attr_accessor :assignees
+ # The time when the case was closed, as reported by the external system.
+ # Corresponds to the JSON property `caseCloseTime`
+ # @return [String]
+ attr_accessor :case_close_time
+
+ # The time when the case was created, as reported by the external system.
+ # Corresponds to the JSON property `caseCreateTime`
+ # @return [String]
+ attr_accessor :case_create_time
+
# The priority of the finding's corresponding case in the external system.
# Corresponds to the JSON property `casePriority`
# @return [String]
attr_accessor :case_priority
@@ -4018,10 +4036,12 @@
end
# Update properties of this object
def update!(**args)
@assignees = args[:assignees] if args.key?(:assignees)
+ @case_close_time = args[:case_close_time] if args.key?(:case_close_time)
+ @case_create_time = args[:case_create_time] if args.key?(:case_create_time)
@case_priority = args[:case_priority] if args.key?(:case_priority)
@case_sla = args[:case_sla] if args.key?(:case_sla)
@case_uri = args[:case_uri] if args.key?(:case_uri)
@external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
@external_uid = args[:external_uid] if args.key?(:external_uid)
@@ -5141,17 +5161,17 @@
# detected values.
class GoogleCloudSecuritycenterV2PolicyDriftDetails
include Google::Apis::Core::Hashable
# The detected value that violates the deployed posture, for example, `false` or
- # `allowed_values=`"projects/22831892”``.
+ # `allowed_values=`"projects/22831892"``.
# Corresponds to the JSON property `detectedValue`
# @return [String]
attr_accessor :detected_value
# The value of this field that was configured in a posture, for example, `true`
- # or `allowed_values=`"projects/29831892”``.
+ # or `allowed_values=`"projects/29831892"``.
# Corresponds to the JSON property `expectedValue`
# @return [String]
attr_accessor :expected_value
# The name of the updated field, for example constraint.implementation.
@@ -6358,22 +6378,22 @@
@name = args[:name] if args.key?(:name)
@ns = args[:ns] if args.key?(:ns)
end
end
- # The policy field that violates the deployed posture and its expected and and
+ # The policy field that violates the deployed posture and its expected and
# detected values.
class PolicyDriftDetails
include Google::Apis::Core::Hashable
# The detected value that violates the deployed posture, for example, `false` or
- # `allowed_values=`"projects/22831892”``.
+ # `allowed_values=`"projects/22831892"``.
# Corresponds to the JSON property `detectedValue`
# @return [String]
attr_accessor :detected_value
# The value of this field that was configured in a posture, for example, `true`
- # or `allowed_values=`"projects/29831892”``.
+ # or `allowed_values=`"projects/29831892"``.
# Corresponds to the JSON property `expectedValue`
# @return [String]
attr_accessor :expected_value
# The name of the updated field, for example constraint.implementation.