- 28 Nov 2022
- 3 Minutes to read
-
Print
-
DarkLight
-
PDF
Managing Queries
- Updated on 28 Nov 2022
- 3 Minutes to read
-
Print
-
DarkLight
-
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.
Click the left arrow next to Search Folders to collapse the folder pane. This is only visible when you mouse over the pane.
Click the right arrow to expand the folder pane.
Queries are arranged into folders. Folders with subfolders can be expanded and collapsed by clicking the arrows next to the folder name.
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.
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.
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
-
Hover over a folder.
-
Click on the 3 dot menu. The Folder menu opens.
-
Select New Folder. A new folder called 'untitled folder' is created inside the folder you selected.
-
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
- Hover over a folder.
- Click on the 3 dot menu. The Folder menu opens.
- 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
- Mouse over a folder.
- Click on the 3 dot menu. The Folder menu opens.
- Click Delete.
Moving Queries
You can move queries from one folder to another.
- 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
- 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.
- Click the Actions menu.
- From the Actions menu, select Move To Folder to move one or more queries to a different folder. A Folder List dropdown opens.
- Use the vertical and horizontal scrollbars to find the folders you want and click Move. The queries are moved to the appropriate folder.