全部產品
Search
文件中心

Data Security Center:DescribeDataObjects - 查詢資料對象列表

更新時間:Apr 07, 2026

調用本介面查詢資料表、檔案的資料識別結果。

介面說明

本介面用於查詢資料表、檔案的識別結果,便於從全域視角查詢資產的資料識別結果。

QPS 限制

本介面的單使用者 QPS 限制為 10 次/秒。超過限制,API 呼叫將會被限流,這可能影響您的業務,請合理調用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

yundun-sddp:DescribeDataObjects

get

*全部資源

*

  • acs:ResourceGroupId

請求參數

名稱

類型

必填

描述

樣本值

Lang

string

請求和接收訊息的語言類型,預設為zh_cn。取值:

  • zh_cn:中文。

  • en_us:英文。

zh_cn

PageSize

integer

分頁查詢時,設定列表中每頁顯示的資料資產執行個體的最大條數。預設值:10

10

CurrentPage

integer

分頁查詢時的頁碼。預設值:1。

1

ProductIds

string

建議填寫,待查詢的產品識別碼 列表,多個用逗號分隔。取值:

  • 1:MaxCompute

  • 2:OSS

  • 3:ADB-MYSQL

  • 4:TableStore

  • 5:RDS

  • 6:SELF_DB

  • 7:PolarDB-X

  • 8:PolarDB

  • 9:ADB-PG

  • 10:OceanBase

  • 11:MongoDB

  • 25:Redis

說明

OSS 與其他產品互斥,即如果待查詢中有 OSS,則不能有其他產品列表;預設查詢的為非 OSS 產品。

1,5

ParentCategoryIds

string

待查詢範本的父分類列表,多個父分類別識別碼 用逗號分隔。

234,236,238

QueryName

string

待查詢的資料對象關鍵字。

t_sddp_selfmysql_pers0

ServiceRegionId

string

資產所在的地區。取值:

  • cn-beijing:華北 2(北京)。

  • cn-zhangjiakou:華北 3(張家口)。

  • cn-huhehaote:華北 5(呼和浩特)。

  • cn-hangzhou:華東 1(杭州)。

  • cn-shanghai:華東 2(上海)。

  • cn-shenzhen:華南 1(深圳)。

  • cn-hongkong:中國香港。

cn-hangzhou

TemplateId

integer

行業模版 ID。

說明

您可以通過調用 DescribeCategoryTemplateList 擷取行業模板標識 ID。

1

DomainId

integer

資料資產所屬的資料域 ID。

2

ModelTagIds

string

待查詢的資料標籤,多個用逗號分隔。取值:

  • 101:個人敏感資訊。

  • 102:個人資訊。

  • 107:通用資訊。

101,102

RiskLevels

string

指定要查詢的資料資產的風險等級,存在多個時使用英文逗號(,)隔開。

  • 2:S1,弱風險等級。

  • 3:S2,中等風險等級。

  • 4:S3,高風險等級。

  • 5:S4,最高風險等級。

2

InstanceId

string

資產執行個體 ID 關鍵字。

8vb54hn2g9j191ddz

ModelIds

string

行業模板的模型 ID,多個 ID 通過逗號分隔。

說明

您可以通過調用 DescribeTemplateAllRules 擷取行業模板模型標識 ID。

101

FileType

integer

支援識別的 OSS 檔案類型。

說明

您可以通過調用 DescribeDocTypes 擷取支援識別的 OSS 檔案類型,取傳回值中的 Code 欄位值,本參數僅對 OSS 類型的資產查詢有效。

100001

FileCategoryCode

integer

檔案分類編碼。

1

MemberAccount

integer

成員帳號 ID。

**********8103

FeatureType

integer

此參數已廢棄。

2

APIVersion

integer

使用這個來進行灰階判斷

1

RegionId

string

資料目錄展示頁的地區

cn-zhangjiakou

ProductId

integer

資料目錄的產品

5

RuleIds

string

規則篩選

1,2,3

RiskLevelIdList

string

分級篩選

1,2,3

TableName

string

任務名篩選

TableName

DbName

string

資料庫名篩選

dataBaseName

TaskId

integer

任務 Id 篩選

1

Bucket

string

oss 的桶篩選

bucketName

Project

string

SLS 的 project 篩選

project

LogStore

string

sls 的 logstore 篩選

logstore

LogStoreFlag

integer

資料目錄的 sls 頁面有兩層,需要用這個進行判斷,是尋找的 logstore 維度資料

1

Path

string

檔案路徑篩選

road

返回參數

名稱

類型

描述

樣本值

object

CurrentPage

integer

分頁查詢時,設定當前頁面的頁碼。預設值:1

1

RequestId

string

本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。

E6F6460E-4330-549A-BD89-C183FB17571E

PageSize

integer

分頁查詢時,設定列表中每頁顯示的資料資產執行個體的最大條數。預設值:10

10

TotalCount

integer

查詢結果總條數。

21

Items

array<object>

資料對象列表。

array<object>

資料對象列表。

Name

string

資料對象的名稱。

t_sddp_selfmysql_pers0

Id

string

資料對象的唯一標識 ID。

20000

TemplateId

integer

行業模版 ID

1

ProductId

integer

資料對象所屬的產品名稱對應的 ID。取值:

  • 1:MaxCompute

  • 2:OSS

  • 3:ADB-MYSQL

  • 4:TableStore

  • 5:RDS

  • 6:SELF_DB

  • 7:PolarDB-X

  • 8:PolarDB

  • 9:ADB-PG

  • 10:OceanBase

  • 11:MongoDB

  • 25:Redis

