Skip to content
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

Add conf file checks to kernel module controls #40

Closed
wdower opened this issue May 7, 2024 · 1 comment
Closed

Add conf file checks to kernel module controls #40

wdower opened this issue May 7, 2024 · 1 comment
Assignees

Comments

@wdower
Copy link
Contributor

wdower commented May 7, 2024

Right now the InSpec kernel module resource gives info on the actively loaded kernel modules but nothing on the contents of the conf files in /etc/modprobe.conf and /etc/modprobe.d/*. The profile needs an explicit check for those.

@kemley76
Copy link
Contributor

kemley76 commented Aug 8, 2024

It appears that the InSpec kernel module resource uses the modprobe command by running modprobe --showconfig to get the contents of the configuration files. See resource code here. This issue can probably be safely closed.

@kemley76 kemley76 closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants