-
Notifications
You must be signed in to change notification settings - Fork 27
"api" command
Casey Reid edited this page Aug 19, 2022
·
5 revisions
In many cases, it is useful to see the data behind an api endpoint either to plan for automation and development or for troubleshooting an issue. Using the 'api' command allows you to send a 'GET' request to Tenable.io and return json data using the pprint.
Enter in a API endpoint and get a pretty print json output. Try some of the below endpoints:
- /scans
- /scanners
- /users
* -raw Return raw Json
* --limit INTEGER Change API Request Limit
* --offset INTEGER Change API Request Offset
#Examples
navi api /scans
navi api /scanners
navi api /users
navi api /workbenches/assets
navi api /scans -raw