configure_csrf_handling
Enable automatic CSRF token detection and injection for scans by configuring regex patterns for token name and value.
Instructions
Configure automatic CSRF token detection and injection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_detect | Yes | Enable automatic CSRF token detection | |
| scan_config_id | Yes | The unique identifier of the scan configuration | |
| token_name_regex | No | Regex pattern for CSRF token field names (e.g., 'csrf|_token|authenticity_token') | |
| token_value_regex | No | Regex pattern for CSRF token values (e.g., '[a-f0-9]{32,}') |