Skip to main content
POST
/
api
/
v1
/
issues
/
{id}
/
assets
Create or update issue asset
curl --request POST \
  --url https://neo.api.projectdiscovery.io/api/v1/issues/{id}/assets \
  --header 'Content-Type: application/json' \
  --data '
{
  "asset_owner": "<string>",
  "host": "<string>",
  "ip_address": "<string>",
  "matcher_name": "<string>",
  "metadata": {},
  "port": 123,
  "status": "open",
  "target": "<string>",
  "target_type": "host",
  "url": "<string>"
}
'
{
  "created_by": "<string>",
  "first_seen": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "issue_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "last_seen": "2023-11-07T05:31:56Z",
  "status": "open",
  "target_type": "host",
  "asset_owner": "<string>",
  "host": "<string>",
  "ip_address": "<string>",
  "matcher_name": "<string>",
  "metadata": {},
  "port": 123,
  "target": "<string>",
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string<uuid>
required

Issue ID

Body

application/json
asset_owner
string

Who is responsible for this asset — email, team name, cloud account ID, etc.

host
string
ip_address
string
matcher_name
string
metadata
object
port
integer
status
enum<string>
default:open
Available options:
open,
fixed,
ignored
target
string

Generic target (ARN, file path, bundle ID, etc.)

target_type
string
default:host
url
string

Response

Asset upserted

created_by
string
required

Email of the user who added this asset

first_seen
string<date-time>
required
id
string<uuid>
required
issue_id
string<uuid>
required
last_seen
string<date-time>
required
status
enum<string>
default:open
required
Available options:
open,
fixed,
ignored
target_type
string
default:host
required
asset_owner
string | null

Who is responsible for this asset — email address, team name, cloud account ID, or any identifier that helps track down the right person/team to remediate it

host
string | null
ip_address
string | null
matcher_name
string | null

Template match name (e.g. nuclei matcher)

metadata
object
port
integer | null
target
string | null

Generic target identifier (ARN, bundle ID, repo path, etc.)

url
string | null