Added
Tenable.io: New Filters Available for Asset Export Endpoints
over 5 years ago by Stefan Millett
Two new asset filters were added to the Tenable.io API to help filter deleted and terminated assets. The new filters are is_deleted and is_terminated. If these filters are set to true, the Tenable.io API will return all assets that have been deleted or terminated.
| Filter | Type | Description |
| --- | --- |
| is_deleted | boolean | When set to true, returns assets which have any value for the deleted_at attribute. |
| is_terminated | boolean | When set to true, returns assets which have any value for the terminated_at attribute. |
For example, if the is_deleted filter is set to true, Tenable.io returns all assets that have a deleted_at attribute containing a timestamp.
The new filters can be used with the following endpoints:
| Endpoint | Description |
|---|---|
| POST /assets/exports | Export assets v1 |
| GET /workbenches/assets | List assets |
| GET /workbenches/assets/vulnerabilities | List assets with vulnerabilities |
