Creating a Trigger

You can create a trigger by clicking on "+ Create Trigger" on the Alerts page or navigating here: https://app.patchstack.com/alerts/create.

10001000

Give your trigger a name by typing it into "Trigger Title" field.
Select the condition of when the alert is triggered from the dropdown

The dropdown includes the following conditions:

  1. Component Event
    • Outdated - sends an alert, when a component on your site is outdated
    • Vulnerable - sends an alert, when a component on your site is vulnerable
  2. WordPress Activity Event
    • User Logged In - sends an alert, when someone logs in to WordPress
    • User Failed Login - sends an alert, when someone fails to log in to WordPress
    • Post Deleted - sends an alert, when a post is deleted from WordPress
    • Post Trashed - sends an alert, when a post is sent to the trash in WordPress
    • Attachment Uploaded - sends an alert, when an attachment is uploaded to WordPress
    • Plugin Installed - sends an alert, when a new plugin gets installed on WordPress
    • Plugin Deactivated - sends an alert, when a plugin is deactivated on WordPress
    • Plugin Activated - sends an alert, when a plugin is activated on WordPress
  3. Uptime Monitor Event
    • Error Status Code - sends an alert, when WordPress gives an HTTP status error code
    • Match Status Code - sends an alert, when a certain HTTP status code is given
  4. Security Monitor Event
    • Domain Expiring - sends an alert, when any of your site's domain is expiring
    • SSL Monitor Expiring - sends an alert, when any of your site's SSL is expiring
    • Blacklisted - sends an alert, when your WordPress site gets blacklisted (Google Safebrowsing, McAfee, Norton Safeweb, Phistank)
    • Hacker Community Mention - sends an alert, when your site gets mentioned in hacker communities
  5. Firewall Logs Event
    • Match IP - sends an alert, when your site gets visited from a certain URL
    • Match URL - sends an alert, when a certain URL gets visited
    • Match Payload - sends an alert, when a certain payload is submitted

Depending on a condition, you may be asked to set additional parameters to the conditions.
For example by choosing "Match Status Code", you will have to choose, whether the status has to equal or be bigger than the code you type.

You will see the conclusion of your built rule before saving it (see the image below).

800800

The next step is to choose whether you would like to get notified to your email, Slack channel, or both.
If you choose "email", you can add an email address.

After having set your rules, click on "Create Trigger".
You will be then directed back to the Alerts page where you can see your new trigger on the right side of the page.


Did this page help you?