Repository navigation
Conversation
§15 described `pci` as cardholder-data floors only. The generator's ProtectionProfileFloorValidationRule (FE-G11) has floored `pii` under `pci` since the rule landed in generator 0.6.0: a `pii` property must be `atRest: encrypted`, or `hashed` with a rationale, and `atRest: none` with a rationale is no longer enough. The floor is deliberate - personal data in a PCI-scoped project is held alongside cardholder data. Because `encryption.profiles` is one list for the whole project, declaring `pci` applies that floor to every `pii` property in every service, including services that hold no card data. The §15 profile table, a new "Profiles are project-wide" paragraph and the §2 field table now say so. Documentation of existing generator behaviour; no contract change, so no kit bump. Refs clabonte/generator#3404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
§15 of
handbooks/Project_File.mddescribed thepciprofile as cardholder-data floors only and never mentionedpii. The generator has flooredpiiunderpcisinceProtectionProfileFloorValidationRulelanded in generator0.6.0(FE-G11), so authors reading §15 took the resultingPROTECTION_PCI_FLOORfindings for a bug. Reported in clabonte/generator#3404; the generator's behaviour stays as it is, and this PR documents it.Changes
pcirow: apiiproperty must beatRest: encrypted, orhashedwith a rationale. A rationale does not makeatRest: noneacceptable forpiiunderpci, though it does underlaw25. The row also gives the reason: personal data in a PCI-scoped project is held alongside cardholder data.encryption.profilesis one list for the whole project. Declaringpcitherefore puts thepiifloor on everypiiproperty in every service, including a service that holds no card data. A profile cannot be scoped to part of a project. The paragraph also says how to find the affected properties before declaringpci.encryption.profiles[]row: says the same in one line and points to §15.No kit bump and no
compatibility.mdrow. This documents behaviour the pinned generator (0.25.0) already has, so no generator-contract rule changes. The generator-side PR, clabonte/generator#3512, makes the finding's message explain the same points.🤖 Generated with Claude Code