Edge Security
  • DDoS and Web Protection
    • Overview
    • DDoS Protection
      • DDoS Protection Overview
      • Exclusive DDoS Protection Usage
      • Configuration of Exclusive DDoS protection Rules
        • Increase DDoS Protection Level
        • Configuration IP blocklist/allowlist
        • Configuration Region Blocking Rule
        • Configuration Port Filtering
        • Configuration Features Filtering
        • Configuration Protocol Blocking Rule
        • Configuration Connections Attack Protection
        • Exclusive DDoS Traffic Alarm
        • Related References
          • DDoS Protection Processing Order
          • Action
          • Related Concepts Introduction
      • Related References
        • DDoS Protection Console Update (2026-01-12)
    • Web Protection
      • Overview
      • Configuring Web Protection Policy
      • Custom rule
      • Rate Limiting
        • Bandwidth Abuse Protection
        • CC attack defense
        • Custom Rate Limiting Rules
      • Hosting Rules
        • Managed rules
        • High-Frequency Scan Protection
      • Exception Rules
      • Managed Custom Rules
      • Web security monitoring alarm
      • Related References
        • Web Protection Request Processing Order
        • Action
        • Match Condition
    • Bot Management
      • Overview
      • AI Crawler Control
      • Bot Intelligent analysis
      • Bot Basic Feature Management
      • Client Reputation
      • Active Detection
      • Custom Bot Rule
      • Client authentication (Beta)
        • Overview
        • Attestation Flow
        • Integration Guidelines
          • Step 1: Configure Authentication Method
          • Step 2: Integrate Client Authentication
            • Browser & WebView Integration
            • iOS Integration
            • Android Integration
            • Mobile Integration References
          • Step 3: Configure Client Attestation Rules
          • Step 4: Verify Client Attestation
      • Related References
        • Action
    • API Discovery(Beta)

Managed rules

Overview

Exposed site vulnerabilities may lead to origin server intrusions and sensitive data loss, and may further severely damage your relationship with users. Managed rule groups provide comprehensive, real-time vulnerability attack protection for your website, covering common vulnerabilities and attack types in OWASP TOP 10 Note 1, such as SQL injection, cross-site scripting (XSS), and cross-site request forgery (CSRF). Through continuous updates, this rule library can effectively respond to emerging security threats, ensuring that your site's runtime environment and sensitive data are reliably protected.
Note:
Note 1:
OWASP TOP 10 lists common and severe security risks in web applications. These risks represent a major portion of current network security threats, so covering these scenarios is critical to protecting the security of web applications. The vulnerability attack protection rule set provided by EdgeOne covers all OWASP Top 10 risk scenarios and automatically updates the rule list for 0-day vulnerabilities.
Note 2: By default, managed rules scan only the first 10 KB of the request body. If you have subscribed to the Enterprise Edition plan and need to scan more request body data, please contact us.
Note 3: The managed rule sets supported vary by plan. For details, see Plan Comparison.

Optimizing Managed Rule Policies

If you need to customize protection rule policies based on your actual business conditions and protection requirements, you can configure them in the following ways:
Note:
When a new site is connected, a new policy template is created, or a new security policy is created, managed rules are enabled in evaluation mode by default. Requests that match rules are not actually handled. They are only logged for observation.
Complete policy evaluation and tuning as soon as possible, and then disable evaluation mode so that protection rules can take effect normally and block malicious requests.

Scenario 1: Configuring a Global Protection Level Policy by Rule Group

EdgeOne divides managed rules into different rule groups based on the vulnerability types they protect against. When configuring by rule group, you can configure the handling method for all rules in the group based on the protection level. For example, if the domain www.example.com frequently exposes open-source component vulnerabilities, you can set the protection level of the open-source component vulnerability rule group to Strict and the handling method to Block. The effective configuration then blocks all rules at high risk and lower risk levels.
1. Log in to the EdgeOne console. In the left menu bar, go to Service Overview, and click the site that you need to configure under WebsiteSCDN.
2. Click Security Protection > Web Protection. By default, site-level protection policies are used. Click the Domain-Level Protection Policies Tab. In the domain-level protection policies, click the target domain to go to the target domain's protection policy configuration page, for example, www.example.com.
3. In the Managed Rules - Rule Set card, search for "Open Source Component Vulnerabilities", configure Protection Level and Handling Method separately, set the protection level to Strict and the handling method to Block, and click Save to complete the rule configuration.




Scenario 2: Customizing Protection Policies by Individual Rule

