Field Name | Description |
Session Identifier Name | Custom identifier name, supporting up to 128 characters. |
Session Identifier Description | Custom identifier description, supporting up to 128 characters. |
Session Identifier Location | Specify the parameter name that identifies a specific location (QUERY, BODY, COOKIE, or HEADERS) as the session identifier, and use the value corresponding to that parameter name as the Session Identifier. |
Session Identifier Parameter | Value identifier, which separates parameters at each level with the . character. Example: test: Identify the value of the test parameter in the JSON string as the Session Identifier. test1.test2: Identify the value of the test2 parameter contained in test1 in the JSON string as the session ID. |
Disable Nested Parsing | After this feature is enabled, the system identifies test1.test2 as a single parameter name. By default, the system enables nested parsing for QUERY, BODY, and HEADERS. COOKIE does not support nested parsing. Nested parsing for HEADERS cannot be disabled, while nested parsing for QUERY and BODY can be disabled as needed. |
Priority | Supports entering an integer from 1 to 100. A smaller value indicates a higher priority, and the session identifier configured with a higher priority is matched first. When priorities are the same, the one with a later update time takes precedence. |
Set As Default | Supports setting a default session identifier. After the default is set, the session identifier configuration is used by default for extraction when a security policy is created. |
Field Name | Description |
Large Model Type | The system has built in some standard LLM path parameters. Select and fill them based on your LLM backend service type, or select custom filling. |
Business Name | Limit the LLM service name to 128 characters. It is used for display and selection on the rule configuration page. |
Request path | Configure the request path of the LLM service, for example, /v1/chat. Limit it to 128 characters. |
Prompt Content Position | Configure the prompt field of the LLM service. You can use a parameter name or an array format. For example: Configuring prompt means extracting the parameter value of prompt.Configuring content.0.prompt means extracting the prompt parameter value of the first element in the content array.Configuring content|@reverse|0.prompt means extracting the prompt parameter value of the last element in the content array.Limited to 128 characters. Note: When continuous conversation detection is disabled, the input format is content.0.prompt (detects the first one) or content|@reverse|0.prompt (detects the last one). When continuous conversation detection is enabled, the input format is content.#.prompt (detects from the first one) or content.#reverse.prompt (detects in reverse order, starting from the last one). |
Continuous Conversation Detection | After this feature is enabled, WAF extracts the latest N rounds of prompt content based on the configured prompt position and sends the content to the prompt injection detection model for detection. If any round of conversation is matched, it is considered an attack. This feature is disabled by default. |
Maximum Detection Dialogue Round | Set the maximum number of turns for continuous conversation content detection. Valid values range from 1 to 20, and the default value is 5. This setting takes effect only after Continuous Conversation Detection is enabled. |
Thinking Position | If the LLM service is a reasoning model, configure the thinking content field of the LLM service here. Parameter names or array formats are supported, for example: If thinking is configured, the value of the thinking parameter is extracted. If content.0.thinking is configured, the value of the thinking parameter of the first element in the content array is extracted. If content|@reverse|0.thinking is configured, the value of the thinking parameter of the last element in the content array is extracted. Limited to 128 characters. |
Response Position | Configure the response content field of the LLM service. Parameter names or array formats are supported. For example: Configure response to extract its parameter value. Configure content.0.response to extract the response parameter value of the first element in the content array. Configure content|@reverse|0.response to extract the response parameter value of the last element in the content array. Limit to 128 characters. |
Position of Token Amount | Configure the field corresponding to the token usage of the customer's LLM service. Limit it to 128 characters. You can choose from three configuration methods: Built-in token algorithm: When this option is selected, the WAF built-in algorithm is called to calculate the token. Single field: When this option is selected, the value of this field in each request is read and aggregated to calculate the total token quantity. Multiple fields: When this option is selected, the values of the request and response fields in each request are read and added together as the total token value for a single request. |
Priority | Configure the priority. Priority logic: Enter an integer from 1 to 100. A smaller value indicates a higher execution priority for this rule. When priorities are the same, a later update time indicates a higher priority. |




Field Name | Description |
Prompt Content Position | The configuration value is messages|@reverse|0.content. It means the value of the content field in the latest element (in reverse order) of the messages array in the request payload. |
Response Position | The configuration value is choices.0.delta.content. It means the value of the content field in the delta object of the first element in the choices array in the response data. |
Position of Token Amount | The configuration value is usage.total_tokens. It means using the value of the total_tokens field in the usage object as the calculated value for Token consumption. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários