3.3.7. users¶
This is a command group under the main root that has commands for getting
user assets using queries built by the Query Wizard in the GUI, saved queries, and
queries built for you by various get-by..
commands.
3.3.7.1. Sub Command Groups¶
users saved_query has commands to add, delete, or get saved queries for user assets.
3.3.7.2. Commands¶
devices/users count to get the count of user assets that would be returned from a query built by the Query Wizard in the GUI.
devices/users count-by-saved-query to get the count of user assets that would be returned from a saved query.
devices/users get-fields to get the fields (columns) that are available for user assets from all adapters.
devices/users get to get user assets using a query built by the Query Wizard in the GUI.
devices/users get-by-saved-query to get user assets using a saved query.
users get-by-mail to build a query for you that gets user assets by email address.
users get-by-username to build a query for you that gets user assets by username.
3.3.7.3. Help Page¶
3.3.7.3.1. axonshell users¶
Group: Work with user assets.
axonshell users [OPTIONS] COMMAND [ARGS]...
Commands
- count
Get the count of assets from a query.
- count-by-saved-query
Get the count of assets from a saved query.
- destroy
Delete ALL asset records of this type from…
- get
Get assets using a query and fields.
- get-by-id
Get ALL data for a single asset.
- get-by-mail
Get assets where mail equals value
- get-by-mail-regex
Get assets where mail matches regex value
- get-by-mails
Get assets where mail equals multiple values
- get-by-saved-query
Get assets using a saved query.
- get-by-username
Get assets where username equals value
- get-by-username-regex
Get assets where username matches regex value
- get-by-usernames
Get assets where username equals multiple…
- get-by-value
Get assets where a field equals value
- get-by-value-regex
Get assets where a field matches regex value
- get-by-values
Get assets where a field equals multiple…
- get-fields
Get the available fields (columns) for…
- get-fields-default
Get the default fields (columns) for assets.
- get-tags
Get all known tags.
- run-enforcement-from-csv
Grab Asset IDs from a CSV file and run an…
- run-enforcement-from-json
Grab Asset IDs from a JSON file and run an…
- run-enforcement-from-jsonl
Grab Asset IDs from a JSONL file and run…
- run-enforcement-from-text
Grab Asset IDs from any old text file and…
- saved-query
Group: Work with saved queries.