EdgeOne supports differentiated protection policy configuration for individual rules. For example, the domain www.example.com has a file upload scenario, and the file upload attack protection rule group is currently configured with the Strict protection level for blocking. However, there are legitimate file upload requests in the business scenario whose file names contain the <> symbol. The expected result is to allow these requests, so you need to configure this rule separately as Observe (log only).
1. Log in to the EdgeOne console. In the left menu bar, go to Service Overview, and click the site that you need to configure under WebsiteSCDN.
2. Click Security Protection > Web Protection. By default, site-level protection policies are used. Click the Domain-Level Protection Policies Tab. In the domain-level protection policies, click the target domain to go to the target domain's protection policy configuration page, for example, www.example.com.
3. In the Managed Rules - Rule Set card, click View by Rule.
4. Search for the keyword <> to find the corresponding specific rule, and change the handling method of that rule to Observe.




Updating Managed Rule Versions

EdgeOne creates new vulnerability protection rules based on self-developed and third-party threat intelligence, targeting request characteristics of 0-Day vulnerabilities, and adds them to the managed rule set. You can update the managed rule set version to deploy new protection rules that cover new vulnerability threats. Properly configuring automatic updates and new rule deployment options reduces the risk of external attacks exploiting 0-Day vulnerabilities against your site, which is critical for continuous protection of your site.
Note:
Not all 0-Day vulnerabilities can be protected against through traffic. EdgeOne provides Web vulnerability protection that can identify threats based on HTTP/HTTPS protocol traffic.
EdgeOne updates its rule sets periodically based on Tencent threat intelligence and vulnerability POC information. If you have independent threat intelligence sources and want to protect against vulnerabilities not covered by managed rules, use custom rules to configure security policies based on the intelligence and POC information. If you need more custom rules, contact us to obtain technical support.

Updating Rule Sets and Deploying New Rules

When new rules are added to the rule set, the managed rule list will be updated accordingly. New rules cannot be used directly in existing managed rule versions. To use new rules, you need to update the managed rule version to the latest version first. New rules will be deployed to your site based on the protection level (notification only, no automatic update) or protection mode (automatic update) configured for the category that the new rules belong to.
Note:
Updates to published rules: For published rules, EdgeOne also optimizes them as necessary based on rule detection status and POC intelligence updates, ensuring that rule detection accuracy and false positive rates meet protection expectations. When existing rules are updated, the managed rule version is not updated. After the update, the handling method of the rules remains unchanged.
When a new version is released, your managed rules will be updated as follows:
1. Check the automatic update configuration: If you enable automatic updates, managed rules will automatically apply the latest rule list. If you choose manual updates, managed rules will keep the current rule list, and you can schedule the update of the managed rule version at your convenience.
2. Check the protection mode and handling action configuration for each rule category: If you select the "Automatic Protection" option for a rule category, when the new version contains updates for that rule category, the handling method of the corresponding rules will be configured based on your protection mode level. After the update, the handling method of each rule in the category will remain consistent with the protection level and handling method configuration of the rule category.

Example of Rule Update Process: Automatic Deployment of New Rules When Auto-Update Is Enabled and Auto-Protection Is Used

In the new version of managed rules, rules of the SQL Injection Attack category are added with a Loose rule level. When this version is released, EdgeOne detects that the Web protection policy of the current site has automatic updates enabled, so it further checks the rule configuration of the SQL Injection Attack category. Since the protection mode of the SQL Injection Attack category in this policy is Automatic Protection - Strict, rules with rule levels of Loose, Normal, and Strict must be configured as Block according to the handling method of this rule category. Since the rule level of the newly added rule is Loose, which falls within the above rule range, it is configured as Block.
(The rule IDs, categories, and names used in this example are for illustrative purposes only. Refer to the actual rule IDs and rule names.)


Scenario 1: Automatically Operating Vulnerability Protection Policies

Your site has strict protection requirements for 0-Day SQL injection vulnerabilities and needs automated protection against known vulnerabilities. Due to business sensitivity, requests suspected of being attacks are also prioritized for blocking. We recommend that you refer to this example to automate the operation of your security policy:
When a new version is available, the rule list is automatically updated.
New rules are automatically deployed. They are deployed and take effect based on EdgeOne's rule level classification and the protection level and handling method you configured.
The solution in this example has the following characteristics:
For high-risk 0-day vulnerabilities, when an appropriate protection level is configured, requests exploiting the vulnerabilities can be blocked immediately upon managed rule updates with this configuration.
When an appropriate protection level is configured, managed rules will automatically operate the policy, resulting in lower ongoing operational costs.
Only enabled rules are monitored. Other rules are only logged, allowing continuous awareness of the vulnerability threat landscape.
Note:
When using the solution in this example, consider the following configuration recommendations and risks:
Carefully evaluate the protection level of each rule category. When vulnerabilities corresponding to disabled protection rules are exploited, they cannot be detected through logs or alarms, which may pose data risks.
It is recommended to select appropriate operation policies for different rule categories based on the interaction patterns of your actual business and the middleware in use, and to use a combination of the automatic protection and manual protection options.
If you find that rules are blocking your legitimate business traffic, configure protection exception rules as needed for temporary handling, and promptly evaluate and fix potential vulnerabilities in business components.
It is recommended to also configure Web Security Monitoring Alarms to monitor request data that matches managed rules. When a large number of requests match managed rules, evaluate the request logs promptly and adjust the protection level.

