Closed mauromalara closed 2 years ago
Package S3 path | Package reference |
---|---|
warehouse-pullrequests > 4.3 > macos | 0.commit52994d4 |
FAIL
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:PASSED
) :red_circle:FAILED
) :red_circle:PASSED
) :yellow_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :red_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :red_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:PASSED
) :green_circle:FAILED
) :green_circle:FAILED
) :green_circle:Initially, the result was Failed
(as you can see in this comment), but after connecting the agent with another manager the result was Not Applicable
. So, I have attached the SCA output in debug mode: sca_output.txt
The first result was:
{"type":"check","id":333955627,"policy":"CIS Apple macOS 12.0 Monterey Benchmark","policy_id":"cis_apple_macos_12.x","check":{"id":29000,"title":"Ensure All Apple-provided Software Is Current.","description":"Software vendors release security patches and software updates for their products when security vulnerabilities are discovered. There is no simple way to complete this action without a network connection to an Apple software repository. Please ensure appropriate access for this control. This check is only for what Apple provides through software update.","rationale":"It is important that these updates be applied in a timely manner to prevent unauthorized persons from exploiting the identified vulnerabilities.","remediation":"1. In Terminal, run the following command to verify what packages need to be installed: sudo softwareupdate -l. 2.1. In Terminal, run the following command to install all the packages that need to be updated: sudo software -i -a -R. 2.2. In Terminal, run the following for any packages that show up in step 1: sudo softwareupdate -i packagename'","compliance":{"cis":"1.1","cis_level":"1"},"rules":["c:softwareupdate -l -> r:No new software available"],"condition":"all","command":"softwareupdate -l","result":"failed"}}
All changes were reviewed with @72nomada.
Description
macOS 12.0 Monterey SCA policies have been updated https://github.com/wazuh/wazuh/issues/12883. On this account, It is necessary to ensure that these policies fit with the CIS Apple macOS 12.0 Monterey Benchmark v1.0.0. Also, manual testing for the used SCA rules is required, ensuring the proposed rules work as expected.
Tests
For each check in the SCA policy checks:
yml
file.The installers must also be tested:
Checks
Checks design
Any failing test must be properly addressed with a new issue, detailing the error and the possible cause.
An extended report of the test results can be attached as a ZIP or TXT file. Please attach any documents, screenshots, or tables to the issue update with the results. This report can be used by the auditors to dig deeper into any possible failures and details.
Checks lists
Conclusions
WIP