-
Notifications
You must be signed in to change notification settings - Fork 379
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
Introduce ability to generate kickstarts #2136
Merged
Merged
Changes from 20 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
b47e1c4
Introduce new fix type kickstart
jan-cerny 9d37973
Add a generic header for Kickstarts
jan-cerny e9e0067
Add a simple data stream with a Kickstart remediation
jan-cerny 3a0601b
Use a special function to generate kickstarts
jan-cerny c8b2418
Generate post section with oscap running
jan-cerny e114913
Add a method to triage different kickstart fixes
jan-cerny aa92f56
Add multiple rules to the example data stream
jan-cerny 87cd691
Triage lines to Kickstart sections
jan-cerny c62a905
Add a simple test for Kickstart fix
jan-cerny da9a41e
Disable result oriented fixes for the kickstart fix type
jan-cerny e366cbc
Document generating kickstarts in user manual
jan-cerny 7907dd8
Add a common kickstart header
jan-cerny 0d223e7
Make sure openscap and scap-security-guide are installed
jan-cerny eaf2cac
Add a comment
jan-cerny bf6f111
Show a correct input file name
jan-cerny e31d82f
Extract function _generate_kickstart_services
jan-cerny 90a90bf
Extract function _generate_kickstart_packages
jan-cerny 95c8728
Extract function _generate_kickstart_post
jan-cerny ab946f6
Improve the file name of oscap command
jan-cerny b212b7c
Add ability to define logical partitions
jan-cerny a39161c
Improve hardcoded items
jan-cerny 3ca05fe
Improve and reduce the hardcoded text
jan-cerny bf2cfd9
Improve the logvol command format and parsing
jan-cerny 796cf32
Extend test test_remediation_kickstart.sh
jan-cerny ea73415
Add boot loader options
jan-cerny ec8da8d
Change partitioning defaults
jan-cerny 3730e55
Update expected line in the unit test
jan-cerny 77ee27b
Handle more unexpected situations
jan-cerny 954cdf0
Extend tests to cover error situations
jan-cerny f7d0e4a
Replace custom fiction by oscap_strrm
jan-cerny 96abfeb
Generate results and reports from the remediation in post phase
jan-cerny 5e7a16f
Introduce function xccdf_session_get_user_tailoring_file
jan-cerny d1203d5
Introduce function oscap_source_to_fd
jan-cerny e8513a5
Introduce function oscap_xml_save_fd
jan-cerny 8d0e338
Support using tailoring to generate kickstarts
jan-cerny fb3fb8a
Add a simple test generating kickstart with tailoring
jan-cerny f39cff4
Add a reboot command
jan-cerny 48b1043
Do not create /root/openscap_data directory
jan-cerny fe831b8
Fail if remediation fails
jan-cerny f4a35f7
Add default values for fully automated installation
jan-cerny 563cf6b
Add a default partition layout
jan-cerny 3c2e679
Add an empty line to the user manual
jan-cerny 509460b
Use autopart in the default partition option
jan-cerny 0e8a0f5
Add exit 1
jan-cerny fd16278
Improve the bootloader command
jan-cerny 24ade05
Introduce function oscap_concat
jan-cerny fcf313a
Add ability to specify post sections
jan-cerny f37d15f
Add support for %pre section
jan-cerny b90aa34
Fail if there is an unfinished section in the remediation
jan-cerny b6970de
Improve User manual
jan-cerny 5cd77b3
Solve situation when --profile isn't provided
jan-cerny 1765199
Add ability to disable kdump
jan-cerny 523f842
Fix rule title
jan-cerny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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 think this needs to be split into specific fields for a better defined experience.