Configuration Steps

1. Log in to the EdgeOne console. In the left menu bar, go to Service Overview, and click the site that you need to configure under WebsiteSCDN.
2. Click Security Protection > Web Protection. By default, site-level protection policies are used. To configure differentiated protection policies for specific domains under the current site, go to the Domain-Level Protection Policies Tab and click the corresponding domain to enter the domain-level protection policy configuration page. The subsequent steps are the same.
3. In the Managed Rules > Automatic Updates card, click the option switch. In the pop-up window, select Automatically update to the latest version. After confirming the policy behavior, click Save.



4. In the Managed Rules > Rule Set card, search for SQL Injection Attack Protection, change the protection mode to Automatic Protection - Strict, and click Save. The automatically updated rules will then take effect for SQL injection attack protection rules.




Scenario 2: Assisting in Operating Vulnerability Protection Policies

Your site has strict protection requirements for 0-Day SQL injection vulnerabilities. However, to avoid false positives, new vulnerability rules are not directly enabled in blocking mode. When new rules are released, they are required to use observation mode by default. Only after confirmation by the security operations team are the new rules changed to blocking mode. The solution in this example is suitable for business scenarios that have high vulnerability protection requirements and can operate security policies and evaluate vulnerability risks in a timely manner. We recommend that you refer to this example to assist in operating your security policy:
When a new version is available, the rule list is automatically updated.
New rules are not automatically enabled in blocking mode. By default, new rules use the Observe handling action, which only logs requests. You can manage the scope and timing of rule enablement on your own and manually change rules to blocking mode.
The solution in this example has the following characteristics:
For ultra-high-risk 0-day vulnerabilities, managed rules do not block them automatically. You need to manually enable the rules before protection is provided.
You need to perform daily operations and maintenance on managed rule configurations, and you need to be able to determine whether a specific security vulnerability is applicable to the backend architecture of your site.
You can freely choose the scope of rules for which request logs need to be monitored and recorded. You can use observation mode to keep track of vulnerabilities that do not need to be blocked.
Note:
It is recommended to select appropriate operation policies for different rule categories based on the interaction patterns of your actual business and the middleware in use, and to use a combination of the automatic protection and manual protection options.
If you find that rules are blocking your legitimate business traffic, configure protection exception rules as needed for temporary handling, and promptly evaluate and fix potential vulnerabilities in business components.
It is recommended to also configure Web Security Monitoring Alarms to monitor request data that matches managed rules. When a large number of requests match managed rules, evaluate the managed rule policies promptly and adjust the configuration.

Configuration Steps

1. Log in to the EdgeOne console. In the left menu bar, go to Service Overview, and click the site that you need to configure under WebsiteSCDN.
2. Click Security Protection > Web Protection. By default, site-level protection policies are used. To configure differentiated protection policies for specific domains under the current site, go to the Domain-Level Protection Policies Tab and click the corresponding domain to enter the domain-level protection policy configuration page. The subsequent steps are the same.
3. In the Managed Rules > Automatic Updates card, click the option switch. In the pop-up window, select Automatically update to the latest version. After confirming the policy behavior, click Save.



4. In the Managed Rules > Rule Set card, search for SQL Injection Attack Protection and change the protection mode to Manual Protection.




Scenario 3: Manually Operating Vulnerability Protection Policies

The site does not use managed rules at all, and protection is enabled only temporarily in a few scenarios. The solution in this example does not automatically update the rule list. When new rules are released, you will be notified through the message center, and you can upgrade to the latest version as needed.
The solution in this example has the following characteristics:
For high-risk 0-day vulnerabilities, managed rules do not block them automatically.
You need to perform daily operations and maintenance on managed rule configurations, and you need to be able to determine whether a specific security vulnerability is applicable to the backend architecture of your site.
You can freely choose the scope of rules for which request logs need to be monitored and recorded.
Note:
During a manual policy update, many policies will be enabled at the same time. To reduce the risk of false blocking, configure the rules in observation mode as needed, or enable the managed rules - evaluation mode.
If you find that rules are blocking your legitimate business traffic, configure protection exception rules as needed for temporary handling, and promptly evaluate and fix potential vulnerabilities in business components.
It is recommended to also configure Web Security Monitoring Alarms to monitor request data that matches managed rules. When a large number of requests match managed rules, evaluate the managed rule policies promptly and adjust the configuration.

