Honeypot Node
Provides a Threat Detection Honeypot Node resource. For information about Threat Detection Honeypot Node and how to use it, see What is Honeypot Node.
NOTE: Available since v1.195.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf_example";
const _default = new alicloud.threatdetection.HoneypotNode("default", {
nodeName: name,
availableProbeNum: 20,
securityGroupProbeIpLists: ["0.0.0.0/0"],
});
Content copied to clipboard
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf_example"
default = alicloud.threatdetection.HoneypotNode("default",
node_name=name,
available_probe_num=20,
security_group_probe_ip_lists=["0.0.0.0/0"])
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf_example";
var @default = new AliCloud.ThreatDetection.HoneypotNode("default", new()
{
NodeName = name,
AvailableProbeNum = 20,
SecurityGroupProbeIpLists = new[]
{
"0.0.0.0/0",
},
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/threatdetection"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf_example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := threatdetection.NewHoneypotNode(ctx, "default", &threatdetection.HoneypotNodeArgs{
NodeName: pulumi.String(name),
AvailableProbeNum: pulumi.Int(20),
SecurityGroupProbeIpLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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 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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf_example");
var default_ = new HoneypotNode("default", HoneypotNodeArgs.builder()
.nodeName(name)
.availableProbeNum(20)
.securityGroupProbeIpLists("0.0.0.0/0")
.build());
}
}
Content copied to clipboard
configuration:
name:
type: string
default: tf_example
resources:
default:
type: alicloud:threatdetection:HoneypotNode
properties:
nodeName: ${name}
availableProbeNum: 20
securityGroupProbeIpLists:
- 0.0.0.0/0
Content copied to clipboard
Import
Threat Detection Honeypot Node can be imported using the id, e.g.
$ pulumi import alicloud:threatdetection/honeypotNode:HoneypotNode example <id>
Content copied to clipboard
Properties
Link copied to clipboard
Whether to allow honeypot access to the external network. Value:-true: Allow-false: Disabled
Link copied to clipboard
Number of probes available.
Link copied to clipboard
The creation time of the resource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Release the collection of network segments.