Fix --reparse
option in AWS' VPCFlow and Config modules
#11608
Merged
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.
Description
In this PR we fix the use of the
--reparse
parameter of the AWS integrationConfig
andVPCFlow
modules.Tests performed
Test reparse in VPCFlow
First we execute the module using
2021-Dec-09
asonly_logs_after
to populate the database.Command output
Then we execute the same command using the
--reparse
parameter to check that the fix is working as it should.Command output
Lastly, we will execute the module using the
--reparse
option and without specifying anonly_logs_after
parameter. It should only fetch the logs of the date of execution.Command output
Conclusions
The
--reparse
option is working correctly.Test reparse in Config
First we execute the module using
2021-Dec-09
asonly_logs_after
to populate the database.Command output
Then we execute the same command using the
--reparse
parameter to check that the fix is working as it should.Command output
Lastly, we will execute the module using the
--reparse
option and without specifying anonly_logs_after
parameter. It should only fetch the logs of the date of execution.Command output
Conclusions
The
--reparse
option is working correctly.