configure_session_handling
Configure session management for scan configurations, including cookie handling and automatic re-login when sessions expire.
Instructions
Configure session management including cookie handling and automatic re-login on session loss
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scan_config_id": "<scan_config_id>"
},
"name": "configure_session_handling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock_cookies | No | Prevent modification of session cookies during attacks | |
| scan_config_id | Yes | The unique identifier of the scan configuration | |
| session_loss_regex | No | Regex pattern in response body indicating session expired (e.g., 'session expired|login required') | |
| session_cookie_regex | No | Regex pattern to identify session cookies (e.g., 'JSESSIONID|PHPSESSID') | |
| relogin_on_session_loss | No | Automatically re-authenticate when session is lost | |
| session_loss_header_regex | No | Regex pattern in response headers indicating session loss |