Skip to content

Add safeguard tests to ensure IRS events are not stored in plaintext#6887

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/safeguard-tests-for-attempts-events-storage
Aug 31, 2022
Merged

Add safeguard tests to ensure IRS events are not stored in plaintext#6887
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/safeguard-tests-for-attempts-events-storage

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke commented Aug 31, 2022

This adds a small additional layer to safeguard against future changes to the API to alert us if we are ever storing events in plaintext in Redis. It also changes some of the event metadata in tests to be PII to be slightly more precise about the type of data stored. Using PII also helps in the controller specs since the session class will automatically fail if it detects plaintext PII

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM great idea!

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/safeguard-tests-for-attempts-events-storage branch from 06b47b6 to 9c15c0e Compare August 31, 2022 20:55
@mitchellhenke mitchellhenke merged commit bd8ed0b into main Aug 31, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/safeguard-tests-for-attempts-events-storage branch August 31, 2022 21:24
@zachmargolis zachmargolis mentioned this pull request Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants