Manage Bots
You can manage your Bots and templates from the Bot Factory. Bot Factory is divided into two sections: Listing and Templates.
Explore the Bots Listing
You can view active Bots on the Listing section of the Bot Factory. Archived Bots are not accessible. You can also:
View Bot details and versions
To view Bot details, history, and audit information:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click the Bot’s Name.
Use the tabs to investigate the Bot’s JSON format, scheduled events, audit logs, action history, and configuration details.
To view Bot versions:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click Action (…) > Version History.
You can click Activate to change the active version of the Bot or click Download JSON to share a version.
Update Bot information
You can change superficial Bot information, like name, description, or category, at any time.
To update Bot information:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click Action (…) > Update Information.
- Update information as necessary.
- Click Save.
Reconfigure a Bot
You can change a Bot’s configurations using the reconfiguration workflow. You can also unlock a Bot from an Insight. If you reconfigure a Bot, any currently active events will be deleted.
To reconfigure a Bot:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click Action (…) > Reconfigure.
- Optionally, if the Bot was created from an Insight, click Unlock to break the association. However, the Bot will not be updated if the associated Insight (or any Exemptions) are updated.
- For Bot Details:
- Optionally, update the Bot Name, Category, Severity, or Description.
- Click Next.
- For Scope:
- Change the scope as necessary. If the Bot was created from an Insight, you cannot change the resource type scope.
- Click Next.
- For Query Filters:
- Change or reorder the Query Filters as necessary. If the Bot was created from an Insight, you cannot change or reorder the Query Filters.
- Click Next.
- For Actions:
- Change or reorder the actions as necessary.
- Click Next.
- For Run Options:
- Update the run options as necessary.
- Click Save.
Change a Bot’s status
There are two states for a Bot: Active or Paused. You can also archive a Bot, but the Bot will no longer be accessible.
To change a single Bot’s status:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click Action (…).
- Select a status.
To change multiple Bots’ statuses:
- Go to Automation > Bot Factory > Listing.
- Select the checkbox next as many Bots as necessary.
- Select a status.
Trigger a harvest or run a Bot on-demand
After you create a Bot, it is paused by default. This could cause the Bot to miss a cloud account and resource harvesting cycle. You also may want to run a Bot on-demand for testing purposes. You can only trigger a harvest for a Bot or run a Bot on-demand if it is active.
To trigger a harvest for a Bot:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click Action (…) > Trigger Harvest.
- Select a Cloud Account.
- Select a Resource Type.
- Find a harvester with an upcoming harvest.
- Click Action (…) > Enqueue. The harvester will run at the next available opportunity.
To run a Bot on-demand:
- Go to Automation > Bot Factory > Listing.
- Find a Bot.
- Click Action (…) > Ondemand Scan.
- Click OK.
Explore your Bot templates
Templates can be managed and imported under BotFactory > Templates.
To import a template:
- Go to Automation > Bot Factory > Templates.
- Click Import Template.
- Paste a Bot template’s JSON.
- Click Import.
To use a template:
- Go to Automation > Bot Factory > Templates.
- Find a template.
- Click Action (…) > Use Template.
- Optionally, if the Bot was created from an Insight, click Unlock to break the association. However, the Bot will not be updated if the associated Insight (or any Exemptions) are updated.
- For Bot Details:
- Optionally, update the Bot Name, Category, Severity, or Description.
- Click Next.
- For Scope:
- Change the scope as necessary. If the Bot was created from an Insight, you cannot change the resource type scope.
- Click Next.
- For Query Filters:
- Change or reorder the Query Filters as necessary. If the Bot was created from an Insight, you cannot change or reorder the Query Filters.
- Click Next.
- For Actions:
- Change or reorder the actions as necessary.
- Click Next.
- For Run Options:
- Update the run options as necessary.
- Click Save.
To delete a template:
- Go to Automation > Bot Factory > Templates.
- Find a template.
- Click Action (…) > Delete.