Hi M V,
Based on this it seems like the SCA check is working.
2025/02/12 22:33:14 sca: INFO: Module started.
2025/02/12 22:33:14 wazuh-modulesd:control: INFO: Starting control thread.
2025/02/12 22:33:14 sca: INFO: Loaded policy '/var/ossec/ruleset/sca/sca_unix_audit.yml'
2025/02/12 22:33:14 sca: INFO: Loaded policy '/var/ossec/etc/shared/cis_freebsd14.yml'
2025/02/12 22:33:14 sca: INFO: Loaded policy '/var/ossec/etc/shared/sca_unix_audit.yml'
2025/02/12 22:33:14 sca: INFO: Starting Security Configuration Assessment scan.
2025/02/12 22:33:14 sca: INFO: Starting evaluation of policy: '/var/ossec/ruleset/sca/sca_unix_audit.yml'It can be due to the policy script is not correct
You can configure a SCA policy like this and check if this works for you.
https://documentation.wazuh.com/current/user-manual/capabilities/sec-config-assessment/use-cases.html#use-cases
Next, you can follow this document to review your SCA policies.
https://documentation.wazuh.com/current/user-manual/capabilities/sec-config-assessment/creating-custom-policies.html
Wazuh agent is not officially supported on Freebsd. You can check the current supported packages in this link:
https://documentation.wazuh.com/current/installation-guide/packages-list.html
So you need to make the adjustment to make it work on Freebsd
Let me know if you need any further information.
On Feb 17, 2025, at 10:28 PM, 'Md. Nazmur Sakib' via Wazuh | Mailing List <wa...@googlegroups.com> wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/6Hr_5dDRyok/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/ad780571-b946-468e-a731-f6b59b1de484n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/692B2503-F4F1-4225-AD71-C79050049C3F%40gmail.com.
uname -a
FreeBSD MorikCage.esco.ghaar 14.1-RELEASE-p7 FreeBSD 14.1-RELEASE-p7 stable/24.7-n268020-d553534fe81 SMP amd64
We do not have any SCA conditions validator at this moment like the ruleset test tool.
I will suggest making a small script file with one rule at a time and checking the rules one by one and adding them to the SCA script instead of checking all of them together.
Run the command on your endpoint check the output and validate it with your rule, this way you can write the rule correctly.
Let me know the update on the issue.