1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CsipRiskCenter
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.CsipRiskCenter

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a csip risk_center

    Example Usage

    If task_mode is 0

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CsipRiskCenter("example", {
        assets: [{
            asset: "49.232.172.248",
            assetName: "iac-test",
            assetType: "PublicIp",
            instanceType: "1",
            region: "ap-beijing",
        }],
        scanAssetType: 2,
        scanItems: [
            "port",
            "poc",
            "weakpass",
        ],
        scanPlanContent: "0 0 0 */1 * * *",
        scanPlanType: 0,
        taskMode: 0,
        taskName: "tf_example",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CsipRiskCenter("example",
        assets=[{
            "asset": "49.232.172.248",
            "asset_name": "iac-test",
            "asset_type": "PublicIp",
            "instance_type": "1",
            "region": "ap-beijing",
        }],
        scan_asset_type=2,
        scan_items=[
            "port",
            "poc",
            "weakpass",
        ],
        scan_plan_content="0 0 0 */1 * * *",
        scan_plan_type=0,
        task_mode=0,
        task_name="tf_example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCsipRiskCenter(ctx, "example", &tencentcloud.CsipRiskCenterArgs{
    			Assets: tencentcloud.CsipRiskCenterAssetArray{
    				&tencentcloud.CsipRiskCenterAssetArgs{
    					Asset:        pulumi.String("49.232.172.248"),
    					AssetName:    pulumi.String("iac-test"),
    					AssetType:    pulumi.String("PublicIp"),
    					InstanceType: pulumi.String("1"),
    					Region:       pulumi.String("ap-beijing"),
    				},
    			},
    			ScanAssetType: pulumi.Float64(2),
    			ScanItems: pulumi.StringArray{
    				pulumi.String("port"),
    				pulumi.String("poc"),
    				pulumi.String("weakpass"),
    			},
    			ScanPlanContent: pulumi.String("0 0 0 */1 * * *"),
    			ScanPlanType:    pulumi.Float64(0),
    			TaskMode:        pulumi.Float64(0),
    			TaskName:        pulumi.String("tf_example"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.CsipRiskCenter("example", new()
        {
            Assets = new[]
            {
                new Tencentcloud.Inputs.CsipRiskCenterAssetArgs
                {
                    Asset = "49.232.172.248",
                    AssetName = "iac-test",
                    AssetType = "PublicIp",
                    InstanceType = "1",
                    Region = "ap-beijing",
                },
            },
            ScanAssetType = 2,
            ScanItems = new[]
            {
                "port",
                "poc",
                "weakpass",
            },
            ScanPlanContent = "0 0 0 */1 * * *",
            ScanPlanType = 0,
            TaskMode = 0,
            TaskName = "tf_example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CsipRiskCenter;
    import com.pulumi.tencentcloud.CsipRiskCenterArgs;
    import com.pulumi.tencentcloud.inputs.CsipRiskCenterAssetArgs;
    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 example = new CsipRiskCenter("example", CsipRiskCenterArgs.builder()
                .assets(CsipRiskCenterAssetArgs.builder()
                    .asset("49.232.172.248")
                    .assetName("iac-test")
                    .assetType("PublicIp")
                    .instanceType("1")
                    .region("ap-beijing")
                    .build())
                .scanAssetType(2)
                .scanItems(            
                    "port",
                    "poc",
                    "weakpass")
                .scanPlanContent("0 0 0 */1 * * *")
                .scanPlanType(0)
                .taskMode(0)
                .taskName("tf_example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CsipRiskCenter
        properties:
          assets:
            - asset: 49.232.172.248
              assetName: iac-test
              assetType: PublicIp
              instanceType: '1'
              region: ap-beijing
          scanAssetType: 2
          scanItems:
            - port
            - poc
            - weakpass
          scanPlanContent: 0 0 0 */1 * * *
          scanPlanType: 0
          taskMode: 0
          taskName: tf_example
    

    If task_mode is 1

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CsipRiskCenter("example", {
        scanAssetType: 1,
        scanItems: [
            "port",
            "poc",
        ],
        scanPlanType: 1,
        taskMode: 1,
        taskName: "tf_example",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CsipRiskCenter("example",
        scan_asset_type=1,
        scan_items=[
            "port",
            "poc",
        ],
        scan_plan_type=1,
        task_mode=1,
        task_name="tf_example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCsipRiskCenter(ctx, "example", &tencentcloud.CsipRiskCenterArgs{
    			ScanAssetType: pulumi.Float64(1),
    			ScanItems: pulumi.StringArray{
    				pulumi.String("port"),
    				pulumi.String("poc"),
    			},
    			ScanPlanType: pulumi.Float64(1),
    			TaskMode:     pulumi.Float64(1),
    			TaskName:     pulumi.String("tf_example"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.CsipRiskCenter("example", new()
        {
            ScanAssetType = 1,
            ScanItems = new[]
            {
                "port",
                "poc",
            },
            ScanPlanType = 1,
            TaskMode = 1,
            TaskName = "tf_example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CsipRiskCenter;
    import com.pulumi.tencentcloud.CsipRiskCenterArgs;
    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 example = new CsipRiskCenter("example", CsipRiskCenterArgs.builder()
                .scanAssetType(1)
                .scanItems(            
                    "port",
                    "poc")
                .scanPlanType(1)
                .taskMode(1)
                .taskName("tf_example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CsipRiskCenter
        properties:
          scanAssetType: 1
          scanItems:
            - port
            - poc
          scanPlanType: 1
          taskMode: 1
          taskName: tf_example
    

    If task_mode is 2

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CsipRiskCenter("example", {
        assets: [{
            asset: "ins-9p3dkkwy",
            assetName: "sub machine of tke",
            assetType: "CVM",
            instanceType: "Instance",
            region: "ap-guangzhou",
        }],
        scanAssetType: 2,
        scanItems: [
            "port",
            "configrisk",
            "poc",
            "weakpass",
        ],
        scanPlanContent: "0 0 0 20 3 * 2024",
        scanPlanType: 2,
        taskAdvanceCfg: {
            cfgRisks: [{
                enable: 1,
                itemId: "02c9337f-a6da-49b4-8858-64663a02b79f",
                resourceType: "cdb;rds",
            }],
            portRisks: [{
                checkType: 0,
                detail: "22、8080、80、443、3380、3389常见流量端",
                enable: 1,
                portSets: "常见端口",
            }],
            vulRisks: [{
                enable: 1,
                riskId: "f79e371ce5f644f0fdc72a143144c4b2",
            }],
            weakPwdRisks: [{
                checkItemId: 50,
                enable: 1,
            }],
        },
        taskMode: 2,
        taskName: "tf_example",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CsipRiskCenter("example",
        assets=[{
            "asset": "ins-9p3dkkwy",
            "asset_name": "sub machine of tke",
            "asset_type": "CVM",
            "instance_type": "Instance",
            "region": "ap-guangzhou",
        }],
        scan_asset_type=2,
        scan_items=[
            "port",
            "configrisk",
            "poc",
            "weakpass",
        ],
        scan_plan_content="0 0 0 20 3 * 2024",
        scan_plan_type=2,
        task_advance_cfg={
            "cfg_risks": [{
                "enable": 1,
                "item_id": "02c9337f-a6da-49b4-8858-64663a02b79f",
                "resource_type": "cdb;rds",
            }],
            "port_risks": [{
                "check_type": 0,
                "detail": "22、8080、80、443、3380、3389常见流量端",
                "enable": 1,
                "port_sets": "常见端口",
            }],
            "vul_risks": [{
                "enable": 1,
                "risk_id": "f79e371ce5f644f0fdc72a143144c4b2",
            }],
            "weak_pwd_risks": [{
                "check_item_id": 50,
                "enable": 1,
            }],
        },
        task_mode=2,
        task_name="tf_example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCsipRiskCenter(ctx, "example", &tencentcloud.CsipRiskCenterArgs{
    			Assets: tencentcloud.CsipRiskCenterAssetArray{
    				&tencentcloud.CsipRiskCenterAssetArgs{
    					Asset:        pulumi.String("ins-9p3dkkwy"),
    					AssetName:    pulumi.String("sub machine of tke"),
    					AssetType:    pulumi.String("CVM"),
    					InstanceType: pulumi.String("Instance"),
    					Region:       pulumi.String("ap-guangzhou"),
    				},
    			},
    			ScanAssetType: pulumi.Float64(2),
    			ScanItems: pulumi.StringArray{
    				pulumi.String("port"),
    				pulumi.String("configrisk"),
    				pulumi.String("poc"),
    				pulumi.String("weakpass"),
    			},
    			ScanPlanContent: pulumi.String("0 0 0 20 3 * 2024"),
    			ScanPlanType:    pulumi.Float64(2),
    			TaskAdvanceCfg: &tencentcloud.CsipRiskCenterTaskAdvanceCfgArgs{
    				CfgRisks: tencentcloud.CsipRiskCenterTaskAdvanceCfgCfgRiskArray{
    					&tencentcloud.CsipRiskCenterTaskAdvanceCfgCfgRiskArgs{
    						Enable:       pulumi.Float64(1),
    						ItemId:       pulumi.String("02c9337f-a6da-49b4-8858-64663a02b79f"),
    						ResourceType: pulumi.String("cdb;rds"),
    					},
    				},
    				PortRisks: tencentcloud.CsipRiskCenterTaskAdvanceCfgPortRiskArray{
    					&tencentcloud.CsipRiskCenterTaskAdvanceCfgPortRiskArgs{
    						CheckType: pulumi.Float64(0),
    						Detail:    pulumi.String("22、8080、80、443、3380、3389常见流量端"),
    						Enable:    pulumi.Float64(1),
    						PortSets:  pulumi.String("常见端口"),
    					},
    				},
    				VulRisks: tencentcloud.CsipRiskCenterTaskAdvanceCfgVulRiskArray{
    					&tencentcloud.CsipRiskCenterTaskAdvanceCfgVulRiskArgs{
    						Enable: pulumi.Float64(1),
    						RiskId: pulumi.String("f79e371ce5f644f0fdc72a143144c4b2"),
    					},
    				},
    				WeakPwdRisks: tencentcloud.CsipRiskCenterTaskAdvanceCfgWeakPwdRiskArray{
    					&tencentcloud.CsipRiskCenterTaskAdvanceCfgWeakPwdRiskArgs{
    						CheckItemId: pulumi.Float64(50),
    						Enable:      pulumi.Float64(1),
    					},
    				},
    			},
    			TaskMode: pulumi.Float64(2),
    			TaskName: pulumi.String("tf_example"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.CsipRiskCenter("example", new()
        {
            Assets = new[]
            {
                new Tencentcloud.Inputs.CsipRiskCenterAssetArgs
                {
                    Asset = "ins-9p3dkkwy",
                    AssetName = "sub machine of tke",
                    AssetType = "CVM",
                    InstanceType = "Instance",
                    Region = "ap-guangzhou",
                },
            },
            ScanAssetType = 2,
            ScanItems = new[]
            {
                "port",
                "configrisk",
                "poc",
                "weakpass",
            },
            ScanPlanContent = "0 0 0 20 3 * 2024",
            ScanPlanType = 2,
            TaskAdvanceCfg = new Tencentcloud.Inputs.CsipRiskCenterTaskAdvanceCfgArgs
            {
                CfgRisks = new[]
                {
                    new Tencentcloud.Inputs.CsipRiskCenterTaskAdvanceCfgCfgRiskArgs
                    {
                        Enable = 1,
                        ItemId = "02c9337f-a6da-49b4-8858-64663a02b79f",
                        ResourceType = "cdb;rds",
                    },
                },
                PortRisks = new[]
                {
                    new Tencentcloud.Inputs.CsipRiskCenterTaskAdvanceCfgPortRiskArgs
                    {
                        CheckType = 0,
                        Detail = "22、8080、80、443、3380、3389常见流量端",
                        Enable = 1,
                        PortSets = "常见端口",
                    },
                },
                VulRisks = new[]
                {
                    new Tencentcloud.Inputs.CsipRiskCenterTaskAdvanceCfgVulRiskArgs
                    {
                        Enable = 1,
                        RiskId = "f79e371ce5f644f0fdc72a143144c4b2",
                    },
                },
                WeakPwdRisks = new[]
                {
                    new Tencentcloud.Inputs.CsipRiskCenterTaskAdvanceCfgWeakPwdRiskArgs
                    {
                        CheckItemId = 50,
                        Enable = 1,
                    },
                },
            },
            TaskMode = 2,
            TaskName = "tf_example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CsipRiskCenter;
    import com.pulumi.tencentcloud.CsipRiskCenterArgs;
    import com.pulumi.tencentcloud.inputs.CsipRiskCenterAssetArgs;
    import com.pulumi.tencentcloud.inputs.CsipRiskCenterTaskAdvanceCfgArgs;
    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 example = new CsipRiskCenter("example", CsipRiskCenterArgs.builder()
                .assets(CsipRiskCenterAssetArgs.builder()
                    .asset("ins-9p3dkkwy")
                    .assetName("sub machine of tke")
                    .assetType("CVM")
                    .instanceType("Instance")
                    .region("ap-guangzhou")
                    .build())
                .scanAssetType(2)
                .scanItems(            
                    "port",
                    "configrisk",
                    "poc",
                    "weakpass")
                .scanPlanContent("0 0 0 20 3 * 2024")
                .scanPlanType(2)
                .taskAdvanceCfg(CsipRiskCenterTaskAdvanceCfgArgs.builder()
                    .cfgRisks(CsipRiskCenterTaskAdvanceCfgCfgRiskArgs.builder()
                        .enable(1)
                        .itemId("02c9337f-a6da-49b4-8858-64663a02b79f")
                        .resourceType("cdb;rds")
                        .build())
                    .portRisks(CsipRiskCenterTaskAdvanceCfgPortRiskArgs.builder()
                        .checkType(0)
                        .detail("22、8080、80、443、3380、3389常见流量端")
                        .enable(1)
                        .portSets("常见端口")
                        .build())
                    .vulRisks(CsipRiskCenterTaskAdvanceCfgVulRiskArgs.builder()
                        .enable(1)
                        .riskId("f79e371ce5f644f0fdc72a143144c4b2")
                        .build())
                    .weakPwdRisks(CsipRiskCenterTaskAdvanceCfgWeakPwdRiskArgs.builder()
                        .checkItemId(50)
                        .enable(1)
                        .build())
                    .build())
                .taskMode(2)
                .taskName("tf_example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CsipRiskCenter
        properties:
          assets:
            - asset: ins-9p3dkkwy
              assetName: sub machine of tke
              assetType: CVM
              instanceType: Instance
              region: ap-guangzhou
          scanAssetType: 2
          scanItems:
            - port
            - configrisk
            - poc
            - weakpass
          scanPlanContent: 0 0 0 20 3 * 2024
          scanPlanType: 2
          taskAdvanceCfg:
            cfgRisks:
              - enable: 1
                itemId: 02c9337f-a6da-49b4-8858-64663a02b79f
                resourceType: cdb;rds
            portRisks:
              - checkType: 0
                detail: 22、8080、80、443、3380、3389常见流量端
                enable: 1
                portSets: 常见端口
            vulRisks:
              - enable: 1
                riskId: f79e371ce5f644f0fdc72a143144c4b2
            weakPwdRisks:
              - checkItemId: 50
                enable: 1
          taskMode: 2
          taskName: tf_example
    

    Create CsipRiskCenter Resource

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

    Constructor syntax

    new CsipRiskCenter(name: string, args: CsipRiskCenterArgs, opts?: CustomResourceOptions);
    @overload
    def CsipRiskCenter(resource_name: str,
                       args: CsipRiskCenterArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CsipRiskCenter(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       scan_asset_type: Optional[float] = None,
                       scan_items: Optional[Sequence[str]] = None,
                       scan_plan_type: Optional[float] = None,
                       task_name: Optional[str] = None,
                       assets: Optional[Sequence[CsipRiskCenterAssetArgs]] = None,
                       csip_risk_center_id: Optional[str] = None,
                       scan_plan_content: Optional[str] = None,
                       self_defining_assets: Optional[Sequence[str]] = None,
                       task_advance_cfg: Optional[CsipRiskCenterTaskAdvanceCfgArgs] = None,
                       task_mode: Optional[float] = None)
    func NewCsipRiskCenter(ctx *Context, name string, args CsipRiskCenterArgs, opts ...ResourceOption) (*CsipRiskCenter, error)
    public CsipRiskCenter(string name, CsipRiskCenterArgs args, CustomResourceOptions? opts = null)
    public CsipRiskCenter(String name, CsipRiskCenterArgs args)
    public CsipRiskCenter(String name, CsipRiskCenterArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CsipRiskCenter
    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 CsipRiskCenterArgs
    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 CsipRiskCenterArgs
    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 CsipRiskCenterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CsipRiskCenterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CsipRiskCenterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CsipRiskCenter 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 CsipRiskCenter resource accepts the following input properties:

    ScanAssetType double
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    ScanItems List<string>
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    ScanPlanType double
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    TaskName string
    Task Name.
    Assets List<CsipRiskCenterAsset>
    Scan the asset information list.
    CsipRiskCenterId string
    ID of the resource.
    ScanPlanContent string
    Scan plan details.
    SelfDefiningAssets List<string>
    Ip/domain/url array.
    TaskAdvanceCfg CsipRiskCenterTaskAdvanceCfg
    Advanced configuration.
    TaskMode double
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    ScanAssetType float64
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    ScanItems []string
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    ScanPlanType float64
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    TaskName string
    Task Name.
    Assets []CsipRiskCenterAssetArgs
    Scan the asset information list.
    CsipRiskCenterId string
    ID of the resource.
    ScanPlanContent string
    Scan plan details.
    SelfDefiningAssets []string
    Ip/domain/url array.
    TaskAdvanceCfg CsipRiskCenterTaskAdvanceCfgArgs
    Advanced configuration.
    TaskMode float64
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    scanAssetType Double
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scanItems List<String>
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scanPlanType Double
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    taskName String
    Task Name.
    assets List<CsipRiskCenterAsset>
    Scan the asset information list.
    csipRiskCenterId String
    ID of the resource.
    scanPlanContent String
    Scan plan details.
    selfDefiningAssets List<String>
    Ip/domain/url array.
    taskAdvanceCfg CsipRiskCenterTaskAdvanceCfg
    Advanced configuration.
    taskMode Double
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    scanAssetType number
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scanItems string[]
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scanPlanType number
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    taskName string
    Task Name.
    assets CsipRiskCenterAsset[]
    Scan the asset information list.
    csipRiskCenterId string
    ID of the resource.
    scanPlanContent string
    Scan plan details.
    selfDefiningAssets string[]
    Ip/domain/url array.
    taskAdvanceCfg CsipRiskCenterTaskAdvanceCfg
    Advanced configuration.
    taskMode number
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    scan_asset_type float
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scan_items Sequence[str]
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scan_plan_type float
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    task_name str
    Task Name.
    assets Sequence[CsipRiskCenterAssetArgs]
    Scan the asset information list.
    csip_risk_center_id str
    ID of the resource.
    scan_plan_content str
    Scan plan details.
    self_defining_assets Sequence[str]
    Ip/domain/url array.
    task_advance_cfg CsipRiskCenterTaskAdvanceCfgArgs
    Advanced configuration.
    task_mode float
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    scanAssetType Number
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scanItems List<String>
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scanPlanType Number
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    taskName String
    Task Name.
    assets List<Property Map>
    Scan the asset information list.
    csipRiskCenterId String
    ID of the resource.
    scanPlanContent String
    Scan plan details.
    selfDefiningAssets List<String>
    Ip/domain/url array.
    taskAdvanceCfg Property Map
    Advanced configuration.
    taskMode Number
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    ScanFrom string
    Request origin.
    Id string
    The provider-assigned unique ID for this managed resource.
    ScanFrom string
    Request origin.
    id String
    The provider-assigned unique ID for this managed resource.
    scanFrom String
    Request origin.
    id string
    The provider-assigned unique ID for this managed resource.
    scanFrom string
    Request origin.
    id str
    The provider-assigned unique ID for this managed resource.
    scan_from str
    Request origin.
    id String
    The provider-assigned unique ID for this managed resource.
    scanFrom String
    Request origin.

    Look up Existing CsipRiskCenter Resource

    Get an existing CsipRiskCenter 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?: CsipRiskCenterState, opts?: CustomResourceOptions): CsipRiskCenter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assets: Optional[Sequence[CsipRiskCenterAssetArgs]] = None,
            csip_risk_center_id: Optional[str] = None,
            scan_asset_type: Optional[float] = None,
            scan_from: Optional[str] = None,
            scan_items: Optional[Sequence[str]] = None,
            scan_plan_content: Optional[str] = None,
            scan_plan_type: Optional[float] = None,
            self_defining_assets: Optional[Sequence[str]] = None,
            task_advance_cfg: Optional[CsipRiskCenterTaskAdvanceCfgArgs] = None,
            task_mode: Optional[float] = None,
            task_name: Optional[str] = None) -> CsipRiskCenter
    func GetCsipRiskCenter(ctx *Context, name string, id IDInput, state *CsipRiskCenterState, opts ...ResourceOption) (*CsipRiskCenter, error)
    public static CsipRiskCenter Get(string name, Input<string> id, CsipRiskCenterState? state, CustomResourceOptions? opts = null)
    public static CsipRiskCenter get(String name, Output<String> id, CsipRiskCenterState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CsipRiskCenter    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:
    Assets List<CsipRiskCenterAsset>
    Scan the asset information list.
    CsipRiskCenterId string
    ID of the resource.
    ScanAssetType double
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    ScanFrom string
    Request origin.
    ScanItems List<string>
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    ScanPlanContent string
    Scan plan details.
    ScanPlanType double
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    SelfDefiningAssets List<string>
    Ip/domain/url array.
    TaskAdvanceCfg CsipRiskCenterTaskAdvanceCfg
    Advanced configuration.
    TaskMode double
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    TaskName string
    Task Name.
    Assets []CsipRiskCenterAssetArgs
    Scan the asset information list.
    CsipRiskCenterId string
    ID of the resource.
    ScanAssetType float64
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    ScanFrom string
    Request origin.
    ScanItems []string
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    ScanPlanContent string
    Scan plan details.
    ScanPlanType float64
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    SelfDefiningAssets []string
    Ip/domain/url array.
    TaskAdvanceCfg CsipRiskCenterTaskAdvanceCfgArgs
    Advanced configuration.
    TaskMode float64
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    TaskName string
    Task Name.
    assets List<CsipRiskCenterAsset>
    Scan the asset information list.
    csipRiskCenterId String
    ID of the resource.
    scanAssetType Double
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scanFrom String
    Request origin.
    scanItems List<String>
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scanPlanContent String
    Scan plan details.
    scanPlanType Double
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    selfDefiningAssets List<String>
    Ip/domain/url array.
    taskAdvanceCfg CsipRiskCenterTaskAdvanceCfg
    Advanced configuration.
    taskMode Double
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    taskName String
    Task Name.
    assets CsipRiskCenterAsset[]
    Scan the asset information list.
    csipRiskCenterId string
    ID of the resource.
    scanAssetType number
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scanFrom string
    Request origin.
    scanItems string[]
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scanPlanContent string
    Scan plan details.
    scanPlanType number
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    selfDefiningAssets string[]
    Ip/domain/url array.
    taskAdvanceCfg CsipRiskCenterTaskAdvanceCfg
    Advanced configuration.
    taskMode number
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    taskName string
    Task Name.
    assets Sequence[CsipRiskCenterAssetArgs]
    Scan the asset information list.
    csip_risk_center_id str
    ID of the resource.
    scan_asset_type float
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scan_from str
    Request origin.
    scan_items Sequence[str]
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scan_plan_content str
    Scan plan details.
    scan_plan_type float
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    self_defining_assets Sequence[str]
    Ip/domain/url array.
    task_advance_cfg CsipRiskCenterTaskAdvanceCfgArgs
    Advanced configuration.
    task_mode float
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    task_name str
    Task Name.
    assets List<Property Map>
    Scan the asset information list.
    csipRiskCenterId String
    ID of the resource.
    scanAssetType Number
    0- Full scan, 1- Specify asset scan, 2- Exclude asset scan, 3- Manually fill in the scan. If 1 and 2 are required while task_mode not 1, the Assets field is required. If 3 is required, SelfDefiningAssets is required.
    scanFrom String
    Request origin.
    scanItems List<String>
    Scan Project. Example: port/poc/weakpass/webcontent/configrisk/exposedserver.
    scanPlanContent String
    Scan plan details.
    scanPlanType Number
    0- Periodic task, 1- immediate scan, 2- periodic scan, 3- Custom; 0, 2 and 3 are required for scan_plan_content.
    selfDefiningAssets List<String>
    Ip/domain/url array.
    taskAdvanceCfg Property Map
    Advanced configuration.
    taskMode Number
    Physical examination mode, 0-standard mode, 1-fast mode, 2-advanced mode, default standard mode.
    taskName String
    Task Name.

    Supporting Types

    CsipRiskCenterAsset, CsipRiskCenterAssetArgs

    Arn string
    Multi-cloud asset unique idNote: This field may return null, indicating that a valid value cannot be obtained.
    Asset string
    Ip/ domain name/asset id, database id, etc.
    AssetName string
    Asset nameNote: This field may return null, indicating that a valid value cannot be obtained.
    AssetType string
    Asset classificationNote: This field may return null, indicating that a valid value cannot be obtained.
    InstanceType string
    Asset typeNote: This field may return null, indicating that a valid value cannot be obtained.
    Region string
    RegionNote: This field may return null, indicating that a valid value cannot be obtained.
    Arn string
    Multi-cloud asset unique idNote: This field may return null, indicating that a valid value cannot be obtained.
    Asset string
    Ip/ domain name/asset id, database id, etc.
    AssetName string
    Asset nameNote: This field may return null, indicating that a valid value cannot be obtained.
    AssetType string
    Asset classificationNote: This field may return null, indicating that a valid value cannot be obtained.
    InstanceType string
    Asset typeNote: This field may return null, indicating that a valid value cannot be obtained.
    Region string
    RegionNote: This field may return null, indicating that a valid value cannot be obtained.
    arn String
    Multi-cloud asset unique idNote: This field may return null, indicating that a valid value cannot be obtained.
    asset String
    Ip/ domain name/asset id, database id, etc.
    assetName String
    Asset nameNote: This field may return null, indicating that a valid value cannot be obtained.
    assetType String
    Asset classificationNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceType String
    Asset typeNote: This field may return null, indicating that a valid value cannot be obtained.
    region String
    RegionNote: This field may return null, indicating that a valid value cannot be obtained.
    arn string
    Multi-cloud asset unique idNote: This field may return null, indicating that a valid value cannot be obtained.
    asset string
    Ip/ domain name/asset id, database id, etc.
    assetName string
    Asset nameNote: This field may return null, indicating that a valid value cannot be obtained.
    assetType string
    Asset classificationNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceType string
    Asset typeNote: This field may return null, indicating that a valid value cannot be obtained.
    region string
    RegionNote: This field may return null, indicating that a valid value cannot be obtained.
    arn str
    Multi-cloud asset unique idNote: This field may return null, indicating that a valid value cannot be obtained.
    asset str
    Ip/ domain name/asset id, database id, etc.
    asset_name str
    Asset nameNote: This field may return null, indicating that a valid value cannot be obtained.
    asset_type str
    Asset classificationNote: This field may return null, indicating that a valid value cannot be obtained.
    instance_type str
    Asset typeNote: This field may return null, indicating that a valid value cannot be obtained.
    region str
    RegionNote: This field may return null, indicating that a valid value cannot be obtained.
    arn String
    Multi-cloud asset unique idNote: This field may return null, indicating that a valid value cannot be obtained.
    asset String
    Ip/ domain name/asset id, database id, etc.
    assetName String
    Asset nameNote: This field may return null, indicating that a valid value cannot be obtained.
    assetType String
    Asset classificationNote: This field may return null, indicating that a valid value cannot be obtained.
    instanceType String
    Asset typeNote: This field may return null, indicating that a valid value cannot be obtained.
    region String
    RegionNote: This field may return null, indicating that a valid value cannot be obtained.

    CsipRiskCenterTaskAdvanceCfg, CsipRiskCenterTaskAdvanceCfgArgs

    CfgRisks List<CsipRiskCenterTaskAdvanceCfgCfgRisk>
    Configure advanced risk Settings.
    PortRisks List<CsipRiskCenterTaskAdvanceCfgPortRisk>
    Advanced Port Risk Configuration.
    VulRisks List<CsipRiskCenterTaskAdvanceCfgVulRisk>
    Advanced vulnerability risk configuration.
    WeakPwdRisks List<CsipRiskCenterTaskAdvanceCfgWeakPwdRisk>
    Weak password risk advanced configuration.
    CfgRisks []CsipRiskCenterTaskAdvanceCfgCfgRisk
    Configure advanced risk Settings.
    PortRisks []CsipRiskCenterTaskAdvanceCfgPortRisk
    Advanced Port Risk Configuration.
    VulRisks []CsipRiskCenterTaskAdvanceCfgVulRisk
    Advanced vulnerability risk configuration.
    WeakPwdRisks []CsipRiskCenterTaskAdvanceCfgWeakPwdRisk
    Weak password risk advanced configuration.
    cfgRisks List<CsipRiskCenterTaskAdvanceCfgCfgRisk>
    Configure advanced risk Settings.
    portRisks List<CsipRiskCenterTaskAdvanceCfgPortRisk>
    Advanced Port Risk Configuration.
    vulRisks List<CsipRiskCenterTaskAdvanceCfgVulRisk>
    Advanced vulnerability risk configuration.
    weakPwdRisks List<CsipRiskCenterTaskAdvanceCfgWeakPwdRisk>
    Weak password risk advanced configuration.
    cfgRisks CsipRiskCenterTaskAdvanceCfgCfgRisk[]
    Configure advanced risk Settings.
    portRisks CsipRiskCenterTaskAdvanceCfgPortRisk[]
    Advanced Port Risk Configuration.
    vulRisks CsipRiskCenterTaskAdvanceCfgVulRisk[]
    Advanced vulnerability risk configuration.
    weakPwdRisks CsipRiskCenterTaskAdvanceCfgWeakPwdRisk[]
    Weak password risk advanced configuration.
    cfg_risks Sequence[CsipRiskCenterTaskAdvanceCfgCfgRisk]
    Configure advanced risk Settings.
    port_risks Sequence[CsipRiskCenterTaskAdvanceCfgPortRisk]
    Advanced Port Risk Configuration.
    vul_risks Sequence[CsipRiskCenterTaskAdvanceCfgVulRisk]
    Advanced vulnerability risk configuration.
    weak_pwd_risks Sequence[CsipRiskCenterTaskAdvanceCfgWeakPwdRisk]
    Weak password risk advanced configuration.
    cfgRisks List<Property Map>
    Configure advanced risk Settings.
    portRisks List<Property Map>
    Advanced Port Risk Configuration.
    vulRisks List<Property Map>
    Advanced vulnerability risk configuration.
    weakPwdRisks List<Property Map>
    Weak password risk advanced configuration.

    CsipRiskCenterTaskAdvanceCfgCfgRisk, CsipRiskCenterTaskAdvanceCfgCfgRiskArgs

    Enable double
    Whether to enable, 0- No, 1- Enable.
    ItemId string
    Detection item ID.
    ResourceType string
    Resource type.
    Enable float64
    Whether to enable, 0- No, 1- Enable.
    ItemId string
    Detection item ID.
    ResourceType string
    Resource type.
    enable Double
    Whether to enable, 0- No, 1- Enable.
    itemId String
    Detection item ID.
    resourceType String
    Resource type.
    enable number
    Whether to enable, 0- No, 1- Enable.
    itemId string
    Detection item ID.
    resourceType string
    Resource type.
    enable float
    Whether to enable, 0- No, 1- Enable.
    item_id str
    Detection item ID.
    resource_type str
    Resource type.
    enable Number
    Whether to enable, 0- No, 1- Enable.
    itemId String
    Detection item ID.
    resourceType String
    Resource type.

    CsipRiskCenterTaskAdvanceCfgPortRisk, CsipRiskCenterTaskAdvanceCfgPortRiskArgs

    CheckType double
    Detection item type, 0-system defined, 1-user-defined.
    Detail string
    Description of detection items.
    Enable double
    Whether to enable, 0- No, 1- Enable.
    PortSets string
    Port collection, separated by commas.
    CheckType float64
    Detection item type, 0-system defined, 1-user-defined.
    Detail string
    Description of detection items.
    Enable float64
    Whether to enable, 0- No, 1- Enable.
    PortSets string
    Port collection, separated by commas.
    checkType Double
    Detection item type, 0-system defined, 1-user-defined.
    detail String
    Description of detection items.
    enable Double
    Whether to enable, 0- No, 1- Enable.
    portSets String
    Port collection, separated by commas.
    checkType number
    Detection item type, 0-system defined, 1-user-defined.
    detail string
    Description of detection items.
    enable number
    Whether to enable, 0- No, 1- Enable.
    portSets string
    Port collection, separated by commas.
    check_type float
    Detection item type, 0-system defined, 1-user-defined.
    detail str
    Description of detection items.
    enable float
    Whether to enable, 0- No, 1- Enable.
    port_sets str
    Port collection, separated by commas.
    checkType Number
    Detection item type, 0-system defined, 1-user-defined.
    detail String
    Description of detection items.
    enable Number
    Whether to enable, 0- No, 1- Enable.
    portSets String
    Port collection, separated by commas.

    CsipRiskCenterTaskAdvanceCfgVulRisk, CsipRiskCenterTaskAdvanceCfgVulRiskArgs

    Enable double
    Whether to enable, 0- No, 1- Enable.
    RiskId string
    Risk ID.
    Enable float64
    Whether to enable, 0- No, 1- Enable.
    RiskId string
    Risk ID.
    enable Double
    Whether to enable, 0- No, 1- Enable.
    riskId String
    Risk ID.
    enable number
    Whether to enable, 0- No, 1- Enable.
    riskId string
    Risk ID.
    enable float
    Whether to enable, 0- No, 1- Enable.
    risk_id str
    Risk ID.
    enable Number
    Whether to enable, 0- No, 1- Enable.
    riskId String
    Risk ID.

    CsipRiskCenterTaskAdvanceCfgWeakPwdRisk, CsipRiskCenterTaskAdvanceCfgWeakPwdRiskArgs

    CheckItemId double
    Detection item ID.
    Enable double
    Whether to enable, 0- No, 1- Enable.
    CheckItemId float64
    Detection item ID.
    Enable float64
    Whether to enable, 0- No, 1- Enable.
    checkItemId Double
    Detection item ID.
    enable Double
    Whether to enable, 0- No, 1- Enable.
    checkItemId number
    Detection item ID.
    enable number
    Whether to enable, 0- No, 1- Enable.
    check_item_id float
    Detection item ID.
    enable float
    Whether to enable, 0- No, 1- Enable.
    checkItemId Number
    Detection item ID.
    enable Number
    Whether to enable, 0- No, 1- Enable.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack