1. Packages
  2. Google Cloud Native
  3. API Docs
  4. securitycenter
  5. securitycenter/v1
  6. MuteConfig

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.securitycenter/v1.MuteConfig

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a mute config. Auto-naming is currently not supported for this resource.

    Create MuteConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MuteConfig(name: string, args: MuteConfigArgs, opts?: CustomResourceOptions);
    @overload
    def MuteConfig(resource_name: str,
                   args: MuteConfigArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def MuteConfig(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   filter: Optional[str] = None,
                   mute_config_id: Optional[str] = None,
                   description: Optional[str] = None,
                   display_name: Optional[str] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None)
    func NewMuteConfig(ctx *Context, name string, args MuteConfigArgs, opts ...ResourceOption) (*MuteConfig, error)
    public MuteConfig(string name, MuteConfigArgs args, CustomResourceOptions? opts = null)
    public MuteConfig(String name, MuteConfigArgs args)
    public MuteConfig(String name, MuteConfigArgs args, CustomResourceOptions options)
    
    type: google-native:securitycenter/v1:MuteConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MuteConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MuteConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MuteConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MuteConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MuteConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var muteConfigResource = new GoogleNative.Securitycenter.V1.MuteConfig("muteConfigResource", new()
    {
        Filter = "string",
        MuteConfigId = "string",
        Description = "string",
        DisplayName = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := securitycenter.NewMuteConfig(ctx, "muteConfigResource", &securitycenter.MuteConfigArgs{
    	Filter:       pulumi.String("string"),
    	MuteConfigId: pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	DisplayName:  pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Project:      pulumi.String("string"),
    })
    
    var muteConfigResource = new MuteConfig("muteConfigResource", MuteConfigArgs.builder()
        .filter("string")
        .muteConfigId("string")
        .description("string")
        .displayName("string")
        .name("string")
        .project("string")
        .build());
    
    mute_config_resource = google_native.securitycenter.v1.MuteConfig("muteConfigResource",
        filter="string",
        mute_config_id="string",
        description="string",
        display_name="string",
        name="string",
        project="string")
    
    const muteConfigResource = new google_native.securitycenter.v1.MuteConfig("muteConfigResource", {
        filter: "string",
        muteConfigId: "string",
        description: "string",
        displayName: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:securitycenter/v1:MuteConfig
    properties:
        description: string
        displayName: string
        filter: string
        muteConfigId: string
        name: string
        project: string
    

    MuteConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MuteConfig resource accepts the following input properties:

    Filter string
    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: =, :
    MuteConfigId string
    Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
    Description string
    A description of the mute config.
    DisplayName string
    The human readable name to be displayed for the mute config.
    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}" "organizations/{organization}/locations/global/muteConfigs/{mute_config}" "folders/{folder}/locations/global/muteConfigs/{mute_config}" "projects/{project}/locations/global/muteConfigs/{mute_config}"
    Project string
    Filter string
    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: =, :
    MuteConfigId string
    Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
    Description string
    A description of the mute config.
    DisplayName string
    The human readable name to be displayed for the mute config.
    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}" "organizations/{organization}/locations/global/muteConfigs/{mute_config}" "folders/{folder}/locations/global/muteConfigs/{mute_config}" "projects/{project}/locations/global/muteConfigs/{mute_config}"
    Project string
    filter String
    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: =, :
    muteConfigId String
    Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
    description String
    A description of the mute config.
    displayName String
    The human readable name to be displayed for the mute config.
    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}" "organizations/{organization}/locations/global/muteConfigs/{mute_config}" "folders/{folder}/locations/global/muteConfigs/{mute_config}" "projects/{project}/locations/global/muteConfigs/{mute_config}"
    project String
    filter string
    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: =, :
    muteConfigId string
    Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
    description string
    A description of the mute config.
    displayName string
    The human readable name to be displayed for the mute config.
    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}" "organizations/{organization}/locations/global/muteConfigs/{mute_config}" "folders/{folder}/locations/global/muteConfigs/{mute_config}" "projects/{project}/locations/global/muteConfigs/{mute_config}"
    project string
    filter str
    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: =, :
    mute_config_id str
    Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
    description str
    A description of the mute config.
    display_name str
    The human readable name to be displayed for the mute config.
    name str
    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}" "organizations/{organization}/locations/global/muteConfigs/{mute_config}" "folders/{folder}/locations/global/muteConfigs/{mute_config}" "projects/{project}/locations/global/muteConfigs/{mute_config}"
    project str
    filter String
    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: =, :
    muteConfigId String
    Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
    description String
    A description of the mute config.
    displayName String
    The human readable name to be displayed for the mute config.
    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}" "organizations/{organization}/locations/global/muteConfigs/{mute_config}" "folders/{folder}/locations/global/muteConfigs/{mute_config}" "projects/{project}/locations/global/muteConfigs/{mute_config}"
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MuteConfig resource produces the following output properties:

    CreateTime string
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    MostRecentEditor string
    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.
    UpdateTime string
    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.
    CreateTime string
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    MostRecentEditor string
    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.
    UpdateTime string
    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.
    createTime String
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    mostRecentEditor String
    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.
    updateTime String
    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.
    createTime string
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    mostRecentEditor string
    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.
    updateTime string
    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.
    create_time str
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    most_recent_editor str
    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.
    update_time str
    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.
    createTime String
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    mostRecentEditor String
    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.
    updateTime String
    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.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi