chore: update

This commit is contained in:
Xor290
2026-08-08 12:04:57 +02:00
parent 56aef1fa9b
commit 8e36acd812
76 changed files with 12710 additions and 29 deletions
+27
View File
@@ -0,0 +1,27 @@
---
# Remplace la policy SCA locale "cis_ubuntu24-04" livree avec l'agent Wazuh par une
# version allegee (checks non applicables a notre infra retires : partitions separees,
# GDM/X11, wifi/bluetooth, ufw, nftables). Le fichier pousse via /var/ossec/etc/shared/
# n'est PAS utilise par le module SCA quand un fichier local du meme policy id existe deja
# (seul le premier charge, /var/ossec/ruleset/sca/, est evalue) — d'ou le remplacement direct.
- name: Policy SCA Wazuh allegee (CIS Ubuntu 24.04)
hosts: prod,pre-prod,replica-prod,infra,infra-runner,infra-utils,ota-uber,load-balancer,!backup-mln
become: true
gather_facts: false
tasks:
- name: Déployer la policy SCA allégée
ansible.builtin.copy:
src: ../files/wazuh-sca/cis_ubuntu24-04.yml
dest: /var/ossec/ruleset/sca/cis_ubuntu24-04.yml
owner: root
group: wazuh
mode: "0640"
notify: restart wazuh-agent
handlers:
- name: restart wazuh-agent
ansible.builtin.systemd:
name: wazuh-agent
state: restarted