VulWhitelistArgs

data class VulWhitelistArgs(val reason: Output<String>? = null, val targetInfo: Output<String>? = null, val whitelist: Output<String>? = null) : ConvertibleToJava<VulWhitelistArgs>

Provides a Threat Detection Vul Whitelist resource. For information about Threat Detection Vul Whitelist and how to use it, see What is Vul Whitelist.

NOTE: Available in v1.195.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.threatdetection.VulWhitelist;
import com.pulumi.alicloud.threatdetection.VulWhitelistArgs;
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 VulWhitelist("default", VulWhitelistArgs.builder()
.reason("tf-example-reason")
.targetInfo("{\"type\":\"GroupId\",\"uuids\":[],\"groupIds\":[10782678]}")
.whitelist("[{\"aliasName\":\"RHSA-2021:2260: libwebp 安全更新\",\"name\":\"RHSA-2021:2260: libwebp 安全更新\",\"type\":\"cve\"}]")
.build());
}
}

Import

Threat Detection Vul Whitelist can be imported using the id, e.g.

$ pulumi import alicloud:threatdetection/vulWhitelist:VulWhitelist example <id>

Constructors

Link copied to clipboard
fun VulWhitelistArgs(reason: Output<String>? = null, targetInfo: Output<String>? = null, whitelist: Output<String>? = null)

Functions

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

Properties

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

Reason for adding whitelist.

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

Set the effective range of the whitelist. see how to use it.

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

Information about the vulnerability to be added to the whitelist. see how to use it.