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

Pam 5.3.4 regexupdate #20

Merged
merged 30 commits into from
May 30, 2018
Merged

Pam 5.3.4 regexupdate #20

merged 30 commits into from
May 30, 2018

Conversation

michael-c-hoffman
Copy link
Owner

No description provided.

Tom Miller and others added 30 commits April 11, 2018 06:22
Allowed MACs should allow for greater security
Update password quality checks for pam.
Update umask checks for Centos7 and Amazon Linux.
Adjust modprobe check to remove false positives.
@michael-c-hoffman michael-c-hoffman merged commit b77bf10 into newmaster May 30, 2018
@michael-c-hoffman michael-c-hoffman deleted the pam_5.3.4_regexupdate branch May 30, 2018 12:36
michael-c-hoffman pushed a commit that referenced this pull request May 30, 2018
* changed command for redhat family to modprobe to properly evaluate test

* added trimming to begin/end of output from modprobe for redhat

* removed modinfo trim

* command utilize modprobe for all linux systems

* 5.2.11 and 5.2.12 should be combined. 5.2.12 is ssh idle timeout not MAC changed numbering to match cis document

* fixed 5.2.11 ciphers are technically no longer part of cis benchmark

* fix undefined user

* updated user to users to match inspec doc

* updated regex to detect proper string

* control

* Undefinedmethod (#14)

* fix undefined user

* updated user to users to match inspec doc

* On both Centos7 and latest Amazon Linux ansible auto creates cron entries at /var/spool/cron/root.

* Add a non-change to kick off CI again.

* Centos7 uses grub2 by default, add checks for proper file.

* Update chrony.conf file check for Centos7 standard location.

* Amazon linux has ntp user start the daemon without adding it to sysconfig.

* Fixing the regex check.

* Fixing syntax error for the array declaration.

* updated regex to detect proper string (#15)

* Add tcp_wrappers package for both Centos7 and Amazon Linux.

* Centos7 uses grub2 instead of grub.

* Fix auditd checks for Centos7.

* Fixing grub.conf to grub.cfg for grub2.

* Should check one of cron or crond not both.

* pin inspec (#23)

* Each MAC entry should be an element in the list.

* Check if each MAC is approved instead of specific sets of MACs.

* Trying to get syntax right to iterate over array.

* Ensuring the MACs list is proper.

* Fixing linting error.

* Fix checking of password quality items.

* Trying to get the check right.

* Try using whether a package is installed as the identifier.

* pwquality requires a different package on amazon and centos7.

* Adding a whole section for cracklib checks also.

* Missing an end to a describe.

* Working on regex check for password quality.

* Got the regex right.

* More work on the password options regex.

* Fixed regex for cracklib adding back in if statement for package.

* Fix linting issues, added an inline ignore to large block length for this control.

* fixed differences in rhel and rhel6/7 for kernel module tests

* fixed family

* updated vfat for redhat family

* added comments

* Add just a bashrc file for Centos7 and check for file existence before checking for values in it.

* Fix file existence syntax.

* Wrap block in if statement.

* Fix style issues for rubocop.

* Remove ruby-version from commit.

* Remove Gemfile.lock.

* Adjust modprobe check to remove false positives.

* Passwordauth (#19)

* updated regex

* updated pamd regex

* Pam 5.3.4 regexupdate (#20)

* Each MAC entry should be an element in the list.

* Check if each MAC is approved instead of specific sets of MACs.

* Trying to get syntax right to iterate over array.

* Ensuring the MACs list is proper.

* Fixing linting error.

* Fix checking of password quality items.

* Trying to get the check right.

* Try using whether a package is installed as the identifier.

* pwquality requires a different package on amazon and centos7.

* Adding a whole section for cracklib checks also.

* Missing an end to a describe.

* Working on regex check for password quality.

* Got the regex right.

* More work on the password options regex.

* Fixed regex for cracklib adding back in if statement for package.

* Fix linting issues, added an inline ignore to large block length for this control.

* Add just a bashrc file for Centos7 and check for file existence before checking for values in it.

* Fix file existence syntax.

* Wrap block in if statement.

* Fix style issues for rubocop.

* Remove ruby-version from commit.

* Remove Gemfile.lock.

* Adjust modprobe check to remove false positives.

* updated 5.3.4 regex to account for sha512 not being first option

* updated amazon is grouped with redhat family which it shouldn't be

* updated amazon is grouped with redhat family which it shouldn't be (#21)

* updated amazon is grouped with redhat family which it shouldn't be

* Amazon kernelmodules (#22)

* updated amazon is grouped with redhat family which it shouldn't be

* updated amazon is grouped with redhat family which it shouldn't be

* updated amazon is grouped with redhat family which it shouldn't be

* Amazon kernelmodules (#23)

* updated amazon is grouped with redhat family which it shouldn't be

* updated amazon is grouped with redhat family which it shouldn't be

* updated amazon is grouped with redhat family which it shouldn't be

* updated kernel module since library now only uses last line of modinfo
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

Successfully merging this pull request may close these issues.

2 participants