Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

docs: clarify archived scan output names (#2365)

Michael D'Angeloc05e2858de71
diff --git a/sdk/typescript/docs/cli.md b/sdk/typescript/docs/cli.md
index ae07272f6..7acca1bac 100644
--- a/sdk/typescript/docs/cli.md
+++ b/sdk/typescript/docs/cli.md
@@ -530,8 +530,9 @@ Use `--output-dir DIR` to choose where a scan saves its results. The directory
must be empty and outside the scanned directory and enclosing Git worktree.
Existing directories keep their permissions; newly created directories are
private to you by default.
-`--archive-existing` moves earlier output to
-`<output-dir>.previous-<timestamp>-<id>`; `--dry-run` previews the move.
+`--archive-existing` moves earlier output to a sibling directory with a unique
+suffix, such as `results.previous-ab12cd34` for an output directory named
+`results`. Use `--dry-run` to preview the move.
Scans also attempt to write SARIF to `<scan-dir>/exports/results.sarif`. If that
optional export fails, the scan can still complete. Use the