diff --git a/README.md b/README.md index 7e7d27ef..bcb03a24 100644 --- a/README.md +++ b/README.md @@ -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 `//` beside the scan runs, and prints that path diff --git a/docs/examples.md b/docs/examples.md index aab24931..350daa54 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -8,9 +8,12 @@ the current working directory, never against the target. Once a scan has written default location, with no `OPENULTRASAST_RUNS_DIR` set, the runs there that are 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`. `ousast benchmark` writes its -run to the same directory, as `//` beside the scan runs, and prints -that path (`benchmark_run_dir=`); run retention removes it like a scan run. +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 directory, as `//` beside +the scan runs, and prints that path (`benchmark_run_dir=`); run retention removes it like a +scan run. A scan that rejects or holds a finding writes one file into the scanned tree, and only when that file's content would change: