調用本介面查詢敏感性資料識別規則的列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sddp:DescribeRules |
get |
*全部資源
|
|
無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Lang |
string |
否 |
請求和接收訊息的語言類型。取值:
|
zh |
| PageSize |
integer |
否 |
列表每頁顯示的資料最大條數。 |
12 |
| CurrentPage |
integer |
否 |
分頁查詢時的頁碼。 |
1 |
| CustomType |
integer |
否 |
敏感性資料識別規則的類型。取值:
|
1 |
| Category |
integer |
否 |
敏感性資料識別規則內容的類型。取值:
|
2 |
| Name |
string |
否 |
敏感性資料識別規則名稱,支援模糊比對。 |
***規則 |
| RiskLevelId |
integer |
否 |
敏感性資料識別規則的敏感等級 ID。取值:
|
2 |
| RuleType |
integer |
否 |
敏感性資料識別規則的類型。取值:
|
1 |
| MatchType |
integer |
否 |
匹配類型。取值:
|
1 |
| ProductCode |
integer |
否 |
資料資產所屬的產品名稱。取值:
|
MaxCompute |
| ProductId |
integer |
否 |
資料資產所屬的產品名稱對應的 ID。取值:
|
1 |
| WarnLevel |
integer |
否 |
危險等級。
|
2 |
| ContentCategory |
integer |
否 |
內容類型,取值:
|
1 |
| Status |
integer |
否 |
狀態。取值:
|
1 |
| KeywordCompatible |
boolean |
否 |
新舊版關鍵字是否相容。
說明
舊版請求參數 Category 的關鍵字類型取值為 0,新版請求參數 Category 的關鍵字類型取值為 5,根據業務選擇是否需要相容。 |
true |
| GroupId |
string |
否 |
規則父類分組。 |
4_1 |
| SupportForm |
integer |
否 |
規則支援的資料資產類型,取值:
說明
查詢支援結構化資產或非結構化資產時,返回的資料中除包含查詢的資料資產類型外,還包含全部資產。 |
1 |
| FeatureType |
integer |
否 |
該參數已廢棄。 |
2 |
| CooperationChannel |
string |
否 |
請求外部合作來源。
|
DAS |
| Simplify |
boolean |
否 |
是否擷取簡化版本規則(只包含規則名稱)。
|
false |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| CurrentPage |
integer |
結果中顯示的當前頁的頁碼。 |
1 |
| RequestId |
string |
結果的請求 ID。 |
769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
| PageSize |
integer |
結果中每頁顯示的資料條數。 |
12 |
| TotalCount |
integer |
結果中資料的總條數。 |
23 |
| Items |
array<object> |
敏感性資料識別規則列表。 |
|
|
object |
敏感性資料識別規則詳情。 |
||
| DisplayName |
string |
敏感性資料識別規則的建立人帳號顯示名稱。 |
****test |
| Status |
integer |
敏感性資料識別規則的檢測狀態。取值:
|
1 |
| SupportForm |
integer |
規則支援的資料資產類型,取值:
|
2 |
| WarnLevel |
integer |
危險等級。
|
2 |
| UserId |
integer |
敏感性資料識別規則的建立人帳號 ID。 |
0 |
| StatExpress |
string |
統計運算式。 |
1 |
| GmtModified |
integer |
敏感性資料識別規則的修改時間。格式:時間戳記。單位:毫秒。 |
1545277010000 |
| RiskLevelId |
integer |
敏感性資料識別規則的敏感等級 ID。取值:
|
2 |
| Description |
string |
敏感性資料識別規則的描述資訊。 |
用於識別IP地址 |
| ProductId |
integer |
資料資產所屬的產品名稱對應的 ID。取值:
|
2 |
| Name |
string |
敏感性資料識別規則的名稱。 |
IP地址 |
| Content |
string |
敏感性資料識別規則的內容。 說明
內建識別規則,即 CustomType 為 0 的識別規則,不返回規則的內容。 |
(?:\\D|^)((?:(?:25[0-4]|2[0-4]\\d|1\\d{2}|[1-9]\\d{1})\\.)(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d)\\.){2}(?:25[0-5]|2[0-4]\\d|1[0-9]\\d|[1-9]\\d|[1-9]))(?:\\D|$) |
| Target |
string |
資料資產所屬的產品名稱。取值:
|
MaxCompute |
| LoginName |
string |
敏感性資料識別規則的建立人帳號登入名稱。 |
det1111 |
| CategoryName |
string |
敏感性資料識別規則內容所屬類型名稱。 |
Regex |
| ContentCategory |
string |
內容類型,取值:
|
1 |
| HitTotalCount |
integer |
叫用次數。 |
3 |
| GroupId |
string |
規則父類分組。 |
4_1 |
| CustomType |
integer |
敏感性資料識別規則類型。
|
1 |
| RiskLevelName |
string |
敏感性資料識別規則的風險等級名稱。取值:
|
S2 |
| GmtCreate |
integer |
敏感性資料識別規則的建立時間。格式:時間戳記。單位:毫秒。 |
1545277010000 |
| Category |
integer |
敏感性資料識別規則內容的類型。取值:
|
2 |
| MajorKey |
string |
主維度 key。 |
key |
| Id |
integer |
儲存記錄的敏感性資料識別規則的唯一標識 ID。 |
20000 |
| ProductCode |
string |
資料資產所屬的產品名稱。取值:
|
MaxCompute |
| MatchType |
integer |
匹配類型。取值:
|
1 |
| TemplateRuleIds |
string |
敏感性資料審計對應模版 ID 集合。 |
1 |
| ModelRuleIds |
string |
敏感性資料審計對應模型 ID 集合。 |
1452 |
| ThreatAnalysisStatus |
integer |
0 |
|
| AuditMode |
integer |
0 |
樣本
正常返回樣本
JSON格式
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"PageSize": 12,
"TotalCount": 23,
"Items": [
{
"DisplayName": "****test",
"Status": 1,
"SupportForm": 2,
"WarnLevel": 2,
"UserId": 0,
"StatExpress": "1",
"GmtModified": 1545277010000,
"RiskLevelId": 2,
"Description": "用於識別IP地址",
"ProductId": 2,
"Name": "IP地址",
"Content": "(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)",
"Target": "MaxCompute",
"LoginName": "det1111",
"CategoryName": "Regex",
"ContentCategory": "1",
"HitTotalCount": 3,
"GroupId": "4_1",
"CustomType": 1,
"RiskLevelName": "S2",
"GmtCreate": 1545277010000,
"Category": 2,
"MajorKey": "key",
"Id": 20000,
"ProductCode": "MaxCompute",
"MatchType": 1,
"TemplateRuleIds": "1",
"ModelRuleIds": "1452",
"ThreatAnalysisStatus": 0,
"AuditMode": 0
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。