Struct google_api_proto::google::cloud::securitycenter::v1::MuteConfig
source · pub struct MuteConfig {
pub name: String,
pub display_name: String,
pub description: String,
pub filter: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub most_recent_editor: String,
}
Expand description
A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
Fields§
§name: String
This field will be ignored if provided on config creation. Format “organizations/{organization}/muteConfigs/{mute_config}” “folders/{folder}/muteConfigs/{mute_config}” “projects/{project}/muteConfigs/{mute_config}”
display_name: String
The human readable name to be displayed for the mute config.
description: String
A description of the mute config.
filter: String
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings.
The following field and operator combinations are supported:
- severity:
=
,:
- category:
=
,:
- resource.name:
=
,:
- resource.project_name:
=
,:
- resource.project_display_name:
=
,:
- resource.folders.resource_folder:
=
,:
- resource.parent_name:
=
,:
- resource.parent_display_name:
=
,:
- resource.type:
=
,:
- finding_class:
=
,:
- indicator.ip_addresses:
=
,:
- indicator.domains:
=
,:
create_time: Option<Timestamp>
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
update_time: Option<Timestamp>
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
most_recent_editor: String
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
Trait Implementations§
source§impl Clone for MuteConfig
impl Clone for MuteConfig
source§fn clone(&self) -> MuteConfig
fn clone(&self) -> MuteConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MuteConfig
impl Debug for MuteConfig
source§impl Default for MuteConfig
impl Default for MuteConfig
source§impl Message for MuteConfig
impl Message for MuteConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for MuteConfig
impl PartialEq for MuteConfig
source§fn eq(&self, other: &MuteConfig) -> bool
fn eq(&self, other: &MuteConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MuteConfig
Auto Trait Implementations§
impl Freeze for MuteConfig
impl RefUnwindSafe for MuteConfig
impl Send for MuteConfig
impl Sync for MuteConfig
impl Unpin for MuteConfig
impl UnwindSafe for MuteConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request