configure_form_auth
Set up form-based login for a scan configuration: define username/password fields, test credentials, and optional regex patterns to confirm successful authentication.
Instructions
Configure form-based authentication (username/password login) for a scan configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Test password to use for authentication | |
| username | Yes | Test username to use for authentication | |
| password_field | Yes | Form field name for password (e.g., 'password', 'pass') | |
| scan_config_id | Yes | The unique identifier of the scan configuration | |
| username_field | Yes | Form field name for username (e.g., 'username', 'email') | |
| logged_in_regex | No | Regex pattern to detect successful login (e.g., 'Welcome|Dashboard') | |
| login_link_regex | No | Regex pattern to find login page links | |
| logout_link_regex | No | Regex pattern to detect logout links to avoid |