3.5.2.1. Select Fields: Valid Generic Field

Warning

This API is deprecated.

Axonius API v2 is now available, we recommend you move to API v2.

New features will no longer be added to this API. Axonius will only provide bug fixes.

Read about API v2

This does the following:

  • Get device assets and include the os.type generic field in the response data.

$ axonshell devices get \
  --field os.type \
  --export-file device.json \
  --export-overwrite

3.5.2.1.1. Notes

Note

This example uses the devices get command, but it will work for any get.. command for the devices or users command groups.

Note

Selecting fields from a particular adapter is done by supplying an adapter name followed by a field name seperated by a colon, example: --field aws:aws_device_type.

Note

If no adapter: is included in the field, it is assumed you mean generic:.

Note

Generic fields are the fields that are under the General section in the GUI. These are the fields that contain all of the aggregated data for an asset.