BaselineStrategy

class BaselineStrategy : KotlinCustomResource

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

NOTE: Available since 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.BaselineStrategy;
import com.pulumi.alicloud.threatdetection.BaselineStrategyArgs;
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 BaselineStrategy("default", BaselineStrategyArgs.builder()
.baselineStrategyName("apispec")
.customType("custom")
.cycleDays(3)
.endTime("08:00:00")
.riskSubTypeName("hc_exploit_redis")
.startTime("05:00:00")
.targetType("groupId")
.build());
}
}

Import

Threat Detection Baseline Strategy can be imported using the id, e.g.

$ pulumi import alicloud:threatdetection/baselineStrategy:BaselineStrategy example <id>

Properties

Link copied to clipboard

The ID of the baseline check policy.

Link copied to clipboard

Policy name.

Link copied to clipboard
val customType: Output<String>

The type of policy. Value:

Link copied to clipboard
val cycleDays: Output<Int>

The detection period of the policy.

Link copied to clipboard
val cycleStartTime: Output<Int>

The detection period of the policy. Value:

Link copied to clipboard
val endTime: Output<String>

The baseline check policy execution end time.

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 riskSubTypeName: Output<String>

Detection item subtype.

Link copied to clipboard
val startTime: Output<String>

The baseline check policy start time.

Link copied to clipboard
val targetType: Output<String>

The method of adding assets that take effect from the policy. Value:

Link copied to clipboard
val urn: Output<String>