Queries Object Storage Service (OSS) objects that you authorize Data Security Center (DSC) to access.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Valid values:
| zh |
Name | string | No | The search keyword. Fuzzy match is supported. | test |
RiskLevelId | integer | No | The sensitivity level of the OSS object. Valid values:
| 2 |
RuleId | long | No | The ID of the sensitive data detection rule that the OSS object hits. Note
You can call the DescribeRules operation to query the ID of the sensitive data detection rule.
| 1222 |
InstanceId | string | No | The ID of the instance to which the OSS object belongs. Note
You can call the DescribeInstances operation to query the instance ID.
| ins-2222 |
PageSize | integer | No | The number of entries to return on each page. | 12 |
CurrentPage | integer | No | The page number of the page to return. | 1 |
ServiceRegionId | string | No | The region in which the data asset resides. | cn-hangzhou |
LastScanTimeStart | long | No | The start time of the last scan. The value is a UNIX timestamp. Unit: milliseconds. | 1536751124000 |
LastScanTimeEnd | long | No | The end time of the last scan. The value is a UNIX timestamp. Unit: milliseconds. | 1536751124000 |
TemplateId | long | No | The ID of the industry-specific rule template. | 1 |
FileCategoryCode | long | No | The code of the file type. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"PageSize": 12,
"TotalCount": 1,
"Items": [
{
"InstanceId": 1232122,
"CategoryName": "MP4 file\n",
"RiskLevelId": 2,
"RegionId": "cn-***",
"FileId": "file-22***",
"Size": 20,
"BucketName": "oss-duplicate-***",
"RiskLevelName": "Medium sensitivity level\n",
"Category": 900001,
"Name": "obj_id",
"RuleCount": 100,
"SensitiveCount": 50,
"Id": "17383",
"RuleList": [
{
"Name": "ID card\n",
"RiskLevelId": 2,
"Count": 100
}
],
"FileCategoryCode": 1,
"FileCategoryName": "text file"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2023-09-25 | The request parameters of the API has changed. The response structure of the API has changed | see changesets | ||||||
|