#[non_exhaustive]pub struct SecurityBulletinEvent {
pub resource_type_affected: String,
pub bulletin_id: String,
pub cve_ids: Vec<String>,
pub severity: String,
pub bulletin_uri: String,
pub brief_description: String,
pub affected_supported_minors: Vec<String>,
pub patched_versions: Vec<String>,
pub suggested_upgrade_target: String,
pub manual_steps_required: bool,
}Expand description
SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_type_affected: StringThe 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.
bulletin_id: StringThe ID of the bulletin corresponding to the vulnerability.
cve_ids: Vec<String>The CVEs associated with this bulletin.
severity: StringThe severity of this bulletin as it relates to GKE.
bulletin_uri: StringThe URI link to the bulletin on the website for more information.
brief_description: StringA brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.
affected_supported_minors: Vec<String>The GKE minor versions affected by this vulnerability.
patched_versions: Vec<String>The GKE versions where this vulnerability is patched.
suggested_upgrade_target: StringThis 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.
manual_steps_required: boolIf this field is specified, it means there are manual steps that the user must take to make their clusters safe.
Implementations§
Source§impl SecurityBulletinEvent
impl SecurityBulletinEvent
Sourcepub fn set_resource_type_affected<T: Into<String>>(self, v: T) -> Self
pub fn set_resource_type_affected<T: Into<String>>(self, v: T) -> Self
Sets the value of resource_type_affected.
Sourcepub fn set_bulletin_id<T: Into<String>>(self, v: T) -> Self
pub fn set_bulletin_id<T: Into<String>>(self, v: T) -> Self
Sets the value of bulletin_id.
Sourcepub fn set_severity<T: Into<String>>(self, v: T) -> Self
pub fn set_severity<T: Into<String>>(self, v: T) -> Self
Sets the value of severity.
Sourcepub fn set_bulletin_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_bulletin_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of bulletin_uri.
Sourcepub fn set_brief_description<T: Into<String>>(self, v: T) -> Self
pub fn set_brief_description<T: Into<String>>(self, v: T) -> Self
Sets the value of brief_description.
Sourcepub fn set_suggested_upgrade_target<T: Into<String>>(self, v: T) -> Self
pub fn set_suggested_upgrade_target<T: Into<String>>(self, v: T) -> Self
Sets the value of suggested_upgrade_target.
Sourcepub fn set_manual_steps_required<T: Into<bool>>(self, v: T) -> Self
pub fn set_manual_steps_required<T: Into<bool>>(self, v: T) -> Self
Sets the value of manual_steps_required.
Sourcepub fn set_cve_ids<T, V>(self, v: T) -> Self
pub fn set_cve_ids<T, V>(self, v: T) -> Self
Sets the value of cve_ids.
Sourcepub fn set_affected_supported_minors<T, V>(self, v: T) -> Self
pub fn set_affected_supported_minors<T, V>(self, v: T) -> Self
Sets the value of affected_supported_minors.
Sourcepub fn set_patched_versions<T, V>(self, v: T) -> Self
pub fn set_patched_versions<T, V>(self, v: T) -> Self
Sets the value of patched_versions.
Trait Implementations§
Source§impl Clone for SecurityBulletinEvent
impl Clone for SecurityBulletinEvent
Source§fn clone(&self) -> SecurityBulletinEvent
fn clone(&self) -> SecurityBulletinEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more