Call this operation to query the details of a single OSS object that has been authorized for Data Security Center.
Operation description
This operation is typically used to query the details of OSS objects. This information helps you accurately locate sensitive data assets in OSS.
Usage notes
The DescribeOssObjectDetail operation has been updated to DescribeOssObjectDetailV2. We recommend that you use the new version, DescribeOssObjectDetailV2, when you develop applications.
QPS limit
A single user can make up to 10 queries per second (QPS). If you exceed the limit, API calls are throttled. This may affect your business. We recommend that you plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeOssObjectDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. The default value is zh_cn. Valid values:
|
zh_cn |
| Id |
integer |
Yes |
The unique ID of the OSS object. Note
Call the DescribeOssObjects operation to obtain the ID. |
12345213 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
| OssObjectDetail |
object |
The details of the OSS object. |
|
| CategoryName |
string |
The name of the OSS object type. |
Excel |
| Name |
string |
The name of the OSS object. |
obj_id |
| BucketName |
string |
The name of the bucket to which the OSS object belongs. |
bucke*** |
| RiskLevelName |
string |
The name of the risk level for the OSS object. |
S2 |
| RegionId |
string |
The ID of the region where the OSS object is stored. |
cn-*** |
| RuleList |
array<object> |
A list of sensitive data detection rules that the OSS object hits. |
|
|
array<object> |
The details of a sensitive data detection rule that was hit. |
||
| RiskLevelName |
string |
The name of the risk level for the OSS object. |
S2 |
| CategoryName |
string |
The name of the OSS object type. |
Excel |
| RiskLevelId |
integer |
The ID of the risk level for the OSS object.
|
2 |
| Count |
integer |
The number of times the sensitive data detection rule was hit. |
2 |
| RuleName |
string |
The name of the sensitive data detection rule that was hit. |
name |
| ModelTags |
array<object> |
A list of data tags that are hit by the detection model. |
|
|
object |
A data tag object that is hit by the detection model. |
||
| Id |
integer |
The ID of the data tag for the detection model.
|
101 |
| Name |
string |
The name of the data tag for the detection model.
|
personal sensitive data |
Examples
Success response
JSON format
{
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"OssObjectDetail": {
"CategoryName": "Excel",
"Name": "obj_id",
"BucketName": "bucke***",
"RiskLevelName": "S2",
"RegionId": "cn-***",
"RuleList": [
{
"RiskLevelName": "S2",
"CategoryName": "Excel",
"RiskLevelId": 2,
"Count": 2,
"RuleName": "name",
"ModelTags": [
{
"Id": 101,
"Name": "personal sensitive data"
}
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.