3.2.12. devices/users count-by-saved-query¶
This command will get the count of assets that a saved query would return for users or devices and could be used as part of a script to do something based on the number returned.
18.104.22.168. Common Options¶
- Connection Options for examples of supplying the Axonius credentials and URL.
- There are no export options for this command since it only returns a number.
22.214.171.124. Help Page¶
126.96.36.199.1. axonshell devices/users count-by-saved-query¶
Get the count of assets from a saved query.
axonshell devices/users count-by-saved-query [OPTIONS]
URL of Axonius instance. [required]
API Key of user in Axonius instance. [required]
API Secret of user in Axonius instance. [required]
Name of saved query to get count of assets from. [required]