Merged
Conversation
vaishakdinesh
previously approved these changes
Nov 7, 2025
SirCortly
previously approved these changes
Nov 12, 2025
This is a stale review, and substantial changes have been added since regarding:
- explicitly setting v4 defaults in the v5 config and state
- removing any
kindset to "instant-logs" as the v5 default will set it to ""
Collaborator
|
Could you rebase + improve the comprehensiveness of the integration testdata using prompt:subtask_08? |
9c1a2db to
893a7a8
Compare
SirCortly
previously approved these changes
Nov 24, 2025
52ac48f to
debc9a0
Compare
Collaborator
Author
|
Note: the integration/e2e tests that tested instant-logs being removed from the config/state were removed after testing. A change was made in the |
6850f3c to
f228a54
Compare
…tested in int tests
42a7e07 to
78ffdc3
Compare
Some changes have been made to tests since last review
rotem-cloud
approved these changes
Nov 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cve20214428tocve_2021_44228kindof "instant-logs" is no longer supported. It now transforms into ""max_upload_bytes,max_upload_records, andmax_upload_interval_secondsall convert from an int to Float64output_optionsfrom block to attributezero_trust_device_posture_ruleto a helper for use across various resources.Assertions Made
The following assertions were made within this implementation:
max_upload_bytes,max_upload_records, andmax_upload_interval_secondshad default values of 0 in v4. This is not a valid value for any of these fields, so the tool will delete these fields to null them out to match v5 state.output_optionsin v4 are retained as the tool migrates to v5. They will now be explicitly set in customer's config and state after migration.End to End Tests
The output of the end to end tests are seen below. There are two drifts, which are expected, as they are a result of kind allowing less values in v5 than in v4 for instant-logs.