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

4.0 SCA new checks and policies #776

Merged
merged 209 commits into from Nov 23, 2020
Merged

4.0 SCA new checks and policies #776

merged 209 commits into from Nov 23, 2020

Conversation

jctello
Copy link
Contributor

@jctello jctello commented Nov 10, 2020

This PR greatly enhances the amount of SCA checks for various applications and operating systems and assigns new unique IDs to each check.

Added the following policies entirely:

  • MS SQL Server (version 2012, 2014, 2017 & 2019): 23 new checks
  • centOS (6, 7, 8): ported from original RHEL checks, added more than 120 new checks to each
  • Windows (2016 and 1029) more than 250 checks each
  • RHEL 8: 187 new checks
  • Debian 10: 192 new checks

Added checks to the following policies:

  • Debian (7,8,9): Merged L1 & L2 and added 30-50 checks each.
  • RHEL (6,7): more than 120 new checks each
  • Windows (10, 2012): Merged L1 & L2 and added 3 and 38 checks respectively.

This PR also fixes typos both in the description and in the policies themselves that would break previously existing policies.
Each one of these files has been individually tested to work as expected on their relevant environment with the latest Wazuh agent.

sca/centos/6/cis_centos6_linux.yml Show resolved Hide resolved
condition: all
rules:
- 'c:mount -> r:\s/var/tmp\s && r:noexec'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The space between the checks is different in many points, it would be good to define the same space in all policies

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working on a script to easily fix this on all the policy files.

sca/rhel/7/cis_rhel7_linux.yml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operations SCA SCA policies related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants