Goal:
- Hardened images in the service in 'Preview'
Acceptance Criteria:
- A user can select an OpenSCAP profile on a new step in the Wizard
- Selecting a profile should result in:
- The file system configuration step being automatically configured to match the profile requirements
- The required packages being added to automatically match the requirements and shown on the packages step
- The appropriate services should be started / stopped and this information should be displayed on the OpenSCAP step
- The appropriate kernel arguments should be added and this information should be displayed on the OpenSCAP step
- In the Review step, under the OpenSCAP section, the kernel arguments and stopped / started services should be listed. The file system configuration details and packages will appear in their usual places.
- Original wizard:
-
- When a compose request is sent to image-builder, the OpenSCAP profile, packages, file system configuration, stopped/started services, and kernel arguments should be included in the request.
- When the 'recreate image' functionality is used, the Wizard should be initialized correctly and include the correct details for the OpenSCAP profile, packages, file system configuration, stopped/started services, and kernel arguments.
- Once the above is in place, the new step should be exposed in Beta for the original Wizard using Unleash flags.
- V2 Wizard:
- Only the step and its state management needs to be in place, the logic for generating the blueprint POST request will be performed later in a follow-up task.
Links from UXD
- Google Doc with outline of features/mocks linked to use cases
- Sketch