Queries sensitive file information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageSensitiveFileList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Criteria |
string |
No |
The value that corresponds to the search type. |
Rails Master Key |
| CriteriaType |
string |
No |
The search type for sensitive files. Valid values:
|
SensitiveFileKey |
| RiskLevel |
string |
No |
The risk level. Valid values:
|
low |
| ScanRange |
array |
No |
The collection of scan scopes. Valid values:
|
|
|
string |
No |
The scan scope. Valid values:
|
container |
|
| Lang |
string |
No |
The language of the content in the request and response. Default value: zh. Valid values:
|
zh |
| CurrentPage |
integer |
No |
The page number of the page to return. Minimum value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The maximum number of entries to return on each page in a paging query. Default value: 20. |
20 |
| ImageUuid |
string |
No |
The unique identifier of the image. Note
Call the DescribeGroupedContainerInstances operation of Container Registry. You can obtain the unique identifier of the container image from the ImageUuid response parameter. |
850613a48999900f48417c7e6e9d**** |
| SensitiveKeyList |
array |
No |
The list of sensitive file keys. |
|
|
string |
No |
The sensitive file key. |
Token |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response for querying sensitive files. |
||
| SensitiveFileList |
array<object> |
The list of sensitive files. |
|
|
object |
The sensitive file information. |
||
| RiskLevel |
string |
The risk level. Valid values:
|
high |
| SensitiveFileKey |
string |
The sensitive file alerting type. Valid values:
|
google_oauth_key |
| SensitiveFileName |
string |
The name of the sensitive file alerting type. |
AccessKeyLeak |
| FirstScanTime |
integer |
The timestamp of the first scan. Unit: milliseconds. |
1663321552000 |
| LastScanTime |
integer |
The timestamp of the most recent scan. Unit: milliseconds. |
1663321552000 |
| Count |
integer |
The number of times the sensitive file was detected by scans. |
9 |
| ClassKey |
string |
The classification key of the sensitive file. |
password |
| ClassName |
string |
The classification name of the sensitive file. |
password |
| UnprocessedNum |
integer |
The number of unprocessed images. |
2 |
| Advice |
string |
The hardening suggestion for the sensitive file check item. |
PEM (Privacy Enhanced Mail) format is a common format for digital certificates. PEM files can contain certificates, public keys, private keys, and other sensitive information. When a PEM file is either unencrypted or protected with a weak password, or if the password has been compromise, it poses a significantly higher security risk. This detection rule aims to identify such PEM files. |
| Description |
string |
The description of the sensitive file check item. |
Assess the risk based on business context and promptly remove any risky content. |
| Status |
integer |
The status of the sensitive file check item. Valid values:
|
0 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page in a paging query. |
1 |
| PageSize |
integer |
The number of entries returned per page. Default value: 20. |
20 |
| TotalCount |
integer |
The total number of entries. |
149 |
| Count |
integer |
The number of entries returned on the current page. |
1 |
| LastRowKey |
string |
The key of the last entry. |
CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAGYXFWIAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM1Mzc3Njc4MzA2ODY5NmI2YTY1Nzg2NTcxNjE2N****** |
| Success |
boolean |
Indicates whether the query was successful. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The detailed information about the error code. |
successful |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues. |
8D19A089-E6BC-5244-800C-7E590D50487F |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"SensitiveFileList": [
{
"RiskLevel": "high",
"SensitiveFileKey": "google_oauth_key",
"SensitiveFileName": "AccessKeyLeak",
"FirstScanTime": 1663321552000,
"LastScanTime": 1663321552000,
"Count": 9,
"ClassKey": "password",
"ClassName": "password",
"UnprocessedNum": 2,
"Advice": "PEM (Privacy Enhanced Mail) format is a common format for digital certificates. PEM files can contain certificates, public keys, private keys, and other sensitive information. When a PEM file is either unencrypted or protected with a weak password, or if the password has been compromise, it poses a significantly higher security risk. This detection rule aims to identify such PEM files.",
"Description": "Assess the risk based on business context and promptly remove any risky content.\n\n",
"Status": 0
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 149,
"Count": 1,
"LastRowKey": "CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAGYXFWIAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM1Mzc3Njc4MzA2ODY5NmI2YTY1Nzg2NTcxNjE2N******"
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "8D19A089-E6BC-5244-800C-7E590D50487F",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.