docs: rewrite security-monitoring.md with real evidence and diagrams
Live-verified against the real Wazuh manager (agent_control -l: 11 active agents matching exactly; docker ps: real manager container name) and stamped both source KB notes. Replaced both mermaid flowcharts with real branch-shaped Nextcloud diagrams (alert-handling gate, compliance-hardening gate). Added real evidence throughout: the live agent roster, a real synthetic SSH-failure line piped through wazuh-logtest showing actual decoding/rule-match output (MITRE ATT&CK + compliance tags included), and real rule IDs in the runbook table instead of vague categories. New content: the fleet-wide agent log-queue-overflow bug found and fixed via a dedicated tuning role, and the compose-stack-vs-rules version-control split.
This commit is contained in:
3 files changed
+71
-40
No files matched your search
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Do not edit this file with editors other than draw.io -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="947px" height="612px" viewBox="0 0 947 612" content="<mxfile host="embed.diagrams.net" scale="1" border="0"> <diagram name="Alert Handling Flow" id="alert-flow-1"> <mxGraphModel dx="1414" dy="791" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1000" pageHeight="640" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="host" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F5F5F5;strokeColor=#666666;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Fleet Host&lt;br&gt;&lt;font style=&quot;font-size: 11px;&quot;&gt;Wazuh agent installed&lt;/font&gt;" vertex="1"> <mxGeometry height="70" width="200" x="400" y="20" as="geometry" /> </mxCell> <mxCell id="checks" parent="1" style="rounded=1;whiteSpace=wrap;html=1;startSize=26;swimlane;fillColor=none;strokeColor=#666666;dashed=1;fontSize=12;fontStyle=1;fontColor=#333333;align=center;" value="DETECTION LAYERS" vertex="1"> <mxGeometry height="110" width="620" x="190" y="130" as="geometry" /> </mxCell> <mxCell id="sca" parent="checks" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=12;fontStyle=1;shadow=1;" value="SCA compliance scoring&lt;br&gt;&lt;font style=&quot;font-size: 10px;&quot;&gt;12h benchmark scan&lt;/font&gt;" vertex="1"> <mxGeometry height="60" width="180" x="20" y="35" as="geometry" /> </mxCell> <mxCell id="fim" parent="checks" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=12;fontStyle=1;shadow=1;" value="File integrity monitoring&lt;br&gt;&lt;font style=&quot;font-size: 10px;&quot;&gt;12h scan cycle&lt;/font&gt;" vertex="1"> <mxGeometry height="60" width="180" x="220" y="35" as="geometry" /> </mxCell> <mxCell id="rootcheck" parent="checks" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=12;fontStyle=1;shadow=1;" value="Rootkit / anomaly&lt;br&gt;&lt;font style=&quot;font-size: 10px;&quot;&gt;heuristics&lt;/font&gt;" vertex="1"> <mxGeometry height="60" width="180" x="420" y="35" as="geometry" /> </mxCell> <mxCell id="alert" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Alert fires" vertex="1"> <mxGeometry height="60" width="180" x="410" y="290" as="geometry" /> </mxCell> <mxCell id="gate" parent="1" style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#333333;fontSize=13;fontStyle=1;shadow=1;" value="Matches a known,&lt;br&gt;root-caused pattern?" vertex="1"> <mxGeometry height="120" width="220" x="390" y="390" as="geometry" /> </mxCell> <mxCell id="runbook" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#333333;fontSize=13;fontStyle=1;shadow=1;" value="Runbook entry&lt;br&gt;&lt;font style=&quot;font-size: 11px;&quot;&gt;no re-investigation&lt;/font&gt;" vertex="1"> <mxGeometry height="70" width="200" x="120" y="410" asLine truncated
|
||||
|
After Width: | Height: | Size: 336 KiB |
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Do not edit this file with editors other than draw.io -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1072px" height="477px" viewBox="0 0 1072 477" content="<mxfile host="embed.diagrams.net" scale="1" border="0"> <diagram name="Compliance Gate" id="compliance-gate-1"> <mxGraphModel dx="1414" dy="791" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1000" pageHeight="560" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="framework" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=13;fontStyle=1;shadow=1;" value="CIS-oriented hardening framework&lt;br&gt;&lt;font style=&quot;font-size: 11px;&quot;&gt;9 tagged Ansible sub-roles&lt;/font&gt;" vertex="1"> <mxGeometry height="70" width="260" x="370" y="30" as="geometry" /> </mxCell> <mxCell id="gate" parent="1" style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#333333;fontSize=13;fontStyle=1;shadow=1;" value="Applies cleanly&lt;br&gt;to this host?" vertex="1"> <mxGeometry height="120" width="220" x="390" y="150" as="geometry" /> </mxCell> <mxCell id="enforce" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#333333;fontSize=13;fontStyle=1;shadow=1;" value="Enforced fleet-wide&lt;br&gt;&lt;font style=&quot;font-size: 11px;&quot;&gt;re-applied every compliance run —&lt;br&gt;not just at creation&lt;/font&gt;" vertex="1"> <mxGeometry height="80" width="260" x="60" y="170" as="geometry" /> </mxCell> <mxCell id="skip" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;fontSize=13;fontStyle=1;shadow=1;" value="Deliberately skipped&lt;br&gt;&lt;font style=&quot;font-size: 11px;&quot;&gt;reason documented&lt;/font&gt;" vertex="1"> <mxGeometry height="70" width="240" x="710" y="175" as="geometry" /> </mxCell> <mxCell id="r1" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#392F1E);strokeColor=#d79b00;fontColor=#333333;fontSize=12;fontStyle=1;shadow=1;" value="Kernel forwarding control&lt;br&gt;&lt;font style=&quot;font-size: 10px;&quot;&gt;flipped for Docker hosts —&lt;br&gt;container networking needs it&lt;/font&gt;" vertex="1"> <mxGeometry height="80" width="260" x="580" y="330" as="geometry" /> </mxCell> <mxCell id="r2" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=light-dark(#FFFFFF,#392F1E);strokeColor=#d79b00;fontColor=#333333;fontSize=12;fontStyle=1;shadow=1;" value="SSH TCP forwarding&lt;br&gt;&lt;font style=&quot;font-size: 10px;&quot;&gt;kept permissive fleet-wide —&lt;br&gt;real remote access depends on it&lt;/font&gt;" vertex="1"> <mxGeometry height="80" width="260" x="860" y="330" as="geometry" /> </mxCell> <mxCell id="e1" edge="1" parent="1" source="framework" style="html=1;endArrow=block;strokeColor=#6c8ebf;strokeWidth=2;rounded=1;" target="gate"> <mxGeometry relative="1" as="geometry" /> </mxCell> <mxCell id="e2" edge="1" parent="1" source="gate" style="html=1;labelBackgroundColor=#1C1D1E;endArrow=block;strokeColor=#82b366;fontColor=#82b366;strokeWidth=2;rounded=1;fontSize=12;" target="enforceLine truncated
|
||||
|
After Width: | Height: | Size: 320 KiB |
Reference in new issue
Block a user