--- title: "Subrule parameters" slug: "subrule-parameters-7" tags: ["Product Usage", "ENS 10.7.x"] updated: 2026-10-07T17:36:15Z published: 2026-10-07T17:36:15Z canonical: "docs.trellix.com/subrule-parameters-7" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Subrule parameters Edit a custom Access Protection rule identified by `ruleindex`. **Parameters to create and edit subrules** | Command | Description | | --- | --- | | `--addsubrule` | This command is used to add subrules to a rule. | | `--editaprule [ruleindex]` | Edits a custom Access protection rule identified by `ruleindex`. | **Parameters to manage subrules** | Command | Description | | --- | --- | | `--subrulename [value]` | This command is used to name the subrule that is added to the rule. The subrule name must be unique within a rule. This parameter is mandatory. | | `--subruletype [file \| process]` | This command is used to set the type of subrule. The type can be file or process. This parameter is mandatory. | | `--operations [value(s)]` | This command is used to specify the operations associated with the subrule. Operations can vary based on the type of the subrule. Possible values for file subrule — create, delete, execute, change permission, read, rename, write, change owner, symlink, and hardlink. Possible values for process subrule — terminate and run. This parameter is mandatory. Single or comma-separated values are allowed. |