The ALIYUN::ThreatDetection::AttackPathSensitiveAssetConfig type creates an attack path sensitive asset configuration.
Syntax
{
"Type": "ALIYUN::ThreatDetection::AttackPathSensitiveAssetConfig",
"Properties": {
"AttackPathAssetList": List
}
}Properties
Parameter | Type | Required | Editable | Description | Constraints |
AttackPathAssetList | List | true | true | A list of configurations for sensitive assets designated for attack path analysis. | Minimum length: 1. Maximum length: 100. For more information, see AttackPathAssetList Properties. |
AttackPathAssetList syntax
"AttackPathAssetList": [
{
"InstanceName": String,
"AssetType": Integer,
"InstanceId": String,
"Vendor": Integer,
"RegionId": String,
"AssetSubType": Integer
}
]AttackPathAssetList Properties
Parameter | Type | Required | Editable | Description | Constraints |
AssetSubType | Integer | true | true | The subtype of the asset. | None |
AssetType | Integer | true | true | The type of the asset. | None |
InstanceId | String | true | true | The ID of the asset instance. | None |
RegionId | String | true | true | The region ID of the asset instance. | None |
Vendor | Integer | true | true | The vendor of the asset. | Allowed values:
|
InstanceName | String | false | false | The name of the asset instance. | None |
Return Values
Fn::GetAtt
AttackPathSensitiveAssetConfigId: The ID of the attack path sensitive asset configuration.
AttackPathAssetList: A list of configurations for sensitive assets designated for attack path analysis.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AttackPathAssetList:
Description:
en: The attack path sensitive asset configuration list.
Required: true
Type: Json
MinLength: 1
MaxLength: 100
AssociationProperty: List[Parameters]
AssociationPropertyMetadata:
Parameters:
AssetType:
Type: Number
Description:
en: Type of the cloud product asset.
Required: true
Vendor:
Type: Number
Description:
en: Cloud product asset vendor.
AllowedValues:
- 0
Required: true
InstanceId:
Type: String
Description:
en: Cloud product asset instance ID.
Required: true
AssetSubType:
Type: Number
Description:
en: Subtype of the cloud product asset.
Required: true
RegionId:
Type: String
Description:
en: Region ID of the cloud product asset instance.
Required: true
InstanceName:
Type: String
Description:
en: Instance name of the cloud product asset.
Default: Null
Required: false
Resources:
ExtensionResource:
Type: ALIYUN::ThreatDetection::AttackPathSensitiveAssetConfig
Properties:
AttackPathAssetList:
Ref: AttackPathAssetList
Outputs:
AttackPathAssetList:
Value:
Fn::GetAtt:
- ExtensionResource
- AttackPathAssetList
Description: The attack path sensitive asset configuration list.
AttackPathSensitiveAssetConfigId:
Value:
Fn::GetAtt:
- ExtensionResource
- AttackPathSensitiveAssetConfigId
Description: Attack path sensitive asset configuration ID.
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"AttackPathAssetList": {
"Description": {
"en": "The attack path sensitive asset configuration list."
},
"Required": true,
"Type": "Json",
"MinLength": 1,
"MaxLength": 100,
"AssociationProperty": "List[Parameters]",
"AssociationPropertyMetadata": {
"Parameters": {
"AssetType": {
"Type": "Number",
"Description": {
"en": "Type of the cloud product asset."
},
"Required": true
},
"Vendor": {
"Type": "Number",
"Description": {
"en": "Cloud product asset vendor."
},
"AllowedValues": [
0
],
"Required": true
},
"InstanceId": {
"Type": "String",
"Description": {
"en": "Cloud product asset instance ID."
},
"Required": true
},
"AssetSubType": {
"Type": "Number",
"Description": {
"en": "Subtype of the cloud product asset."
},
"Required": true
},
"RegionId": {
"Type": "String",
"Description": {
"en": "Region ID of the cloud product asset instance."
},
"Required": true
},
"InstanceName": {
"Type": "String",
"Description": {
"en": "Instance name of the cloud product asset."
},
"Default": null,
"Required": false
}
}
}
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::ThreatDetection::AttackPathSensitiveAssetConfig",
"Properties": {
"AttackPathAssetList": {
"Ref": "AttackPathAssetList"
}
}
}
},
"Outputs": {
"AttackPathAssetList": {
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"AttackPathAssetList"
]
},
"Description": "The attack path sensitive asset configuration list."
},
"AttackPathSensitiveAssetConfigId": {
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"AttackPathSensitiveAssetConfigId"
]
},
"Description": "Attack path sensitive asset configuration ID."
}
}
}