Skip to content
Myra Online Help Updated · 21 Aug 2026

New WAF Rule / Edit Rule

Note

For a detailed explanation of how to add a WAF rule and what to watch out for, see the WAF Manual.

view_add_WAF_EN

New rule view

In the New rule for <subdomain name> and Edit rule for <subdomain name> views, you can add new WAF rules or edit existing rules, depending on the selected option.

The following options are available:

Name Definition
NAME Defines the name of the WAF rule.
Identifier Defines a name that should be shown in the log for the WAF rule.
EXPIRE DATE Defines an expiration date for the WAF rule if necessary.
SORTING Defines a number for positioning the WAF rule in the sequence of all WAF rules if necessary.NoteWAF tags are processed according to their position in the sequence.NoteIf a value that has already been assigned is entered under SORTING, the WAF tag is set to this value and all subsequent tags are incremented by one.
COMMENT Assigns a custom description.
REQUEST Defines whether the WAF rule is a Request rule or a Response rule.NoteA response is handled as follows: Redirect IP Allow/Blocklist WAF Request Limiter Antibot A WAF rule has no effect on redirects or IP addresses on the allowlist or blocklist. If one of these conditions occurs before the defined WAF rule, the WAF rule is no longer executed.NoteThe phase can no longer be changed after adding a new WAF rule.
OPTIONS Enables or disables whether all the following conditions are processed after a condition is met.NoteFor new rules, Myra recommends enabling the option to track in the logs which condition triggered when. In addition, Log must be added as an action.NoteThis option can only be enabled if Log has been selected as action, and no other action. Otherwise, you will not be able to save it.
STATUS Indicates whether the WAF rule is enabled or disabled.
Conditions The Add Condition button adds a new WAF condition to the WAF rule.
The following conditions are available:
  • Requests: Custom header
  • Host Header
  • User Agent Header
  • Accept header
  • Accept Encoding Header
  • Country
  • Continent
  • Cookie
  • Path
  • Request Type (Method)
  • Query String Argument
  • Post Argument
  • Query String
  • Query String Decode
  • Fingerprint
  • Remote IP Address
  • Score: Responses: Custom header
  • Content-Type header
  • Set Cookie Header
  • Fingerprint
  • Remote IP Address
  • Score
Actions The Add Action button adds a new action to the WAF rule when a condition is met.
The following actions are available:
  • Requests: Allow
  • Block
  • Log
  • Modify Header
  • Add Header
  • Remove Header
  • Regex for Removing Header Values
  • CAPTCHA
  • Change Upstream
  • Rate Limit
  • Score
  • URI Substitution
  • Set HTTP status
  • Remove Query String: Responses: Modify Header
  • Add Header
  • Remove Header
  • Change Upstream
  • Rate Limit
  • Score
  • URI Substitution
  • Set HTTP status
Save The button adds a new entry or changes it.
back_icon The icon closes the view and opens the WAF view.