Aller au contenu
Skillpedia
Sécurité11k · #11754

publish-findings

Ce qu’il fait

Cette compétence importe les découvertes d'autres scanners de sécurité dans l'espace de travail ou dans Cloud de Codex Security. Elle s'adresse aux équipes qui utilisent déjà un scanner et veulent que ses résultats soient regroupés au même endroit.

Quand l’utiliser

  • ✓Quand vous avez un rapport de scanner que vous voulez importer dans Codex Security.
  • ✓Quand vous voulez transférer certains problèmes SonarQube dans l'espace de travail ou dans Cloud.
  • ✓Quand vous voulez prévisualiser un import avant que des découvertes ne soient enregistrées.

Lien du skill

https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/publish-findings/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/publish-findings/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Prévisualise les problèmes SonarQube de la dernière analyse de ce dépôt, puis importe ceux que j'ai sélectionnés dans l'espace de travail.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Avant tout import, la compétence vérifie que les imports sont activés dans l'environnement. Elle utilise ensuite l'outil en ligne de commande pour prévisualiser les découvertes, les associer au code source et les enregistrer dans la destination choisie.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Publish external findings

Before acquiring or importing findings, check for CODEX_SECURITY_ENABLE_EXTERNAL_IMPORTS=1 in the command environment. If it is unset or has another value, stop and ask the user to enable imports.

Use codex-security import sonar for live SonarQube Cloud issues or a capture saved by that command. Use codex-security publish findings for native scanner exports, including Sonar /api/issues/search pages with --provider sonar. Select the requested destination. The CLI owns source mapping, persistence, and Cloud authentication and retries. Do not implement another store or uploader or put credentials in command arguments.

Select the evidence

Use a supplied report, connected tool or signed-in CLI that provides the requested native records for the selected account, repository and ref. Follow the scanner import guide to narrow broader reports and verify the selection in the JSON preview. Use a direct API only when the provider guide supports its response for the selected destination. Otherwise ask for a supported report. A fresh scan produces new findings. Keep the original records and complete the requested pagination. A JSON summary or a different product's API response is not interchangeable with the documented report. Use SARIF or CSV only when the installed provider reader supports that profile and native JSON is unavailable or the user supplies that format. Do not convert a richer JSON report to SARIF for import.

Use the same acquisition format for repeated imports. Check the provider's identity rules before switching formats: another format can create a separate record or replace a richer snapshot with less detail. Importing findings does not reconcile equivalent vulnerabilities across formats. --format json controls command output, not the input report format; readers detect their supported inputs.

Import locally

Use a local repository path with --repository. No Cloud login is required.

codex-security publish findings /path/to/selected-wiz-findings.json \
  --to local --repository /path/to/project --provider wiz \
  --source-key TENANT_ID/vulnerability-finding --dry-run --format json

Show the repository, source namespace, normalized evidence, and exclusions. After confirmation, repeat without --dry-run, adding --yes. Keep approval when the user already approved this preview and the input and destination are unchanged.

Read the stored evidence with codex-security findings imported /path/to/project --format json; the repository defaults to the current directory. Report created, updated, unchanged, and excluded counts, including exclusion reasons when the command exits 1.

Local records remain unassessed source evidence, separate from findings list and completed scans. Repeated imports use the same repository/provider/source-key/source-ID identity; omitted records remain stored. When a source repository URL and local Git remotes are available, the URL must match a remote. Local import does not publish to Cloud or automatically investigate or patch findings.

Amazon Inspector repository findings

Use --provider inspector and --source-repository-url with a complete Inspector2 ListFindings export for one Code Security repository. If it contains only a project ARN and name, pass the full --inspector-project-arn ARN verified for that Git URL in the SCM integration. Supply the same ARN when resuming a pending Cloud submission. Self-managed GitLab is supported locally.

Black Duck SCA project-version vulnerabilities

Use --provider blackduck for a BOM-6 vulnerable-components export from one project version. Supply --source-repository-url after verifying the project version maps to that repository. Keep the same source key on replay and preview the destination before importing.

Veracode Static Analysis policy findings

Use --provider veracode with all Findings API pages for one application’s STATIC policy findings. Verify that the application maps to the repository named by --source-repository-url. Keep the source key stable for that application and preview the import before writing.

Endor Labs findings

Use authenticated endorctl for one verified project and context. Omit --field-mask to keep complete native Finding objects. Replace /path/to/private/reports with a private directory outside the checkout.


Questions fréquentes

Pourquoi faut-il un réglage d'environnement ?

Les imports externes sont optionnels, donc la compétence s'arrête et vous demande de les activer d'abord.

Puis-je voir ce qui sera importé avant ?

Oui. La compétence affiche un aperçu JSON pour que vous vérifiiez la sélection avant l'import.

Met-elle des identifiants dans la commande ?

Non. L'outil en ligne de commande gère la connexion et l'authentification, donc les identifiants ne figurent pas dans les arguments de la commande.

Détails

Description originale de l’auteur

Requires explicit opt-in with CODEX_SECURITY_ENABLE_EXTERNAL_IMPORTS=1. Preview and import scanner findings, including issues selected in the SonarQube plugin, into the local workbench or Codex Security Cloud.

repo: openai/codex-security

Popularité

Étoiles GitHub
11k
Position au classement
#11754
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires