All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::ThreatDetection::CustomCheckStandardPolicy

Last Updated:Apr 02, 2026

The ALIYUN::ThreatDetection::CustomCheckStandardPolicy type creates and associates standards, regulations, or sections within the check item categorization settings.

Syntax

{
  "Type": "ALIYUN::ThreatDetection::CustomCheckStandardPolicy",
  "Properties": {
    "PolicyType": String,
    "PolicyShowName": String,
    "DependentPolicyId": Integer,
    "Type": String
  }
}

Properties

Property Name

Type

Required

Updatable

Description

Constraints

PolicyType

String

Yes

No

The policy categorization type for custom check item rules.

Values:

  • STANDARD: Add a new ownership standard.

  • Requirement: Add an attribution provision.

  • SECTION: Add a new affiliated section.

PolicyShowName

String

Yes

Yes

The name of the custom policy.

None

DependentPolicyId

Integer

No

Yes

The ID of the associated parent policy.

None

Type

String

No

Yes

The name of the associated major policy category.

Values:

  • AISPM: AI Configuration Management (AISPM).

  • IDENTITY_PERMISSION: Identity Permission Management (CIEM).

  • RISK: Security risk.

  • COMPLIANCE: Compliance risk.

Return Values

Fn::GetAtt

PolicyId: The ID of the custom policy.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  PolicyType:
    Type: String
    Description:
      en: |-
        The category type of the custom check policy:
        - STANDARD: standard.
        - REQUIREMENT: requirement.
        - SECTION: section.
    AllowedValues:
      - STANDARD
      - REQUIREMENT
      - SECTION
    Required: true
  PolicyShowName:
    Type: String
    Description:
      en: The name of the custom policy.
    Required: true
    MinLength: 1
    MaxLength: 64
Resources:
  CustomCheckStandardPolicy:
    Type: ALIYUN::ThreatDetection::CustomCheckStandardPolicy
    Properties:
      PolicyType:
        Ref: PolicyType
      PolicyShowName:
        Ref: PolicyShowName
Outputs:
  PolicyId:
    Description: The ID of the custom check policy.
    Value:
      Fn::GetAtt:
        - CustomCheckStandardPolicy
        - PolicyId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "PolicyType": {
      "Type": "String",
      "Description": {
        "en": "The category type of the custom check policy:\n- STANDARD: standard.\n- REQUIREMENT: requirement.\n- SECTION: section."
      },
      "AllowedValues": [
        "STANDARD",
        "REQUIREMENT",
        "SECTION"
      ],
      "Required": true
    },
    "PolicyShowName": {
      "Type": "String",
      "Description": {
        "en": "The name of the custom policy."
      },
      "Required": true,
      "MinLength": 1,
      "MaxLength": 64
    }
  },
  "Resources": {
    "CustomCheckStandardPolicy": {
      "Type": "ALIYUN::ThreatDetection::CustomCheckStandardPolicy",
      "Properties": {
        "PolicyType": {
          "Ref": "PolicyType"
        },
        "PolicyShowName": {
          "Ref": "PolicyShowName"
        }
      }
    }
  },
  "Outputs": {
    "PolicyId": {
      "Description": "The ID of the custom check policy.",
      "Value": {
        "Fn::GetAtt": [
          "CustomCheckStandardPolicy",
          "PolicyId"
        ]
      }
    }
  }
}