{"info":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"9865152","collectionId":"aad68db1-bac5-4e6f-b963-d6661f9b7812","publishedId":"TzCTZ5Do","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-08T10:58:27.000Z"},"item":[{"name":"v0","item":[{"name":"/job/stat","id":"34aa2db1-9246-4312-af4e-0b5b2ea3ec4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v0/job/stat?id=id-Agent_Task-1617097618178024000","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v0","job","stat"],"host":["10.227.2.103:6701"],"query":[{"key":"id","value":"id-Agent_Task-1617097618178024000"}],"variable":[]}},"response":[],"_postman_id":"34aa2db1-9246-4312-af4e-0b5b2ea3ec4a"},{"name":"/job/result","id":"05d63ced-6026-4404-b294-3926cc17be89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://10.227.2.103:6701/api/v0/job/result?id=id-Agent_Task-1617097618178024000","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v0","job","result"],"host":["10.227.2.103:6701"],"query":[{"key":"id","value":"id-Agent_Task-1617097618178024000"}],"variable":[]}},"response":[],"_postman_id":"05d63ced-6026-4404-b294-3926cc17be89"}],"id":"42f6824f-fa60-4871-86de-efba8e800b09","_postman_id":"42f6824f-fa60-4871-86de-efba8e800b09","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}},{"name":"v1","item":[{"name":"用户(需先登录取得token)","item":[{"name":"登录","id":"e846005f-ca1f-4538-ac5c-c8ad4b208700","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"hids_test\",\n    \"password\": \"hids_test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/user/login","description":"<p>需先登录取得token，后续其他接口header带上 token=xxxx</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","user","login"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"e846005f-ca1f-4538-ac5c-c8ad4b208700"},{"name":"新建用户","id":"10dd5135-f036-40c0-bd1a-003676b1d619","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"hids\",\n    \"password\": \"hids\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/user/createUser","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","user","createUser"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"10dd5135-f036-40c0-bd1a-003676b1d619"}],"id":"a6d2823d-41ec-49c4-b772-78aec0c2ecd3","event":[{"listen":"prerequest","script":{"id":"f91d0084-df53-4441-8652-f1fc68a04bbc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fc66554c-75bf-45b9-8f00-f13e86901f70","type":"text/javascript","exec":[""]}}],"_postman_id":"a6d2823d-41ec-49c4-b772-78aec0c2ecd3","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}},{"name":"agent配置","item":[{"name":"getConfig/:id","id":"843eaa8a-26c1-49fd-863b-51d0a5d6d951","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getConfig/4442222-3365-4905-b417-331e183330","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getConfig","4442222-3365-4905-b417-331e183330"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"843eaa8a-26c1-49fd-863b-51d0a5d6d951"},{"name":"getDefaultConfig","id":"8094d392-8d3c-49a1-a1bb-344495496cb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": [\n        {\n            \"key\": \"last_heartbeat_time\",\n            \"rules\": [\n                {\n                    \"operator\": \"$gt\",\n                    \"value\": 1614255379\n                }\n            ],\n            \"condition\": \"$and\"\n        }\n    ],\n    \"condition\": \"$and\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getDefaultConfig","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getDefaultConfig"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"8094d392-8d3c-49a1-a1bb-344495496cb1"},{"name":"updateDefaultConfig","id":"508bc417-6830-4414-8866-77e3a8c14c44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"agent_config\",\n    \"version\": 0,\n    \"config\": []\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/updateDefaultConfig","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","updateDefaultConfig"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"508bc417-6830-4414-8866-77e3a8c14c44"}],"id":"4d36ea26-d81b-4bbf-82c8-5f3c8a41c585","_postman_id":"4d36ea26-d81b-4bbf-82c8-5f3c8a41c585","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}},{"name":"tags","item":[{"name":"tags_addTags","id":"067dc9c9-bc9a-476c-8b87-849b32a1ce7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tag\": \"test1\",\n    \"ipv4_list\": [\n        \"10.225.85.706\",\n        \"10.225.85.700\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/addTags","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","addTags"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"067dc9c9-bc9a-476c-8b87-849b32a1ce7e"},{"name":"tags_delTags","id":"355f6e80-7627-49af-9005-5b8581755c2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tag\": \"test\",\n    \"ipv4_list\": [\n        \"10.225.85.11\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/delTags","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","delTags"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"355f6e80-7627-49af-9005-5b8581755c2c"},{"name":"tags_addTagsByFilter","id":"4e8a1a4b-2a2d-416b-8bdb-601cb0467ad0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": [\n        {\n            \"key\": \"last_heartbeat_time\",\n            \"rules\": [\n                {\n                    \"operator\": \"$gt\",\n                    \"value\": 1614255379\n                }\n            ],\n            \"condition\": \"$and\"\n        }\n    ],\n    \"condition\": \"$and\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/addTags/filter?tag=test_all","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","addTags","filter"],"host":["10.227.2.103:6701"],"query":[{"key":"tag","value":"test_all"}],"variable":[]}},"response":[],"_postman_id":"4e8a1a4b-2a2d-416b-8bdb-601cb0467ad0"},{"name":"tags_getTagsByID","id":"f2bf6ef6-b6aa-44c6-afbb-48ebb4bd10e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id_list\": [\n        \"33623333-3365-4905-b417-331e183333ff\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/getTags","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","getTags"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2bf6ef6-b6aa-44c6-afbb-48ebb4bd10e3"},{"name":"tags_getTags","id":"3d8cd6bd-bc16-4b19-82cc-ed4c616ece33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://10.227.2.103:6701/api/v1/getTags","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","getTags"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d8cd6bd-bc16-4b19-82cc-ed4c616ece33"}],"id":"83aeb08c-800e-479c-9e91-157afe205e86","_postman_id":"83aeb08c-800e-479c-9e91-157afe205e86","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}},{"name":"agent状态","item":[{"name":"/getStatus","id":"61fead84-e5a7-40dc-91e9-658fbde0117e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://10.227.2.103:6701/api/v1/agent/getStatus","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getStatus"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"61fead84-e5a7-40dc-91e9-658fbde0117e"},{"name":"/getStatus/:id","id":"8385e197-ed85-43fd-baeb-66ae852c3775","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://10.227.2.103:6701/api/v1/agent/getStatus/4442222-3365-4905-b417-331e183330","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getStatus","4442222-3365-4905-b417-331e183330"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"8385e197-ed85-43fd-baeb-66ae852c3775"},{"name":"/getStatus/filter","id":"b0b12bb4-0629-4373-9709-666b7b5f5e0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": [\n        {\n            \"key\": \"last_heartbeat_time\",\n            \"rules\": [\n                {\n                    \"operator\": \"$gt\",\n                    \"value\": 1617172110\n                }\n            ],\n            \"condition\": \"$and\"\n        }\n    ],\n    \"condition\": \"$and\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getStatus/filter","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getStatus","filter"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0b12bb4-0629-4373-9709-666b7b5f5e0f"}],"id":"b6ff1558-fdba-48ad-b98f-8850d56933dc","event":[{"listen":"prerequest","script":{"id":"4af75016-8cd8-4c9d-8967-2fb6d5be5cc9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1eb79d8e-85ea-4e86-b9bd-52659ec2390d","type":"text/javascript","exec":[""]}}],"_postman_id":"b6ff1558-fdba-48ad-b98f-8850d56933dc","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}},{"name":"agent统计","item":[{"name":"/getCount","id":"ae5c21a3-35d4-4041-8841-b5ce94c960d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": [\n        {\n            \"key\": \"last_heartbeat_time\",\n            \"rules\": [\n                {\n                    \"operator\": \"$gt\",\n                    \"value\": 1614255379\n                }\n            ],\n            \"condition\": \"$and\"\n        }\n    ],\n    \"condition\": \"$and\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getCount","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getCount"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae5c21a3-35d4-4041-8841-b5ce94c960d3"},{"name":"getVersion","id":"2d983fd0-66b0-4d6e-b056-387a38f933c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": [\n        {\n            \"key\": \"last_heartbeat_time\",\n            \"rules\": [\n                {\n                    \"operator\": \"$gt\",\n                    \"value\": 1614255379\n                }\n            ],\n            \"condition\": \"$and\"\n        }\n    ],\n    \"condition\": \"$and\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getVersion","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getVersion"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d983fd0-66b0-4d6e-b056-387a38f933c9"}],"id":"a2e8021b-7bb5-447e-99f1-2d64bdc36ad4","_postman_id":"a2e8021b-7bb5-447e-99f1-2d64bdc36ad4","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}},{"name":"agent任务","item":[{"name":"createTask_ctrl","id":"7c525907-4c89-419c-b193-dc5949938625","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tag\": \"test_all111\",\n    \"id_list\": [\n        \"4442222-3365-4905-b417-331e183332\"\n    ],\n    \"data\": {\n        \"agent_ctrl\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/createTask/ctrl","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","createTask","ctrl"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c525907-4c89-419c-b193-dc5949938625"},{"name":"createTask_config","id":"fa8dc683-2be9-4e58-a3bd-6aad05abc7b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tag\": \"test_all\",\n    \"id_list\": [\n        \"4442222-3365-4905-b417-331e183330\"\n    ],\n    \"data\": {\n        \"config\": [\n            {\n                \"name\": \"host\",\n                \"download_url\": [\n                    \"xxxxx111\",\n                    \"222222\"\n                ],\n                \"version\": \"1.2\",\n                \"sha256\": \"11111\",\n                \"detail\": \"xxxxx\"\n            },\n            {\n                \"name\": \"plugin1\",\n                \"download_url\": [\n                    \"2222221\",\n                    \"222222\"\n                ],\n                \"version\": \"1.2\",\n                \"sha256\": \"11111\",\n                \"detail\": \"xxxxx\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/createTask/config","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","createTask","config"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa8dc683-2be9-4e58-a3bd-6aad05abc7b0"},{"name":"createTask_task","id":"fed76842-448f-4d8a-acdc-dab5eccd5371","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tag\": \"test_all\",\n    \"id_list\": [\n        \"4442222-3365-4905-b417-331e183330\"\n    ],\n    \"data\": {\n        \"task\": {\n            \"name\": \"task_test_ypb\",\n            \"data\": \"111111111111111\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/createTask/task","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","createTask","task"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"fed76842-448f-4d8a-acdc-dab5eccd5371"},{"name":"createTask_delConfig","id":"62057f9c-a85c-44b7-98a0-609c344726ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tag\": \"test_all\",\n    \"id_list\": [\n        \"4442222-3365-4905-b417-331e183330\"\n    ],\n    \"data\": [\n        \"host\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/createTask/delConfig","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","createTask","delConfig"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"62057f9c-a85c-44b7-98a0-609c344726ad"},{"name":"controlTask","id":"c3b7e6d4-9620-414c-bde8-8a875d200974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"task_id\": \"1634624758238708687lUxbdM\",\n    \"action\": \"run\",\n    \"rolling_percent\": 1,\n    \"concurrence\": 100\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/controlTask","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","controlTask"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3b7e6d4-9620-414c-bde8-8a875d200974"},{"name":"getTask","id":"0540c494-96ad-4442-8dee-7d95cd2c7fd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"task_id\": \"task-1617097443663532000-Bzgb\",\n    \"action\": \"run\",\n    \"rolling_percent\": 0.5,\n    \"concurrence\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getTask/1634624758238708687lUxbdM","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getTask","1634624758238708687lUxbdM"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"0540c494-96ad-4442-8dee-7d95cd2c7fd2"},{"name":"getJob","id":"536774ce-34a8-4432-9403-8d7b0e4bc6e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getJob/id-Agent_Task-1634557524242325396?result=true","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getJob","id-Agent_Task-1634557524242325396"],"host":["10.227.2.103:6701"],"query":[{"key":"result","value":"true"}],"variable":[]}},"response":[],"_postman_id":"536774ce-34a8-4432-9403-8d7b0e4bc6e1"},{"name":"getSubTask/filter","id":"c0a8a0f0-f9a7-4254-9a4a-85c1bbbf787a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": [\n        {\n            \"key\": \"token\",\n            \"rules\": [\n                {\n                    \"operator\": \"$eq\",\n                    \"value\": \"c5n40j4s8806vseuhka0\"\n                }\n            ],\n            \"condition\": \"$or\"\n        }\n    ],\n    \"condition\": \"$or\"\n}","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getSubTask/filter","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getSubTask","filter"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0a8a0f0-f9a7-4254-9a4a-85c1bbbf787a"},{"name":"getSubTask","id":"71132e27-58e7-46c0-b345-e59478895b86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/getSubTask/1634624758238708687lUxbdM","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","getSubTask","1634624758238708687lUxbdM"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"71132e27-58e7-46c0-b345-e59478895b86"},{"name":"updateSubTask","id":"5f745531-2d00-4676-bc23-5c9012beec48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"token\": \"c5n69ess8807d7u0pp20\",\n        \"data1\": \"ssssssssssssssssss\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://10.227.2.103:6701/api/v1/agent/updateSubTask","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","agent","updateSubTask"],"host":["10.227.2.103:6701"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f745531-2d00-4676-bc23-5c9012beec48"}],"id":"275f2c84-cf9b-4bf3-882f-3a8f8cc54491","_postman_id":"275f2c84-cf9b-4bf3-882f-3a8f8cc54491","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}}],"id":"5acad604-2f4f-493c-a2aa-d056e6ee1f0c","_postman_id":"5acad604-2f4f-493c-a2aa-d056e6ee1f0c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","id":"aad68db1-bac5-4e6f-b963-d6661f9b7812","name":"Elkeid Server API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"token"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"7a43598b-aaf8-4fad-827b-b6b9503fbcf4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3b43d477-526f-4546-bbd3-4100cefdddc7","type":"text/javascript","exec":[""]}}],"variable":[{"key":"manage_addr","value":"10.227.2.103:6701"}]}