HoneypotPreset

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

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.HoneypotNode;
import com.pulumi.alicloud.threatdetection.HoneypotNodeArgs;
import com.pulumi.alicloud.threatdetection.HoneypotPreset;
import com.pulumi.alicloud.threatdetection.HoneypotPresetArgs;
import com.pulumi.alicloud.threatdetection.inputs.HoneypotPresetMetaArgs;
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 defaultHoneypotNode = new HoneypotNode("defaultHoneypotNode", HoneypotNodeArgs.builder()
.nodeName(var_.name())
.availableProbeNum(20)
.securityGroupProbeIpLists("0.0.0.0/0")
.build());
var defaultHoneypotPreset = new HoneypotPreset("defaultHoneypotPreset", HoneypotPresetArgs.builder()
.honeypotImageName("shiro")
.meta(HoneypotPresetMetaArgs.builder()
.portraitOption(true)
.burp("open")
.build())
.nodeId(defaultHoneypotNode.id())
.presetName("apiapec_test")
.build());
}
}

Import

Threat Detection Honeypot Preset can be imported using the id, e.g.

$ pulumi import alicloud:threatdetection/honeypotPreset:HoneypotPreset example <id>

Properties

Link copied to clipboard

Honeypot mirror name

Link copied to clipboard

Unique ID of honeypot Template

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Honeypot template custom parameters. See the following Block meta.

Link copied to clipboard
val nodeId: Output<String>

Unique id of management node

Link copied to clipboard
val presetName: Output<String>

Honeypot template custom name

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