Skip to main content
POST
Téléverser une analyse

Autorisations

CORGEA-TOKEN
string
header
requis

Clé API pour l'authentification

En-têtes

CORGEA-SOURCE
enum<string>
défaut:api

Identifies the client that triggered the scan. Requests without this header are attributed to the API.

Options disponibles:
api,
cli,
vscode,
vs2022,
intellij

Paramètres de requête

run_id
string
requis

L'ID de l'exécution associée au rapport d'analyse

engine
enum<string>
requis

Moteur utilisé pour l’analyse

Options disponibles:
checkmarx,
codeql,
fortify,
semgrep,
snyk
project
string
requis

Le nom du projet

repo_data
string

Chaîne JSON encodée en Base64 contenant les informations du dépôt (branch_name, integration_url, etc.)

Corps

text/plain

Contenu du rapport d’analyse sous forme de texte UTF-8 (généralement au format SARIF ou JSON)

The body is of type string.

Réponse

Rapport d’analyse téléversé avec succès

status
string
Exemple:

"ok"