Skip to content
/ SCA Public

SCA Script & SCA yml CIS Ubuntu 24.04 (in work)

License

Notifications You must be signed in to change notification settings

MVladislav/SCA

Repository files navigation

SCA Tooling

  MVladislav


Test Script to run Wazuh-SCA-YAML files

Dependencies install for wazuh-regex and yq+jq:

$wget https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-manager/wazuh-manager_4.9.1-1_amd64.deb
$mkdir wazuh-manager && dpkg-deb -R wazuh-manager_4.9.1-1_amd64.deb wazuh-manager
$cp ./wazuh-manager/var/ossec/bin/wazuh-regex .
$mkdir wazuh-lib && cp -r ./wazuh-manager/var/ossec/lib/* ./wazuh-lib
$rm wazuh-manager* -rf
$chmod u+x wazuh-regex

$apt install yq jq

Examples how to run the script:

# Run all sca rules with file './cis_ubuntu24-04.yml'
$bash ./sca.sh -pdc

# Get help info
$bash ./sca.sh -h

# Run sca rule by ID from file './cis_ubuntu24-04.yml'
$bash ./sca.sh -soc -pdc -i <ID>

Download other SCA-YAML files

$wget -O ./cis_ubuntu22-04.yml \
https://raw.githubusercontent.com/wazuh/wazuh/refs/heads/master/ruleset/sca/ubuntu/cis_ubuntu22-04.yml

SCA :: in work :: CIS Ubuntu 24.04

  • Section1 (66) (63) (-3)
  • Section2 (43) (42) (-1)
  • Section3 (18) (17) (-1)
  • Section4 (29) (23) (-6)
  • Section5 (71) (68) (-3)
  • Section6 (62) (53) (-9)
  • Section7 (23) (18) (-5)

License

MIT

References

About

SCA Script & SCA yml CIS Ubuntu 24.04 (in work)

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published