Chuyển đến nội dung
Skillpedia
Bảo mật11k · #11754

publish-findings

Skill này làm gì

Skill này nhập các phát hiện từ trình quét bảo mật khác vào bảng làm việc Codex Security hoặc Cloud. Skill dành cho đội đã dùng một trình quét và muốn kết quả nằm ở một nơi.

Khi nào nên dùng

  • ✓Khi bạn có báo cáo từ trình quét muốn nhập vào Codex Security.
  • ✓Khi bạn muốn kéo các vấn đề SonarQube đã chọn vào bảng làm việc hoặc Cloud.
  • ✓Khi bạn muốn xem trước một lần nhập trước khi bất kỳ phát hiện nào được lưu.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/publish-findings/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Xem trước các vấn đề SonarQube từ lần quét gần nhất của kho này, rồi nhập những vấn đề đã chọn vào bảng làm việc.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Trước khi nhập bất cứ thứ gì, skill kiểm tra việc nhập đã được bật trong môi trường. Sau đó skill dùng công cụ dòng lệnh để xem trước các phát hiện, ánh xạ chúng với mã nguồn và lưu vào đích đã chọn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.


Câu hỏi thường gặp

Vì sao cần thiết lập môi trường?

Nhập từ bên ngoài là tùy chọn, nên skill dừng lại và yêu cầu bạn bật nó trước.

Tôi có thể xem trước những gì sẽ được nhập không?

Có. Skill hiển thị bản xem trước JSON để bạn kiểm tra lựa chọn trước khi nhập.

Thông tin đăng nhập có nằm trong lệnh không?

Không. Công cụ dòng lệnh xử lý kết nối và đăng nhập, nên thông tin đăng nhập không nằm trong đối số lệnh.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
11k
Vị trí xếp hạng
#11754
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự