inspec icon indicating copy to clipboard operation
inspec copied to clipboard

Update to auditd resource to check and warn of unloaded rules

Open aaronlippold opened this issue 1 year ago • 3 comments

  • This also helps clarify FT errors when looking for rules that have been written to disk but not loaded into memory

The challenge was that the FT errors being reported were not really clear to the end user that it couldn't find the 'rule' or 'file path of the watch file' that the resource was asking for. This usually happens when a user changes the rule but does not reload them on the sytem or restart the auditd system.

This doesn't fix the issues with FT communicating better when it can't find what its looking for ( this should be another PR) but does at least make sure the user isn't in the ' I forgot to reload case' which is pretty common.

aaronlippold avatar Nov 29 '23 19:11 aaronlippold

Deploy Preview for chef-inspec canceled.

Name Link
Latest commit d41b57134b0302cb4dab3bbf1059c886e1e02de6
Latest deploy log https://app.netlify.com/sites/chef-inspec/deploys/656797224e49bb00086e2e53

netlify[bot] avatar Nov 29 '23 19:11 netlify[bot]

Hello aaronlippold! Thanks for the pull request!

Here is what will happen next:

  1. Your PR will be reviewed by the maintainers.
  2. Possible Outcomes a. If everything looks good, one of them will approve it, and your PR will be merged. b. The maintainer may request follow-on work (e.g. code fix, linting, etc). We would encourage you to address this work in 2-3 business days to keep the conversation going and to get your contribution in sooner. c. Cases exist where a PR is neither aligned to Chef InSpec's product roadmap, or something the team can own or maintain long-term. In these cases, the maintainer will provide justification and close out the PR.

Thank you for contributing!

chef-expeditor[bot] avatar Nov 29 '23 19:11 chef-expeditor[bot]

Feel free edit, add or modify this as you see fit.

aaronlippold avatar Nov 29 '23 20:11 aaronlippold