siem-logging — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited siem-logging (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Configure comprehensive security logging infrastructure using SIEM platforms (Elastic SIEM, Microsoft Sentinel, Wazuh, Splunk) to detect threats, investigate incidents, and maintain compliance audit trails. This skill covers platform selection, log aggregation architecture, detection rule development (SIGMA format and platform-specific), alert tuning, and retention policies for regulatory compliance (GDPR, HIPAA, PCI DSS, SOC 2).
Use this skill when:
Choose SIEM platform based on:
Budget Considerations:
Infrastructure Context:
Data Volume:
Team Expertise:
| Platform | Cost | Deployment | Best For |
|---|---|---|---|
| Elastic SIEM | $$$ | Cloud/Self-Hosted | Multi-cloud, customization needs, DevOps teams |
| Microsoft Sentinel | $$$ | Cloud (Azure) | Azure-heavy orgs, built-in SOAR, cloud-first |
| Wazuh | Free | Self-Hosted | Cost-conscious, SMBs, compliance requirements |
| Splunk ES | $$$$$ | Cloud/On-Prem | Large enterprises, massive scale, unlimited budget |
For detailed feature comparison, see references/platform-comparison.md.
SIGMA provides a universal detection rule format that compiles to any SIEM query language (Elastic EQL, Splunk SPL, Microsoft KQL).
SIGMA Rule Structure:
title: Multiple Failed Login Attempts from Single Source
id: 8a9e3c7f-4b2d-4e8a-9f1c-2d5e6f7a8b9c
status: stable
description: Detects potential brute force attacks (10+ failed logins in 10 minutes)
author: Security Team
date: 2025/12/03
references:
- https://attack.mitre.org/techniques/T1110/
tags:
- attack.credential_access
- attack.t1110
logsource:
category: authentication
product: linux
detection:
selection:
event.type: authentication
event.outcome: failure
timeframe: 10m
condition: selection | count() by source.ip > 10
level: highCompile SIGMA to Platform-Specific:
# Install SIGMA compiler
pip install sigma-cli
# Compile to Elastic EQL
sigmac -t es-eql sigma_rule.yml
# Compile to Splunk SPL
sigmac -t splunk sigma_rule.yml
# Compile to Microsoft KQL
sigmac -t kusto sigma_rule.ymlElastic EQL (Event Query Language):
sequence by user.name with maxspan=5m
[process where process.name == "powershell.exe" and
process.args : ("Invoke-WebRequest", "iwr", "wget")]
[process where process.parent.name == "powershell.exe"]Microsoft Sentinel KQL:
SigninLogs
| where TimeGenerated > ago(1h)
| where ResultType != 0 // Failed login
| summarize FailedAttempts=count() by UserPrincipalName, IPAddress
| where FailedAttempts >= 10Splunk SPL:
index=web_logs sourcetype=access_combined
| rex field=uri "(?<sql_keywords>union|select|insert|update|delete)"
| where isnotnull(sql_keywords)
| stats count by src_ip, uri
| where count > 5For comprehensive detection rule examples, see:
examples/sigma-rules/ - Universal SIGMA detection rulesexamples/elastic-eql/ - Elastic-specific queriesexamples/microsoft-kql/ - Microsoft Sentinel queriesexamples/splunk-spl/ - Splunk searchesreferences/detection-rules-guide.md - Complete guideSingle SIEM instance for all logs. Use when:
Architecture:
Application Servers → Log Shippers (Filebeat/Fluentd)
↓
Log Aggregator (Logstash/Fluentd)
↓
SIEM Platform (Elasticsearch/Splunk/Sentinel)
↓
Security Analysts (Dashboard/Alerts)Regional SIEM instances with global aggregation. Use when:
Architecture:
Global SIEM (Correlation, Threat Intelligence)
↓
Regional SIEM (US-East) | Regional SIEM (EU-West) | Regional SIEM (APAC)
↓ ↓ ↓
Local Logs Local Logs Local LogsLeverage managed cloud services. Use when:
AWS Example:
CloudTrail + VPC Flow Logs + GuardDuty
↓
AWS Security Lake (S3 Data Lake)
↓
OpenSearch (Analysis) | Athena (SQL Queries)For deployment examples, see:
examples/architectures/elk-stack-docker-compose.ymlexamples/architectures/fluentd-kubernetes-daemonset.yamlexamples/architectures/aws-security-lake-terraform/examples/architectures/wazuh-docker-compose.ymlreferences/cloud-native-logging.mdFluentd (Cloud-Native): CNCF project for Kubernetes and multi-cloud environments. Use for containerized applications.
Logstash (Elastic Stack): Native Elasticsearch integration. Use for advanced parsing (grok patterns) and data enrichment.
For complete configuration examples, see examples/logstash-pipelines/ and references/cloud-native-logging.md.
| Framework | Minimum Retention | Hot Storage | Warm Storage | Cold Storage |
|---|---|---|---|---|
| GDPR | 30-90 days | 7 days | 30 days | 60 days |
| HIPAA | 6 years | 30 days | 180 days | 6 years |
| PCI DSS | 1 year | 90 days | 180 days | 1 year |
| SOC 2 | 1 year | 30 days | 90 days | 1 year |
Hot Tier (SSD, Real-Time):
Warm Tier (HDD, Recent):
Cold Tier (S3/Blob, Archive):
Example Cost Optimization:
500 GB/day log volume, 1-year retention
Hot (30 days): 15 TB @ $0.10/GB = $1,500/month
Warm (60 days): 30 TB @ $0.05/GB = $1,500/month
Cold (275 days): 137.5 TB @ $0.01/GB = $1,375/month
Total: $4,375/month = $52,500/year
vs. Hot-only: $18,250/month = $219,000/year
Savings: 76% ($166,500/year)For detailed retention policies and cost optimization, see:
references/log-retention-policies.mdreferences/cost-optimization.mdscripts/cost-calculator.pyCritical Events (MUST LOG):
Severity Levels: Failed auth (3+): HIGH alert | Privilege escalation: CRITICAL alert | Data export: HIGH alert | Config change: MEDIUM (no alert)
Whitelisting (Known-Safe Patterns):
# Example: Allow scanner IPs
- rule_id: brute_force_detection
whitelist:
- source_ip: "10.0.0.100" # Security scanner
- user_agent: "Nagios" # Monitoring systemThreshold Tuning:
# Before: Too sensitive (500 alerts/day, 5% true positive rate)
- rule: failed_login_attempts
threshold: 3 attempts in 5 minutes
# After: Tuned (50 alerts/day, 40% true positive rate)
- rule: failed_login_attempts
threshold: 10 attempts in 10 minutesMulti-Event Correlation:
# Instead of: Single event alert
- alert_on: "Failed authentication"
# Use: Correlated pattern
- alert_on:
- "Failed authentication (5+ times)"
- AND "From new IP address"
- AND "Successful authentication follows"
- WITHIN: 30 minutes| Metric | Target |
|---|---|
| Total Alerts/Day | <100 |
| True Positive Rate | >30% |
| Mean Time to Investigate | <15 min |
| False Positive Rate | <50% |
| Critical Alerts/Day | <10 |
For comprehensive alert tuning strategies, see references/alert-tuning-strategies.md.
Deploy Wazuh: git clone https://github.com/wazuh/wazuh-docker.git && cd wazuh-docker/single-node && docker-compose up -d (see examples/architectures/wazuh-docker-compose.yml)
Create SIGMA Rule: See examples/sigma-rules/brute-force-detection.yml for SSH brute force detection template
Elastic Cloud: Sign up at cloud.elastic.co, create Security tier deployment, install Elastic Agent on endpoints
observability skill:
incident-management skill:
security-hardening skill:
building-ci-pipelines skill:
secret-management skill:
references/platform-comparison.md - Comprehensive SIEM platform feature comparisonreferences/detection-rules-guide.md - Detection rule formats (SIGMA, EQL, KQL, SPL)references/log-retention-policies.md - Compliance requirements and retention strategiesreferences/cloud-native-logging.md - AWS, Azure, GCP, Kubernetes logging setupreferences/alert-tuning-strategies.md - False positive reduction and alert optimizationreferences/cost-optimization.md - Storage tiering and cost managementexamples/sigma-rules/ - Universal SIGMA detection rules (10+ examples)examples/elastic-eql/ - Elastic Event Query Language queriesexamples/microsoft-kql/ - Microsoft Sentinel Kusto queriesexamples/splunk-spl/ - Splunk Search Processing Languageexamples/architectures/ - Complete deployment examples (Docker, Kubernetes, Terraform)examples/logstash-pipelines/ - Logstash pipeline configurationsscripts/sigma-to-elastic.sh - Convert SIGMA rules to Elastic EQLscripts/cost-calculator.py - Estimate SIEM costs based on volume and retention~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.