查詢指定檢查項的詳情列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:DescribeCheckWarningDetail |
get |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SourceIp |
string |
否 |
存取來源 IP 位址。 |
103.25.XX.XX |
| Lang |
string |
否 |
請求和接收訊息的語言類型。取值:
|
zh |
| CheckWarningId |
integer |
否 |
檢查項告警 ID。 說明
查詢指定檢查項的詳細資訊,需要提供檢查項告警 ID,該 ID 可呼叫 DescribeCheckWarnings 介面取得。 重要 入參 Uuid、CheckId 同時為空時,該入參為必填。 |
98675301 |
| ResourceDirectoryAccountId |
integer |
否 |
資源目錄成員帳號主帳號 ID。 說明
呼叫 DescribeMonitorAccounts 介面可以取得該參數。 |
16670360956***** |
| Uuid |
string |
否 |
要查詢的伺服器的 UUID。 說明
呼叫 DescribeCloudCenterInstances 介面取得該參數。 重要 該入參不為空時,CheckId 入參為必填。 |
06125d19-6a02-4451-9f65-2083996e**** |
| CheckId |
string |
否 |
檢查項的 ID。 說明
您可呼叫 ListCheckItemWarningSummary 介面取得檢查項 ID。 重要 該入參不為空時,Uuid 入參為必填。 |
1 |
| ContainerName |
string |
否 |
容器名稱。 |
test_container |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
請求返回參數。 |
||
| Advice |
string |
基線檢查風險項的加固建議。 |
You can fix it in the following ways:↵1. To configure authentication for redis service, click the redis.conf Configure complex password in requirepass, and then restart redis.↵2. In redis configuration file redis.conf The configuration is as follows: bind 127.0.0.1, only allow local access, and then restart redis |
| Type |
string |
基線檢查項的類型。 說明
您可以呼叫 DescribeRiskType 查看所有基線類型。 |
Security audit |
| RequestId |
string |
本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一識別碼,可用於排查和定位問題。 |
BE120DAB-F4E7-4C53-ADC3-A97578ABF384 |
| Description |
string |
基線檢查風險項的補充描述內容。 |
The redis port is open to the outside world and there is no authentication option configured. In addition to directly obtaining all the information in the database, unauthorized users can also attack the system through unauthorized access vulnerability. |
| Item |
string |
檢查項名稱。 |
Redis unauthorized access |
| CheckId |
integer |
檢查項 ID。 |
946 |
| Level |
string |
檢查項的風險等級。
|
high |
| Prompt |
string |
基線檢查風險項的檢查提示。 |
weak passwords (username@host/password):root@****/12*** |
| CheckDetailColumns |
array<object> |
檢測內容詳情。 |
|
|
array<object> |
檢測內容詳情。 |
||
| Type |
string |
展示類型。取值:
|
text |
| Key |
string |
檢測內容的鍵。 |
Containername |
| ShowName |
string |
檢測內容鍵對應展示名稱。 |
ContainerName |
| Grids |
array<object> |
檢測內容列表。 |
|
|
object |
檢測內容。 |
||
| Type |
string |
展示類型。取值:
|
text |
| Key |
string |
檢測內容的鍵。 |
Username |
| ShowName |
string |
檢測內容鍵對應展示名稱。 |
UserName |
| CheckDetailAssetInfo |
array<object> |
檢查資產詳情列表。 |
|
|
object |
檢查資產詳情。 |
||
|
string |
檢查資產詳情。 |
[{"Containerid":"8ee88e****","Containername":"jenkins-birdge","WeakPasswords":[{"Username":"admin","Maskweakpassword":"1qaz****23"}]}] |
樣本
正常返回樣本
JSON格式
{
"Advice": "You can fix it in the following ways:↵1. To configure authentication for redis service, click the redis.conf Configure complex password in requirepass, and then restart redis.↵2. In redis configuration file redis.conf The configuration is as follows: bind 127.0.0.1, only allow local access, and then restart redis",
"Type": "Security audit",
"RequestId": "BE120DAB-F4E7-4C53-ADC3-A97578ABF384",
"Description": "The redis port is open to the outside world and there is no authentication option configured. In addition to directly obtaining all the information in the database, unauthorized users can also attack the system through unauthorized access vulnerability.",
"Item": "Redis unauthorized access",
"CheckId": 946,
"Level": "high",
"Prompt": "weak passwords (username@host/password):root@****/12***",
"CheckDetailColumns": [
{
"Type": "text",
"Key": "Containername",
"ShowName": "ContainerName",
"Grids": [
{
"Type": "text",
"Key": "Username",
"ShowName": "UserName"
}
]
}
],
"CheckDetailAssetInfo": [
{
"key": "[{\"Containerid\":\"8ee88e****\",\"Containername\":\"jenkins-birdge\",\"WeakPasswords\":[{\"Username\":\"admin\",\"Maskweakpassword\":\"1qaz****23\"}]}]"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ConsoleError | The error message is %s %s. | |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。