Add protection around control characters such as null unicode \u0000by base64 encoding any properties we encounter.
Motivation and Context
Running the collection with --collectallproperties brings in properties with binary control characters that cause issues downstream during ingestion into db's.
How Has This Been Tested?
Added unit tests
Tested on AD lab
Types of changes
[ ] Chore (a change that does not modify the application functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] Documentation updates are needed, and have been made accordingly.
[x] I have added and/or updated tests to cover my changes.
Description
Closes BED-4487
Add protection around control characters such as null unicode
\u0000
by base64 encoding any properties we encounter.Motivation and Context
Running the collection with
--collectallproperties
brings in properties with binary control characters that cause issues downstream during ingestion into db's.How Has This Been Tested?
Added unit tests Tested on AD lab
Types of changes
Checklist: