Need help with the Platform? Join us on Discord or email us at contact@straylabs.ai.
Stray Platform
Platform

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.

InputAccepted valueExample
Spec fileA JSON or YAML document, with a .json, .yaml, or .yml extension; OpenAPI 3.x or Swagger 2.xcustomer-api.yaml
Swagger / OpenAPI URLA full URL to your specification; a direct document URL is the clearest inputhttps://api.example.com/openapi.json
Documentation URLAn optional URL to application or API documentationhttps://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

  1. In the wizard's Resources step, choose Manual Upload.
  2. Select your JSON or YAML specification.
  3. Complete project creation. The file uploads after the project has been saved.
  4. 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

  1. Choose Swagger / OpenAPI URL in the creation wizard, or URL in the OpenAPI extension configuration.
  2. Enter the complete URL to the specification.
  3. Complete project creation, or select Save spec URL in the existing project.
  4. 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 statusMeaning 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.
ReadyProcessing completed. Review the specification metadata and continue the assessment.
FailedValidation, retrieval, or processing failed. Read the displayed error, correct the file or URL, and retry.
Not configuredThis 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

On this page