Triggers - events that are defined by the user, for example: The CPU Utilization of the database machine is over 90%.Actions - the measures that the user defines for the system to take if a certain triggers (conditions) are met.
In - this operator is relevant to the Trigger types: User(s) and IP(s), and allows us to define a few IP addresses or Users that will trigger the action(s) defined.
Not In - similar to the operator In but it is used for triggering an action when the IPs or Users are not included in the given list.
Like - this operator is relevant to the Trigger type: Query Pattern, and allows you to define a pattern using the !@! wildcard to match queries. The !@! wildcard represents any content in the query. Pattern matching is case-insensitive and semicolons are automatically removed. - Examples: \
select !@! from users; - matches any SELECT from users table
delete from !@!; - matches any DELETE without WHERE clause
update admin set !@!; - matches any UPDATE on admin table
Not Like - similar to the operator Like but it is used for triggering an action when the given query pattern does not include the current query.
Is Greater Than - this operator is relevant to the Trigger type Query Duration.
Query pattern - the string of the query pattern using !@! wildcard for matching any content. The system is case-insensitive and automatically removes semicolons before matching.
Use !@! to represent any content: select !@! from table_name;
Patterns must match query structure exactly (except case and semicolons)
Query Duration - the time above which the action will be triggered.
User(s) - a comma separated list of a User(s).
IP(s) - a comma separated list of a IP(s).
Time - start and end times of the trigger, with frequency options: daily, weekly, or monthly. The weekly option lets us choose specific days for the trigger, and the monthly option lets us select a specific day of the month.
Throttle - Limit the resources of the current request request to a defined based on the trigger type and value. All requests above the limit will be queued.
Rate Limit - Limit the resources of the current request request to a defined based on the trigger type and value. All requests above the limit will be ignored.
Rewrite - The query string that we replace the original query with.