DescribeImageSensitiveFileList
Queries information about sensitive files.
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 of the sensitive file type. |
Rails Master Key |
| CriteriaType |
string |
No |
The type of the sensitive files that you want to query. Valid values:
|
SensitiveFileKey |
| RiskLevel |
string |
No |
The risk level. Valid values:
|
low |
| ScanRange |
array |
No |
An array that consists of the types of the assets that you want to scan. Valid values:
|
|
|
string |
No |
The type of the asset that you want to scan. Valid values:
|
container |
|
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
| CurrentPage |
integer |
No |
The number of the page to return. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 20. |
20 |
| ImageUuid |
string |
No |
The UUID of the image. Note
You can call the DescribeGroupedContainerInstances operation of Container Registry to query the image UUID from the value of the ImageUuid response parameter. |
850613a48999900f48417c7e6e9d**** |
| SensitiveKeyList |
array |
No |
Sensitive file key list |
|
|
string |
No |
Sensitive file key |
Token |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| SensitiveFileList |
array<object> |
An array that consists of the information about the sensitive files. |
|
|
object |
The information about the sensitive file. |
||
| RiskLevel |
string |
The risk level. Valid values:
|
high |
| SensitiveFileKey |
string |
The type of the alert for the sensitive file. Valid values:
|
google_oauth_key |
| SensitiveFileName |
string |
The name of the alert type for the sensitive file. |
AccessKeyLeak |
| FirstScanTime |
integer |
The timestamp generated when the first scan was performed. Unit: milliseconds. |
1663321552000 |
| LastScanTime |
integer |
The timestamp generated when the last scan was performed. Unit: milliseconds. |
1663321552000 |
| Count |
integer |
The number of scans that are performed on the sensitive file. |
9 |
| ClassKey |
string |
The key of the sensitive file type. |
password |
| ClassName |
string |
The name of the sensitive file type. |
password |
| UnprocessedNum |
integer |
The number of unprocessed mirrors. |
2 |
| Advice |
string |
The suggestion. |
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. |
Assess the risk based on business context and promptly remove any risky content. |
| Status |
integer |
The status of the sensitive file. Valid values:
|
0 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. Default value: 20. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
149 |
| Count |
integer |
The number of entries returned on the current page. |
1 |
| LastRowKey |
string |
The key of the last data entry. |
CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAGYXFWIAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM1Mzc3Njc4MzA2ODY5NmI2YTY1Nzg2NTcxNjE2N****** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
string |
The status code returned. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code. |
200 |
| Message |
string |
The error message returned. |
successful |
| RequestId |
string |
The ID of the request, which is used to locate and 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 | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.