Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the report UUID to the ScubaResults.json filename (#1426)
* Initial implementation of adding UUID to the file name * Add back missing ConvertFrom-Json call * Mock Get-ChildItem in unit tests * Document addition of UUID to ScubaResults file name * Add unit tests for when there are multiple ScubaResults*.json files * Correct minor typo in documentation * remove wildcard search in ConvertTo-ResultsCSV code path * add error handling of window path length limit errors * fix some of the tests * fix the all the current broken unit tests * additional unit tests * add back in accidentally removed fields in config * complete lorem ipsum * todo message * remove UUID truncation for now * first draft * add truncation param to documenatation * spacing * fix failing test cases; handle full truncation case * make code consistent; add code comments to describe it's purpose * review feedback; point to additional options in the error message * PR Review: Fix absolute path check; fix config file override * review feedback; move new parameter in alphabetical order in docs * keep documentation consistent * remove configuration paramset from scubacached * code comments for the new edge case * Remove OBE unit test * Remove duplicate word * fix typos, wording and formatting in config * Refactor truncation logic into own function * rm duplicate text from PowerShell as well * captialize * remove long path check let the set-content naturally error out * add long path error check within the catch block * remove todo * Add UUID to mock data for cached tests * Fix unit tests * Remove commented out validation code. Co-authored-by: mitchelbaker-cisa <149098823+mitchelbaker-cisa@users.noreply.github.com> * add validation set to check invalid config file parameter * Remove stacktrace --------- Co-authored-by: buidav <105074908+buidav@users.noreply.github.com> Co-authored-by: mitchelbaker-cisa <149098823+mitchelbaker-cisa@users.noreply.github.com>
- Loading branch information