DescribeImageBaselineStrategy
Queries the details of an image baseline strategy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageBaselineStrategy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StrategyId |
integer |
No |
The ID of the image baseline strategy. |
8037 |
| Lang |
string |
No |
The language of the content in the request and response. Valid values:
|
zh |
| Source |
string |
No |
The data source. If you do not specify this parameter, the operation queries image baseline strategies by default. Valid values:
|
agentless |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9F85AC10-A1FE-54D7-935A-F28D5256**** |
| Strategy |
object |
The details of the image baseline strategy. |
|
| Type |
string |
The type of the image baseline strategy. Valid values:
|
default |
| StrategyName |
string |
The name of the strategy. |
default |
| StrategyId |
integer |
The ID of the image baseline strategy. |
8257 |
| SelectedItemCount |
integer |
The number of selected baseline items. |
10 |
| TotalItemCount |
integer |
The total number of baseline items. |
100 |
| BaselineItemList |
array<object> |
The list of baseline items. |
|
|
object |
The details of a baseline item. |
||
| NameKey |
string |
The name key of the parent baseline item. |
identification |
| ItemKey |
string |
The key of the baseline item. |
duplicate_pwd_hash |
| ClassKey |
string |
The classification key of the parent baseline item. |
identification |
| BaselineItem |
string |
The baseline item for agentless detection. |
hc_win2008_cis_rules |
| ImageVulClean |
integer |
The retention period for baseline risks, in days. |
90 |
Examples
Success response
JSON format
{
"RequestId": "9F85AC10-A1FE-54D7-935A-F28D5256****",
"Strategy": {
"Type": "default",
"StrategyName": "default",
"StrategyId": 8257,
"SelectedItemCount": 10,
"TotalItemCount": 100,
"BaselineItemList": [
{
"NameKey": "identification",
"ItemKey": "duplicate_pwd_hash",
"ClassKey": "identification"
}
],
"BaselineItem": "hc_win2008_cis_rules",
"ImageVulClean": 90
}
}
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.