Mengkueri daftar aturan berhalaman dalam templat klasifikasi data.
Deskripsi operasi
Retrieves the rules in a data classification template to help you review the rule details.
QPS limit
The queries per second (QPS) limit for a single user on this operation is 10 calls per second. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeCategoryTemplateRuleList |
list |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa permintaan dan tanggapan. Nilai default adalah zh_cn. Nilai valid:
|
zh_cn |
| PageSize |
integer |
No |
Jumlah aturan templat yang dikembalikan pada setiap halaman. Nilai default adalah 10. |
10 |
| CurrentPage |
integer |
No |
Nomor halaman. Nilai default adalah 1. |
1 |
| Status |
integer |
No |
Status aturan templat. Nilai default adalah null. Nilai valid:
|
1 |
| RiskLevelId |
integer |
No |
Tingkat risiko aturan templat. Nilai berkisar dari 1 hingga 11. Nilai default adalah null. Nilai valid:
|
2 |
| FeatureType |
integer |
No |
Parameter ini tidak digunakan lagi. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number. |
1 |
| RequestId |
string |
The ID of the request. |
136082B3-B21F-5E9D-B68E-991FFD205D24 |
| PageSize |
integer |
The number of template rules returned on each page. |
10 |
| TotalCount |
integer |
The total number of rules in the template. |
10 |
| Items |
array<object> |
A list of template rules. |
|
|
object |
|||
| Status |
integer |
The status of the template rule. Valid values:
|
1 |
| IdentificationScope |
string |
The scope of data that the template rule scans. This parameter is a string converted from a JSON array. Each element in the JSON array represents a data scanning scope and contains the following fields:
|
[{"Asset":"RDS","Content":[{"Range":"database","Operator":"regex","Value":"register"}]},{"Asset":"RDS","Content":[{"Range":"table","Operator":"regex","Value":"register"}]},{"Asset":"RDS","Content":[{"Range":"column","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"project","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"table","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"column","Operator":"regex","Value":"register"}]}] |
| RiskLevelId |
integer |
The risk level of the template rule. The value ranges from 1 to 11. Valid values:
|
2 |
| Description |
string |
The description of the rule. |
Template rule for identifying ID card numbers |
| IdentificationRuleIds |
string |
A comma-separated list of IDs of the associated atomic models. |
1001,1002 |
| Name |
string |
The name of the template rule. |
ID card |
| Id |
integer |
The unique ID of the template rule. |
100 |
Contoh
Respons sukses
JSONformat
{
"CurrentPage": 1,
"RequestId": "136082B3-B21F-5E9D-B68E-991FFD205D24",
"PageSize": 10,
"TotalCount": 10,
"Items": [
{
"Status": 1,
"IdentificationScope": "[{\"Asset\":\"RDS\",\"Content\":[{\"Range\":\"database\",\"Operator\":\"regex\",\"Value\":\"register\"}]},{\"Asset\":\"RDS\",\"Content\":[{\"Range\":\"table\",\"Operator\":\"regex\",\"Value\":\"register\"}]},{\"Asset\":\"RDS\",\"Content\":[{\"Range\":\"column\",\"Operator\":\"regex\",\"Value\":\"register\"}]},{\"Asset\":\"ODPS\",\"Content\":[{\"Range\":\"project\",\"Operator\":\"regex\",\"Value\":\"register\"}]},{\"Asset\":\"ODPS\",\"Content\":[{\"Range\":\"table\",\"Operator\":\"regex\",\"Value\":\"register\"}]},{\"Asset\":\"ODPS\",\"Content\":[{\"Range\":\"column\",\"Operator\":\"regex\",\"Value\":\"register\"}]}]",
"RiskLevelId": 2,
"Description": "Template rule for identifying ID card numbers",
"IdentificationRuleIds": "1001,1002",
"Name": "ID card",
"Id": 100
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.