API scanning
The API scan (API_SCAN, Premium plan) reads your API's definition and sends crafted requests to every operation it describes: injections, broken input validation, information leaks, server errors.
What SecUp needs
In Targets → (target) → Scan settings → API, give at least one definition:
| Setting | Format |
|---|---|
| OpenAPI / Swagger URL | https://api.example.dz/openapi.json (OpenAPI 2 or 3, JSON or YAML) |
| GraphQL endpoint | https://api.example.dz/graphql (introspection must be enabled) |
| GraphQL schema URL | A schema file, when introspection is disabled |
| SOAP WSDL URL | https://api.example.dz/service?wsdl |
| Host override | host[:port], when the definition names another server (for example a staging host) |
Combine it with authenticated scanning so the calls are made as a logged-in client; otherwise only public operations are tested.
Tuning
The same scan settings apply to web and API scans:
- Threads per host: 1 to 20 (default 4). Lower it for fragile services.
- Delay between requests: 0 to 10,000 ms. Raise it if rate limits or a firewall interfere.
- Exclusions: up to 20 regular expressions for URLs to leave alone.
Reading the results
Each finding names the operation (method and path), the parameter and the request that triggered it. An API scan is active: it sends real requests that can create or change data, so point it at a test environment when you can.