Queries the data sources for DingTalk alert configurations. You can configure the scope of DingTalk alert notifications based on the data sources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeDataSource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
39.155.*.* |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| ConfigType |
string |
No |
The type of data source to retrieve. This parameter is currently fixed to DingTalk. |
DingTalk |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
7532B7EE-7CE7-5F4D-BF04-B12447DDXXXX |
| MetaDatas |
array<object> |
The metadata of the data sources. |
|
|
array<object> |
The metadata of the data sources. |
||
| Description |
string |
The description of the data source. |
dingtalk_suspicious |
| DataSourceName |
string |
The name of the data source. |
sas_analysis_pre-sas-operation-log-sas-event-suspicious |
| DataSourceId |
integer |
The ID of the data source. |
1753 |
| MetaDataFields |
array<object> |
The metadata fields. |
|
|
array<object> |
The metadata fields. |
||
| ValueType |
string |
The value type of the field. |
string |
| Filed |
string |
The key of the field. |
type |
| FiledName |
string |
The name of the field. |
dingtalk_vul_type |
| Sample |
string |
The sample field. |
all:dingtalk_all;cms:dingtalk_vul_cms;oval:dingtalk_vul_cve;sys:dingtalk_vul_sys;emg:dingtalk_vul_emg |
| OperatorList |
array<object> |
The operators. |
|
|
object |
The operator. |
||
| Description |
string |
The description of the operator. |
dingtalk_vul |
| Name |
string |
The name of the operator. |
regex |
Examples
Success response
JSON format
{
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDXXXX",
"MetaDatas": [
{
"Description": "dingtalk_suspicious",
"DataSourceName": "sas_analysis_pre-sas-operation-log-sas-event-suspicious",
"DataSourceId": 1753,
"MetaDataFields": [
{
"ValueType": "string",
"Filed": "type",
"FiledName": "dingtalk_vul_type",
"Sample": "all:dingtalk_all;cms:dingtalk_vul_cms;oval:dingtalk_vul_cve;sys:dingtalk_vul_sys;emg:dingtalk_vul_emg",
"OperatorList": [
{
"Description": "dingtalk_vul",
"Name": "regex"
}
]
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.