Managing Queries
  • 28 Nov 2022
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Managing Queries

  • Dark
    Light
  • PDF

Once you start working with Axonius, you might find yourself creating a large number of queries. The folder pane on the left side of the Queries page allows you to easily manage your queries.

QueriesFolders.png

Click the left arrow next to Search Folders to collapse the folder pane. This is only visible when you mouse over the pane.
QueryFolderPaneCollapse.png

Click the right arrow to expand the folder pane.
QueryFolderPaneExpand.png

Queries are arranged into folders. Folders with subfolders can be expanded and collapsed by clicking the arrows next to the folder name.
QueriesFolderExpandCollapse.png

The following folders are created by default:

  • All Queries - The All Queries folder shows all queries in the system that you're authorized to see. Each query must be saved to a folder. Note that you cannot save a query directly to the All Queries folder, only to a subfolder.

  • Predefined Queries - The system comes with a set of predefined queries in the Predefined Queries folder. These queries cannot be edited or deleted from the system, and you can't save new queries to the Predefined Queries folder.

  • Shared Queries - This is a system folder. You can save queries here and create new folders in this folder. The Shared Queries folder includes public queries and is set as a default folder when you save a new query. You can create up to 5 levels of folders.

  • My Private Queries - This is a system folder. You can save queries here and create new folders in this folder. The My Private Queries folder contains queries that are accessible by you only and is set as a default folder when you save a new query. You can create up to 5 levels of folders.

NOTE
Query folders can either be public or private.

Folders can be expanded and collapsed by clicking the arrows next to the folder name. If a folder does not contain a subfolder, no arrow is shown.

Queries-FolderExpandColapse.png

Creating a New Folder

You can create folders only in the Shared Queries, My Private Queries or Asset Scope Queries folders or their subfolders.

To create a new folder

  1. Hover over a folder.

  2. Click on the 3 dot menu. The Folder menu opens.
    Queries-New-Folder.png

  3. Select New Folder. A new folder called 'untitled folder' is created inside the folder you selected.

  4. Enter a name for the new folder or click on the Folder menu again, and select Rename to give a more appropriate name.

Renaming Folders

Any folder you created can be renamed.

To rename a folder

  1. Hover over a folder.
  2. Click on the 3 dot menu. The Folder menu opens.
  3. Click select Rename and give a new name to the folder.

Moving Folders

You can move folders by drag and drop. If a private folder is moved into a public folder, all the queries in the private folder will become public.

To move a folder or a subfolder from one folder to another

Click and drag the folder or subfolder to a different folder. Note that if you move a folder/subfolder from a private folder to a public folder, then the subfolder and all the queries in it become public. You can't move a public folder into a private folder.

Deleting Folders

You can delete any folders that you have created. System folders cannot be deleted.

To delete a folder

  1. Mouse over a folder.
  2. Click on the 3 dot menu. The Folder menu opens.
  3. Click Delete.
IMPORTANT
Deleting a folder does delete all Queries in the folder. This cannot be undone. To delete the folder but keep the Queries, move them to another folder and then delete the folder you don't want.

Moving Queries

You can move queries from one folder to another.

NOTES
  • You can only move queries which you have permissions to edit.
  • You can't move a public query to a private folder.
  • If you move a private query to a public folder, the query becomes public.
  • You can only move queries with the same permissions (either public or private).
  • You can't move queries to the Predefined Queries folder.

To move a query to a different folder

  1. On the Queries page, select one or more queries. When at least one query is selected, the Actions button is displayed above the Saved Queries table.
  2. Click the Actions menu.
  3. From the Actions menu, select Move To Folder to move one or more queries to a different folder. A Folder List dropdown opens.

MoveQuery

  1. Use the vertical and horizontal scrollbars to find the folders you want and click Move. The queries are moved to the appropriate folder.



Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.