Skip to content

feat(publish): upload findings from CSV - #645

Merged
kmbroai merged 5 commits into
mainfrom
dev/kyleb/publish-cloud-csv
Aug 25, 2026
Merged

feat(publish): upload findings from CSV#645
kmbroai merged 5 commits into
mainfrom
dev/kyleb/publish-cloud-csv

Conversation

@kmbroai

@kmbroai kmbroai commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Allow Cloud publication to ingest the existing Codex Security findings CSV format, so exported or manually assembled findings can be validated and uploaded without a completed scan directory.

Changes

  • Add --csv PATH to codex-security publish scan --to cloud.
  • Validate standard and Deep Scan CSV fields before authentication or upload.
  • Preserve --dry-run --json as a local preview with no login or network request.
  • Add a header-only template at examples/findings.csv.
  • Preserve source IDs and triage metadata while producing canonical upload findings.

Testing

  • Focused Cloud publisher and CLI tests, seed 12345: 73 passed
  • pnpm run types
  • pnpm run format
  • pnpm run build
  • git diff --check

The affected suites pass. The repository-wide suite was not used because unrelated output-ancestry tests reject the temporary worktree parent before reaching this feature.

Risk and rollout

This is an additive CLI option. Existing scan-directory and Linear publication behavior is unchanged. Invalid CSV input fails before credentials are read or a request is made. No server changes are included or expected.

Public disclosure review

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

@github-actions github-actions Bot added the enhancement New feature or request label Aug 25, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-08-25T17:20:02.777552Z 9b35111 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread sdk/typescript/src/cloud-publish.ts Outdated
Comment thread sdk/typescript/src/cloud-publish.ts Outdated
ianw-oai
ianw-oai previously approved these changes Aug 25, 2026
@kmbroai
kmbroai merged commit f08cbba into main Aug 25, 2026
36 checks passed
@kmbroai
kmbroai deleted the dev/kyleb/publish-cloud-csv branch August 25, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants