publish-findings
できること
このスキルは、他のセキュリティスキャナーの発見事項を、Codex Securityのワークベンチまたは Cloudに取り込みます。すでにスキャナーを使っていて、その結果を一か所にまとめたいチーム向けです。
使う場面
- ✓Codex Securityに取り込みたいスキャナーのレポートがあるとき。
- ✓SonarQubeの問題から選んだものを、ワークベンチまたはCloudに取り込みたいとき。
- ✓発見事項が保存される前に、取り込みをプレビューしたいとき。
スキルのリンク
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/publish-findings/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このリポジトリの前回のスキャンで見つかったSonarQubeの問題をプレビューし、選んだものをワークベンチに取り込んでください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
何かを取り込む前に、スキルは環境でインポートが有効になっているかを確認します。その後、コマンドラインツールを使って発見事項をプレビューし、ソースコードに対応づけ、選んだ宛先に保存します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
なぜ環境の設定が必要なのですか?
外部からのインポートはオプトインなので、スキルはまず有効にするよう求めて停止します。
取り込まれるものを先に確認できますか?
はい。スキルはJSONのプレビューを示すので、取り込む前に選択内容を確認できます。
コマンドに認証情報が含まれますか?
いいえ。接続とサインインはコマンドラインツールが扱うので、認証情報はコマンドの引数に含まれません。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 11k
- ランキング
- #11754
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
assess-patch-risk
11kエージェントが、マージ前にコードパッチのリスクを判断できるよう支援します。影響範囲、それをカバーするテスト、元に戻せるかを確認します。
attack-path-analysis
11kエージェントが、セキュリティ上の発見事項を入口から標的まで追跡し、実際の影響と、報告すべきかどうかを判断できるよう支援します。
cloud-findings
11kエージェントが、接続されたアカウントから既存のCodex Security Cloudの発見事項、レポート、スキャンの状態を、何も変更せずに読めるよう支援します。
deep-security-scan
11kエージェントが、独立した確認を繰り返し、検証された発見事項を統合することで、リポジトリやフォルダの徹底的な複数パスのセキュリティスキャンを実行できるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。