5

InstanceDescription

string

資料對象的執行個體描述。

instance description

ProductCode

string

資料對象所屬的產品名稱。取值:

  • MaxCompute

  • OSS

  • ADB-MYSQL

  • TableStore

  • RDS

  • SELF_DB

  • PolarDB-X

  • PolarDB

  • ADB-PG

  • OceanBase

  • MongoDB

  • Redis

RDS

SensitiveCount

integer

敏感性資料數量

1

ObjectType

string

資料物件類型。

text type

Path

string

資料對象的路徑。

rm-12**.db_***

RegionName

string

地區名稱。

cn-hangzhou

Categories

array

敏感性資料所資料的行業分類列表。

string

敏感性資料所資料的行業分類列表,多個分類通過逗號分隔。

general sensitive information

ModelTags

array<object>

資料標籤列表。

object

資料標籤列表。

Id

integer

資料標籤 ID。取值:

  • 101:個人敏感資訊。

  • 102:個人資訊。

  • 107:通用資訊。

101

Name

string

資料標籤名稱。取值:

  • 個人敏感資訊。

  • 個人資訊。

  • 通用資訊。

Personal sensitive information

RuleList

array<object>

命中的識別模型列表。

object

命中的識別模型列表。

RuleId

integer

識別模型 ID。

1080

RuleName

string

識別模型名稱。

name

RiskLevelId

integer

敏感性資料識別規則的風險等級 ID。取值:

  • 1:N/A:未識別到敏感性資料。

  • 2:S1:1 級敏感性資料。

  • 3:S2:2 級敏感性資料。

  • 4:S3:3 級敏感性資料。

  • 5:S4:4 級敏感性資料。

2

RiskLevelName

string

資料資產表的風險等級名稱。取值:

  • N/A:未識別到敏感性資料。

  • S1:1 級敏感性資料。

  • S2:2 級敏感性資料。

  • S3:3 級敏感性資料。

  • S4:4 級敏感性資料。

S1

RuleCount

integer

命中識別模型數量。

590

RuleCategoryNameList

string

從模板的最高到底部進行規則資訊的描述

Personal sensitive information-ID card

SampleList

string

範例資料

["Lucy","Tom"]

ObjectFileCategory

string

檔案分類名稱。

text file

MemberAccount

integer

成員帳號 ID。

**********8103

LastModifiedTime

integer

檔案最新更新時間,單位為毫秒。

1687676649830

InstanceId

string

資料資產執行個體 ID。

rm-12*****

LastScanTime

integer

最新掃描的時間戳記,單位為毫秒。

1687676649830

RegionId

string

資料對象所屬的地區 ID。

cn-hangzhou

Comment

string

列備忘

comment

DataType

string

資料庫列類型

varchar

DbName

string

資料庫名

DataBaseName

TableName

string

表名

tableName

RiskLevelId

integer

敏感等級

1

TaskId

integer

任務 Id

1

TaskNumber

integer

使用者任務 number

1000

TaskName

string

任務名

test-task

IsRevision

integer

訂正狀態

-1

MaskStatus

integer

列加密狀態

-1

FileCategoryCode

integer

檔案類型

1

Size

integer

檔案大小

1000

RuleCount

integer

命中的規則數

10

Sx

string

命中敏感等級規則的數量組成的數組,格式如下“S1,S2,S3,S4,S5,S6,S7,S8,S9,S10”,其中 S1 代表命中敏感等級為 S1 的規則數量

1,2,3,0,0,0,0,5,0,0

TemplateName

string

模板名

test

Project

string

sls 的 project

project

LogStore

string

sls 的 logStore

logStore

樣本

正常返回樣本

JSON格式

{
  "CurrentPage": 1,
  "RequestId": "E6F6460E-4330-549A-BD89-C183FB17571E",
  "PageSize": 10,
  "TotalCount": 21,
  "Items": [
    {
      "Name": "t_sddp_selfmysql_pers0",
      "Id": "20000",
      "TemplateId": 1,
      "ProductId": 5,
      "InstanceDescription": "instance description",
      "ProductCode": "RDS",
      "SensitiveCount": 1,
      "ObjectType": "text type",
      "Path": "rm-12**.db_***",
      "RegionName": "cn-hangzhou",
      "Categories": [
        "general sensitive information"
      ],
      "ModelTags": [
        {
          "Id": 101,
          "Name": "Personal sensitive information"
        }
      ],
      "RuleList": [
        {
          "RuleId": 1080,
          "RuleName": "name",
          "RiskLevelId": 2,
          "RiskLevelName": "S1",
          "RuleCount": 590,
          "RuleCategoryNameList": "Personal sensitive information-ID card",
          "SampleList": "[\"Lucy\",\"Tom\"]"
        }
      ],
      "ObjectFileCategory": "text file",
      "MemberAccount": 0,
      "LastModifiedTime": 1687676649830,
      "InstanceId": "rm-12*****",
      "LastScanTime": 1687676649830,
      "RegionId": "cn-hangzhou",
      "Comment": "comment",
      "DataType": "varchar",
      "DbName": "DataBaseName",
      "TableName": "tableName",
      "RiskLevelId": 1,
      "TaskId": 1,
      "TaskNumber": 1000,
      "TaskName": "test-task",
      "IsRevision": -1,
      "MaskStatus": -1,
      "FileCategoryCode": 1,
      "Size": 1000,
      "RuleCount": 10,
      "Sx": "1,2,3,0,0,0,0,5,0,0",
      "TemplateName": "test",
      "Project": "project",
      "LogStore": "logStore"
    }
  ]
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情