mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 10:18:18 +00:00
docs(contributor-scan): the user docs name the skipped runs directory and its notice (3.1, follow-up)
By the maintainer's decision of 2026-11-25, as the handover records it: "One sentence in README.md and docs/examples.md, in its own docs commit: a scan does not read the files under its runs directory when it lies inside the scanned path. A notice chosen above would be documented in the same place." The sentence, the same in both files: "A scan does not read the files under its runs directory when that directory lies inside the scanned path; when this leaves source files out of the scan, `ousast` prints one `notice:` line naming the directory and how many." It closes the run-location paragraph of README.md and sits in the first paragraph of docs/examples.md, before the benchmark sentence. "when this leaves source files out of the scan" is the exact promise of `52c9afb`: the notice counts what the skip took out of the scan, so a source file that the target's root `.gitignore` or an ignored directory already keeps out brings none. "`ousast` prints" matches the retention sentence two lines up; `ousast scan` and `ousast benchmark` print the line, and the `openultrasast.scan` and `openultrasast.benchmark` tools return the same text among their notices instead (the independent reviewer's probes). The first clause keeps the maintainer's words: nothing under the runs directory becomes a file target, while the other readers of a scanned tree stay as they are by the decision "No, leave them"; a route manifest under the runs directory is still read. No code changes. The two documentation test files pass (8 passed). An independent reviewer approved the change in two rounds; its first round found that the first wording, "when source files are left out there", promised a notice for files the scan was not going to read anyway, which this wording closes.
This commit is contained in:
@@ -191,7 +191,9 @@ one is resolved against the current working directory, never against the directo
|
||||
After a scan writes its run to the default location, with no `OPENULTRASAST_RUNS_DIR` set, the runs
|
||||
there older than 30 days are removed, and `ousast` prints one `notice:` line when it removes any;
|
||||
`OPENULTRASAST_RUNS_RETENTION_DAYS` sets the number of days (`0` keeps every run), and nothing is
|
||||
ever removed from a location chosen with `OPENULTRASAST_RUNS_DIR`.
|
||||
ever removed from a location chosen with `OPENULTRASAST_RUNS_DIR`. A scan does not read the files
|
||||
under its runs directory when that directory lies inside the scanned path; when this leaves source
|
||||
files out of the scan, `ousast` prints one `notice:` line naming the directory and how many.
|
||||
|
||||
`ousast benchmark` writes its run to the same runs directory, as
|
||||
`<runs_dir>/<benchmark-run-id>/` beside the scan runs, and prints that path
|
||||
|
||||
Reference in New Issue
Block a user