1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. threatdetection
  5. getCheckStructures
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

    This data source provides Threat Detection Check Structure available to the user.What is Check Structure

    NOTE: Available since v1.267.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = alicloud.threatdetection.getCheckStructures({});
    export const alicloudThreatDetectionCheckStructureExampleStandardType = _default.then(_default => _default.structures?.[0]?.standardType);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.threatdetection.get_check_structures()
    pulumi.export("alicloudThreatDetectionCheckStructureExampleStandardType", default.structures[0].standard_type)
    
    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 {
    		_default, err := threatdetection.GetCheckStructures(ctx, &threatdetection.GetCheckStructuresArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("alicloudThreatDetectionCheckStructureExampleStandardType", _default.Structures[0].StandardType)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = AliCloud.ThreatDetection.GetCheckStructures.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["alicloudThreatDetectionCheckStructureExampleStandardType"] = @default.Apply(@default => @default.Apply(getCheckStructuresResult => getCheckStructuresResult.Structures[0]?.StandardType)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.threatdetection.ThreatdetectionFunctions;
    import com.pulumi.alicloud.threatdetection.inputs.GetCheckStructuresArgs;
    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 default = ThreatdetectionFunctions.getCheckStructures(GetCheckStructuresArgs.builder()
                .build());
    
            ctx.export("alicloudThreatDetectionCheckStructureExampleStandardType", default_.structures()[0].standardType());
        }
    }
    
    variables:
      default:
        fn::invoke:
          function: alicloud:threatdetection:getCheckStructures
          arguments: {}
    outputs:
      alicloudThreatDetectionCheckStructureExampleStandardType: ${default.structures[0].standardType}
    

    Using getCheckStructures

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCheckStructures(args: GetCheckStructuresArgs, opts?: InvokeOptions): Promise<GetCheckStructuresResult>
    function getCheckStructuresOutput(args: GetCheckStructuresOutputArgs, opts?: InvokeOptions): Output<GetCheckStructuresResult>
    def get_check_structures(current_page: Optional[int] = None,
                             ids: Optional[Sequence[str]] = None,
                             lang: Optional[str] = None,
                             output_file: Optional[str] = None,
                             task_sources: Optional[Sequence[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCheckStructuresResult
    def get_check_structures_output(current_page: Optional[pulumi.Input[int]] = None,
                             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             lang: Optional[pulumi.Input[str]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             task_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCheckStructuresResult]
    func GetCheckStructures(ctx *Context, args *GetCheckStructuresArgs, opts ...InvokeOption) (*GetCheckStructuresResult, error)
    func GetCheckStructuresOutput(ctx *Context, args *GetCheckStructuresOutputArgs, opts ...InvokeOption) GetCheckStructuresResultOutput

    > Note: This function is named GetCheckStructures in the Go SDK.

    public static class GetCheckStructures 
    {
        public static Task<GetCheckStructuresResult> InvokeAsync(GetCheckStructuresArgs args, InvokeOptions? opts = null)
        public static Output<GetCheckStructuresResult> Invoke(GetCheckStructuresInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCheckStructuresResult> getCheckStructures(GetCheckStructuresArgs args, InvokeOptions options)
    public static Output<GetCheckStructuresResult> getCheckStructures(GetCheckStructuresArgs args, InvokeOptions options)
    
    fn::invoke:
      function: alicloud:threatdetection/getCheckStructures:getCheckStructures
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CurrentPage int
    The page number.
    Ids List<string>
    A list of Check Structure IDs.
    Lang string
    The language of the content within the request and response. Default value: zh. Valid values:- zh: Chinese- en: English
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    TaskSources List<string>
    List of task sources.
    CurrentPage int
    The page number.
    Ids []string
    A list of Check Structure IDs.
    Lang string
    The language of the content within the request and response. Default value: zh. Valid values:- zh: Chinese- en: English
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    TaskSources []string
    List of task sources.
    currentPage Integer
    The page number.
    ids List<String>
    A list of Check Structure IDs.
    lang String
    The language of the content within the request and response. Default value: zh. Valid values:- zh: Chinese- en: English
    outputFile String
    File name where to save data source results (after running pulumi preview).
    taskSources List<String>
    List of task sources.
    currentPage number
    The page number.
    ids string[]
    A list of Check Structure IDs.
    lang string
    The language of the content within the request and response. Default value: zh. Valid values:- zh: Chinese- en: English
    outputFile string
    File name where to save data source results (after running pulumi preview).
    taskSources string[]
    List of task sources.
    current_page int
    The page number.
    ids Sequence[str]
    A list of Check Structure IDs.
    lang str
    The language of the content within the request and response. Default value: zh. Valid values:- zh: Chinese- en: English
    output_file str
    File name where to save data source results (after running pulumi preview).
    task_sources Sequence[str]
    List of task sources.
    currentPage Number
    The page number.
    ids List<String>
    A list of Check Structure IDs.
    lang String
    The language of the content within the request and response. Default value: zh. Valid values:- zh: Chinese- en: English
    outputFile String
    File name where to save data source results (after running pulumi preview).
    taskSources List<String>
    List of task sources.

    getCheckStructures Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Check Structure IDs.
    Structures List<Pulumi.AliCloud.ThreatDetection.Outputs.GetCheckStructuresStructure>
    A list of Check Structure Entries. Each element contains the following attributes:
    CurrentPage int
    Lang string
    OutputFile string
    TaskSources List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Check Structure IDs.
    Structures []GetCheckStructuresStructure
    A list of Check Structure Entries. Each element contains the following attributes:
    CurrentPage int
    Lang string
    OutputFile string
    TaskSources []string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Check Structure IDs.
    structures List<GetCheckStructuresStructure>
    A list of Check Structure Entries. Each element contains the following attributes:
    currentPage Integer
    lang String
    outputFile String
    taskSources List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Check Structure IDs.
    structures GetCheckStructuresStructure[]
    A list of Check Structure Entries. Each element contains the following attributes:
    currentPage number
    lang string
    outputFile string
    taskSources string[]
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Check Structure IDs.
    structures Sequence[GetCheckStructuresStructure]
    A list of Check Structure Entries. Each element contains the following attributes:
    current_page int
    lang str
    output_file str
    task_sources Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Check Structure IDs.
    structures List<Property Map>
    A list of Check Structure Entries. Each element contains the following attributes:
    currentPage Number
    lang String
    outputFile String
    taskSources List<String>

    Supporting Types

    GetCheckStructuresStructure

    StandardType string
    The type of the check item.- RISK: security risk.- IDENTITY_PERMISSION: Cloud Infrastructure Entitlement Management (CIEM).- COMPLIANCE: security compliance.
    Standards List<Pulumi.AliCloud.ThreatDetection.Inputs.GetCheckStructuresStructureStandard>
    The structure information about the check items of the business type.
    StandardType string
    The type of the check item.- RISK: security risk.- IDENTITY_PERMISSION: Cloud Infrastructure Entitlement Management (CIEM).- COMPLIANCE: security compliance.
    Standards []GetCheckStructuresStructureStandard
    The structure information about the check items of the business type.
    standardType String
    The type of the check item.- RISK: security risk.- IDENTITY_PERMISSION: Cloud Infrastructure Entitlement Management (CIEM).- COMPLIANCE: security compliance.
    standards List<GetCheckStructuresStructureStandard>
    The structure information about the check items of the business type.
    standardType string
    The type of the check item.- RISK: security risk.- IDENTITY_PERMISSION: Cloud Infrastructure Entitlement Management (CIEM).- COMPLIANCE: security compliance.
    standards GetCheckStructuresStructureStandard[]
    The structure information about the check items of the business type.
    standard_type str
    The type of the check item.- RISK: security risk.- IDENTITY_PERMISSION: Cloud Infrastructure Entitlement Management (CIEM).- COMPLIANCE: security compliance.
    standards Sequence[GetCheckStructuresStructureStandard]
    The structure information about the check items of the business type.
    standardType String
    The type of the check item.- RISK: security risk.- IDENTITY_PERMISSION: Cloud Infrastructure Entitlement Management (CIEM).- COMPLIANCE: security compliance.
    standards List<Property Map>
    The structure information about the check items of the business type.

    GetCheckStructuresStructureStandard

    Id int
    The ID of the section for the check item.
    Requirements List<Pulumi.AliCloud.ThreatDetection.Inputs.GetCheckStructuresStructureStandardRequirement>
    The standards of the check items.
    ShowName string
    The display name of the standard for the check item.
    Type string
    The standard type of the check item. Valid values:- RISK: security risk.- IDENTITY_PERMISSION: CIEM.- COMPLIANCE: security compliance.
    Id int
    The ID of the section for the check item.
    Requirements []GetCheckStructuresStructureStandardRequirement
    The standards of the check items.
    ShowName string
    The display name of the standard for the check item.
    Type string
    The standard type of the check item. Valid values:- RISK: security risk.- IDENTITY_PERMISSION: CIEM.- COMPLIANCE: security compliance.
    id Integer
    The ID of the section for the check item.
    requirements List<GetCheckStructuresStructureStandardRequirement>
    The standards of the check items.
    showName String
    The display name of the standard for the check item.
    type String
    The standard type of the check item. Valid values:- RISK: security risk.- IDENTITY_PERMISSION: CIEM.- COMPLIANCE: security compliance.
    id number
    The ID of the section for the check item.
    requirements GetCheckStructuresStructureStandardRequirement[]
    The standards of the check items.
    showName string
    The display name of the standard for the check item.
    type string
    The standard type of the check item. Valid values:- RISK: security risk.- IDENTITY_PERMISSION: CIEM.- COMPLIANCE: security compliance.
    id int
    The ID of the section for the check item.
    requirements Sequence[GetCheckStructuresStructureStandardRequirement]
    The standards of the check items.
    show_name str
    The display name of the standard for the check item.
    type str
    The standard type of the check item. Valid values:- RISK: security risk.- IDENTITY_PERMISSION: CIEM.- COMPLIANCE: security compliance.
    id Number
    The ID of the section for the check item.
    requirements List<Property Map>
    The standards of the check items.
    showName String
    The display name of the standard for the check item.
    type String
    The standard type of the check item. Valid values:- RISK: security risk.- IDENTITY_PERMISSION: CIEM.- COMPLIANCE: security compliance.

    GetCheckStructuresStructureStandardRequirement

    Id int
    The ID of the section for the check item.
    Sections List<Pulumi.AliCloud.ThreatDetection.Inputs.GetCheckStructuresStructureStandardRequirementSection>
    The information about the sections of check items.
    ShowName string
    The display name of the standard for the check item.
    TotalCheckCount int
    The total number of check items for the requirement.
    Id int
    The ID of the section for the check item.
    Sections []GetCheckStructuresStructureStandardRequirementSection
    The information about the sections of check items.
    ShowName string
    The display name of the standard for the check item.
    TotalCheckCount int
    The total number of check items for the requirement.
    id Integer
    The ID of the section for the check item.
    sections List<GetCheckStructuresStructureStandardRequirementSection>
    The information about the sections of check items.
    showName String
    The display name of the standard for the check item.
    totalCheckCount Integer
    The total number of check items for the requirement.
    id number
    The ID of the section for the check item.
    sections GetCheckStructuresStructureStandardRequirementSection[]
    The information about the sections of check items.
    showName string
    The display name of the standard for the check item.
    totalCheckCount number
    The total number of check items for the requirement.
    id int
    The ID of the section for the check item.
    sections Sequence[GetCheckStructuresStructureStandardRequirementSection]
    The information about the sections of check items.
    show_name str
    The display name of the standard for the check item.
    total_check_count int
    The total number of check items for the requirement.
    id Number
    The ID of the section for the check item.
    sections List<Property Map>
    The information about the sections of check items.
    showName String
    The display name of the standard for the check item.
    totalCheckCount Number
    The total number of check items for the requirement.

    GetCheckStructuresStructureStandardRequirementSection

    Id int
    The ID of the section for the check item.
    ShowName string
    The display name of the standard for the check item.
    Id int
    The ID of the section for the check item.
    ShowName string
    The display name of the standard for the check item.
    id Integer
    The ID of the section for the check item.
    showName String
    The display name of the standard for the check item.
    id number
    The ID of the section for the check item.
    showName string
    The display name of the standard for the check item.
    id int
    The ID of the section for the check item.
    show_name str
    The display name of the standard for the check item.
    id Number
    The ID of the section for the check item.
    showName String
    The display name of the standard for the check item.

    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