跳转到内容

导出并跟踪安全发现

身份 非官方简体中文镜像
翻译状态 AI 翻译 / AI 审校
来源版本 官方未提供
同步日期 2026-07-26
官方原文 learn.chatgpt.com

使用已完成的 Codex Security 扫描作为两种不同交接流程的来源:

  • 导出会创建可移植的 JSON、CSV 或 SARIF 文件。
  • 跟踪发现会将选定的发现准备为 Linear、GitHub 或 Jira issue,或一个私有的 GitHub Security Advisory 草稿,检查重复项,并在写入前等待你的批准。

这些工作流不会更改已封存的扫描包。

打开已完成的发现工作区,选择 Export,然后选择一种格式:

格式 用途
JSON 保留已封存的结构化发现,供工具和脚本使用。
CSV 在电子表格中查看发现和当前的本地分诊状态。
SARIF 将发现发送到支持 SARIF 交换格式的工具。

选择 Export findings,并使用返回的工件路径。当其他工具需要完整的扫描上下文,而不仅仅是仅包含发现的投影时,请将原始的 scan-manifest.jsonfindings.jsoncoverage.json 放在一起。

将已完成的发现导出为 JSON、CSV 或 SARIF,供下游审查和工具使用。

$codex-security:track-findings 工作流接受来自一次已封存扫描的一个已验证发现,或明确选定的最多 25 个发现,用于 issue 跟踪。GitHub Security Advisory 草稿一次只能接受一个发现。一次运行使用一个提供商和一个目标。

对于 Linear,请发送类似以下内容的提示:

Use $codex-security:track-findings to prepare finding [finding ID] from
[completed scan directory] for the Linear team [team] and project [project, if
any]. Check for duplicates and show me the exact issue title, body, metadata,
and destination. Do not create or update anything until I approve that payload.

对于 GitHub issue,请发送:

Use $codex-security:track-findings to prepare finding [finding ID] from
[completed scan directory] for GitHub repository [owner/repository]. Check open
and closed issues for duplicates and show me the exact issue title, body,
metadata, repository visibility, and authenticated transport. Do not create or
update anything until I approve that payload.

对于 Jira,请发送:

Use $codex-security:track-findings to prepare finding [finding ID] from
[completed scan directory] for Jira project [project key] as [issue type].
Check for duplicates and show me the exact issue summary, description,
metadata, and destination. Do not create or update anything until I approve
that payload.

Jira 跟踪需要 Codex 中的 Atlassian Rovo 插件。重新使用 issue 需要读取权限;创建或更新 issue 需要读取和写入权限。

对于私有的 GitHub Security Advisory 草稿,请发送:

Use $codex-security:track-findings to prepare finding [finding ID] from
[completed scan directory] as a private draft GitHub Security Advisory in
[owner/repository]. Verify the sealed source revision, repository, affected
paths, package metadata, and duplicate state. Show me the exact advisory
payload, authenticated GitHub CLI identity, and disclosure warnings. Do not
create anything until I approve that payload.

草稿公告要求来自已封存的 git_revision 扫描中的一个发现、经过验证的公开规范源代码仓库以及管理员访问权限。该工作流不会批量处理、更新、发布或关闭公告。如果源代码不满足这些要求,请使用已批准的私有 issue 目标。

  1. 确认发现 ID 和指纹来自预期的已封存扫描。
  2. 确认提供商、确切的 Linear 团队、GitHub 仓库、Jira 项目或公告仓库,以及目标的实时可见性。
  3. 审查重复项结果:createreuseupdateblocked
  4. 阅读完整的拟定标题、正文、源位置和提供商元数据。移除目标不应公开的漏洞利用详情或内部证据。
  5. 仅批准该确切载荷。目标、可见性、发现集合或正文发生变化时,需要生成新的预览。

敏感发现应发送到私有目标。在内部或公开的 GitHub 仓库中创建 issue 需要明确的可见性警告,并批准完整内容。将草稿公告描述视为最终可能公开的内容,在批准前移除凭据、私有证据和不必要的漏洞利用详情。

观看审批前的 issue 预览视频

审批前的 issue 预览

批准后,Codex 会重新验证已封存的来源、目标、访问权限和重复项状态。它会按顺序处理批次,并在首次遇到不确定结果时停止。只有在 Codex 读回确切的 issue,并验证其绑定标识符和内容后,创建、更新或重新使用操作才算完成。

请将返回的规范 issue 或公告 URL 与你的分诊记录一起保存。当所有者接受该项目进行修复时,继续阅读修复并验证发现