Queries the details of a single storage object in OSS that is authorized for connection to 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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeOssObjectDetailV2 |
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 |
string |
No |
The unique ID of the OSS storage object. Note
Call the DescribeOssObjects operation to obtain the ID. |
12300 |
| ServiceRegionId |
string |
No |
The service region ID, which is the region ID of the bucket. |
cn-hangzhou |
| BucketName |
string |
No |
The bucket name. |
sddp-api-scan-demo |
| ObjectKey |
string |
No |
The full name of the file stored in OSS. |
dir1/test.png |
| TemplateId |
integer |
No |
The industry template ID. Note
Call the DescribeCategoryTemplateList operation to obtain the industry template ID. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues. |
769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
| OssObjectDetail |
object |
The details of the OSS storage object. |
|
| CategoryName |
string |
The parent category of the model. |
Sensitive image information |
| Name |
string |
The name of the OSS storage object. |
dir1/test.png |
| BucketName |
string |
The name of the bucket to which the OSS storage object belongs. |
sddp-api-scan-demo |
| RiskLevelName |
string |
The risk level name of the OSS storage object. |
S2 |
| RegionId |
string |
The region ID of the OSS storage object. |
cn-hangzhou |
| 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 that is specified in the rule. |
S2 |
| CategoryName |
string |
The parent category of the model. |
敏感图片信息 |
| RiskLevelId |
integer |
The ID of the risk level that is specified in the rule.
|
3 |
| Count |
integer |
The number of times the sensitive data detection rule was matched. |
2 |
| RuleName |
string |
The name of the matched sensitive data detection rule. |
ID card number |
| ModelTags |
array<object> |
A list of tags for the detection model. |
|
|
object |
A data tag. |
||
| 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 information |
| FileCategoryName |
string |
The file type. |
Image file |
| Size |
integer |
The file size. Unit: bytes. |
1024 |
| ObjectAcl |
string |
The ACL of the file object. |
private |
| ModelTagIds |
string |
The data tags, separated by commas, such as 101,102. Valid values:
|
101,102 |
| Id |
string |
The unique ID of the column object. |
1757262735738932224 |
| RiskLevelId |
integer |
The risk level ID of the column data in the data asset table. Valid values:
Note
A return value less than or equal to 1 indicates N/A. |
4 |
Examples
Success response
JSON format
{
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"OssObjectDetail": {
"CategoryName": "Sensitive image information",
"Name": "dir1/test.png",
"BucketName": "sddp-api-scan-demo",
"RiskLevelName": "S2",
"RegionId": "cn-hangzhou",
"RuleList": [
{
"RiskLevelName": "S2",
"CategoryName": "敏感图片信息",
"RiskLevelId": 3,
"Count": 2,
"RuleName": "ID card number",
"ModelTags": [
{
"Id": 101,
"Name": "Personal sensitive information"
}
]
}
],
"FileCategoryName": "Image file",
"Size": 1024,
"ObjectAcl": "private",
"ModelTagIds": "101,102",
"Id": "1757262735738932224",
"RiskLevelId": 4
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.