configure_token_replacement
Define global rules to extract dynamic tokens like CSRF tokens, API keys, or session IDs from responses and inject them into subsequent requests.
Instructions
Configure global token replacement rules to extract tokens from responses and inject them into subsequent requests.
Use this for dynamic tokens like CSRF tokens, API keys, or session identifiers that need to be captured and replayed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match_criteria | No | How to match the extraction pattern | REGEX |
| scan_config_id | Yes | The unique identifier of the scan configuration | |
| extraction_pattern | Yes | Regex pattern to extract the token value | |
| injection_location | Yes | Where to inject the token | |
| extraction_location | Yes | Where to extract the token from | |
| injection_parameter | Yes | Parameter/field name where the token should be injected |