Resources and integrations
Supply an OpenAPI specification and application documentation for a grey-box assessment.
An API specification describes known endpoints, methods, parameters, and schemas. Providing it helps the assessment use your documented API surface alongside discovered endpoints.
Add an OpenAPI specification
For a new project, choose Grey-box in Type & environment, then configure the specification in Resources. File uploads are rejected for black-box projects and projects whose type is Not set.
| Input | Accepted value | Example |
|---|---|---|
| Spec file | A JSON or YAML document, with a .json, .yaml, or .yml extension; OpenAPI 3.x or Swagger 2.x | customer-api.yaml |
| Swagger / OpenAPI URL | A full URL to your specification; a direct document URL is the clearest input | https://api.example.com/openapi.json |
| Documentation URL | An optional URL to application or API documentation | https://docs.example.com |
Choose either a file upload or a specification URL. A documentation URL supplies additional context; it does not replace the specification.
Upload a file
- In the wizard's Resources step, choose Manual Upload.
- Select your JSON or YAML specification.
- Complete project creation. The file uploads after the project has been saved.
- Check the specification status in the project. If the upload failed, correct the file and upload it again in the existing project.
For an existing project, open Context, select the OpenAPI extension, and open Configure. Choose Upload, then Spec file or Replace spec file.
Use a specification URL
- Choose Swagger / OpenAPI URL in the creation wizard, or URL in the OpenAPI extension configuration.
- Enter the complete URL to the specification.
- Complete project creation, or select Save spec URL in the existing project.
- Run the relevant context step and check its status and results.
The specification must be accessible from the assessment environment. If fetching fails, check the address and access requirements, or upload the document instead.
Screenshot placeholder: OpenAPI configuration
The URL and Upload choices, specification input, save action, and status indicator.
Understand specification status
| Displayed status | Meaning and next step |
|---|---|
| Materializing… | The specification is pending processing. A successful upload does not yet mean it is ready for use. Check the OpenAPI context step. |
| Ready | Processing completed. Review the specification metadata and continue the assessment. |
| Failed | Validation, retrieval, or processing failed. Read the displayed error, correct the file or URL, and retry. |
| Not configured | This step has no usable specification configured. Add a file or URL if you want to include it. |
The status panel can show the file name or URL, specification version, and upload or fetch time. Use these to check that you are assessing the intended API version.
Replacing a specification changes the project's resource. Review context results and generate an updated threat model when the application surface changes; an old assessment should not be treated as evidence for newly added endpoints.
Add application documentation
Use the Documentation URL field in the creation wizard for a page that explains workflows, roles, or API behavior. For example, documentation about tenant membership can help explain the boundaries you want tested.
Keep the project scope and exclusions explicit even when supplying documentation.
GitHub repositories
The current creation wizard marks GitHub repository connection as under implementation and does not offer white-box assessment selection. You can continue with black-box testing or use grey-box testing with an API specification and documentation.
Signing in to the Platform with GitHub does not by itself connect a repository to a project.
Last updated