-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
add new setting controlling PII filtering for CNIL #23869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this locally by:
- Disabling CNIL mode.
- Tracking a visit with PII as query param
- Observe it in the visitors log.
- Enable CNIL mode.
- Tracking a visit with PII as query param.
- Disable CNIL mode (so I can see the visitor log).
- Observe the PII isn't in there.
There will probably be product feedback around how this is implemented but this is a step in the right direction.
| /** | ||
| * @dataProvider getExclusionTypesWithPolicyStatuses | ||
| */ | ||
| public function testGetExclusionTypeForQueryParamsReturnsCorrectTypeWithCnilPolicy(bool $featureFlagEnabled, string $policy, bool $policyEnabled, string $exclusionTypeToSet, string $expectedExclusionType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public function testGetExclusionTypeForQueryParamsReturnsCorrectTypeWithCnilPolicy(bool $featureFlagEnabled, string $policy, bool $policyEnabled, string $exclusionTypeToSet, string $expectedExclusionType) | |
| public function testGetExclusionTypeForQueryParamsReturnsCorrectTypeWithCnilPolicy(bool $featureFlagEnabled, string $policy, bool $policyEnabled, string $exclusionTypeToSet, string $expectedExclusionType): void |
| $config->FeatureFlags = [$featureFlagConfig => 'disabled']; | ||
| } | ||
|
|
||
| public function getExclusionTypesWithPolicyStatuses() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public function getExclusionTypesWithPolicyStatuses() | |
| public function getExclusionTypesWithPolicyStatuses(): \Generator |
Description
Adds a new policy setting to the CNIL dashboard that ensures PII is correctly filtered from incoming tracking requests. Currently an instance/site is considered compliant if the existing global website setting is set to 'Matomo recommended PII'. The ability to replicate this setting value of 'Matomo recommended PII' with the 'custom' option has been deemed out of scope.
Checklist
Review