-
Epic
-
Resolution: Done
-
Major
-
None
-
Add tailoring to OpenSCAP profiles
-
rhel-sst-image-builder
-
76
-
0% To Do, 0% In Progress, 100% Done
-
False
Goal:
- As a user, I want to be able to take an OpenSCAP profile and remove rules that don't apply to me via tailoring or over-ride other rules.
- I got to the Image Builder wizard, I go to the OpenSCAP step, and I upload a .json file with the tailoring rules or I add the rules myself using the UI.
- I save the blueprint, build the images, and the tailoring rules are applied.
Acceptance Criteria:
- User can add tailoring to image and it is applied to built image.
- This is supported in 8.10 and 9.4 builds.
Open questions:
- How does the user upload the tailoring information? We need input from UX.
-
- https://github.com/ComplianceAsCode/schemas/blob/main/tailoring/example-basic.json
- https://github.com/ComplianceAsCode/schemas/blob/main/tailoring/schema.json
- Two options:
- User uploads a .json blob themselves that they are responsible for creating/maintaining
- User is able to input rules themselves directly in UI via text inputs, etc...
- It might make sense to actually support both uploading a .json blob and displaying the information in the UI via text inputs (individual inputs per customization that are editable).