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

Add ability to audit a profile control's tags #2

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

Add ability to audit a profile control's tags #2

jrperron88-zz opened this issue Jan 14, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jrperron88-zz
Copy link
Contributor

jrperron88-zz commented Jan 14, 2021

Add a new profile CLI command to be able to audit the control's tags against the benchmark.

Similar flow to update, except we want to compare the profile's list of tags against the benchmark tags.

We will use this command to verify that all the tags we are getting in the benchmark is present in the controls, as well as any extra tags that have either been depricated or custom added.

ex.

inspec_delta profile audit --profile_path --stig_file_path <stig.xml> --missing --removed

--missing would find all the tags that are not present in a control that are present in the benchmark

--removed would find all the tags that are present in a control but are not in the benchmark.

Output to console until Logging is implemented

@jrperron88-zz jrperron88-zz added enhancement New feature or request good first issue Good for newcomers labels 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant