Skip to content

Drop state_id from session SENSITIVE_REGEX#6354

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/drop-state-id-number-from-sensitive
May 16, 2022
Merged

Drop state_id from session SENSITIVE_REGEX#6354
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/drop-state-id-number-from-sensitive

Conversation

@mitchellhenke
Copy link
Contributor

Follow up to #6315. This PR drops :state_id_number, which is 1111111111111 because it generated a false positive match.

@aduth
Copy link
Contributor

aduth commented May 16, 2022

Alternatively, could we change the mock value to something more unique?

@mitchellhenke
Copy link
Contributor Author

mitchellhenke commented May 16, 2022

Alternatively, could we change the mock value to something more unique?

We could, yeah. I am a bit skeptical of the value of the approach where we check against mock values since the session ends up holding a lot of different things from different sources. The odds of a false positive aren't as low as I'd like.

@mitchellhenke mitchellhenke merged commit d7506c6 into main May 16, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/drop-state-id-number-from-sensitive branch May 16, 2022 17:30
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