Commit Graph
13 Commits
Author SHA1 Message Date
Josh Patterson c755c8bc61 Gracefully skip SSL cert states when the CA is unavailable
The *.ssl x509.certificate_managed states hard-failed the state run when
the CA/manager minion was unreachable (ca_server did not respond), and the
paired private_key_managed states then failed on the prereq requisite. The
- timeout: 30 on these states was a no-op (Salt has no per-state timeout
requisite; only retry accepts until/attempts/interval/splay).

Add an onlyif CA-reachability gate to every certificate_managed state so the
state is skipped as a clean success when the CA does not answer a peer
test.ping within 3s and the cert already exists. When the cert is missing
(initial provisioning) the state still runs so the existing retry waits for
the CA. The reachability command is centralized as CA.reachable_cmd in
ca/map.jinja, and the master peer config now permits test.ping. The no-op
- timeout: 30 is removed from all cert states.
2026-07-16 13:46:12 -04:00
Josh Brower feabb7c51f Merge remote-tracking branch 'origin/2.4/dev' into feature/fleet-artifacts 2024-02-10 10:57:46 -05:00
m0duspwnens 5903ae596c move suricata rules to /opt/so/rules/nids/suri 2024-02-09 09:47:23 -05:00
Josh Brower 503a09f150 Merge remote-tracking branch 'origin/2.4/dev' into feature/fleet-artifacts 2024-02-08 09:45:21 -05:00
m0duspwnens f97d0f2f36 add /opt/so/rules/ to files_roots 2024-02-07 09:25:56 -05:00
Josh Brower cfc33b1a34 Sync Elastic Agent Artifacts 2024-01-28 10:12:25 -05:00
Jason Ertel 9885f418fa move Kratos DB to /nsm 2022-12-14 14:22:55 -05:00
Mike Reeves 2bd9dd80e2 Move In Day 2022-09-07 09:06:25 -04:00
m0duspwnens 7b68c1bc9b fix typo 2021-06-01 17:45:52 -04:00
m0duspwnens 867613669d changes for syncing users 2021-06-01 17:01:03 -04:00
m0duspwnens bfaffbc87e add reactor and beacon for sqlite db 2021-06-01 11:15:28 -04:00
m0duspwnens f07e583013 increase salt logging to info 2021-01-08 16:33:38 -05:00
m0duspwnens 6172268661 move salt master config file, copy salt-master service file and enable service restarts - https://github.com/Security-Onion-Solutions/securityonion/issues/1489 2020-10-09 13:27:46 -04:00