{ "opencollection": "1.0.0", "info": { "name": "PDCP agents configurations API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "configurations", "type": "folder" }, "items": [ { "info": { "name": "Get Configs List", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectdiscovery.io/v1/scans/config", "headers": [ { "name": "X-Team-Id", "value": "" } ], "params": [ { "name": "type", "value": "", "type": "query", "description": "filter by the type of config" }, { "name": "search", "value": "", "type": "query", "description": "search by config name" }, { "name": "limit", "value": "", "type": "query", "description": "The numbers of items to return" }, { "name": "offset", "value": "", "type": "query", "description": "The number of items to skip before starting to collect the result set" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get user scan configurations list" }, { "info": { "name": "Add Config", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/scans/config", "headers": [ { "name": "X-Team-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Add a new scan configuration" }, { "info": { "name": "Get Config", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id", "headers": [ { "name": "X-Team-Id", "value": "" } ], "params": [ { "name": "config_id", "value": "", "type": "path" }, { "name": "config_json", "value": "", "type": "query", "description": "config is in json format" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get a scan configuration" }, { "info": { "name": "Update Config", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id", "headers": [ { "name": "X-Team-Id", "value": "" } ], "params": [ { "name": "config_id", "value": "", "type": "path" }, { "name": "config_json", "value": "", "type": "query", "description": "Specify payload is in json" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Update existing scan configuration" }, { "info": { "name": "Delete Config", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id", "headers": [ { "name": "X-Team-Id", "value": "" } ], "params": [ { "name": "config_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Delete scan configuration" }, { "info": { "name": "Verify Config", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/scans/config/verify", "headers": [ { "name": "X-Team-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Verify scan configuration" }, { "info": { "name": "Get Verify Config Contents", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/scans/config/verify/contents", "headers": [ { "name": "X-Team-Id", "value": "" } ], "params": [ { "name": "project_id", "value": "", "type": "query", "description": "Jira Project ID to fetch details for" }, { "name": "team_id", "value": "", "type": "query", "description": "Linear Team ID to fetch details for" }, { "name": "cloud_id", "value": "", "type": "query", "description": "Specific Jira cloud ID when multiple clouds are available" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get Verify scan configuration contents" }, { "info": { "name": "Get excluded templates", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectdiscovery.io/v1/scans/config/exclude", "headers": [ { "name": "X-Team-Id", "value": "" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get excluded templates" }, { "info": { "name": "Add excluded templates and targets", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/scans/config/exclude", "headers": [ { "name": "X-Team-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Add excluded templates or targets" }, { "info": { "name": "Delete excluded templates or targets by ids", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.projectdiscovery.io/v1/scans/config/exclude", "headers": [ { "name": "X-Team-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Delete excluded templates or targets by ids" }, { "info": { "name": "Get custom severity mappings", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectdiscovery.io/v1/scans/config/severity", "headers": [ { "name": "X-Team-Id", "value": "" } ] }, "docs": "Get custom severity mappings" }, { "info": { "name": "Add custom severity mapping", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/scans/config/severity", "headers": [ { "name": "X-Team-Id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add custom severity mapping" }, { "info": { "name": "Delete custom severity mapping", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.projectdiscovery.io/v1/scans/config/severity", "headers": [ { "name": "X-Team-Id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete custom severity mapping" }, { "info": { "name": "Modify custom severity mapping", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id/severity", "headers": [ { "name": "X-Team-Id", "value": "" } ], "params": [ { "name": "config_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Modify custom severity mapping" } ] } ], "bundled": true }