Skip to main content

Welcome

CybeDefend is an advanced API designed for application security analysis. It provides a comprehensive solution for managing users, organizations, and projects. With secure authentication and granular permission management, CybeDefend excels in static, dynamic, and Infrastructure as Code security analyses (SAST, DAST, IaC, etc.).

Base URLs

Requests are region-specific. Use the URL matching your organization’s region:

Authentication

All API requests require a valid short-lived JWT Bearer token passed in the Authorization header:
Access tokens are obtained by exchanging a Personal Access Token (PAT) through the CybeDefend identity provider.

Obtaining an Access Token (PAT → JWT)

The exchange is performed against the region-specific authentication domain: The token exchange requires the CLI application ID (appId). Only the CLI client is authorized to exchange a PAT for an access token — other clients (VS Code, IntelliJ) use a browser-based OAuth flow and have separate app IDs.

Step 1 — Retrieve the CLI Application ID

Fetch the current app IDs for your region:
Example response:
The CLI appId to use:
These values are provided as a reference. Always verify against the live /client-apps endpoint before using them — the app ID may change between releases.

Step 2 — Exchange Your PAT for an Access Token

Send a POST request to the /oidc/token endpoint of your region’s auth domain, using the urn:ietf:params:oauth:grant-type:token-exchange grant type:
Example response:

Step 3 — Call the API

Use the access_token from the response as a Bearer token in all subsequent requests:
Access tokens expire after 10 minutes. Repeat the exchange in Step 2 to obtain a fresh token.

API Key — Deprecated

API Keys are fully deprecated and no longer functional. The X-API-Key header and all API key-based authentication have been removed. Please use Personal Access Tokens (PAT) as described above.