Configuration Steps

1. Log in to the EdgeOne console. In the left menu bar, go to Service Overview, and click the site that you need to configure under WebsiteSCDN.
2. Click Security Protection > Web Protection. By default, site-level protection policies are used. To configure differentiated protection policies for specific domains under the current site, go to the Domain-Level Protection Policies Tab and click the corresponding domain to enter the domain-level protection policy configuration page. The subsequent steps are the same.
3. In the Managed Rules > Automatic Updates card, turn off the option switch. In the pop-up window, select Notify only, do not update automatically. After confirming the policy behavior, click Save.



4. If you need to update the rule list after a rule update, click Update Now in the Managed Rules > Automatic Updates card. After you confirm in the pop-up window, the managed rule list of the current policy will be updated immediately.




Using Deep Analysis to Automatically Identify Unknown Vulnerabilities

Deep analysis uses advanced semantic analysis technology to deeply understand the intent of SQL and XSS statements. It can not only effectively handle known attack techniques but also protect against unknown attacks. This approach surpasses traditional pattern-matching-based detection methods and improves the accuracy of identifying complex and new types of attacks. With deep analysis, you gain a higher level of security protection, reducing the risk of false positives and false negatives, and ensuring that your website is protected from malicious attacks and data leakage threats.
Note:
The deep analysis feature is only supported in the Standard Edition and Enterprise Edition plans.

Enabling Deep Analysis

1. Log in to the EdgeOne console. In the left menu bar, go to Service Overview, and click the site that you need to configure under WebsiteSCDN.
2. Click Security Protection > Web Protection. By default, site-level protection policies are used. To configure differentiated protection policies for specific domains under the current site, go to the Domain-Level Protection Policies Tab and click the corresponding domain to enter the domain-level protection policy configuration page. The subsequent steps are the same.
3. In the Managed Rules - Deep Analysis card, enable Deep Analysis.




Related References

Evaluation Mode (Formerly Global Observation Mode)

Note:
Evaluation mode is enabled by default. To handle requests by blocking, disable evaluation mode.
When evaluation mode is enabled, all managed rule policies configured to block requests only log the requests and do not actually handle them. This mode helps you comprehensively evaluate the current vulnerability policy configuration and prevents normal business requests from being mistakenly blocked because they contain vulnerability characteristics.
For newly connected services, we recommend that you keep evaluation mode enabled and observe for 48 hours (adjust the duration based on your actual situation) to cover complete client access scenarios. When you find that normal business requests continuously match a specific rule, change that rule to observation mode.

Protection Level Description

Configuration Suggestions

Managed rules provide multiple protection levels for different attack and vulnerability types, including Loose, Normal, Strict, and Super Strict. When you select a protection level, the rules at that level and lower levels are enabled. For example, selecting the Strict protection level enables the rules at the Loose, Normal, and Strict levels, achieving layered protection. We recommend that you enable the appropriate protection level based on your business scenario:
Loose: Meets the most basic protection needs and minimizes false positives as much as possible. We recommend that all public-facing HTTP services enable at least all rules at this level.
Normal (Recommended): Provides comprehensive protection and is suitable for most scenarios. We recommend that services involving customer data enable this level. Rules at this level may generate false positives in specific scenarios, which can be debugged and optimized through observation mode.
Strict: Provides full protection and is suitable for stricter protection scenarios, ensuring no attacks can bypass it. We recommend that services involving financial data (such as online banking) use this level. At this protection level, rules may generate some false positives, so we recommend debugging and optimizing them in combination with observation mode and custom rules.
Super Strict: Suitable for access scenarios in strictly controlled environments. Rules at this level may generate many false positives. Enable them based on your specific protection needs, and debug and deploy them in combination with protection exception rules, observation mode, and custom rules.
For finer-grained control, you can also use Custom Protection Level to customize the handling methods for different rules based on your specific business needs.

Mapping Between Rule Group Protection Levels and Rule Risk Levels

Rule Group Protection Level
Effective Rule Risk Level for Configuration
Super strict
Ultra-high risk, high risk, medium risk, low risk
Strict
Ultra-high risk, high risk, medium risk
Normal
Ultra-high risk, high risk
Loose
Ultra-high risk
Custom
Do not configure handling methods by rule group dimension. Configurations are subject to sub-rules.