-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ScubaResults.json the default JSON output #1316
Conversation
34005dc
to
e7198dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor things:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran all of these successfully with no issue. A few small comments to add is all.
- Run Invoke-SCuBA. Observe ScubaResults.json is the default output.
- Run Invoke-SCuBA -KeepIndividualJSON. Observe ProviderSettingsExport.json is output instead of ScubaResutls.
- Run Invoke-SCuBACached. Observe ScubaResults.json is the default output.
- Run Invoke-SCuBACached -ExportProvider $false. Observe ScubaCached still performs as expected.
- Run Invoke-SCuBACached with the -KeepIndividualJSON flag. Observe performance benefit with this flag. Along with no change in behavior.
- Run functional tests for a product as see no breaking changes (ran aad functional tests successfully)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. A few final notes:
- I manually ran the nightly functional tests, they are all passing on this branch.
- The one failure from the smoke test is related to the encoding issue, fixed in Fix encoding issue by removing BOM from provider output files #1302, so not applicable here.
Co-authored-by: Alden Hilton <[email protected]>
Co-authored-by: mitchelbaker-cisa <[email protected]>
…dback Co-authored-by: mitchelbaker-cisa <[email protected]>
105294d
to
4b94871
Compare
@nanda-katikaneni this is ready to merge.
|
🗣 Description
-MergeJSON
switch to-KeepIndividualJSON
parameter.ScubaCached
backwards compatible withScubaResults.json
TODO:
💭 Motivation and context
Closes #1205
Closes #1023
🧪 Testing
Run
Invoke-SCuBA
. ObserveScubaResults.json
is the default output.Run
Invoke-SCuBA -KeepIndividualJSON
. ObserveProviderSettingsExport.json
is output instead of ScubaResutls.Run
Invoke-SCuBACached
. ObserveScubaResults.json
is the default output.Run
Invoke-SCuBACached -ExportProvider $false
. ObserveScubaCached
still performs as expected.Run
Invoke-SCuBACached
with the-KeepIndividualJSON
flag. Observe performance benefit with this flag. Along with no change in behavior.Run functional tests for a product as see no breaking changes.
For reviewers and merge coordinator Check smoke tests or other workflows to see if there are errors from the new output behavior.
✅ Pre-approval checklist
✅ Pre-merge checklist
PR passed smoke test check.
Feature branch has been rebased against changes from parent branch, as needed
Use
Rebase branch
button below or use this reference to rebase from the command line.Resolved all merge conflicts on branch
Notified merge coordinator that PR is ready for merge via comment mention
✅ Post-merge checklist