Skip to main content
POST
/
api
/
v1
/
issues
/
bulk
Bulk create issues
curl --request POST \
  --url https://neo.api.projectdiscovery.io/api/v1/issues/bulk \
  --header 'Content-Type: application/json' \
  --data '
{
  "issues": [
    {
      "title": "<string>",
      "affected_assets": [
        {
          "asset_owner": "<string>",
          "host": "<string>",
          "ip_address": "<string>",
          "matcher_name": "<string>",
          "metadata": {},
          "port": 123,
          "status": "open",
          "target": "<string>",
          "target_type": "host",
          "url": "<string>"
        }
      ],
      "assignee": "<string>",
      "component": "<string>",
      "cve_ids": [
        "<string>"
      ],
      "cvss_score": "<string>",
      "cwe_ids": [
        "<string>"
      ],
      "description": "<string>",
      "due_date": "2023-11-07T05:31:56Z",
      "evidence": [
        {
          "caption": "<string>",
          "command": "<string>",
          "file": "<string>",
          "line": 123,
          "output": "<string>",
          "request": "<string>",
          "response": "<string>",
          "snippet": "<string>",
          "url": "<string>"
        }
      ],
      "evidence_schema_version": 1,
      "false_positive_reason": "<string>",
      "fingerprint": "<string>",
      "host": "<string>",
      "impact": "<string>",
      "ip_address": "<string>",
      "labels": {},
      "last_seen_at": "2023-11-07T05:31:56Z",
      "metadata": {},
      "port": 123,
      "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "protocol": "<string>",
      "raw_data": {},
      "reference_urls": [
        "<string>"
      ],
      "remediation": "<string>",
      "reproduction_steps": [
        "<string>"
      ],
      "risk_acceptance_reason": "<string>",
      "source": "<string>",
      "tags": [
        "<string>"
      ],
      "target": "<string>",
      "target_type": "host",
      "task_id": "<string>",
      "template_id": "<string>",
      "ticket_id": "<string>",
      "ticket_url": "<string>",
      "url": "<string>"
    }
  ]
}
'
{
  "created": 123,
  "errors": [
    "<string>"
  ],
  "failed": 123,
  "issue_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Body

application/json
issues
object[]
required
Required array length: 1 - 500 elements

Response

Bulk create result

created
integer
required
errors
string[]
required
failed
integer
required
issue_ids
string<uuid>[]