Authenticated scanning
Most of an application lives behind its login page. Give SecUp a way to log in and the web, API and known-vulnerability scans test the authenticated part too.
Authenticated scanning is included in the Premium and Professional plans and during the free trial.
Methods
Configure the login on the target, in Targets → (target) → Scan login. Four methods are available:
| Method | Use it when | What you provide |
|---|---|---|
headers | The application accepts one or more fixed headers (an API key, a session header). | 1 to 10 headers, name and value. |
cookie | You can copy a valid session cookie from your browser. | The Cookie value, for example session=…; csrf=…. |
bearer | The application uses Authorization: Bearer tokens. | The token. |
form | Users log in with a form or a JSON login endpoint. | The login URL, user name, password, body format (form or json), and any extra fields. |
Every engine of the scan receives the same session: header-based methods become request headers on every request; a form login is replayed by the crawler before it explores the site.
Good practice
- Use a dedicated test account with realistic rights. Never use a real administrator account: active scans submit forms and may change data.
- Prefer a staging copy of the application for active scans.
- Exclude dangerous pages. In the target's scan settings, add regular expressions for URLs the crawler must not visit, such as
/logout,/account/deleteor payment pages. - Mind session lifetime. A cookie or token copied by hand expires; a form login is replayed at the start of each scan.
How SecUp stores credentials
Credentials are encrypted before they are stored. The console and the API only ever show them masked; nobody can read them back, including SecUp operators through the interface. Users with the viewer role cannot change them. Removing the scan login deletes the stored credentials.