You can call this operation to query the details of an Object Storage Service (OSS) object that you authorize Sensitive Data Discovery and Protection (SDDP) to access.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeOssObjectDetail

The operation that you want to perform. Set the value to DescribeOssObjectDetail.

Id Long Yes 12345213

The unique ID of the OSS object to query.

Note You can call the DescribeOssObjects operation to query the ID of the OSS object.
Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
OssObjectDetail

The details of the OSS object.

BucketName String bucke***

The name of the OSS bucket that stores the OSS object.

CategoryName String Excel file

The type of the OSS object.

Name String obj_id

The name of the OSS object.

RegionId String cn-***

The region ID of the OSS object.

RiskLevelName String Medium risk level

The risk level of the OSS object.

RuleList

The list of sensitive data detection rules that the OSS object hits.

Count Long 2

The number of times that the OSS object hits the sensitive data detection rule.

RuleName String *** rule

The name of the sensitive data detection rule that the OSS object hits.

RequestId String 769FB3C1-F4C9-42DF-9B72-7077A8989C13

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeOssObjectDetail
&<Common request parameters>

Sample success responses

XML format

<DescribeOssObjectDetail>
	  <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>
	  <OssObjectDetail>
		    <RegionId>cn-***</RegionId>
		    <BucketName>bucke***</BucketName>
		    <RiskLevelName>Medium risk level</RiskLevelName>
		    <Id>17383</Id>
		    <RiskLevelId>2</RiskLevelId>
		    <CategoryName>Excel file</CategoryName>
		    <Name>obj_id</Name>
		    <RuleList>
			      <RuleName>*** rule</RuleName>
			      <Count>10</Count>
		    </RuleList>
	  </OssObjectDetail>
</DescribeOssObjectDetail>

JSON format

{
	"RequestId":"769FB3C1-F4C9-42DF-9B72-7077A8989C13",
	"OssObjectDetail":{
		"Name":"obj_id",
		"RuleList":[
			{
				"Count":10,
				"RuleName":"*** rule"
			}
		],
		"CategoryName":"Excel file",
		"BucketName":"bucke***",
		"RiskLevelName":"Medium risk level",
		"RegionId":"cn-***",
		"RiskLevelId":2,
		"Id":17383
	}
}

Error codes

For a list of error codes, visit the API Error Center.