Asset Open Port History Detail
GET
https://api.deepinfo.com/v1/easm/assets/{asset_id}/open-ports/history/{history_id}Returns the ports of one historical port scan. Same filters as Asset Open Port List.
Authentication
Send your API key in the apikey request header.
Path Parameters
| Parameter | Required | Description |
|---|---|---|
asset_ | Required | Id of one of your monitored assets, the id field of EASM → Assets → Asset Search. For a discovered asset it is the id from Discovered Asset Search.Example 000000000000000ea4f90001 |
history_ | Required | Id of one history snapshot, the id returned by the matching history list endpoint of the same asset.Example 00000000000000000000000ebd470001 |
Query Parameters
| Parameter | Required | Description |
|---|---|---|
page | Optional | Min 1, max 800.0. Default 1.Example 1 |
page_ | Optional | Min 25, max 100. Default 100.Example 25 |
port__ | Optional | Keeps the records whose port is one of the values (comma-separated). |
port__ | Optional | Keeps the records whose port is none of the values (comma-separated). |
state__ | Optional | Keeps the records whose state is one of the values (comma-separated). |
state__ | Optional | Keeps the records whose state is none of the values (comma-separated). |
protocol__ | Optional | Keeps the records whose protocol is one of the values (comma-separated). |
protocol__ | Optional | Keeps the records whose protocol is none of the values (comma-separated). |
ordering | Optional | Sort order: a field name, with - in front for descending (e.g. -added_date). Measured on DEMO, this endpoint accepts port, protocol, state. |
Response Fields
| Field | Type | Description |
|---|---|---|
page | integer | The page this response is from, echoing the page query parameter. |
page_ | integer | How many results one page holds, echoing the page_size query parameter. |
result_ | integer | How many records match in total, not how many are on this page. |
results | array of object | The records on this page, with the results[].* fields below. |
results[]. | integer | The port number. |
results[]. | string | The record's state; the values are listed in the endpoint's description. One of open, closed, filtered, unfiltered, open|filtered, closed|filtered |
results[]. | string | The transport protocol: tcp or udp. |
Paginated. See Getting Started → Pagination.
Response Schema
| Field | Type | Example |
|---|---|---|
page | number | 1 |
page_size | number | 25 |
result_count | number | 21 |
results | array< | |
results[]. | number | 443 |
results[]. | string | "filtered" |
results[]. | string | "tcp" |
Examples
Selecting one loads it into the request and response panels.