建立任務查詢相同規則或告警類型觸發的告警事件。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:CreateSimilarSecurityEventsQueryTask |
create |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SourceIp |
string |
否 |
存取來源的 IP 位址。 |
1.2.XX.XX |
| SecurityEventId |
integer |
是 |
告警事件的 ID。 |
14323 |
| SimilarEventScenarioCode |
string |
否 |
相同類型或命中規則的告警事件的 code 值。 |
default |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一識別碼,可用於排查和定位問題。 |
5861EE3E-F0B3-48B8-A5DC-A5080BFBE052 |
| CreateSimilarSecurityEventsQueryTaskResponse |
object |
建立查詢同類告警事件任務的回傳資訊。 |
|
| Status |
string |
任務狀態。取值:
|
New |
| TaskId |
integer |
本次任務的 ID。 |
2915 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "5861EE3E-F0B3-48B8-A5DC-A5080BFBE052",
"CreateSimilarSecurityEventsQueryTaskResponse": {
"Status": "New",
"TaskId": 2915
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | SecurityEventNotExists | Security event not exists. | |
| 400 | NoPermission | no permission | |
| 400 | IllegalParam | Illegal param | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。