Class: Google::Apis::ContainerV1beta1::SecurityBulletinEvent
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::SecurityBulletinEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.
Instance Attribute Summary collapse
-
#affected_supported_minors ⇒ Array<String>
The GKE minor versions affected by this vulnerability.
-
#brief_description ⇒ String
A brief description of the bulletin.
-
#bulletin_id ⇒ String
The ID of the bulletin corresponding to the vulnerability.
-
#bulletin_uri ⇒ String
The URI link to the bulletin on the website for more information.
-
#cve_ids ⇒ Array<String>
The CVEs associated with this bulletin.
-
#manual_steps_required ⇒ Boolean
(also: #manual_steps_required?)
If this field is specified, it means there are manual steps that the user must take to make their clusters safe.
-
#patched_versions ⇒ Array<String>
The GKE versions where this vulnerability is patched.
-
#resource_type_affected ⇒ String
The resource type (node/control plane) that has the vulnerability.
-
#severity ⇒ String
The severity of this bulletin as it relates to GKE.
-
#suggested_upgrade_target ⇒ String
This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityBulletinEvent
constructor
A new instance of SecurityBulletinEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityBulletinEvent
Returns a new instance of SecurityBulletinEvent.
5696 5697 5698 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affected_supported_minors ⇒ Array<String>
The GKE minor versions affected by this vulnerability.
Corresponds to the JSON property affectedSupportedMinors
5640 5641 5642 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5640 def affected_supported_minors @affected_supported_minors end |
#brief_description ⇒ String
A brief description of the bulletin. See the bulletin pointed to by the
bulletin_uri field for an expanded description.
Corresponds to the JSON property briefDescription
5646 5647 5648 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5646 def brief_description @brief_description end |
#bulletin_id ⇒ String
The ID of the bulletin corresponding to the vulnerability.
Corresponds to the JSON property bulletinId
5651 5652 5653 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5651 def bulletin_id @bulletin_id end |
#bulletin_uri ⇒ String
The URI link to the bulletin on the website for more information.
Corresponds to the JSON property bulletinUri
5656 5657 5658 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5656 def bulletin_uri @bulletin_uri end |
#cve_ids ⇒ Array<String>
The CVEs associated with this bulletin.
Corresponds to the JSON property cveIds
5661 5662 5663 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5661 def cve_ids @cve_ids end |
#manual_steps_required ⇒ Boolean Also known as: manual_steps_required?
If this field is specified, it means there are manual steps that the user must
take to make their clusters safe.
Corresponds to the JSON property manualStepsRequired
5667 5668 5669 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5667 def manual_steps_required @manual_steps_required end |
#patched_versions ⇒ Array<String>
The GKE versions where this vulnerability is patched.
Corresponds to the JSON property patchedVersions
5673 5674 5675 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5673 def patched_versions @patched_versions end |
#resource_type_affected ⇒ String
The resource type (node/control plane) that has the vulnerability. Multiple
notifications (1 notification per resource type) will be sent for a
vulnerability that affects > 1 resource type.
Corresponds to the JSON property resourceTypeAffected
5680 5681 5682 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5680 def resource_type_affected @resource_type_affected end |
#severity ⇒ String
The severity of this bulletin as it relates to GKE.
Corresponds to the JSON property severity
5685 5686 5687 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5685 def severity @severity end |
#suggested_upgrade_target ⇒ String
This represents a version selected from the patched_versions field that the
cluster receiving this notification should most likely want to upgrade to
based on its current version. Note that if this notification is being received
by a given cluster, it means that this version is currently available as an
upgrade target in that cluster's location.
Corresponds to the JSON property suggestedUpgradeTarget
5694 5695 5696 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5694 def suggested_upgrade_target @suggested_upgrade_target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5701 def update!(**args) @affected_supported_minors = args[:affected_supported_minors] if args.key?(:affected_supported_minors) @brief_description = args[:brief_description] if args.key?(:brief_description) @bulletin_id = args[:bulletin_id] if args.key?(:bulletin_id) @bulletin_uri = args[:bulletin_uri] if args.key?(:bulletin_uri) @cve_ids = args[:cve_ids] if args.key?(:cve_ids) @manual_steps_required = args[:manual_steps_required] if args.key?(:manual_steps_required) @patched_versions = args[:patched_versions] if args.key?(:patched_versions) @resource_type_affected = args[:resource_type_affected] if args.key?(:resource_type_affected) @severity = args[:severity] if args.key?(:severity) @suggested_upgrade_target = args[:suggested_upgrade_target] if args.key?(:suggested_upgrade_target) end |