VulWhitelist

class VulWhitelist : KotlinCustomResource

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>

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val reason: Output<String>?

Reason for adding whitelist.

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

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val whitelist: Output<String>

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