态势感知 SA-上报安全产品数据(V1):请求示例

时间:2023-11-01 16:15:45

请求示例

POST https://{endpoint}/v1/{project_id}/events/import{  "events" : [ {    "version" : "1.0.0",    "domain_id" : "dfaf9864b95c448797b5dc0f00709a55",    "project_id" : "2b31ed520xxxxxxebedb6e57xxxxxxxx",    "data_source" : {      "type" : 1,      "domain_id" : "39d29606d49b483a9914c581ce190d54",      "project_id" : "86670b7b5c6b41e0a5716c0ed77dfc32",      "region" : "cn-north-4",      "company_name" : "Huawei",      "product_name" : "Anti-DDOS",      "product_feature" : "Anti-DDOS"    },    "first_observed_time" : "2020-10-10T13:10:40.436+0800",    "last_observed_time" : "2020-10-10T13:10:40.436+0800",    "create_time" : "2020-10-10T13:10:40.436+0800",    "arrive_time" : "2020-10-21T01:20:31.343+0800",    "event_id" : "1683fbf6-01fd-49f4-8222-0fe33d3f2d2e",    "title" : "TCP Malformed",    "description" : "TCP Malformed",    "severity" : {      "original_score" : 1,      "label" : "TIPS"    },    "business_code" : "attack",    "types" : [ {      "namespace" : "Attack",      "category" : "DDoS",      "classifier" : "TCP Malformed"    } ],    "network" : {      "direction" : "IN",      "dest_ip" : "119.8.124.133",      "dest_port" : 0,      "dest_geo" : {        "latitude" : 1.352083,        "longitude" : 103.81984      }    },    "resources" : [ {      "id" : "f1f4076a-9d12-497f-aac4-a9dcb5462fcc",      "name" : "ecs-s3_large_2_win-20200828214727",      "type" : "CloudServers",      "service" : "E CS ",      "provider" : "Huawei",      "region" : "cn-north-4",      "domain_id" : "dfaf9864b95c448797b5dc0f00709a55",      "project_id" : "2b31ed520xxxxxxebedb6e57xxxxxxxx"    } ],    "verification_state" : "Unknown",    "handle_status" : "New"  } ]}
support.huaweicloud.com/api-sa/ImportEvents_0.html