Overview
Vigolium supports scanning REST APIs by importing endpoint definitions from OpenAPI specs, Swagger files, Postman collections, or raw curl commands. This guide covers the most common workflows for API security testing.From an OpenAPI/Swagger Spec
If you have an OpenAPI 3.x specification:-t (target) flag sets the base URL. Vigolium resolves relative paths from the spec against this target. If your spec contains a servers block with the correct URL, the target flag still takes precedence.
You can also pass a remote URL as the input:
From a Postman Collection
Export your Postman collection as JSON (v2.1 format) and pass it directly:From curl Commands
Pipe one or more curl commands into Vigolium:With Authentication
Most APIs require authentication. You can configure session handling via a session config file or by passing headers directly:docs/authenticated-scan.md.
Recommended Strategy
APIs do not require browser-based spidering since all endpoints are already defined in the input spec. Use thelite strategy to skip unnecessary discovery phases:
lite strategy is faster and avoids sending unnecessary crawling traffic to endpoints that may have side effects.
