> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snapsec.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Triggers

> Automate actions based on asset events to enable continuous security workflows.

## Overview

Triggers allow you to automate actions across your asset inventory based on defined conditions.

They continuously monitor asset changes and automatically execute workflows such as scans or policy enforcement — eliminating manual intervention and improving response time.

***

## Triggers List

<Frame caption="View and manage all triggers with execution and control options">
  <img src="https://mintcdn.com/snapsec-23724fa2/tLjifESXzp357UYM/images/aim/trigger1.png?fit=max&auto=format&n=tLjifESXzp357UYM&q=85&s=fa73899933017d96d3eb84f658683bcc" width="1910" height="913" data-path="images/aim/trigger1.png" />
</Frame>

This screen provides a centralized view of all trigger rules.

### Key Elements

* **Name & Description** — Defines what the trigger does
* **Enabled Toggle** — Activate or disable triggers instantly
* **Matched Assets** — Assets currently matching the condition
* **Created On** — Rule creation timestamp
* **Actions Menu** — Manage trigger execution

***

## Create a Trigger

<Frame caption="Create a new trigger using the Create Trigger button">
  <img src="https://mintcdn.com/snapsec-23724fa2/tLjifESXzp357UYM/images/aim/trigger2.png?fit=max&auto=format&n=tLjifESXzp357UYM&q=85&s=67ad7c0aa014ead8cf8a493a0413c78b" width="771" height="413" data-path="images/aim/trigger2.png" />
</Frame>

To create a new trigger:

1. Click **Create Trigger**
2. Open the guided policy builder
3. Define conditions and trigger actions

***

## Guided Policy Builder

<Frame caption="Define trigger conditions and actions in a guided interface">
  <img src="https://mintcdn.com/snapsec-23724fa2/tLjifESXzp357UYM/images/aim/trigger3.png?fit=max&auto=format&n=tLjifESXzp357UYM&q=85&s=f86546c6c85250ff0e3c03f71371a45b" width="1571" height="842" data-path="images/aim/trigger3.png" />
</Frame>

This builder allows you to define when and how automation should occur.

### Rule Configuration

* **Rule Name** — Unique name for the trigger
* **Description** — Optional explanation

### Conditions

Define when the trigger should activate:

* Select a field
* Choose an operator (equals, contains, etc.)
* Provide a value

### Trigger Actions

Define what should happen automatically:

* Run vulnerability scans
* Trigger workflows
* Enforce security policies

***

## Manage Triggers

<Frame caption="Execute, edit, or delete triggers from the actions menu">
  <img src="https://mintcdn.com/snapsec-23724fa2/tLjifESXzp357UYM/images/aim/trigger4.png?fit=max&auto=format&n=tLjifESXzp357UYM&q=85&s=5bc27e978c0340beba6b9bc8264a8b01" width="761" height="421" data-path="images/aim/trigger4.png" />
</Frame>

Each trigger supports:

* **Edit Trigger** — Update logic or actions
* **Execute Now** — Run instantly on current assets
* **Delete Trigger** — Remove permanently

***

## Execute All Rules

Use **Execute All Rules** to run all triggers across your assets and enforce automation immediately.

This ensures your automation rules are applied to the latest asset state.

***

## Real-World Examples

* Run scans when a new IP is discovered
* Trigger actions when a new port opens
* Start checks when a device becomes non-compliant
* Automatically scan newly onboarded assets

***

## Why This Matters

* Converts detection into action
* Eliminates manual workflows
* Reduces response time
* Enables continuous security automation

***

## Explore Live Demo

<Card title="Explore AIM Live — No Signup Needed" icon="wand-magic-sparkles" href="https://suite.snapsec.co/demo">
  See how Snapsec AIM automatically executes scans and workflows when trigger conditions are met.
</Card>
