MuteConfigArgs

data class MuteConfigArgs(val description: Output<String>? = null, val filter: Output<String>? = null, val muteConfigId: Output<String>? = null, val parent: Output<String>? = null) : ConvertibleToJava<MuteConfigArgs>

Mute Findings is a volume management feature in Security Command Center that lets you manually or programmatically hide irrelevant findings, and create filters to automatically silence existing and future findings based on criteria you specify. To get more information about MuteConfig, see:

Example Usage

Scc Mute Config

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.securitycenter.MuteConfig;
import com.pulumi.gcp.securitycenter.MuteConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new MuteConfig("default", MuteConfigArgs.builder()
.description("My Mute Config")
.filter("category: \"OS_VULNERABILITY\"")
.muteConfigId("my-config")
.parent("organizations/123456789")
.build());
}
}

Import

MuteConfig can be imported using any of these accepted formats:

$ pulumi import gcp:securitycenter/muteConfig:MuteConfig default {{name}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, filter: Output<String>? = null, muteConfigId: Output<String>? = null, parent: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

A description of the mute config.

Link copied to clipboard
val filter: Output<String>? = null

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.

Link copied to clipboard
val muteConfigId: Output<String>? = null

Unique identifier provided by the client within the parent scope.

Link copied to clipboard
val parent: Output<String>? = null

Resource name of the new mute configs's parent. Its format is "organizations/organization_id", "folders/folder_id", or "projects/project_id".

Functions

Link copied to clipboard
open override fun toJava(): MuteConfigArgs