Queries an inspection report summary.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nis:DescribeNisInspectionReportSummary |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InspectionReportId |
string |
Yes |
The ID of the inspection report. |
nir-38abb318b27b49cc9a01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
The request ID. |
4838F3F2-30E1-5D82-B25A-B9FE33BC3E25 |
| InspectionReportId |
string |
The ID of the inspection report. |
nir-38abb318b27b49cc9a01 |
| InspectionTaskId |
string |
The ID of the inspection task. |
ni-8svmpe0yso2bhzr7fh79 |
| Status |
string |
The status of the task. Valid values:
Valid values:
|
Active |
| StartTime |
string |
The start time. |
2024-06-03 09:35:00 |
| EndTime |
string |
The end time. |
2024-06-03 09:36:00 |
| Summary |
object |
The summary information. |
|
| CheckItemCount |
integer |
The number of inspection items. |
11 |
| CheckResourceCount |
integer |
The number of inspected resources. |
123 |
| PassRateSummary |
array<object> |
The pass rate summary. |
|
|
object |
|||
| PassRateScope |
string |
The scope of the pass rate. Valid values:
|
Stability |
| PassRate |
number |
The pass rate. |
0.98 |
| RiskSummary |
array<object> |
The risk summary. |
|
|
object |
|||
| RiskType |
string |
The risk type. Valid values:
|
StabilityRisk |
| RiskLevel |
string |
The risk level. Valid values:
|
HighRisk |
| RiskCount |
integer |
The number of risks. |
3 |
| ResourceCount |
integer |
The number of resources associated with the risk. |
0 |
Examples
Success response
JSON format
{
"RequestId": "4838F3F2-30E1-5D82-B25A-B9FE33BC3E25",
"InspectionReportId": "nir-38abb318b27b49cc9a01",
"InspectionTaskId": "ni-8svmpe0yso2bhzr7fh79",
"Status": "Active",
"StartTime": "2024-06-03 09:35:00",
"EndTime": "2024-06-03 09:36:00\n",
"Summary": {
"CheckItemCount": 11,
"CheckResourceCount": 123,
"PassRateSummary": [
{
"PassRateScope": "Stability",
"PassRate": 0.98
}
],
"RiskSummary": [
{
"RiskType": "StabilityRisk",
"RiskLevel": "HighRisk",
"RiskCount": 3,
"ResourceCount": 0
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbidden.InspectionReportId | This user does not have permission to this report parameter (%s). | This user does not have permission to this report parameter (%s). |
| 404 | ResourceNotFound.InspectionReportId | The specified InspectionReportId(%s) is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.