Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Added UserInfo Filter Logging Function #661

Merged
48 commits merged into from
Mar 15, 2021

Conversation

nharper285
Copy link
Contributor

@nharper285 nharper285 commented Mar 10, 2021

Summary of the Pull Request

What is this about?
Due to our GDPR privacy requirements, we decided that it would be best to completely purge personal identifiable information from our AppInsights telemetry and logging. Instead of just removing all of the logging statements with personal info, I created a filter function that logs telemetry after it's been run through a recursive scrubbing function. This PR includes this new scrubbing function.

PR Checklist

  • Applies to work item: Create Function for Filtering/Scrubbing UserInfo Before Logging #660
  • CLA signed. If not, go over here and sign the CLI.
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request

What does this include?
Includes changes to events.py in onefuzzlib. I've implemented functionality - log_event() - to recursively check Event structures for UserInfo before logging to AppInsights.

Validation Steps Performed

I run local tests using a script I created with test events.

How does someone test & validate?
I can provide local testing script. If that is insufficient, I can write a unit test that will run against this code.

nharper285 and others added 23 commits November 23, 2020 11:26
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
…t irrespective of timestamp."

This reverts commit cbf9dd3.

Need to create a new PR
@bmc-msft
Copy link
Contributor

integration tests running

@nharper285
Copy link
Contributor Author

@bmc-msft, I got an email that this had been merged, but I'm seeing that merged was blocked above. What is the status of this PR?

@ghost
Copy link

ghost commented Mar 15, 2021

Hello @bmc-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 7ebdeac into microsoft:main Mar 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants