feat: Enhance HCP compliance assessment experience (RFE-9086)#1299
feat: Enhance HCP compliance assessment experience (RFE-9086)#1299amogh27-web wants to merge 1 commit into
Conversation
This commit improves the compliance assessment experience for Hosted
Control Planes (HCP/HyperShift) environments by introducing:
1. HCP-aware platform utilities:
- New HCPInfo struct for comprehensive HCP environment information
- IsHyperShiftPlatform() helper function
- GetHCPInfo() for detailed HCP context
- GetHCPComplianceNote() for user guidance
2. HCP compliance note annotation:
- Automatically adds 'compliance.openshift.io/hcp-note' annotation
when running in HCP environment
- Provides guidance on control plane compliance setup
3. Pre-built HCP TailoredProfile templates:
- CIS benchmark profile for HCP control plane
- PCI-DSS benchmark profile for HCP control plane
- Ready-to-use ScanSettingBinding example
4. Enhanced documentation:
- HCP compliance overview section
- Architecture explanation table
- References to sample configurations
5. Enhancement proposal document:
- Detailed design for HCP compliance improvements
- User stories and acceptance criteria
- Implementation notes
Fixes: RFE-9086
Signed-off-by: Amogh Shimpi <ashimpi@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amogh27-web The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @amogh27-web. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Summary
This PR improves the compliance assessment experience for Hosted Control Planes (HCP/HyperShift) environments by introducing:
HCP-aware platform utilities:
HCPInfostruct for comprehensive HCP environment informationIsHyperShiftPlatform()helper functionGetHCPInfo()for detailed HCP contextGetHCPComplianceNote()for user guidanceHCP compliance note annotation:
compliance.openshift.io/hcp-noteannotation when running in HCP environmentPre-built HCP TailoredProfile templates:
Enhanced documentation:
Enhancement proposal document:
Test plan
Related
Made with Cursor