Queries the details of a single OSS storage object that is authorized for connection in Data Security Center.
Operation description
This operation is used to query the details of an OSS storage object, which helps you accurately locate sensitive asset information in OSS.
Before you begin
The DescribeOssObjectDetail operation has been revised to DescribeOssObjectDetailV2. Use the newer version DescribeOssObjectDetailV2 when developing applications.
Rate limit
The single-user queries per second (QPS) limit for this operation is 10. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Call this operation as appropriate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeOssObjectDetail |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
| Id |
integer |
Yes |
The unique ID of the OSS storage object. Note
Call the DescribeOssObjects operation to obtain the ID. |
12345213 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
| OssObjectDetail |
object |
The details of the OSS storage object. |
|
| CategoryName |
string |
The object type name of the OSS storage object. |
Excel |
| Name |
string |
The name of the OSS storage object. |
obj_id |
| BucketName |
string |
The name of the bucket to which the OSS storage object belongs. |
bucke*** |
| RiskLevelName |
string |
The risk level name of the OSS storage object. |
S2 |
| RegionId |
string |
The region ID of the OSS storage object. |
cn-*** |
| RuleList |
array<object> |
The list of sensitive data detection rules that the OSS storage object hits. |
|
|
array<object> |
The details of the sensitive data detection rule that is 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.