Retrieve Discovery Asset
GET/discovery/assets/:id/
Retrieve Discovery Asset
Request
Path Parameters
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
web
- Webapi
- API- Array [
- ]
0
- NA10
- Low20
- Normal30
- High- `` -
A+
- A+A
- AB
- BC
- CD
- DE
- EF
- FR
- RNEW
- NewACTIVE
- ActiveHIDDEN
- HiddenARCHIVED
- Archivedcanceled
- Canceledcanceling
- Cancelingcompleted
- Completedcompleted_with_errors
- Completed with errors - DEPRECATEDfailed
- Failedpaused
- Pausedpausing
- Pausingqueued
- Queuedresuming
- Resumingstarted
- Startedunder_review
- Under Reviewfinishing_up
- Finishing up- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
A unique Base58 value identifying this object.
A unique Base58 value identifying this object.
Possible values: <= 256 characters
Possible values: [web
, api
]
sources object[]required
Possible values: <= 255 characters
Possible values: <= 256 characters
Possible values: [0
, 10
, 20
, 30
, null
]
Possible values: [``, A+
, A
, B
, C
, D
, E
, F
, R
]
Possible values: [NEW
, ACTIVE
, HIDDEN
, ARCHIVED
]
target objectrequired
A unique Base58 value identifying this object.
Possible values: <= 255 characters
Name of the target.
The maximum length is 255 characters.
Description of the target.
Defaults to "".
running_scan objectrequired
Current scan running for the target.
A unique Base58 value identifying this object.
Possible values: [canceled
, canceling
, completed
, completed_with_errors
, failed
, paused
, pausing
, queued
, resuming
, started
, under_review
, finishing_up
]
Status of the scan:
Date and time of when the scan started.
Date and time of when the scan was completed.
Possible values: [lightning
, normal
, safe
, full
, api_normal
, api_full
]
Scan profile of the scan.
It can be one of the enumerated built-in scan profiles.
It can also be a custom scan profile, if the name starts with "sp-".
Number of vulnerability findings with low severity.
Number of vulnerability findings with medium severity.
Number of vulnerability findings with high severity.
crawler object
Status of the crawler.
State of the crawler execution.
For example, "started" or "ended".
List with two numbers where the first is the crawled URLs and the second is the total of URLs to crawl.
warning object[]required
List of warnings occurred during the crawler execution.
Warning code.
Warning message.
error object[]required
List of errors occurred during the crawler execution.
full_status objectrequired
Detailed information on the crawler execution.
Type of information.
The value is "feedback".
Internal information.
Internal information.
Timestamp of the crawler execution.
Sub-type of the type of information.
The value is "status".
Stage of the scan.
The value is "crawler".
Module of the crawler that is executing.
data objectrequired
Further details on the crawler execution.
Type of information.
The value is "feedback".
Number of requests with timeouts during the crawler execution.
Number of failed login attempts during the crawler execution.
Version number.
Number of network errors during the crawler execution.
If true, the crawler is currently trying to log in to the target.
Number of URLs crawled.
Number of URLs deduplicated during the crawler execution.
Total number of URLs to crawl.
List of extra hosts.
List of URLs currently being crawled.
lastLogin object[]required
List of the last logins.
Status of the login attempt.
Timestamp of the login attempt.
status objectrequired
List of HTTP response codes obtained during the crawler execution and how many of each.
List of HTTP response codes obtained during the crawler execution and how many of each.
outOfScopeHostsCount objectrequired
List of URLs out of the target's scope and the number of times the crawler hit them.
List of URLs out of the target's scope and the number of times the crawler hit them.
allHostnames objectrequired
List of all hostnames to crawl.
List of all hostnames to crawl.
lastCrawledEndpoints object[]required
List of the last crawled URLs.
Identifier of the crawler job.
HTTP response status code for the crawler request.
HTTP method of the crawler request.
URL of the crawler request.
statusByHost objectrequired
List of HTTP response codes obtained during the crawler execution and how many of each, grouped by hostname.
List of HTTP response codes obtained during the crawler execution and how many of each, grouped by hostname.
fingerprinter object
Status of the fingerprinter.
State of the fingerprinter execution.
For example, "started" or "ended".
Number of technologies (frameworks) detected by the fingerprinter.
List of warnings occurred during the fingerprinter execution.
List of errors occurred during the fingerprinter execution.
scanner object
Status of the scanner.
State of the scanner execution.
For example, "started" or "ended".
List with two numbers where the first is the scanned URLs and the second is the total of URLs to scan.
warning object[]required
List of warnings occurred during the scanner execution.
Warning code.
Warning message.
List of errors occurred during the scanner execution.
full_status objectrequired
Detailed information on the scanner execution.
Type of information.
The value is "feedback".
Internal information.
Internal information.
Timestamp of the scanner execution.
Sub-type of the type of information.
The value is "status".
Stage of the scan.
The value is "scanner".
Module of the scanner that is executing.
data objectrequired
Further details on the scanner execution.
Number of URLs scanned.
Total number of URLs to scan.
scannerState objectrequired
Details on the scanner state.
Number of scanner requests executing.
Current average response time to scanner requests.
Overall average response time to scanner requests.
Number of HTTP 3XX response status codes during the scanner execution.
Number of HTTP 4XX response status codes during the scanner execution.
Number of HTTP 5XX response status codes during the scanner execution.
Number of connection errors during the scanner execution.
Number of request timeouts during the scanner execution.
Number of requests executed by the scanner.
sampleOfRequestBeingScanned objectrequired
List of the current scanner requests.
HTTP method of the scanner request.
URL of the scanner request.
stack object[]
Technologies found in the scan.
The scanning engine uses them to fine-tune vulnerability tests and texts about how to fix the vulnerabilities.
A unique Base58 value identifying this object.
Possible values: <= 255 characters
Name of the technology.
For example, "PHP, "SQLite", "Python", "Apache", or "Wordpress".
The maximum lenght is 255 characters.
Description of the technology.
Defaults to "".
blackout_period objectrequired
Time window during which scans are temporarily interrupted.
Time of when the blackout period starts, in ISO 8601 UTC format.
For example, "13:27".
Time of when the blackout period ceases, in ISO 8601 UTC format.
For example, "13:27".
If true, the blackout period is enabled.
Possible values: <= 64 characters
Date and time of the last change, in ISO 8601 UTC format.
For example, "2023-08-09T13:27:43.8208302".
changed_by objectrequired
User who last made changes.
A unique Base58 value identifying this object.
Possible values: <= 254 characters
Email of the user.
Possible values: <= 60 characters
Name of the user.
owners object[]
Discovery asset owners.
A unique Base58 value identifying this object.
Possible values: <= 255 characters
Name of the label.
The maximum length is 255 characters.
Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$
Color of the label, in RGB hexadecimal format prefixed with "#".
For example, "#00FF00" for green.
changed_by objectrequired
User who last made changes.
A unique Base58 value identifying this object.
Possible values: <= 254 characters
Email of the user.
Possible values: <= 60 characters
Name of the user.
Date and time of the last change, in ISO 8601 UTC format.
For example, "2023-08-09T13:27:43.8208302".
Comment on the object.
labels object[]
A unique Base58 value identifying this object.
Possible values: <= 255 characters
Name of the label.
The maximum length is 255 characters.
Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$
Color of the label, in RGB hexadecimal format prefixed with "#".
For example, "#00FF00" for green.
changed_by objectrequired
User who last made changes.
A unique Base58 value identifying this object.
Possible values: <= 254 characters
Email of the user.
Possible values: <= 60 characters
Name of the user.
Date and time of the last change, in ISO 8601 UTC format.
For example, "2023-08-09T13:27:43.8208302".
redirect_from objectnullablerequired
{
"id": "string",
"account": "string",
"name": "string",
"url": "string",
"type": "web",
"last_seen": "2024-09-05T10:15:22.788Z",
"first_seen": "2024-09-05T10:15:22.788Z",
"sources": [
{
"id": "string",
"name": "string"
}
],
"technologies": "string",
"authorities": "string",
"risk": 0,
"score": "",
"security_headers_url": "string",
"state": "NEW",
"screenshot": "string",
"target": {
"id": "string",
"name": "string",
"desc": "string",
"running_scan": {
"id": "string",
"status": "canceled",
"started": "2024-09-05T10:15:22.789Z",
"completed": "2024-09-05T10:15:22.789Z",
"scan_profile": "lightning",
"lows": 0,
"mediums": 0,
"highs": 0,
"created": "2024-09-05T10:15:22.789Z",
"crawler": {
"state": "string",
"status": [
"string"
],
"warning": [
{
"code": "string",
"message": "string"
}
],
"error": [
{
"code": "string",
"message": "string"
}
],
"full_status": {
"type": "string",
"iid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"aid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ts": "string",
"subtype": "string",
"stage": "string",
"module": "string",
"data": {
"type": "string",
"countTimeoutEndpoints": 0,
"countLoginFailed": 0,
"version": 0,
"countNetworkErrorEndpoints": 0,
"doingLogin": true,
"done": 0,
"rejected": 0,
"total": 0,
"allExtraHosts": [
"string"
],
"crawlingEndpoints": [
"string"
],
"lastLogin": [
{
"status": "string",
"timestamp": 0
}
],
"status": {},
"outOfScopeHostsCount": {},
"allHostnames": {},
"lastCrawledEndpoints": [
{
"jobId": 0,
"status": 0,
"method": "string",
"url": "string"
}
],
"statusByHost": {}
}
}
},
"fingerprinter": {
"state": "string",
"count": 0,
"warning": [
"string"
],
"error": [
"string"
]
},
"scanner": {
"state": "string",
"status": [
"string"
],
"warning": [
{
"code": "string",
"message": "string"
}
],
"error": [
"string"
],
"full_status": {
"type": "string",
"iid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"aid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ts": "string",
"subtype": "string",
"stage": "string",
"module": "string",
"data": {
"done": 0,
"total": 0,
"scannerState": {
"numberOfRequestBeingScanned": 0,
"currentAverageRtt": 0,
"averageRtt": 0,
"nStatus3xx": "string",
"nStatus4xx": "string",
"nStatus5xx": "string",
"nConnectionErrors": "string",
"nTimeouts": "string",
"nRequests": "string",
"sampleOfRequestBeingScanned": {
"httpMethod": "string",
"url": "string"
}
}
}
}
},
"stack": [
{
"id": "string",
"name": "string",
"desc": "string"
}
]
},
"blackout_period": {
"begin": "string",
"cease": "string",
"weekdays": [
0
],
"enabled": true,
"timezone": "string",
"changed": "2024-09-05T10:15:22.789Z",
"changed_by": {
"id": "string",
"email": "[email protected]",
"name": "string"
}
}
},
"owners": [
{
"id": "string",
"name": "string",
"color": "string",
"changed_by": {
"id": "string",
"email": "[email protected]",
"name": "string"
},
"changed": "2024-09-05T10:15:22.789Z"
}
],
"comment": "string",
"labels": [
{
"id": "string",
"name": "string",
"color": "string",
"changed_by": {
"id": "string",
"email": "[email protected]",
"name": "string"
},
"changed": "2024-09-05T10:15:22.789Z"
}
],
"redirect_from": {},
"redirect_to": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}