Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Add ability to refresh the controls from STIG definition #6

Open
jrperron88-zz opened this issue Jan 14, 2021 · 0 comments
Open

Add ability to refresh the controls from STIG definition #6

jrperron88-zz opened this issue Jan 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jrperron88-zz
Copy link
Contributor

This functionality would be used if the profile was customized, or became corrupted in some way, and wanted to revert back to a pristine condition from the STIG definition.

In essence, we would overwrite the controls with the stig definition.

Allow the user to specify a control if they want to only refresh one control, or refreshes the entire profile if excluded

inspec_delta profile refresh --profile_path --stig_file_path <stig.xml> (--control )

@jrperron88-zz jrperron88-zz added the enhancement New feature or request label Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant