Creates the sensitive asset configuration for attack paths.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateAttackPathSensitiveAssetConfig |
create |
*AttackPathSensitiveAssetConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AttackPathAssetList |
array<object> |
Yes |
The list of cloud service assets. |
|
|
object |
No |
|||
| InstanceId |
string |
Yes |
The instance ID of the cloud service asset. Note
You can call the ListCloudAssetInstances operation to query the instance ID of the cloud service asset. |
i-8vb0e8qdaj0yyxjo**** |
| Vendor |
integer |
Yes |
The vendor of the cloud service asset. Note
You can call the ListCloudAssetInstances operation to query the vendor of the cloud service asset. |
0 |
| AssetType |
integer |
Yes |
The type of the cloud service asset. Note
You can call the ListCloudAssetInstances operation to query the type of the cloud service asset. |
17 |
| AssetSubType |
integer |
Yes |
The subtype of the cloud service asset. Note
You can call the ListCloudAssetInstances operation to query the subtype of the cloud service asset. |
0 |
| RegionId |
string |
Yes |
The region ID of the cloud service asset instance. Note
You can call the ListCloudAssetInstances operation to query the region ID of the cloud service asset instance. |
cn-hangzhou |
| ConfigType |
string |
Yes |
The configuration type. Valid values:
|
asset_instance |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
ADE57832-9666-511C-9A80-B87DE2E8**** |
| AttackPathSensitiveAssetConfig |
object |
The sensitive asset configuration data for attack paths. |
|
| AttackPathSensitiveAssetConfigId |
string |
The ID of the sensitive asset configuration for attack paths. |
apsac-123 |
Examples
Success response
JSON format
{
"RequestId": "ADE57832-9666-511C-9A80-B87DE2E8****",
"AttackPathSensitiveAssetConfig": {
"AttackPathSensitiveAssetConfigId": "apsac-123"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DataExists | data exist | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.