{ "uuid": "7a51672e-f537-425f-b28e-8a56d690d89b", "lastMigration": 29, "name": "Swagger API-REST for Patrowl Engines", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "4c1e4d71-8699-4332-a1cd-b35e59e85bd4", "documentation": "Index page", "method": "get", "endpoint": "", "responses": [ { "uuid": "ac041314-b822-4603-8352-06c448fbeb7a", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "04f876dc-d2fa-4531-a1e1-412dc7a90da6", "documentation": "Clean all scans", "method": "get", "endpoint": "clean", "responses": [ { "uuid": "13e997c4-e233-47fd-9793-b71af9df271c", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "4a0b20a4-bf46-4c3d-924a-3ce928c56734", "documentation": "Clean scan", "method": "get", "endpoint": "clean/:scanId", "responses": [ { "uuid": "63f0fd9f-ab9c-4d73-af64-af9a1f7b77d7", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "75c6a441-ac9f-40f5-930e-5d9b90fa88bc", "documentation": "Get findings on finished scans", "method": "get", "endpoint": "getfindings/:scanId", "responses": [ { "uuid": "16115bb6-de95-438d-9da2-4111a93d2465", "body": "[\n {\n \"confidence\": \"\",\n \"description\": \"\",\n \"issue_id\": {{faker 'number.int' max=99999}},\n \"meta_links\": [\n \"\"\n ],\n \"meta_risk\": {\n \"cvss_base_score\": [\n \"\"\n ],\n \"cvss_vector\": [\n \"\"\n ],\n \"exploit_available\": [\n \"\"\n ],\n \"exploitability_ease\": [\n \"\"\n ],\n \"patch_publication_date\": [\n \"\"\n ]\n },\n \"meta_tags\": [\n \"\"\n ],\n \"meta_vuln_refs\": {\n \"bid\": [\n \"\"\n ],\n \"cpe\": [\n \"\"\n ],\n \"cve\": [\n \"\"\n ],\n \"cwe\": [\n \"\"\n ]\n },\n \"raw\": \"\",\n \"severity\": \"{{oneOf (array 'info' 'low' 'medium' 'high')}}\",\n \"solution\": \"\",\n \"target_addrs\": [\n \"\"\n ],\n \"target_proto\": [\n \"\"\n ],\n \"timestamp\": \"{{faker 'date.recent' 365}}\",\n \"title\": \"\",\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "c245db36-0a14-450c-b618-0e9d0d004b7d", "documentation": "Engine info page", "method": "get", "endpoint": "info", "responses": [ { "uuid": "fc807570-289c-4f04-8bb1-3fbf10330854", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "aef3212b-e2a8-4bc3-8243-1811c4a16ba4", "documentation": "Liveness page", "method": "get", "endpoint": "liveness", "responses": [ { "uuid": "f55c48cd-fff3-4aba-b4da-98c9632341a2", "body": "", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "cd95904e-b8ca-4286-ac90-5a086853096f", "documentation": "Readiness page", "method": "get", "endpoint": "readiness", "responses": [ { "uuid": "b1255517-98c5-4153-9c83-a198b5634f8f", "body": "", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "4d5e12f2-07b2-40d5-bffb-9eb847df00a8", "documentation": "Configuration reloading page", "method": "get", "endpoint": "reloadconfig", "responses": [ { "uuid": "bbe32c89-5ea4-4c26-81f0-d8f80bcf3441", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "d9db0abc-8b43-42bf-b595-16d91ba0391f", "documentation": "Start a new scan", "method": "post", "endpoint": "startscan", "responses": [ { "uuid": "5fa06bb6-db59-47f5-adb4-df49e2929420", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "26176d4d-afa8-4562-aebf-bfa4d3675371", "documentation": "Status on all scans", "method": "get", "endpoint": "status", "responses": [ { "uuid": "7b3c4388-9d60-4b93-b569-5859937acab8", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "2cef679d-46c4-4476-8126-cb65ba4abc65", "documentation": "Status of a scan", "method": "get", "endpoint": "status/:scanId", "responses": [ { "uuid": "c12e022a-1d51-4445-bb3c-a04e258d9686", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "1c70e65f-163e-4d84-bc88-0b728d5d0476", "documentation": "Stop a scan", "method": "get", "endpoint": "stop/:scanId", "responses": [ { "uuid": "bed20d6f-b078-43b8-b948-05167ed45aee", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "88a5243e-d4dc-40bc-88bc-5733ff202894", "documentation": "Stop all scans", "method": "get", "endpoint": "stopscans", "responses": [ { "uuid": "6a79c0a9-73e1-40db-8eba-c11b58408f75", "body": "{\n \"page\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "a8cb2a3e-b81e-46f0-b450-422a46b73588", "documentation": "Test page", "method": "get", "endpoint": "test", "responses": [ { "uuid": "654549a3-bee5-469f-9ea7-2f61334393dc", "body": "", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "4c1e4d71-8699-4332-a1cd-b35e59e85bd4" }, { "type": "route", "uuid": "04f876dc-d2fa-4531-a1e1-412dc7a90da6" }, { "type": "route", "uuid": "4a0b20a4-bf46-4c3d-924a-3ce928c56734" }, { "type": "route", "uuid": "75c6a441-ac9f-40f5-930e-5d9b90fa88bc" }, { "type": "route", "uuid": "c245db36-0a14-450c-b618-0e9d0d004b7d" }, { "type": "route", "uuid": "aef3212b-e2a8-4bc3-8243-1811c4a16ba4" }, { "type": "route", "uuid": "cd95904e-b8ca-4286-ac90-5a086853096f" }, { "type": "route", "uuid": "4d5e12f2-07b2-40d5-bffb-9eb847df00a8" }, { "type": "route", "uuid": "d9db0abc-8b43-42bf-b595-16d91ba0391f" }, { "type": "route", "uuid": "26176d4d-afa8-4562-aebf-bfa4d3675371" }, { "type": "route", "uuid": "2cef679d-46c4-4476-8126-cb65ba4abc65" }, { "type": "route", "uuid": "1c70e65f-163e-4d84-bc88-0b728d5d0476" }, { "type": "route", "uuid": "88a5243e-d4dc-40bc-88bc-5733ff202894" }, { "type": "route", "uuid": "a8cb2a3e-b81e-46f0-b450-422a46b73588" } ] }