Working with custom signals
Custom signals are labels that describe request properties that you find important to track. The conditions for attaching a custom signal to a request are defined by request rules that use the Add signal action. When paired with a request rule, custom signals can help increase visibility into:
- what is being attacked. Tag requests with specific paths (e.g.,
/adminor/api) to understand where bad actors are attempting to exploit your application. - where attacks originated. Tag requests based on their source, such as specific regions, countries, or Autonomous System Numbers (ASNs). You can then create additional rules based on this information. For example, you could create a rule to block all requests from specific countries and Tor networks.
- known actors. Tag requests from known actors. You can then apply a positive security posture and allow traffic from the trusted sources (e.g., known vendors, Let's Encrypt, mobile data site verification, and penetration testers on internal security teams).
- what happens after requests are allowed. Tag allowed requests that exhibit notable response behaviors (e.g., a 404 HTTP response code or a
no JSON resultserror). This additional information can better highlight attack patterns, especially when seen with or without attack signals.
The Requests page lists a representative sample of requests that have been tagged with custom signals.
Limitations and considerations
When working with signals, keep the following things in mind:
- The Essentials platform does not support custom signals.
- Corp (account) signals can only be created, edited, and deleted by owners (superusers).
- Signals are limited to 200 per corp (account) plus 200 per site (workspace).
Creating custom signals
Custom signals can be created at the corp (also known as account) or site (also known as workspace) level. Corp (account) signals can be used in rules on every site (workspace). Site (workspace) signals can only be used in rules for one site (workspace).
Creating signals used by all sites (workspaces)
Corp-level (account-level) signals can be used in rules on every site (workspaces) in your account. To create a corp-level (account-level) signal, complete the following steps:
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Corp Rules menu, select Corp Signals.
- Click Add corp signal.
- In the Signal name field, enter the name of the custom signal.
- (Optional) In the Description (optional) field, enter a description for the custom signal.
- Click Create corp signal.
- (Optional) Create a request rule that uses the Add signal action to define when the WAF should tag requests with the new signal. If you do not create a rule, the signal will never be used.
Creating signals used by one site (workspace)
Site-level (workspace-level) signals can only be used in rules for one site (workspace). To create a site-level (workspace-level) signal, complete the following steps:
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Sites menu, select a site if you have more than one site.
- From the Site Rules menu, select Site Signals.
- Click Add site signal.
- In the Signal name field, enter the name of the custom signal.
- (Optional) In the Description (optional) field, enter a description for the custom signal.
- Click Create site signal.
- (Optional) Create a request rule that uses the Add signal action to define when the WAF should tag requests with the new signal. If you do not create a rule, the signal will never be used.
Updating signals
You can update a custom signal to revise the description of the signal.
Updating signals used by all sites (workspaces)
To update the description of a signal that applies to all sites (workspaces), complete the following steps:
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Corp Rules menu, select Corp Signals.
- Click View to the right of the custom signal you want to edit.
- Click Edit corp signal.
- In the Description (optional) field, enter a description for the custom signal.
- Click Update corp signal.
Updating signals used by one site (workspace)
To update the description of a signal that applies to a specific site (workspace), complete the following steps:
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Sites menu, select a site if you have more than one site.
- From the Site Rules menu, select Site Signals.
- Click View to the right of the custom signal you want to edit.
- Click Edit site signal.
- In the Description (optional) field, enter a description for the custom signal.
- Click Update site signal.
Deleting custom signals
To delete a signal, follow the steps described below.
Deleting signals used by all sites (workspaces)
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Corp Rules menu, select Corp Signals.
- Click View to the right of the custom signal you want to edit.
- Click Remove corp signal and then Delete corp signal.
Deleting signals used by one site (workspace)
- Next-Gen WAF control panel
- Fastly control panel
- Log in to the Next-Gen WAF control panel.
- From the Sites menu, select a site if you have more than one site.
- From the Site Rules menu, select Site Signals.
- Click View to the right of the custom signal you want to delete.
- Click Remove site signal and then Delete site signal.