{ "uuid": "23d2ee7d-b739-4245-9353-ef6e3293f29f", "lastMigration": 29, "name": "Rumble API", "endpointPrefix": "api/v1.0", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "fee631d6-61b0-4fd3-b88e-448c43131433", "documentation": "Get all agents across all organizations", "method": "get", "endpoint": "account/agents", "responses": [ { "uuid": "ab01f7cd-7890-4b80-a0c7-bb1a86dd5e8c", "body": "[\n {\n \"arch\": \"amd64\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"connected\": true,\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"external_ip\": \"1.1.1.1\",\n \"host_id\": \"6f9e6fe52271da70962e007183c5c9c9\",\n \"hub_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"internal_ip\": \"192.168.0.1\",\n \"last_checkin\": 1576300370,\n \"name\": \"RUMBLE-AGENT\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Windows\",\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"system_info\": {},\n \"updated_at\": 1576300370,\n \"version\": \"1.2.3 (build 20191219224016) [fc50c5eefdc3ff5c60533c3c345d14d336396272]\"\n }\n]", "latency": 0, "statusCode": 200, "label": "array of tasks", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "36a27850-bc05-46c4-8078-7b20946af5f5", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "14a99823-4b8f-4e36-b0ef-ed6b5cd2d0fb", "documentation": "Get all account credentials", "method": "get", "endpoint": "account/credentials", "responses": [ { "uuid": "e7492a69-28a7-4b8c-85a4-992bb6d44faf", "body": "[\n {\n \"acl\": {\n \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\": \"user\"\n },\n \"cidrs\": [\n \"10.0.0.47/32\",\n \"192.168.1.0/24\"\n ],\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by_email\": \"user@example.com\",\n \"created_by_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"global\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_used_at\": 1576300370,\n \"last_used_by_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"credentials_name\",\n \"type\": \"{{oneOf (array 'miradore_api_key_v1' 'aws_access_secret')}}\"\n }\n]", "latency": 0, "statusCode": 200, "label": "array of credentials", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a3ffc8dd-6399-4c46-b8c1-ff9c4fa83da2", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b1d3f6a3-938e-44cc-92a6-e91dd175dc77", "documentation": "Create a new credential", "method": "put", "endpoint": "account/credentials", "responses": [ { "uuid": "acc24ada-a98b-4618-8dc8-60dfcba2ae4b", "body": "{\n \"acl\": {\n \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\": \"user\"\n },\n \"cidrs\": [\n \"10.0.0.47/32\",\n \"192.168.1.0/24\"\n ],\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by_email\": \"user@example.com\",\n \"created_by_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"global\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_used_at\": 1576300370,\n \"last_used_by_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"credentials_name\",\n \"type\": \"{{oneOf (array 'miradore_api_key_v1' 'aws_access_secret')}}\"\n}", "latency": 0, "statusCode": 200, "label": "credential details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8fa1c91b-01f4-4978-bcf5-5e3c6a0ab8b9", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aa819740-7bd5-4296-9507-6cd9dd95045e", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd1888bf-47df-4ca9-be19-a6405d5df50b", "documentation": "Remove this credential", "method": "delete", "endpoint": "account/credentials/:credential_id", "responses": [ { "uuid": "d24a6114-216c-41af-b7e5-924586114bd1", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f8551376-a40e-4b89-a179-4544baf3fe9c", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a4e1e6a-37ba-45f4-bafb-64934ee1fba6", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70e66c47-3885-4149-95a7-a10fcd5b886c", "documentation": "Get credential details", "method": "get", "endpoint": "account/credentials/:credential_id", "responses": [ { "uuid": "2e436027-7791-4384-9845-0c89c4bec2d3", "body": "{\n \"acl\": {\n \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\": \"user\"\n },\n \"cidrs\": [\n \"10.0.0.47/32\",\n \"192.168.1.0/24\"\n ],\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by_email\": \"user@example.com\",\n \"created_by_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"global\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_used_at\": 1576300370,\n \"last_used_by_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"credentials_name\",\n \"type\": \"{{oneOf (array 'miradore_api_key_v1' 'aws_access_secret')}}\"\n}", "latency": 0, "statusCode": 200, "label": "credential details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "76467a08-43bc-49f8-94bc-5a79d57547c3", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "017d1f5e-2ad0-4b41-a5a3-cfeaf7d19f57", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "61410b89-9437-495f-8c45-08d7069e8065", "documentation": "System event log as JSON", "method": "get", "endpoint": "account/events.json", "responses": [ { "uuid": "be35f69e-199f-41e7-965c-c6e1cda1f701", "body": "[\n {\n \"action\": \"login\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"details\": {},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"processed_at\": {{faker 'number.int' max=99999}},\n \"processor_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"source_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"source_name\": \"SiteName\",\n \"source_type\": \"api\",\n \"state\": \"SiteName\",\n \"success\": true,\n \"target_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"target_name\": \"SiteName\",\n \"target_type\": \"api\"\n }\n]", "latency": 0, "statusCode": 200, "label": "filtered event results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fd75d6a8-3ec6-4218-b081-fb8d4d6633ee", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "07a2cb0a-d97d-4350-a271-8a4193963899", "documentation": "System event log as JSON line-delimited", "method": "get", "endpoint": "account/events.jsonl", "responses": [ { "uuid": "a306db89-4b01-4497-80b8-2f4ca381016d", "body": "[\n {\n \"action\": \"login\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"details\": {},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"processed_at\": {{faker 'number.int' max=99999}},\n \"processor_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"source_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"source_name\": \"SiteName\",\n \"source_type\": \"api\",\n \"state\": \"SiteName\",\n \"success\": true,\n \"target_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"target_name\": \"SiteName\",\n \"target_type\": \"api\"\n }\n]", "latency": 0, "statusCode": 200, "label": "filtered event results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6dccd11a-56aa-4a73-a5c7-eafebe30a54a", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "31bb6b6f-210f-4ce4-b4e4-bf5c04121a98", "documentation": "Get all active API keys", "method": "get", "endpoint": "account/keys", "responses": [ { "uuid": "04d92485-192d-46ae-8989-38f76230f896", "body": "[\n {\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"comment\": \"API key used for Splunk integration\",\n \"counter\": 1,\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": \"tue\",\n \"last_used_at\": {{faker 'number.int' max=99999}},\n \"last_used_ip\": \"127.0.0.1\",\n \"last_used_ua\": \"curl/7.44.1\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"token\": \"CTXXXXXXXXXXXXX\",\n \"type\": \"org\",\n \"usage_limit\": 10000,\n \"usage_today\": 100\n }\n]", "latency": 0, "statusCode": 200, "label": "array of keys", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6a2d24e0-78c9-4ac5-a86b-2eaaf5687be6", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ef8e25ea-abb4-4445-ac35-fe063158091c", "documentation": "Create a new key", "method": "put", "endpoint": "account/keys", "responses": [ { "uuid": "7418e4c0-0818-4147-a200-037309f51082", "body": "{\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"comment\": \"API key used for Splunk integration\",\n \"counter\": 1,\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": \"tue\",\n \"last_used_at\": {{faker 'number.int' max=99999}},\n \"last_used_ip\": \"127.0.0.1\",\n \"last_used_ua\": \"curl/7.44.1\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"token\": \"CTXXXXXXXXXXXXX\",\n \"type\": \"org\",\n \"usage_limit\": 10000,\n \"usage_today\": 100\n}", "latency": 0, "statusCode": 200, "label": "key details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1a1c0add-8811-4cd0-b6a8-4b2ee7f107cd", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a09ac2d4-718d-48e4-a315-dcb6bc9ec719", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d8361c77-41ff-480f-9501-6b60593efbda", "documentation": "Remove this key", "method": "delete", "endpoint": "account/keys/:key_id", "responses": [ { "uuid": "1666fa7c-22dd-475b-b2b5-80b45af294eb", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ec760a2c-5e9d-4771-a96c-7b4ecef5794e", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "62139be8-df26-47d0-ab04-c9e3d9aa1821", "documentation": "Get key details", "method": "get", "endpoint": "account/keys/:key_id", "responses": [ { "uuid": "8647681a-d303-419f-a669-26faa0dca292", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5ea56d25-6cd6-4f74-bd54-a9a8c4035e8f", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8f5524df-0d25-4122-8e5d-53e7bb8516a1", "documentation": "Rotates the key secret", "method": "patch", "endpoint": "account/keys/:key_id/rotate", "responses": [ { "uuid": "39046d9d-87ba-47d8-8c9c-8c2757febd67", "body": "{\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"comment\": \"API key used for Splunk integration\",\n \"counter\": 1,\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": \"tue\",\n \"last_used_at\": {{faker 'number.int' max=99999}},\n \"last_used_ip\": \"127.0.0.1\",\n \"last_used_ua\": \"curl/7.44.1\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"token\": \"CTXXXXXXXXXXXXX\",\n \"type\": \"org\",\n \"usage_limit\": 10000,\n \"usage_today\": 100\n}", "latency": 0, "statusCode": 200, "label": "key details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "43839529-2059-4439-bfc5-f6056d1c7349", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ff97f24f-ad4a-4f02-b861-4f308606c5cb", "documentation": "Get license details", "method": "get", "endpoint": "account/license", "responses": [ { "uuid": "26842eb2-b3e3-426d-9a61-c66bead60565", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "348d981f-83ce-43cc-977b-48139c45b771", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5582a134-2ff6-4828-89e0-0f67ca2cf286", "documentation": "Get all organization details", "method": "get", "endpoint": "account/orgs", "responses": [ { "uuid": "1d4c96f7-6ce9-4fee-bc99-80ef464a61c1", "body": "[\n {\n \"asset_count\": 100,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"description\": \"All subdivisions of my company\",\n \"download_token\": \"DT11226D9EEEA2B035D42569585900\",\n \"download_token_created_at\": 1576300370,\n \"expiration_assets_offline\": 365,\n \"expiration_assets_stale\": 365,\n \"expiration_scans\": 365,\n \"export_token\": \"ET11226D9EEEA2B035D42569585900\",\n \"export_token_counter\": {{faker 'number.int' max=99999}},\n \"export_token_created_at\": 1576300370,\n \"export_token_last_used_at\": {{faker 'number.int' max=99999}},\n \"export_token_last_used_by\": \"127.0.0.1\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"name\": \"My Company\",\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"permanent\": true,\n \"project\": {{faker 'datatype.boolean'}},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of organizations", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7807614f-f992-4c6f-bc19-863f44dbe62b", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "da58f957-2731-4334-a060-0922c036cfc1", "documentation": "Create a new organization", "method": "put", "endpoint": "account/orgs", "responses": [ { "uuid": "6a55b0ef-6c92-4b9f-89a1-af12684cc761", "body": "{\n \"asset_count\": 100,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"description\": \"All subdivisions of my company\",\n \"download_token\": \"DT11226D9EEEA2B035D42569585900\",\n \"download_token_created_at\": 1576300370,\n \"expiration_assets_offline\": 365,\n \"expiration_assets_stale\": 365,\n \"expiration_scans\": 365,\n \"export_token\": \"ET11226D9EEEA2B035D42569585900\",\n \"export_token_counter\": {{faker 'number.int' max=99999}},\n \"export_token_created_at\": 1576300370,\n \"export_token_last_used_at\": {{faker 'number.int' max=99999}},\n \"export_token_last_used_by\": \"127.0.0.1\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"name\": \"My Company\",\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"permanent\": true,\n \"project\": {{faker 'datatype.boolean'}},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "organization details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "144f2fdf-8e51-4e76-8906-62620daeb8a9", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "74a7fb96-a384-4fc5-ad43-44dde5306c38", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ab609c09-731c-4f6d-aba3-e50c3b3e421b", "documentation": "Remove this organization", "method": "delete", "endpoint": "account/orgs/:org_id", "responses": [ { "uuid": "30e206ce-2ca3-465b-8652-37408ab36b36", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1763d175-928c-4211-8cee-ba8df9893fd0", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2cbe32cf-c854-4993-93ed-58377581a33e", "documentation": "Get organization details", "method": "get", "endpoint": "account/orgs/:org_id", "responses": [ { "uuid": "6f5e627b-8935-45de-a555-a05f49f5b752", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6479e220-4e3b-466f-b1d9-2a8462b87198", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e8dc623d-4c3e-4229-bf75-db9dffec34f8", "documentation": "Update organization details", "method": "patch", "endpoint": "account/orgs/:org_id", "responses": [ { "uuid": "e78a370b-ea22-4d0c-ad57-01053b919383", "body": "{\n \"asset_count\": 100,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"description\": \"All subdivisions of my company\",\n \"download_token\": \"DT11226D9EEEA2B035D42569585900\",\n \"download_token_created_at\": 1576300370,\n \"expiration_assets_offline\": 365,\n \"expiration_assets_stale\": 365,\n \"expiration_scans\": 365,\n \"export_token\": \"ET11226D9EEEA2B035D42569585900\",\n \"export_token_counter\": {{faker 'number.int' max=99999}},\n \"export_token_created_at\": 1576300370,\n \"export_token_last_used_at\": {{faker 'number.int' max=99999}},\n \"export_token_last_used_by\": \"127.0.0.1\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"name\": \"My Company\",\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"permanent\": true,\n \"project\": {{faker 'datatype.boolean'}},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "organization details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0f22ca0b-e68d-48b2-a7db-cb8931c02559", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "13c6ab26-7f65-468c-bd02-8c384cfdeeec", "documentation": "Removes the export token from the specified organization", "method": "delete", "endpoint": "account/orgs/:org_id/exportToken", "responses": [ { "uuid": "3ecf2863-2ca0-4987-8015-58173dfabcb9", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "166d5f2e-b081-450e-a7e4-6845b95b7c3f", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a0dcfb2c-8a5e-4be1-ac5e-8063fa2fb90d", "documentation": "Rotates the organization export token and returns the updated organization", "method": "patch", "endpoint": "account/orgs/:org_id/exportToken/rotate", "responses": [ { "uuid": "c2ed456a-2374-4a85-bd6e-782a056bfeb8", "body": "{\n \"asset_count\": 100,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"description\": \"All subdivisions of my company\",\n \"download_token\": \"DT11226D9EEEA2B035D42569585900\",\n \"download_token_created_at\": 1576300370,\n \"expiration_assets_offline\": 365,\n \"expiration_assets_stale\": 365,\n \"expiration_scans\": 365,\n \"export_token\": \"ET11226D9EEEA2B035D42569585900\",\n \"export_token_counter\": {{faker 'number.int' max=99999}},\n \"export_token_created_at\": 1576300370,\n \"export_token_last_used_at\": {{faker 'number.int' max=99999}},\n \"export_token_last_used_by\": \"127.0.0.1\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"name\": \"My Company\",\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"permanent\": true,\n \"project\": {{faker 'datatype.boolean'}},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "organization details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a55cd898-9749-4548-bd7f-97e8634c8596", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8a00e175-06db-424d-8bf7-188d12570a05", "documentation": "Get all sites details across all organizations", "method": "get", "endpoint": "account/sites", "responses": [ { "uuid": "d46fd28c-e46a-4e80-9a88-1ae68d91d606", "body": "[\n {\n \"created_at\": 1576300370,\n \"description\": \"Headquarters\",\n \"excludes\": \"192.168.0.5\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Primary\",\n \"permanent\": true,\n \"scope\": \"192.168.0.0/24\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of sites", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d562562c-0e16-4424-a4c6-0eedd0b3863c", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "55b4a6a2-03b4-4197-854c-2bd2a54ef5ea", "documentation": "Get all task details across all organizations (up to 1000)", "method": "get", "endpoint": "account/tasks", "responses": [ { "uuid": "b7531883-8c05-4f1c-a50c-95726313390b", "body": "[\n {\n \"agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"created_by_user_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"cruncher_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"description\": \"Scan the headquarters hourly\",\n \"error\": \"agent unavailable\",\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Hourly Scan\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"params\": {},\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur\": {{faker 'datatype.boolean'}},\n \"recur_frequency\": \"hour\",\n \"recur_last\": 1576300370,\n \"recur_last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur_next\": 1576300370,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"start_time\": 1576300370,\n \"stats\": {},\n \"status\": \"processed\",\n \"type\": \"scan\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of tasks", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ad95efdf-3b47-4b58-b2f3-0643898d07cd", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c57b21aa-502e-4b57-9a38-5c8540c6770b", "documentation": "Get all users", "method": "get", "endpoint": "account/users", "responses": [ { "uuid": "becfa61d-ddbb-4cc3-8dfe-c174421431cc", "body": "[\n {\n \"client_admin\": true,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"email\": \"jsmith@example.com\",\n \"first_name\": \"James\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"invite_token_expiration\": 1576300370,\n \"last_login_at\": 1576300370,\n \"last_login_ip\": \"192.168.0.1\",\n \"last_login_ua\": \"curl/1.0\",\n \"last_name\": \"Smith\",\n \"login_failures\": {{faker 'number.int' max=99999}},\n \"org_default_role\": \"admin\",\n \"org_roles\": {},\n \"reset_token_expiration\": 1576300370,\n \"sso_only\": {{faker 'datatype.boolean'}},\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of users", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06e33af8-49cc-419f-8866-90aa916f4204", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "74e8c48b-14de-4a75-8fb9-287cd9f900f3", "documentation": "Create a new user account", "method": "put", "endpoint": "account/users", "responses": [ { "uuid": "ecf6be7d-e5f3-4a24-aa22-168d994cfb04", "body": "{\n \"client_admin\": true,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"email\": \"jsmith@example.com\",\n \"first_name\": \"James\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"invite_token_expiration\": 1576300370,\n \"last_login_at\": 1576300370,\n \"last_login_ip\": \"192.168.0.1\",\n \"last_login_ua\": \"curl/1.0\",\n \"last_name\": \"Smith\",\n \"login_failures\": {{faker 'number.int' max=99999}},\n \"org_default_role\": \"admin\",\n \"org_roles\": {},\n \"reset_token_expiration\": 1576300370,\n \"sso_only\": {{faker 'datatype.boolean'}},\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "key details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2201bfe3-cc52-43f2-8e45-7071e18a8310", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b3b232ce-fc2e-431b-acd9-d3b95ad2ffdd", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a5f8b676-65a2-48dd-9b6a-d13a0d66db0a", "documentation": "Create a new user account and send an email invite", "method": "put", "endpoint": "account/users/invite", "responses": [ { "uuid": "dcfc4e7f-3d77-4ae1-90cf-66610b01d53a", "body": "{\n \"client_admin\": true,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"email\": \"jsmith@example.com\",\n \"first_name\": \"James\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"invite_token_expiration\": 1576300370,\n \"last_login_at\": 1576300370,\n \"last_login_ip\": \"192.168.0.1\",\n \"last_login_ua\": \"curl/1.0\",\n \"last_name\": \"Smith\",\n \"login_failures\": {{faker 'number.int' max=99999}},\n \"org_default_role\": \"admin\",\n \"org_roles\": {},\n \"reset_token_expiration\": 1576300370,\n \"sso_only\": {{faker 'datatype.boolean'}},\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "key details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d1dc778d-5d52-4699-ba32-421ed2f8fbcf", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a2086495-45a2-481a-a63c-4f3e32a73ba6", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "98800037-7b7d-439e-a59f-fb19bc723f17", "documentation": "Remove this user", "method": "delete", "endpoint": "account/users/:user_id", "responses": [ { "uuid": "7f509868-0f8f-4b47-ac34-674fcca2bc16", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cca1c7ee-8b0b-473b-8be2-62c94a6aaad0", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6c0a24f9-99b5-4faf-a452-ecd2c0c574fc", "documentation": "Get user details", "method": "get", "endpoint": "account/users/:user_id", "responses": [ { "uuid": "3388b8e0-f2bd-4d83-ba51-652bb802851c", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9cc3bcc0-caf4-4d36-b1e6-cef423fe5cac", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2dd8e432-998a-4815-9668-1ddb7cc2cefa", "documentation": "Update a user's details", "method": "patch", "endpoint": "account/users/:user_id", "responses": [ { "uuid": "dfe6fa3a-4f1f-415f-a647-89ac43cd0174", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9b9c3fbf-2390-4367-9fa7-4194f034d712", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4fdd1523-92f4-4ba9-9d85-a155bc26b508", "documentation": "Resets the user's lockout status", "method": "patch", "endpoint": "account/users/:user_id/resetLockout", "responses": [ { "uuid": "c046f46e-4b1e-49ea-ad88-1a287a2301d9", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cdda557b-a620-4172-b8c5-61a93c665400", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "940aa888-e5a3-4925-97ae-a3f165ab15f5", "documentation": "Resets the user's MFA tokens", "method": "patch", "endpoint": "account/users/:user_id/resetMFA", "responses": [ { "uuid": "8c7184e1-4492-45ae-8e83-19ee2a62f966", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2487b994-5f7f-4669-a9e2-431ccce35510", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3d017dee-dcd2-4c68-a42f-5e5d1bd20e79", "documentation": "Sends the user a password reset email", "method": "patch", "endpoint": "account/users/:user_id/resetPassword", "responses": [ { "uuid": "b1740681-bdb4-470e-a4d7-99aa98f783f4", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7ea5c18e-c244-4121-9c70-2b4425c46e7d", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d7865770-ed80-4e24-9850-e4b71f0f79bc", "documentation": "Cisco serial number and model name export for Cisco Smart Net Total Care Service.", "method": "get", "endpoint": "export/org/assets.cisco.csv", "responses": [ { "uuid": "d6892481-69d2-453e-9156-86d27b7710eb", "body": "", "latency": 0, "statusCode": 200, "label": "filtered asset results", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b02856fe-6c90-4096-8075-64d4f5b4ee22", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "84fdb89c-2017-42db-b8d7-e9d458aaf41f", "documentation": "Asset inventory as CSV", "method": "get", "endpoint": "export/org/assets.csv", "responses": [ { "uuid": "5018efda-98cc-401b-9174-f696a438d111", "body": "", "latency": 0, "statusCode": 200, "label": "filtered asset results", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06a2511c-d72b-4b92-a1f1-a25046a08019", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8577382f-3719-4288-98bb-1dc353e34389", "documentation": "Exports the asset inventory", "method": "get", "endpoint": "export/org/assets.json", "responses": [ { "uuid": "92654333-6054-435c-801c-38b7ecc16bb4", "body": "[\n {\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "filtered asset results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "101b999f-11d6-47bd-84fb-438fd1cd74cf", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "64240f91-fda4-47f9-944d-a75f9e4fcb89", "documentation": "Asset inventory as JSON line-delimited", "method": "get", "endpoint": "export/org/assets.jsonl", "responses": [ { "uuid": "6bbb95a1-7d6c-4c43-bed0-a2b678e67cfe", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "filtered asset results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fd1e1373-329c-4012-a74a-91131bbf0958", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2956ef67-165a-4c99-8544-dc31e4b958ce", "documentation": "Asset inventory as Nmap-style XML", "method": "get", "endpoint": "export/org/assets.nmap.xml", "responses": [ { "uuid": "5de0faab-ebc6-49a6-959f-d41348301826", "body": "", "latency": 0, "statusCode": 200, "label": "filtered asset results", "headers": [{ "key": "Content-Type", "value": "text/xml" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "69515b8f-53f7-4826-a417-0f3329e29389", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5b4f836f-e15f-4901-80d2-3ec7a53835fd", "documentation": "Export an asset inventory as CSV for ServiceNow integration", "method": "get", "endpoint": "export/org/assets.servicenow.csv", "responses": [ { "uuid": "3af11a8d-4d48-4da2-ae5d-d5ebbd4f19a8", "body": "", "latency": 0, "statusCode": 200, "label": "asset export", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "763a7919-d305-44d6-945c-b983a99c8666", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3e35adb8-bf6c-438b-b18c-141fa67059bf", "documentation": "Exports the asset inventory as JSON", "method": "get", "endpoint": "export/org/assets.servicenow.json", "responses": [ { "uuid": "d68a149f-b56c-43f6-aa8e-ddcd1872add9", "body": "[\n {\n \"addresses_extra\": \"192.168.0.5;192.168.0.3\",\n \"addresses_scope\": \"192.168.100.1;192.168.100.2\",\n \"alive\": true,\n \"asset_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"comments\": \"File Server\",\n \"detected_by\": \"icmp\",\n \"domains\": \"rumble.run;rumble.local.lan\",\n \"first_discovered\": \"2006-01-02 15:04:05\",\n \"hw_product\": \"PowerEdge\",\n \"hw_vendor\": \"Dell\",\n \"hw_version\": 2,\n \"ip_address\": \"192.168.0.1\",\n \"last_discovered\": \"2006-01-02 15:04:05\",\n \"last_updated\": \"2006-01-02 15:04:05\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_address\": \"11:22:33:44:55:66\",\n \"mac_manufacturer\": \"Dell\",\n \"mac_vendors\": \"Dell\",\n \"macs\": \"11:22:33:44:55:66\",\n \"name\": \"www;server\",\n \"newest_mac_age\": \"2020-01-01\",\n \"organization\": \"Headquarters\",\n \"os_product\": \"Windows 10\",\n \"os_vendor\": \"Microsoft\",\n \"os_version\": 1903,\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"site\": \"Primary\",\n \"sys_class_name\": \"cmdb_ci_iot\",\n \"tags\": \"owner=IT;location=Austin\",\n \"type\": \"Server\"\n }\n]", "latency": 0, "statusCode": 200, "label": "filtered asset results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bc2344cc-479d-415f-a53a-3600ecf54bfe", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aae184b4-5364-452e-af24-ae7a46025a5d", "documentation": "Exports the asset inventory in a sync-friendly manner using created_at as a checkpoint. Requires the Splunk entitlement.", "method": "get", "endpoint": "export/org/assets/sync/created/assets.json", "responses": [ { "uuid": "c6e3780d-d7a1-48b2-b4a2-ad0906fa2653", "body": "{\n \"assets\": [\n {\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n }\n ],\n \"since\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "filtered asset results with a checkpoint wrapper", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e2a37258-cf21-4ad2-999f-846974ab523c", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "39a2070f-3352-4fdd-90ce-1db1a0ddf426", "documentation": "Exports the asset inventory in a sync-friendly manner using updated_at as a checkpoint. Requires the Splunk entitlement.", "method": "get", "endpoint": "export/org/assets/sync/updated/assets.json", "responses": [ { "uuid": "2a3c642c-8bab-4780-82c3-7eb7702d5274", "body": "{\n \"assets\": [\n {\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n }\n ],\n \"since\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "filtered asset results with a checkpoint wrapper", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "557600d0-9648-4ac2-a04a-91c20e7e5350", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c486e966-74d0-439d-9839-84181d3ea5eb", "documentation": "Service inventory as CSV", "method": "get", "endpoint": "export/org/services.csv", "responses": [ { "uuid": "d2d8a8e3-55b3-4d41-8799-1f6c8ecb86ed", "body": "", "latency": 0, "statusCode": 200, "label": "filtered service results", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7de3a10a-f6b4-4d23-9db1-9972221264ca", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "419bae99-5420-4e4c-bd84-33bb067ca769", "documentation": "Service inventory as JSON", "method": "get", "endpoint": "export/org/services.json", "responses": [ { "uuid": "6592b7d1-86d6-4434-82a4-7d30cdce912f", "body": "[\n {\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"CORPNET\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_address\": \"192.168.0.1\",\n \"service_asset_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_created_at\": 1576300370,\n \"service_data\": {},\n \"service_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"service_link\": \"http://192.168.0.1:80/\",\n \"service_port\": 80,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"service_protocol\": \"http tls\",\n \"service_screenshot_link\": \"\",\n \"service_summary\": \"Login Page\",\n \"service_transport\": \"tcp\",\n \"service_updated_at\": 1576300370,\n \"service_vhost\": \"www\",\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "filtered service results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b9457a21-52f9-4c2f-ba78-c7f2c06ce0a5", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ce6a9422-6d1b-4bf9-9e44-cd1ef6466db9", "documentation": "Service inventory as JSON line-delimited", "method": "get", "endpoint": "export/org/services.jsonl", "responses": [ { "uuid": "6a7af018-3905-4749-a125-44db194d4066", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "filtered service results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "824e36da-5ff3-42d8-99a9-f35a19eff104", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "92195be1-ac77-4628-9dc0-ca0f1569c780", "documentation": "Export a service inventory as CSV for ServiceNow integration", "method": "get", "endpoint": "export/org/services.servicenow.csv", "responses": [ { "uuid": "87921771-c9e6-4a74-a22c-6656cc621f12", "body": "", "latency": 0, "statusCode": 200, "label": "services export", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1af2e802-acbf-478e-8ea5-015e910f8834", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "551f8cb5-2112-4398-98a7-518d4c3310cd", "documentation": "Site list as CSV", "method": "get", "endpoint": "export/org/sites.csv", "responses": [ { "uuid": "98e20bb2-dc7d-4a2d-b8ab-a27d36e20ace", "body": "", "latency": 0, "statusCode": 200, "label": "all sites", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e0a34c06-b780-4fe5-8e3b-3dae7f500876", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97f248da-5a5b-46c7-98e6-8572cc966b8c", "documentation": "Export all sites", "method": "get", "endpoint": "export/org/sites.json", "responses": [ { "uuid": "17a9ae40-5205-4b86-9b4d-d260e36e374c", "body": "[\n {\n \"created_at\": 1576300370,\n \"description\": \"Headquarters\",\n \"excludes\": \"192.168.0.5\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Primary\",\n \"permanent\": true,\n \"scope\": \"192.168.0.0/24\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "all sites", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fde1e392-b249-4fa4-a74c-a676c01c41c6", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f192512a-cc96-46c6-929a-7b7592261a60", "documentation": "Site list as JSON line-delimited", "method": "get", "endpoint": "export/org/sites.jsonl", "responses": [ { "uuid": "58342989-b628-4035-84a8-36b31dee4c80", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "all sites", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "42d60522-2ca7-4453-8ae1-066568520bc7", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aea20e6f-3fbe-4dd2-95c1-303b5495b75d", "documentation": "Wireless inventory as CSV", "method": "get", "endpoint": "export/org/wireless.csv", "responses": [ { "uuid": "b6d25c64-d391-4ddf-b54a-2bc588e42fff", "body": "", "latency": 0, "statusCode": 200, "label": "filtered wireless results", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bf24f92c-dad4-4436-85ec-24d1b05fad56", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d93f8184-2741-4de9-94e8-9be50b5f8b7e", "documentation": "Wireless inventory as JSON", "method": "get", "endpoint": "export/org/wireless.json", "responses": [ { "uuid": "65cee7a2-574b-4239-9b72-200a105ff647", "body": "[\n {\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"authentication\": \"wpa2-psk\",\n \"bssid\": \"11:22:33:44:55:66\",\n \"channels\": \"11, 158+1\",\n \"created_at\": 1576300370,\n \"data\": {},\n \"encryption\": \"aes\",\n \"essid\": \"Free WiFi\",\n \"family\": 223344,\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"interface\": \"wlan0\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"signal\": 99,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"type\": \"infrastructure\",\n \"vendor\": \"Ubiquiti Networks\"\n }\n]", "latency": 0, "statusCode": 200, "label": "filtered wireless results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "70e65ee1-75cb-4db8-a6fb-5b8bf1e4bacc", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e161a0af-3c69-482a-980f-c3a42fe97bc3", "documentation": "Wireless inventory as JSON line-delimited", "method": "get", "endpoint": "export/org/wireless.jsonl", "responses": [ { "uuid": "93347a62-c44d-4075-ab35-c145d5491017", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "filtered wireless results", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "98492d27-e4ae-4d5b-bb0d-dc6a20ab3ba5", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "444594a8-f592-4471-868a-9f6fcb77a0a1", "documentation": "Get organization details", "method": "get", "endpoint": "org", "responses": [ { "uuid": "03584909-5178-4596-88ad-0d7621c806e3", "body": "{\n \"asset_count\": 100,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"description\": \"All subdivisions of my company\",\n \"download_token\": \"DT11226D9EEEA2B035D42569585900\",\n \"download_token_created_at\": 1576300370,\n \"expiration_assets_offline\": 365,\n \"expiration_assets_stale\": 365,\n \"expiration_scans\": 365,\n \"export_token\": \"ET11226D9EEEA2B035D42569585900\",\n \"export_token_counter\": {{faker 'number.int' max=99999}},\n \"export_token_created_at\": 1576300370,\n \"export_token_last_used_at\": {{faker 'number.int' max=99999}},\n \"export_token_last_used_by\": \"127.0.0.1\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"name\": \"My Company\",\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"permanent\": true,\n \"project\": {{faker 'datatype.boolean'}},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "organization details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1db55047-8d15-4d78-831a-6ccfae5a4874", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "45642931-6c03-47a4-a21b-2f044c31d534", "documentation": "Update organization details", "method": "patch", "endpoint": "org", "responses": [ { "uuid": "80d6d9a9-cb23-4849-9666-31ad45c0c61f", "body": "{\n \"asset_count\": 100,\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"description\": \"All subdivisions of my company\",\n \"download_token\": \"DT11226D9EEEA2B035D42569585900\",\n \"download_token_created_at\": 1576300370,\n \"expiration_assets_offline\": 365,\n \"expiration_assets_stale\": 365,\n \"expiration_scans\": 365,\n \"export_token\": \"ET11226D9EEEA2B035D42569585900\",\n \"export_token_counter\": {{faker 'number.int' max=99999}},\n \"export_token_created_at\": 1576300370,\n \"export_token_last_used_at\": {{faker 'number.int' max=99999}},\n \"export_token_last_used_by\": \"127.0.0.1\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"name\": \"My Company\",\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"permanent\": true,\n \"project\": {{faker 'datatype.boolean'}},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "organization details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e1655988-cff8-4eaf-9eaa-46160193ae1f", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d18f906e-b550-4ce1-961d-e94d914d468f", "documentation": "Get all agents", "method": "get", "endpoint": "org/agents", "responses": [ { "uuid": "83002086-c498-4df6-9a29-86baec103488", "body": "[\n {\n \"arch\": \"amd64\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"connected\": true,\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"external_ip\": \"1.1.1.1\",\n \"host_id\": \"6f9e6fe52271da70962e007183c5c9c9\",\n \"hub_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"internal_ip\": \"192.168.0.1\",\n \"last_checkin\": 1576300370,\n \"name\": \"RUMBLE-AGENT\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Windows\",\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"system_info\": {},\n \"updated_at\": 1576300370,\n \"version\": \"1.2.3 (build 20191219224016) [fc50c5eefdc3ff5c60533c3c345d14d336396272]\"\n }\n]", "latency": 0, "statusCode": 200, "label": "array of agents", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bde24576-c3d6-4f53-9d30-b7bfa92fccfc", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f224ca9a-59c7-4941-843e-fa2dc1278266", "documentation": "Remove and uninstall an agent", "method": "delete", "endpoint": "org/agents/:agent_id", "responses": [ { "uuid": "fc63c4ac-0668-4642-a9b3-92684beddf89", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "139e196d-dd33-43ef-a846-103c26eb9b28", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b62fb0a9-fad0-4c92-8f95-b6bd70ae0b6a", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2fb0b456-40c3-4dcd-9e47-d135786d2573", "documentation": "Get details for a single agent", "method": "get", "endpoint": "org/agents/:agent_id", "responses": [ { "uuid": "2ea720f6-17d3-4c1c-8fbb-710dbe2029db", "body": "{\n \"arch\": \"amd64\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"connected\": true,\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"external_ip\": \"1.1.1.1\",\n \"host_id\": \"6f9e6fe52271da70962e007183c5c9c9\",\n \"hub_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"internal_ip\": \"192.168.0.1\",\n \"last_checkin\": 1576300370,\n \"name\": \"RUMBLE-AGENT\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Windows\",\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"system_info\": {},\n \"updated_at\": 1576300370,\n \"version\": \"1.2.3 (build 20191219224016) [fc50c5eefdc3ff5c60533c3c345d14d336396272]\"\n}", "latency": 0, "statusCode": 200, "label": "agent details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5b84eff3-bb97-43ca-b9f2-468435d40912", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69be45c3-7ebb-4cbf-b5cb-770146504155", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f7f7119e-a098-4222-a37a-26a0a2cdd30c", "documentation": "Update the site associated with agent", "method": "patch", "endpoint": "org/agents/:agent_id", "responses": [ { "uuid": "44fcf52e-04bc-41b3-bf74-a8e14e1f83b0", "body": "{\n \"arch\": \"amd64\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"connected\": true,\n \"created_at\": 1576300370,\n \"deactivated_at\": {{faker 'number.int' max=99999}},\n \"external_ip\": \"1.1.1.1\",\n \"host_id\": \"6f9e6fe52271da70962e007183c5c9c9\",\n \"hub_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": {{faker 'datatype.boolean'}},\n \"internal_ip\": \"192.168.0.1\",\n \"last_checkin\": 1576300370,\n \"name\": \"RUMBLE-AGENT\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Windows\",\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"system_info\": {},\n \"updated_at\": 1576300370,\n \"version\": \"1.2.3 (build 20191219224016) [fc50c5eefdc3ff5c60533c3c345d14d336396272]\"\n}", "latency": 0, "statusCode": 200, "label": "agent details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6e9af99b-b18f-4f39-99b5-e7b58d85851f", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f249ebc0-4157-4d02-b374-dffb3304cff2", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "098a547c-422c-400b-a467-b5fc0380c3ed", "documentation": "Force an agent to update and restart", "method": "post", "endpoint": "org/agents/:agent_id/update", "responses": [ { "uuid": "009fe065-3937-41a6-bf69-146796ac50e4", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e4ef14f2-ac57-40d5-b13d-bab34999e7a0", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9344a066-4450-4024-8eb2-3c34fa3da040", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bde0c451-da9f-4887-bfdb-c0e0b71c59e8", "documentation": "Get all assets", "method": "get", "endpoint": "org/assets", "responses": [ { "uuid": "2964ebf9-8d05-4f60-b5d9-b27325338faf", "body": "[\n {\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of assets", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a577176c-0865-43ce-bb9c-60bacf8bbaed", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "030bb015-9e4d-49a1-8600-c86c3ae4c64c", "documentation": "Remove an asset", "method": "delete", "endpoint": "org/assets/:asset_id", "responses": [ { "uuid": "a98f6f81-954b-43c8-881b-f792f842ee92", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06f4169c-b7aa-4bf0-a30d-f39ddc9d57da", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "341523c2-cbd5-4cb6-8765-e4c399c5bc86", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3cb33902-cd3f-4bed-9409-f4a33299b7b1", "documentation": "Get asset details", "method": "get", "endpoint": "org/assets/:asset_id", "responses": [ { "uuid": "5757f566-d8db-4456-85de-9505f02915ea", "body": "{\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "asset details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2bc49e33-712e-4fdd-a22f-0c7d8bc4b8b3", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "22109606-5b89-4efd-a475-1dd65f044377", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4361f045-d8dd-4711-8dd9-23714086639c", "documentation": "Update asset comments", "method": "patch", "endpoint": "org/assets/:asset_id/comments", "responses": [ { "uuid": "4708e176-665b-44e0-8ae6-43163443bd11", "body": "{\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "asset details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d66bdee5-4e37-43cc-81c0-22c77ad0a763", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "465f1fa6-5419-414c-b354-ee6cb15f9bb0", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6108a0dd-104d-4efa-8944-8209d2b6408e", "documentation": "Update asset tags", "method": "patch", "endpoint": "org/assets/:asset_id/tags", "responses": [ { "uuid": "cff52353-d4ad-4c6f-ad86-ff094e1e101e", "body": "{\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"www\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "asset details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "69e7ecc9-a7f2-4078-b12b-4c5255752161", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f822c650-444b-4432-b2e3-9229b6e189a4", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8eb6e60e-d33f-425e-9401-9eb3c163cdf0", "documentation": "Remove the current API key", "method": "delete", "endpoint": "org/key", "responses": [ { "uuid": "d2f87007-add7-4150-ac2e-d34fbe2ca702", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1552dd4a-3511-4179-a45c-38c67bf00fa3", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a736c085-d424-46a0-b3e1-5e22967ae64a", "documentation": "Get API key details", "method": "get", "endpoint": "org/key", "responses": [ { "uuid": "818d30ca-8375-47f9-bd18-3a7bd57785ed", "body": "{\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"comment\": \"API key used for Splunk integration\",\n \"counter\": 1,\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": \"tue\",\n \"last_used_at\": {{faker 'number.int' max=99999}},\n \"last_used_ip\": \"127.0.0.1\",\n \"last_used_ua\": \"curl/7.44.1\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"token\": \"CTXXXXXXXXXXXXX\",\n \"type\": \"org\",\n \"usage_limit\": 10000,\n \"usage_today\": 100\n}", "latency": 0, "statusCode": 200, "label": "api key details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a2a7be63-cb79-40fa-bd83-2dcba55a89ba", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bee18680-3165-4d60-89d1-bb2dd5bde9f0", "documentation": "Rotate the API key secret and return the updated key", "method": "patch", "endpoint": "org/key/rotate", "responses": [ { "uuid": "f726fda5-87f8-4a03-8edf-d77b7f0868ad", "body": "{\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"comment\": \"API key used for Splunk integration\",\n \"counter\": 1,\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"inactive\": \"tue\",\n \"last_used_at\": {{faker 'number.int' max=99999}},\n \"last_used_ip\": \"127.0.0.1\",\n \"last_used_ua\": \"curl/7.44.1\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"token\": \"CTXXXXXXXXXXXXX\",\n \"type\": \"org\",\n \"usage_limit\": 10000,\n \"usage_today\": 100\n}", "latency": 0, "statusCode": 200, "label": "api key details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3aab9628-aa2a-47db-882e-d6ee5e97da5b", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f169a119-4b92-4e77-b58c-3b51bd261faf", "documentation": "Get all services", "method": "get", "endpoint": "org/services", "responses": [ { "uuid": "37b9335e-6617-43b4-8a5e-921aa5a4547a", "body": "[\n {\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"CORPNET\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_address\": \"192.168.0.1\",\n \"service_asset_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_created_at\": 1576300370,\n \"service_data\": {},\n \"service_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"service_link\": \"http://192.168.0.1:80/\",\n \"service_port\": 80,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"service_protocol\": \"http tls\",\n \"service_screenshot_link\": \"\",\n \"service_summary\": \"Login Page\",\n \"service_transport\": \"tcp\",\n \"service_updated_at\": 1576300370,\n \"service_vhost\": \"www\",\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of services", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bb89b9d7-cba1-438f-8624-70eff021039b", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cce9c201-58dd-4168-91f6-36be6318e79f", "documentation": "Remove a service", "method": "delete", "endpoint": "org/services/:service_id", "responses": [ { "uuid": "7ac827c5-1a9a-47a2-933c-d2d07ffb2602", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b48639a0-a895-4133-8c54-88baa7bc2b8e", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "546e46bb-aa86-4a6f-9583-a76be1029df7", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e6148e06-cd06-467c-bd43-8d7c786f0e8c", "documentation": "Get service details", "method": "get", "endpoint": "org/services/:service_id", "responses": [ { "uuid": "4ed70c0a-db6f-4c19-abeb-884697278df5", "body": "{\n \"addresses\": [\n \"192.168.0.1\"\n ],\n \"addresses_extra\": [\n \"192.168.100.1\"\n ],\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"alive\": true,\n \"attributes\": {},\n \"comments\": \"File Server\",\n \"created_at\": 1576300370,\n \"credentials\": {},\n \"detected_by\": \"icmp\",\n \"domains\": [\n \"CORPNET\"\n ],\n \"first_seen\": 1576300370,\n \"hw\": \"Dell PowerEdge 2500\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"lowest_rtt\": 1,\n \"lowest_ttl\": {{faker 'number.int' max=99999}},\n \"mac_vendors\": [\n \"Dell\"\n ],\n \"macs\": [\n \"11:22:33:44:55:66\"\n ],\n \"names\": [\n \"www\"\n ],\n \"newest_mac\": \"11:22:33:44:55:66\",\n \"newest_mac_age\": 1304035200000000000,\n \"newest_mac_vendor\": \"Intel Corporate\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"os\": \"Ubuntu Linux\",\n \"os_version\": 18.04,\n \"rtts\": {},\n \"service_address\": \"192.168.0.1\",\n \"service_asset_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"service_count\": 10,\n \"service_count_arp\": 1,\n \"service_count_icmp\": 1,\n \"service_count_tcp\": 7,\n \"service_count_udp\": 1,\n \"service_created_at\": 1576300370,\n \"service_data\": {},\n \"service_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"service_link\": \"http://192.168.0.1:80/\",\n \"service_port\": 80,\n \"service_ports_products\": [\n \"bind\"\n ],\n \"service_ports_protocols\": [\n \"ssh\"\n ],\n \"service_ports_tcp\": [\n 22\n ],\n \"service_ports_udp\": [\n 53\n ],\n \"service_protocol\": \"http tls\",\n \"service_screenshot_link\": \"\",\n \"service_summary\": \"Login Page\",\n \"service_transport\": \"tcp\",\n \"service_updated_at\": 1576300370,\n \"service_vhost\": \"www\",\n \"services\": {},\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"tags\": {},\n \"type\": \"Server\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "service details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c3c0c9b6-8f64-44d2-95b9-221f80234a86", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "59135f94-9f20-4be5-b0bb-e53824e84ce3", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "25e84dec-f8c0-492c-8217-70d3f9f4ec52", "documentation": "Get all sites", "method": "get", "endpoint": "org/sites", "responses": [ { "uuid": "c916b075-fcf7-4086-8a42-6dcb7f44bf16", "body": "[\n {\n \"created_at\": 1576300370,\n \"description\": \"Headquarters\",\n \"excludes\": \"192.168.0.5\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Primary\",\n \"permanent\": true,\n \"scope\": \"192.168.0.0/24\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of sites", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "13af6633-68da-481f-a95d-0c4c26455f6f", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "05651140-212a-44d8-9bcb-c3b46ae02535", "documentation": "Create a new site", "method": "put", "endpoint": "org/sites", "responses": [ { "uuid": "54319264-355a-47d7-875d-a8ec068d32cd", "body": "{\n \"created_at\": 1576300370,\n \"description\": \"Headquarters\",\n \"excludes\": \"192.168.0.5\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Primary\",\n \"permanent\": true,\n \"scope\": \"192.168.0.0/24\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "site details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "47b3451c-16b1-4b8c-9cd1-ed364eb0e11e", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fe7ee9ea-2d28-4f08-8b66-a1d86ca395e2", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e275e844-d234-4e11-a1d5-26fdf3db7828", "documentation": "Remove a site and associated assets", "method": "delete", "endpoint": "org/sites/:site_id", "responses": [ { "uuid": "00d1813c-0d35-4a23-9288-9bab9d9b56de", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9fc809fd-9de2-4697-8ff3-e18f23706764", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "676f3681-cf84-4158-a5d9-bb4caeaa9292", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7f1c3206-7226-4c93-a9b0-9ba8606230e3", "documentation": "Get site details", "method": "get", "endpoint": "org/sites/:site_id", "responses": [ { "uuid": "c5142f36-d8d5-4dc2-96a9-ed4073631ea4", "body": "{\n \"created_at\": 1576300370,\n \"description\": \"Headquarters\",\n \"excludes\": \"192.168.0.5\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Primary\",\n \"permanent\": true,\n \"scope\": \"192.168.0.0/24\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "site details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a2f9dc66-2694-4f24-8a38-dc2fc0788894", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b1151c0b-668d-4ba5-8f99-5da0c79f1eb3", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a6cf3fc-bbca-46aa-93c3-1189a92e361f", "documentation": "Update a site definition", "method": "patch", "endpoint": "org/sites/:site_id", "responses": [ { "uuid": "6fcbe0e7-1001-4fe3-8ea1-cbe3b6cea5d0", "body": "{\n \"created_at\": 1576300370,\n \"description\": \"Headquarters\",\n \"excludes\": \"192.168.0.5\",\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Primary\",\n \"permanent\": true,\n \"scope\": \"192.168.0.0/24\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "site details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "363c7935-dfd0-49a7-b305-e44b7a1e6cf0", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fbbf76c5-b6da-425e-8bd8-6ee769c32b03", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7e6bbf71-598c-4274-a4cb-a020d832241f", "documentation": "Import a scan data file into a site", "method": "put", "endpoint": "org/sites/:site_id/import", "responses": [ { "uuid": "9d260b18-63f2-4ca0-b265-42a2f239dfe6", "body": "{\n \"agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"created_by_user_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"cruncher_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"description\": \"Scan the headquarters hourly\",\n \"error\": \"agent unavailable\",\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Hourly Scan\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"params\": {},\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur\": {{faker 'datatype.boolean'}},\n \"recur_frequency\": \"hour\",\n \"recur_last\": 1576300370,\n \"recur_last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur_next\": 1576300370,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"start_time\": 1576300370,\n \"stats\": {},\n \"status\": \"processed\",\n \"type\": \"scan\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "import task", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b369b911-fb8f-403a-a374-78b2d81ac0ab", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "82185256-d135-41b9-88f0-7741379a9b28", "body": "", "latency": 0, "statusCode": 403, "label": "License has expired", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "65d56c86-93ca-4e0e-b97f-1cc61020669a", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c8819292-92de-4ca9-89d8-95b247c0a72b", "body": "", "latency": 0, "statusCode": 500, "label": "Request could not be processed", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5680e1a5-f8f4-4b7c-aa9a-cbe21b815049", "documentation": "Create a scan task for a given site", "method": "put", "endpoint": "org/sites/:site_id/scan", "responses": [ { "uuid": "e1bc0b2c-d621-4d72-82f7-0a759bfb541a", "body": "{\n \"agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"created_by_user_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"cruncher_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"description\": \"Scan the headquarters hourly\",\n \"error\": \"agent unavailable\",\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Hourly Scan\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"params\": {},\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur\": {{faker 'datatype.boolean'}},\n \"recur_frequency\": \"hour\",\n \"recur_last\": 1576300370,\n \"recur_last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur_next\": 1576300370,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"start_time\": 1576300370,\n \"stats\": {},\n \"status\": \"processed\",\n \"type\": \"scan\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "a created scan task", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "22ec4fa2-371c-47ac-8c79-dee6a065bfa1", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c02a3e54-7423-4356-a744-8beb10fdf9e9", "body": "", "latency": 0, "statusCode": 403, "label": "License has expired", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4900dba1-88e6-4995-b3c0-9819ede6e834", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b1372591-ea42-48e7-af0a-f510fe4502c6", "body": "", "latency": 0, "statusCode": 500, "label": "Request could not be processed", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6a5a252-02da-4b15-a597-c77548068037", "documentation": "Get all tasks (last 1000)", "method": "get", "endpoint": "org/tasks", "responses": [ { "uuid": "c5cde9c1-a9de-45e2-893a-1a8249bf8d16", "body": "[\n {\n \"agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"created_by_user_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"cruncher_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"description\": \"Scan the headquarters hourly\",\n \"error\": \"agent unavailable\",\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Hourly Scan\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"params\": {},\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur\": {{faker 'datatype.boolean'}},\n \"recur_frequency\": \"hour\",\n \"recur_last\": 1576300370,\n \"recur_last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur_next\": 1576300370,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"start_time\": 1576300370,\n \"stats\": {},\n \"status\": \"processed\",\n \"type\": \"scan\",\n \"updated_at\": 1576300370\n }\n]", "latency": 0, "statusCode": 200, "label": "array of tasks", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8b08aceb-c7fe-481b-8e57-edf5e26652ad", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "220d3e39-0ae5-43f2-aef0-2cfc4ee148a6", "documentation": "Get task details", "method": "get", "endpoint": "org/tasks/:task_id", "responses": [ { "uuid": "ebce9a3d-dd20-43b4-8e12-74d91396e41a", "body": "{\n \"agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"created_by_user_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"cruncher_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"description\": \"Scan the headquarters hourly\",\n \"error\": \"agent unavailable\",\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Hourly Scan\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"params\": {},\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur\": {{faker 'datatype.boolean'}},\n \"recur_frequency\": \"hour\",\n \"recur_last\": 1576300370,\n \"recur_last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur_next\": 1576300370,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"start_time\": 1576300370,\n \"stats\": {},\n \"status\": \"processed\",\n \"type\": \"scan\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "task details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "85217f9d-0489-4b93-83bb-d64d3db068a8", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f01c94e0-980b-4903-9468-d1a2f01a10ae", "documentation": "Update task parameters", "method": "patch", "endpoint": "org/tasks/:task_id", "responses": [ { "uuid": "f3434458-c63c-4c23-9d9d-4f8edea5f166", "body": "{\n \"agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"client_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"created_at\": 1576300370,\n \"created_by\": \"user@example.com\",\n \"created_by_user_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"cruncher_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"description\": \"Scan the headquarters hourly\",\n \"error\": \"agent unavailable\",\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"name\": \"Hourly Scan\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"params\": {},\n \"parent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur\": {{faker 'datatype.boolean'}},\n \"recur_frequency\": \"hour\",\n \"recur_last\": 1576300370,\n \"recur_last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"recur_next\": 1576300370,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"start_time\": 1576300370,\n \"stats\": {},\n \"status\": \"processed\",\n \"type\": \"scan\",\n \"updated_at\": 1576300370\n}", "latency": 0, "statusCode": 200, "label": "task details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "63762159-548d-4a98-a94d-d15841878c8a", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "746ad9d2-7acf-44a8-8adf-e6906af08687", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f158f4c1-db18-4f5a-9dd0-cd275abcc731", "documentation": "Returns a temporary task change report data url", "method": "get", "endpoint": "org/tasks/:task_id/changes", "responses": [ { "uuid": "7f82cc15-5a0c-4159-a05c-00047fc4aedc", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ef8b7f3f-2478-4e12-9c7f-ed7b8085e9ce", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e4caca40-84ab-4f25-a6b4-c7635d2ec12a", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f7833a8d-20a3-4a76-add1-4c6978a622f3", "documentation": "Returns a temporary task scan data url", "method": "get", "endpoint": "org/tasks/:task_id/data", "responses": [ { "uuid": "774be2e0-67c8-4feb-97c3-a4c2c49b948b", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "22c2ba2a-b71f-4d5c-a562-48f8a1b1e8c2", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4ab3159a-9a16-4119-b6f0-04c93088f9d7", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b47e0ddc-c695-47fe-aaeb-3ba90a5645a3", "documentation": "Signal that a completed task should be hidden", "method": "post", "endpoint": "org/tasks/:task_id/hide", "responses": [ { "uuid": "119a3a31-da69-4291-bd61-783882be4ce5", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0224598a-9753-4b43-b39e-cfa01bbdff35", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "22718d8d-4b20-436b-9836-39de966713a3", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "30c4a305-1ecd-41dc-a3f2-bfd947900ed5", "documentation": "Signal that a task should be stopped or canceledThis will also remove recurring and scheduled tasks", "method": "post", "endpoint": "org/tasks/:task_id/stop", "responses": [ { "uuid": "69481c74-d556-436b-84c9-878bec886a99", "body": "", "latency": 0, "statusCode": 200, "label": "Automatically created", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f756204a-9134-469b-ba48-b9d7191afd70", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fac357e2-afec-49a0-b5f8-0e0fbc4acd6e", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "928ba205-c6b6-4c57-8169-3a4da39f537a", "documentation": "Get all wireless LANs", "method": "get", "endpoint": "org/wireless", "responses": [ { "uuid": "5dc71424-c034-4a02-9def-684042a3042e", "body": "[\n {\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"authentication\": \"wpa2-psk\",\n \"bssid\": \"11:22:33:44:55:66\",\n \"channels\": \"11, 158+1\",\n \"created_at\": 1576300370,\n \"data\": {},\n \"encryption\": \"aes\",\n \"essid\": \"Free WiFi\",\n \"family\": 223344,\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"interface\": \"wlan0\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"signal\": 99,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"type\": \"infrastructure\",\n \"vendor\": \"Ubiquiti Networks\"\n }\n]", "latency": 0, "statusCode": 200, "label": "array of wireless LANs", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d743ac40-b69a-4f9e-9863-8b5d1831a404", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a01bee17-c80b-4122-aa5d-5bade2f9881f", "documentation": "Remove a wireless LAN", "method": "delete", "endpoint": "org/wirelesss/:wireless_id", "responses": [ { "uuid": "e7f4110f-bdff-4275-b9f4-219c389eb5ec", "body": "", "latency": 0, "statusCode": 204, "label": "empty response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5f0f20c2-f6b9-4822-a0df-d5db2e8b394b", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ee2728ef-543f-4c32-8c9b-37798068c3d1", "body": "", "latency": 0, "statusCode": 404, "label": "Resource not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "315c4d83-98a1-477b-8f3f-6edeef9d341d", "documentation": "Get wireless LAN details", "method": "get", "endpoint": "org/wirelesss/:wireless_id", "responses": [ { "uuid": "6d117550-6dc3-45f4-b032-9a8aea66fbba", "body": "{\n \"agent_name\": \"LAPTOP-F4P1R6\",\n \"authentication\": \"wpa2-psk\",\n \"bssid\": \"11:22:33:44:55:66\",\n \"channels\": \"11, 158+1\",\n \"created_at\": 1576300370,\n \"data\": {},\n \"encryption\": \"aes\",\n \"essid\": \"Free WiFi\",\n \"family\": 223344,\n \"id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"interface\": \"wlan0\",\n \"last_agent_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"last_seen\": 1576300370,\n \"last_task_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"org_name\": \"Test Labs\",\n \"organization_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"signal\": 99,\n \"site_id\": \"e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8\",\n \"site_name\": \"Primary\",\n \"type\": \"infrastructure\",\n \"vendor\": \"Ubiquiti Networks\"\n}", "latency": 0, "statusCode": 200, "label": "wireless details", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dc707a9a-beaf-42ee-8f5e-164f792888c1", "body": "", "latency": 0, "statusCode": 401, "label": "Access token is missing or invalid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d3870168-18e8-4ab0-a74b-15d11ed48927", "documentation": "Returns latest agent version", "method": "get", "endpoint": "releases/agent/version", "responses": [ { "uuid": "752d1dda-bc95-4c96-95cb-3bfc90a6da7a", "body": "{\n \"id\": \"agent\",\n \"version\": \"1.0.0\"\n}", "latency": 0, "statusCode": 200, "label": "component version", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "10dae076-efdd-4a74-899b-9c509db07dca", "documentation": "Returns latest platform version", "method": "get", "endpoint": "releases/platform/version", "responses": [ { "uuid": "fa4c9085-e4db-443c-a4cb-851bd58bfaa6", "body": "{\n \"id\": \"agent\",\n \"version\": \"1.0.0\"\n}", "latency": 0, "statusCode": 200, "label": "component version", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "25435edd-18f1-4a98-be69-a2c258cb46ff", "documentation": "Returns latest scanner version", "method": "get", "endpoint": "releases/scanner/version", "responses": [ { "uuid": "edda9043-83e3-4ed8-bce4-6763942a1bb8", "body": "{\n \"id\": \"agent\",\n \"version\": \"1.0.0\"\n}", "latency": 0, "statusCode": 200, "label": "component version", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "fee631d6-61b0-4fd3-b88e-448c43131433" }, { "type": "route", "uuid": "14a99823-4b8f-4e36-b0ef-ed6b5cd2d0fb" }, { "type": "route", "uuid": "b1d3f6a3-938e-44cc-92a6-e91dd175dc77" }, { "type": "route", "uuid": "bd1888bf-47df-4ca9-be19-a6405d5df50b" }, { "type": "route", "uuid": "70e66c47-3885-4149-95a7-a10fcd5b886c" }, { "type": "route", "uuid": "61410b89-9437-495f-8c45-08d7069e8065" }, { "type": "route", "uuid": "07a2cb0a-d97d-4350-a271-8a4193963899" }, { "type": "route", "uuid": "31bb6b6f-210f-4ce4-b4e4-bf5c04121a98" }, { "type": "route", "uuid": "ef8e25ea-abb4-4445-ac35-fe063158091c" }, { "type": "route", "uuid": "d8361c77-41ff-480f-9501-6b60593efbda" }, { "type": "route", "uuid": "62139be8-df26-47d0-ab04-c9e3d9aa1821" }, { "type": "route", "uuid": "8f5524df-0d25-4122-8e5d-53e7bb8516a1" }, { "type": "route", "uuid": "ff97f24f-ad4a-4f02-b861-4f308606c5cb" }, { "type": "route", "uuid": "5582a134-2ff6-4828-89e0-0f67ca2cf286" }, { "type": "route", "uuid": "da58f957-2731-4334-a060-0922c036cfc1" }, { "type": "route", "uuid": "ab609c09-731c-4f6d-aba3-e50c3b3e421b" }, { "type": "route", "uuid": "2cbe32cf-c854-4993-93ed-58377581a33e" }, { "type": "route", "uuid": "e8dc623d-4c3e-4229-bf75-db9dffec34f8" }, { "type": "route", "uuid": "13c6ab26-7f65-468c-bd02-8c384cfdeeec" }, { "type": "route", "uuid": "a0dcfb2c-8a5e-4be1-ac5e-8063fa2fb90d" }, { "type": "route", "uuid": "8a00e175-06db-424d-8bf7-188d12570a05" }, { "type": "route", "uuid": "55b4a6a2-03b4-4197-854c-2bd2a54ef5ea" }, { "type": "route", "uuid": "c57b21aa-502e-4b57-9a38-5c8540c6770b" }, { "type": "route", "uuid": "74e8c48b-14de-4a75-8fb9-287cd9f900f3" }, { "type": "route", "uuid": "a5f8b676-65a2-48dd-9b6a-d13a0d66db0a" }, { "type": "route", "uuid": "98800037-7b7d-439e-a59f-fb19bc723f17" }, { "type": "route", "uuid": "6c0a24f9-99b5-4faf-a452-ecd2c0c574fc" }, { "type": "route", "uuid": "2dd8e432-998a-4815-9668-1ddb7cc2cefa" }, { "type": "route", "uuid": "4fdd1523-92f4-4ba9-9d85-a155bc26b508" }, { "type": "route", "uuid": "940aa888-e5a3-4925-97ae-a3f165ab15f5" }, { "type": "route", "uuid": "3d017dee-dcd2-4c68-a42f-5e5d1bd20e79" }, { "type": "route", "uuid": "d7865770-ed80-4e24-9850-e4b71f0f79bc" }, { "type": "route", "uuid": "84fdb89c-2017-42db-b8d7-e9d458aaf41f" }, { "type": "route", "uuid": "8577382f-3719-4288-98bb-1dc353e34389" }, { "type": "route", "uuid": "64240f91-fda4-47f9-944d-a75f9e4fcb89" }, { "type": "route", "uuid": "2956ef67-165a-4c99-8544-dc31e4b958ce" }, { "type": "route", "uuid": "5b4f836f-e15f-4901-80d2-3ec7a53835fd" }, { "type": "route", "uuid": "3e35adb8-bf6c-438b-b18c-141fa67059bf" }, { "type": "route", "uuid": "aae184b4-5364-452e-af24-ae7a46025a5d" }, { "type": "route", "uuid": "39a2070f-3352-4fdd-90ce-1db1a0ddf426" }, { "type": "route", "uuid": "c486e966-74d0-439d-9839-84181d3ea5eb" }, { "type": "route", "uuid": "419bae99-5420-4e4c-bd84-33bb067ca769" }, { "type": "route", "uuid": "ce6a9422-6d1b-4bf9-9e44-cd1ef6466db9" }, { "type": "route", "uuid": "92195be1-ac77-4628-9dc0-ca0f1569c780" }, { "type": "route", "uuid": "551f8cb5-2112-4398-98a7-518d4c3310cd" }, { "type": "route", "uuid": "97f248da-5a5b-46c7-98e6-8572cc966b8c" }, { "type": "route", "uuid": "f192512a-cc96-46c6-929a-7b7592261a60" }, { "type": "route", "uuid": "aea20e6f-3fbe-4dd2-95c1-303b5495b75d" }, { "type": "route", "uuid": "d93f8184-2741-4de9-94e8-9be50b5f8b7e" }, { "type": "route", "uuid": "e161a0af-3c69-482a-980f-c3a42fe97bc3" }, { "type": "route", "uuid": "444594a8-f592-4471-868a-9f6fcb77a0a1" }, { "type": "route", "uuid": "45642931-6c03-47a4-a21b-2f044c31d534" }, { "type": "route", "uuid": "d18f906e-b550-4ce1-961d-e94d914d468f" }, { "type": "route", "uuid": "f224ca9a-59c7-4941-843e-fa2dc1278266" }, { "type": "route", "uuid": "2fb0b456-40c3-4dcd-9e47-d135786d2573" }, { "type": "route", "uuid": "f7f7119e-a098-4222-a37a-26a0a2cdd30c" }, { "type": "route", "uuid": "098a547c-422c-400b-a467-b5fc0380c3ed" }, { "type": "route", "uuid": "bde0c451-da9f-4887-bfdb-c0e0b71c59e8" }, { "type": "route", "uuid": "030bb015-9e4d-49a1-8600-c86c3ae4c64c" }, { "type": "route", "uuid": "3cb33902-cd3f-4bed-9409-f4a33299b7b1" }, { "type": "route", "uuid": "4361f045-d8dd-4711-8dd9-23714086639c" }, { "type": "route", "uuid": "6108a0dd-104d-4efa-8944-8209d2b6408e" }, { "type": "route", "uuid": "8eb6e60e-d33f-425e-9401-9eb3c163cdf0" }, { "type": "route", "uuid": "a736c085-d424-46a0-b3e1-5e22967ae64a" }, { "type": "route", "uuid": "bee18680-3165-4d60-89d1-bb2dd5bde9f0" }, { "type": "route", "uuid": "f169a119-4b92-4e77-b58c-3b51bd261faf" }, { "type": "route", "uuid": "cce9c201-58dd-4168-91f6-36be6318e79f" }, { "type": "route", "uuid": "e6148e06-cd06-467c-bd43-8d7c786f0e8c" }, { "type": "route", "uuid": "25e84dec-f8c0-492c-8217-70d3f9f4ec52" }, { "type": "route", "uuid": "05651140-212a-44d8-9bcb-c3b46ae02535" }, { "type": "route", "uuid": "e275e844-d234-4e11-a1d5-26fdf3db7828" }, { "type": "route", "uuid": "7f1c3206-7226-4c93-a9b0-9ba8606230e3" }, { "type": "route", "uuid": "5a6cf3fc-bbca-46aa-93c3-1189a92e361f" }, { "type": "route", "uuid": "7e6bbf71-598c-4274-a4cb-a020d832241f" }, { "type": "route", "uuid": "5680e1a5-f8f4-4b7c-aa9a-cbe21b815049" }, { "type": "route", "uuid": "b6a5a252-02da-4b15-a597-c77548068037" }, { "type": "route", "uuid": "220d3e39-0ae5-43f2-aef0-2cfc4ee148a6" }, { "type": "route", "uuid": "f01c94e0-980b-4903-9468-d1a2f01a10ae" }, { "type": "route", "uuid": "f158f4c1-db18-4f5a-9dd0-cd275abcc731" }, { "type": "route", "uuid": "f7833a8d-20a3-4a76-add1-4c6978a622f3" }, { "type": "route", "uuid": "b47e0ddc-c695-47fe-aaeb-3ba90a5645a3" }, { "type": "route", "uuid": "30c4a305-1ecd-41dc-a3f2-bfd947900ed5" }, { "type": "route", "uuid": "928ba205-c6b6-4c57-8169-3a4da39f537a" }, { "type": "route", "uuid": "a01bee17-c80b-4122-aa5d-5bade2f9881f" }, { "type": "route", "uuid": "315c4d83-98a1-477b-8f3f-6edeef9d341d" }, { "type": "route", "uuid": "d3870168-18e8-4ab0-a74b-15d11ed48927" }, { "type": "route", "uuid": "10dae076-efdd-4a74-899b-9c509db07dca" }, { "type": "route", "uuid": "25435edd-18f1-4a98-be69-a2c258cb46ff" } ] }