APIs

Welcome to the API Documentation

This API provides a simple and direct way to query the Seal platform for existing vulnerable and sealed packages.

Our goal is to make this process as straightforward as possible for developers.

How it Works

The API is a RESTful service that accepts and returns JSON data. It operates through a single, well-defined endpoint:

Endpoint: [https://external.sealsecurity.io/authenticated/api/v1/[endpoint-path]] (Replace with your actual base URL and endpoint path)

Authentication

To use the Seal API, you will need to authenticate your requests. You will need a token to the Seal server - the same token used to download artifacts. Requests are authenticated using a Bearer Token in the Authorization header.

Making Your First Request

Here's a quick example of how to use our API:

Example Request (using cURL):

Bash

curl --location 'https://external.sealsecurity.io/authenticated/api/v1/packages/vulnerable?limit=2' \
--header 'Authorization: Bearer $TOKEN'

In the command above, replace $TOKEN with your access token to the Seal server.

Last updated