ASA REST API - Basic Device Information

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019 05:17 AM - edited 11-19-2019 05:18 AM
Looking to grab ASA software version, platform information, chassis inventory and up-time information from the API. Where I would expect to find this there is no documented method. Is this an oversight?
These do not provide the requisite information:
- /api/monitoring/device
- /api/monitoring/device/components
- Labels:
-
Other Security Topics

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019 05:30 AM
Found an old blog post.
This seems rather undocumented in the /doc links, but this will get me some of the information.
/api/monitoring/device/components/version
Interestingly enough when calling the above uri leaving off the trailing version, no version information is returned but a host of other information is preset. Seems like a "bug" / oversight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2019 06:36 AM
Hi there,
The API URL you are looking for is:
/api/monitoring/device/components/version
... if all else fails you can always use /api/cli and send a list of commands and regex the returned response list.
cheers,
Seb.
