1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. threatdetection
  5. CheckConfig
Alibaba Cloud v3.92.0 published on Wednesday, Jan 14, 2026 by Pulumi
alicloud logo
Alibaba Cloud v3.92.0 published on Wednesday, Jan 14, 2026 by Pulumi

    Provides a Threat Detection Check Config resource.

    CSPM Risk Overview Policy Management.

    For information about Threat Detection Check Config and how to use it, see What is Check Config.

    NOTE: This is a singleton resource. By default, the configuration will be cleared when it is created.

    NOTE: Available since v1.267.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.threatdetection.CheckConfig("default", {
        endTime: 18,
        enableAutoCheck: true,
        vendors: ["ALIYUN"],
        cycleDays: [
            7,
            1,
            2,
        ],
        enableAddCheck: true,
        startTime: 12,
        configure: "not",
        systemConfig: false,
        selectedChecks: [{
            checkId: 370,
            sectionId: 515,
        }],
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.threatdetection.CheckConfig("default",
        end_time=18,
        enable_auto_check=True,
        vendors=["ALIYUN"],
        cycle_days=[
            7,
            1,
            2,
        ],
        enable_add_check=True,
        start_time=12,
        configure="not",
        system_config=False,
        selected_checks=[{
            "check_id": 370,
            "section_id": 515,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/threatdetection"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := threatdetection.NewCheckConfig(ctx, "default", &threatdetection.CheckConfigArgs{
    			EndTime:         pulumi.Int(18),
    			EnableAutoCheck: pulumi.Bool(true),
    			Vendors: pulumi.StringArray{
    				pulumi.String("ALIYUN"),
    			},
    			CycleDays: pulumi.IntArray{
    				pulumi.Int(7),
    				pulumi.Int(1),
    				pulumi.Int(2),
    			},
    			EnableAddCheck: pulumi.Bool(true),
    			StartTime:      pulumi.Int(12),
    			Configure:      pulumi.String("not"),
    			SystemConfig:   pulumi.Bool(false),
    			SelectedChecks: threatdetection.CheckConfigSelectedCheckArray{
    				&threatdetection.CheckConfigSelectedCheckArgs{
    					CheckId:   pulumi.Int(370),
    					SectionId: pulumi.Int(515),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new AliCloud.ThreatDetection.CheckConfig("default", new()
        {
            EndTime = 18,
            EnableAutoCheck = true,
            Vendors = new[]
            {
                "ALIYUN",
            },
            CycleDays = new[]
            {
                7,
                1,
                2,
            },
            EnableAddCheck = true,
            StartTime = 12,
            Configure = "not",
            SystemConfig = false,
            SelectedChecks = new[]
            {
                new AliCloud.ThreatDetection.Inputs.CheckConfigSelectedCheckArgs
                {
                    CheckId = 370,
                    SectionId = 515,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.threatdetection.CheckConfig;
    import com.pulumi.alicloud.threatdetection.CheckConfigArgs;
    import com.pulumi.alicloud.threatdetection.inputs.CheckConfigSelectedCheckArgs;
    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 CheckConfig("default", CheckConfigArgs.builder()
                .endTime(18)
                .enableAutoCheck(true)
                .vendors("ALIYUN")
                .cycleDays(            
                    7,
                    1,
                    2)
                .enableAddCheck(true)
                .startTime(12)
                .configure("not")
                .systemConfig(false)
                .selectedChecks(CheckConfigSelectedCheckArgs.builder()
                    .checkId(370)
                    .sectionId(515)
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: alicloud:threatdetection:CheckConfig
        properties:
          endTime: '18'
          enableAutoCheck: true
          vendors:
            - ALIYUN
          cycleDays:
            - '7'
            - '1'
            - '2'
          enableAddCheck: true
          startTime: '12'
          configure: not
          systemConfig: false
          selectedChecks:
            - checkId: 370
              sectionId: 515
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create CheckConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CheckConfig(name: string, args?: CheckConfigArgs, opts?: CustomResourceOptions);
    @overload
    def CheckConfig(resource_name: str,
                    args: Optional[CheckConfigArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CheckConfig(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    configure: Optional[str] = None,
                    cycle_days: Optional[Sequence[int]] = None,
                    enable_add_check: Optional[bool] = None,
                    enable_auto_check: Optional[bool] = None,
                    end_time: Optional[int] = None,
                    selected_checks: Optional[Sequence[CheckConfigSelectedCheckArgs]] = None,
                    start_time: Optional[int] = None,
                    system_config: Optional[bool] = None,
                    vendors: Optional[Sequence[str]] = None)
    func NewCheckConfig(ctx *Context, name string, args *CheckConfigArgs, opts ...ResourceOption) (*CheckConfig, error)
    public CheckConfig(string name, CheckConfigArgs? args = null, CustomResourceOptions? opts = null)
    public CheckConfig(String name, CheckConfigArgs args)
    public CheckConfig(String name, CheckConfigArgs args, CustomResourceOptions options)
    
    type: alicloud:threatdetection:CheckConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CheckConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CheckConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CheckConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CheckConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CheckConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var checkConfigResource = new AliCloud.ThreatDetection.CheckConfig("checkConfigResource", new()
    {
        Configure = "string",
        CycleDays = new[]
        {
            0,
        },
        EnableAddCheck = false,
        EnableAutoCheck = false,
        EndTime = 0,
        SelectedChecks = new[]
        {
            new AliCloud.ThreatDetection.Inputs.CheckConfigSelectedCheckArgs
            {
                CheckId = 0,
                SectionId = 0,
            },
        },
        StartTime = 0,
        SystemConfig = false,
        Vendors = new[]
        {
            "string",
        },
    });
    
    example, err := threatdetection.NewCheckConfig(ctx, "checkConfigResource", &threatdetection.CheckConfigArgs{
    	Configure: pulumi.String("string"),
    	CycleDays: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	EnableAddCheck:  pulumi.Bool(false),
    	EnableAutoCheck: pulumi.Bool(false),
    	EndTime:         pulumi.Int(0),
    	SelectedChecks: threatdetection.CheckConfigSelectedCheckArray{
    		&threatdetection.CheckConfigSelectedCheckArgs{
    			CheckId:   pulumi.Int(0),
    			SectionId: pulumi.Int(0),
    		},
    	},
    	StartTime:    pulumi.Int(0),
    	SystemConfig: pulumi.Bool(false),
    	Vendors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var checkConfigResource = new CheckConfig("checkConfigResource", CheckConfigArgs.builder()
        .configure("string")
        .cycleDays(0)
        .enableAddCheck(false)
        .enableAutoCheck(false)
        .endTime(0)
        .selectedChecks(CheckConfigSelectedCheckArgs.builder()
            .checkId(0)
            .sectionId(0)
            .build())
        .startTime(0)
        .systemConfig(false)
        .vendors("string")
        .build());
    
    check_config_resource = alicloud.threatdetection.CheckConfig("checkConfigResource",
        configure="string",
        cycle_days=[0],
        enable_add_check=False,
        enable_auto_check=False,
        end_time=0,
        selected_checks=[{
            "check_id": 0,
            "section_id": 0,
        }],
        start_time=0,
        system_config=False,
        vendors=["string"])
    
    const checkConfigResource = new alicloud.threatdetection.CheckConfig("checkConfigResource", {
        configure: "string",
        cycleDays: [0],
        enableAddCheck: false,
        enableAutoCheck: false,
        endTime: 0,
        selectedChecks: [{
            checkId: 0,
            sectionId: 0,
        }],
        startTime: 0,
        systemConfig: false,
        vendors: ["string"],
    });
    
    type: alicloud:threatdetection:CheckConfig
    properties:
        configure: string
        cycleDays:
            - 0
        enableAddCheck: false
        enableAutoCheck: false
        endTime: 0
        selectedChecks:
            - checkId: 0
              sectionId: 0
        startTime: 0
        systemConfig: false
        vendors:
            - string
    

    CheckConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CheckConfig resource accepts the following input properties:

    Configure string
    The configuration of the check item. Valid value:
    CycleDays List<int>
    Cycle detection time.
    EnableAddCheck bool
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    EnableAutoCheck bool
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    EndTime int
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    SelectedChecks List<Pulumi.AliCloud.ThreatDetection.Inputs.CheckConfigSelectedCheck>
    The check items selected in the policy. See selected_checks below.
    StartTime int
    The start time of the check. The value specifies a point in time in a day.
    SystemConfig bool
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    Vendors List<string>
    Configure string
    The configuration of the check item. Valid value:
    CycleDays []int
    Cycle detection time.
    EnableAddCheck bool
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    EnableAutoCheck bool
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    EndTime int
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    SelectedChecks []CheckConfigSelectedCheckArgs
    The check items selected in the policy. See selected_checks below.
    StartTime int
    The start time of the check. The value specifies a point in time in a day.
    SystemConfig bool
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    Vendors []string
    configure String
    The configuration of the check item. Valid value:
    cycleDays List<Integer>
    Cycle detection time.
    enableAddCheck Boolean
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enableAutoCheck Boolean
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    endTime Integer
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selectedChecks List<CheckConfigSelectedCheck>
    The check items selected in the policy. See selected_checks below.
    startTime Integer
    The start time of the check. The value specifies a point in time in a day.
    systemConfig Boolean
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors List<String>
    configure string
    The configuration of the check item. Valid value:
    cycleDays number[]
    Cycle detection time.
    enableAddCheck boolean
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enableAutoCheck boolean
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    endTime number
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selectedChecks CheckConfigSelectedCheck[]
    The check items selected in the policy. See selected_checks below.
    startTime number
    The start time of the check. The value specifies a point in time in a day.
    systemConfig boolean
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors string[]
    configure str
    The configuration of the check item. Valid value:
    cycle_days Sequence[int]
    Cycle detection time.
    enable_add_check bool
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enable_auto_check bool
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    end_time int
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selected_checks Sequence[CheckConfigSelectedCheckArgs]
    The check items selected in the policy. See selected_checks below.
    start_time int
    The start time of the check. The value specifies a point in time in a day.
    system_config bool
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors Sequence[str]
    configure String
    The configuration of the check item. Valid value:
    cycleDays List<Number>
    Cycle detection time.
    enableAddCheck Boolean
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enableAutoCheck Boolean
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    endTime Number
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selectedChecks List<Property Map>
    The check items selected in the policy. See selected_checks below.
    startTime Number
    The start time of the check. The value specifies a point in time in a day.
    systemConfig Boolean
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors List<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CheckConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CheckConfig Resource

    Get an existing CheckConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CheckConfigState, opts?: CustomResourceOptions): CheckConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configure: Optional[str] = None,
            cycle_days: Optional[Sequence[int]] = None,
            enable_add_check: Optional[bool] = None,
            enable_auto_check: Optional[bool] = None,
            end_time: Optional[int] = None,
            selected_checks: Optional[Sequence[CheckConfigSelectedCheckArgs]] = None,
            start_time: Optional[int] = None,
            system_config: Optional[bool] = None,
            vendors: Optional[Sequence[str]] = None) -> CheckConfig
    func GetCheckConfig(ctx *Context, name string, id IDInput, state *CheckConfigState, opts ...ResourceOption) (*CheckConfig, error)
    public static CheckConfig Get(string name, Input<string> id, CheckConfigState? state, CustomResourceOptions? opts = null)
    public static CheckConfig get(String name, Output<String> id, CheckConfigState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:threatdetection:CheckConfig    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Configure string
    The configuration of the check item. Valid value:
    CycleDays List<int>
    Cycle detection time.
    EnableAddCheck bool
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    EnableAutoCheck bool
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    EndTime int
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    SelectedChecks List<Pulumi.AliCloud.ThreatDetection.Inputs.CheckConfigSelectedCheck>
    The check items selected in the policy. See selected_checks below.
    StartTime int
    The start time of the check. The value specifies a point in time in a day.
    SystemConfig bool
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    Vendors List<string>
    Configure string
    The configuration of the check item. Valid value:
    CycleDays []int
    Cycle detection time.
    EnableAddCheck bool
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    EnableAutoCheck bool
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    EndTime int
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    SelectedChecks []CheckConfigSelectedCheckArgs
    The check items selected in the policy. See selected_checks below.
    StartTime int
    The start time of the check. The value specifies a point in time in a day.
    SystemConfig bool
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    Vendors []string
    configure String
    The configuration of the check item. Valid value:
    cycleDays List<Integer>
    Cycle detection time.
    enableAddCheck Boolean
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enableAutoCheck Boolean
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    endTime Integer
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selectedChecks List<CheckConfigSelectedCheck>
    The check items selected in the policy. See selected_checks below.
    startTime Integer
    The start time of the check. The value specifies a point in time in a day.
    systemConfig Boolean
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors List<String>
    configure string
    The configuration of the check item. Valid value:
    cycleDays number[]
    Cycle detection time.
    enableAddCheck boolean
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enableAutoCheck boolean
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    endTime number
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selectedChecks CheckConfigSelectedCheck[]
    The check items selected in the policy. See selected_checks below.
    startTime number
    The start time of the check. The value specifies a point in time in a day.
    systemConfig boolean
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors string[]
    configure str
    The configuration of the check item. Valid value:
    cycle_days Sequence[int]
    Cycle detection time.
    enable_add_check bool
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enable_auto_check bool
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    end_time int
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selected_checks Sequence[CheckConfigSelectedCheckArgs]
    The check items selected in the policy. See selected_checks below.
    start_time int
    The start time of the check. The value specifies a point in time in a day.
    system_config bool
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors Sequence[str]
    configure String
    The configuration of the check item. Valid value:
    cycleDays List<Number>
    Cycle detection time.
    enableAddCheck Boolean
    Whether to check by default when there are new check items in the selected regulation. Values available:

    • true: On
    • false: off
    enableAutoCheck Boolean
    Whether automatic cycle detection is enabled. Values available:

    • true: On
    • false: off
    endTime Number
    Check the end time of the time period, which indicates the time of day. The start time and end time of the query can only be selected in the following time range.

    • 0~6 When the start time is 0, the end time must be set to 6 o'clock on the current day.
    • 6~12 When the start time is 6, the end time needs to be set to 12:00 on the current day.
    • 12~18 When the start time is 12, the end time needs to be set to 18 o'clock on the current day.
    • 18~24 When the start time is 18, the end time needs to be set to 24 hours of the current day.
    selectedChecks List<Property Map>
    The check items selected in the policy. See selected_checks below.
    startTime Number
    The start time of the check. The value specifies a point in time in a day.
    systemConfig Boolean
    Specifies whether to use the configuration automatically generated by the system. Valid values:
    vendors List<String>

    Supporting Types

    CheckConfigSelectedCheck, CheckConfigSelectedCheckArgs

    CheckId int
    The ID of the check item.
    SectionId int
    The section ID of the check item.
    CheckId int
    The ID of the check item.
    SectionId int
    The section ID of the check item.
    checkId Integer
    The ID of the check item.
    sectionId Integer
    The section ID of the check item.
    checkId number
    The ID of the check item.
    sectionId number
    The section ID of the check item.
    check_id int
    The ID of the check item.
    section_id int
    The section ID of the check item.
    checkId Number
    The ID of the check item.
    sectionId Number
    The section ID of the check item.

    Import

    Threat Detection Check Config can be imported using the id, e.g.

    $ pulumi import alicloud:threatdetection/checkConfig:CheckConfig example 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.92.0 published on Wednesday, Jan 14, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate