

Configuration Category | Configuration Item | Description |
Basic Information | Rule Name | Required. No more than 128 characters. Supports Chinese, English, digits, underscores, and hyphens. |
| Switch. | Enable or disable this rule. |
effective assets | Effective account | Select the account scope for which the rule takes effect (multi-account scenario). Note: Select multiple accounts, and the rule will be automatically split into multiple rules by account upon saving. |
| Select assets | Select the host scope for which the rule takes effect: All assets (Exclude Assets),Select by Tag,Select directly |
| Select Container Clusters | Select the container cluster scope for which the rule takes effect. Note: Container activation is divided into two levels: first select a cluster, and then use the "Advanced Configuration" described below to filter images within the selected cluster as needed. |
Rule Content | Match Type | Optional:
MD5 File, command line, DNS, inbound IP, outbound IP, Custom File, process network, and File operation. |
| Matching content. | |
| Action | Alert,Alert and intercept,Allow. |
| Alert Level | Required only when the action is set to Alert/Alert and intercept: high-risk, medium-risk, low-risk, and notification. |
| ATT&CK Stage | Configurable only when the action is set to Alert/Alert and intercept. |
| rule description | Optional. No more than 128 characters. |
Advanced settings | More container configurations | Based on the container clusters selected for the effective assets, further filter out the effective scope (for example, match by image conditions or directly select images). If no cluster is selected, the advanced configuration does not take effect. For details, see Advanced Configuration (More container configurations). |


Configuration Item | Description |
Process type | Process, parent process, and ancestor process |
Process file path | Process executable file path |
Process command line | Process command line; enter the regular expression of the final executed command. CWPP cannot identify alias commands. |
www.12345.com or *.tencent.com; URLs are not supported). Separate multiple entries with line breaks, with a maximum of 100 entries.
Execution Action | Description |
Alert | When a host attempts to connect to a domain name within the rule scope, an alarm record is generated. |
Alert and intercept | Interception rules take effect only for IP address/domain name/wildcard domain requests initiated by newly started processes. Note: Currently, interception is supported only on Linux systems and not on Windows. |
Allow | When a host attempts to connect to a domain name within the rule scope, no alarm or interception is generated. |



Configuration Item | Description | Regex Example |
File Name (Including File Extension) | Match by File Name Note: The . in the extension must be escaped with \\. For example, ^app\\.log$ represents the file name app.log. | ^app.log$: represents file names such as app.log, app1log, and appalog (where . is not escaped and represents any single character).^app\\.log$: represents the file name app.log (where . is escaped and matches only the dot character itself)..*\\.log$: represents file names such as foo.log, bar.log, and foo_bar.log.^app\\..*: represents file names such as app.log, app.txt, and app.1.^app\\.log\\.\\d+$: represents file names such as app.log.0, app.log.1, and app.log.999. |
File directory | Match by Directory Path Note: The end of the path cannot end with / or \\. | ^/tmp: represents the /tmp/ directory.^/app/.*/log: represents directories such as /app/foo/log/ and /app/foo/bar/log/.^/app/log/\\d+: represents directories such as /app/log/0/, /app/log/1/, and /app/log/999/.^D:\\\\data\\\\.*: represents directories such as D:\\data\\, D:\\data\\foo\\, and D:\\data\\foo\\bar\\. |

Configuration Item | Description |
Process path. | Process absolute path. Specify at least one of this parameter and Command Line. |
Command line. | Process command line. Specify at least one of this parameter and Process Path. |
Parent process path. | Optional. Parent process absolute path. |
Parent command line. | Optional. Parent process command line. |
IP | Required. Only a single IPv4 address is supported. The format can be an IP address (for example, 1.1.1.1), an IP address range (for example, 1.1.1.1-1.1.1.10), or an IP address segment (for example, 172.168.34.1/20). The length cannot exceed 64 characters. |
Port | Optional. The format is 80,8080, with a range from 1 to 65535. Separate multiple ports with commas. Leave this field empty if no port restriction is required. |

Configuration Item | Description |
Process path. | Process absolute path. Specify at least one of this parameter and Process Command Line. |
Process command line | Specify at least one of this parameter and Process Path. |
Parent process path. | Optional. Parent process absolute path. |
Parent process command line. | Optional |
File path. | Required |
Action | Required. Regular expressions are supported. When multiple actions are selected, the relationship between them is OR. |

Configuration Item | Description |
matching condition | Image address and image name |
Operator | Equals, does not equal, starts with, does not start with, ends with, does not end with, contains, does not contain |
Value | Enter the corresponding content based on the selected attribute. |

Rule Type | Editable Scope |
Preset rules | Switch, effective assets, execution actions, and more (match content is generally not editable and is subject to the console) |
Custom rule | Rule name, match type/content, execution action, Alert Level, ATT&CK stage, effective assets, switch, and more |

Scenario | Description |
Rapid derivation within the same account | Fine-tune match conditions or actions based on a similar rule, and then save the result as a new rule. |
Cross-account replication | In a multi-account scenario, copy the rule to other accounts to ensure unified enforcement across the entire organization. |
Scenario | Description |
Quick switchover between daily/important period guarantee | Before the important period guarantee, enable related rules in batches, or change stable rules without false alarms from "Alert" to "Alert and intercept"; after the guarantee ends, disable temporary rules in batches or change the execution action back to "Alert". |
Quick adjustment across multiple accounts | Quickly start, stop, modify, or delete rules of some member accounts in batches. |
Item | Description |
Effective time | Takes effect approximately 3-5 minutes after the policy is created or modified. |
Rule priority | When content conflicts occur in the same scenario: allow > Alert and intercept > Alert; adding to the allowlist overrides the interception effect in the same scenario. |
Container vs. host | When the same host matches both a cluster (container) policy and a host policy, only the cluster policy is executed, and the host policy is not stacked. |
Dynamically effective assets | If effective assets are selected based on the following rules: Select by tag: The effective objects are automatically synchronized after asset tags are added or removed. Select by advanced configuration (container configuration): Match by image criteria/
Select directly on the selected cluster. |
Interception compatibility | When the client resource configuration is set to special environments such as business-first mode, interception may be automatically stopped and only alarms are generated. To enforce interception, contact us. |
Rule Type | Behavior |
Allowlist | Allowlists are merged as a union; the allowlist delivered by any product takes effect. |
Blocklist | Merged and delivered to hosts, alarms/interceptions/logs are generated only on the product side with authorization. The authorizations of the two products are mutually exclusive, so no duplicate alarms occur. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback