Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

siem-logging暹罗日志记录

Agent Skill

siem-logging 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

413

周安装

34

GitHub Stars

350

下载量

280
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:siem-logging(暹罗日志记录)
来源仓库:https://github.com/ancoleman/ai-design-components
仓库路径:skills/siem-logging
安装命令:
npx skills add https://github.com/ancoleman/ai-design-components --skill siem-logging
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ancoleman/ai-design-components --skill siem-logging

简介

用于查找、检索和筛选相关信息。siem-logging 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在需要线索匹配或关键词搜索的场景使用。
  • 通过 GitHub 安装,需确认是否触发联网或文件读写。
  • 安装前建议核实权限范围和维护状态。
  • 适用于 Codex、Claude、Cursor 等研究检索类宿主环境。

SKILL.md

SIEM Logging

Purpose

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).

When to Use This Skill

Use this skill when:

  • Implementing centralized security event monitoring across infrastructure
  • Writing threat detection rules for authentication failures, privilege escalation, data exfiltration
  • Designing log aggregation for multi-cloud environments (AWS, Azure, GCP, Kubernetes)
  • Meeting compliance requirements for log retention and audit trails
  • Tuning security alerts to reduce false positives and alert fatigue
  • Calculating costs for high-volume security logging (TB/day scale)
  • Integrating security logging with incident response workflows

SIEM Platform Selection

Quick Decision Framework

Choose SIEM platform based on:

Budget Considerations:

  • Unlimited budget → Splunk Enterprise Security (enterprise features, proven scale)
  • Moderate budget ($50k-$500k/year) → Microsoft Sentinel or Elastic SIEM (cloud-native, flexible)
  • Tight budget (<$50k/year) → Wazuh (free, open-source XDR/SIEM)

Infrastructure Context:

  • Heavy Azure investment → Microsoft Sentinel (native integration, built-in SOAR)
  • Heavy AWS investment → AWS Security Lake + OpenSearch (AWS-native)
  • Multi-cloud or on-premise → Elastic SIEM or Wazuh (platform-agnostic)

Data Volume:

  • >1 TB/day → Splunk or Elastic Cloud (proven at scale)
  • 100 GB - 1 TB/day → Microsoft Sentinel or Elastic SIEM
  • <100 GB/day → Wazuh or Sentinel 50 GB tier

Team Expertise:

  • Elasticsearch experience → Elastic SIEM (familiar tooling)
  • Microsoft/Azure expertise → Microsoft Sentinel (Azure ecosystem)
  • Generalists or limited resources → Wazuh (easiest learning curve)

Platform Comparison Summary

PlatformCostDeploymentBest For
Elastic SIEM$$$Cloud/Self-HostedMulti-cloud, customization needs, DevOps teams
Microsoft Sentinel$$$Cloud (Azure)Azure-heavy orgs, built-in SOAR, cloud-first
WazuhFreeSelf-HostedCost-conscious, SMBs, compliance requirements
Splunk ES$$$$$Cloud/On-PremLarge enterprises, massive scale, unlimited budget

For detailed feature comparison, see references/platform-comparison.md.

Detection Rules

Universal Format: SIGMA Rules

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: high

Compile 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.yml

Platform-Specific Detection Formats

Elastic 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 >= 10

Splunk 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 > 5

For comprehensive detection rule examples, see:

  • examples/sigma-rules/ - Universal SIGMA detection rules
  • examples/elastic-eql/ - Elastic-specific queries
  • examples/microsoft-kql/ - Microsoft Sentinel queries
  • examples/splunk-spl/ - Splunk searches
  • references/detection-rules-guide.md - Complete guide

Log Aggregation Architecture

Centralized Architecture

Single SIEM instance for all logs. Use when:

  • Single region deployment
  • Small to medium volumes (<1 TB/day)
  • Single cloud provider or on-premise
  • Limited security team (1-10 analysts)

Architecture:

Application Servers → Log Shippers (Filebeat/Fluentd)
                   ↓
              Log Aggregator (Logstash/Fluentd)
                   ↓
          SIEM Platform (Elasticsearch/Splunk/Sentinel)
                   ↓
            Security Analysts (Dashboard/Alerts)

Distributed Architecture (Multi-Region)

Regional SIEM instances with global aggregation. Use when:

  • Multi-region global deployments
  • Data residency requirements (GDPR, sovereignty)
  • High volumes (>1 TB/day per region)
  • Low-latency requirements for regional analysis

Architecture:

Global SIEM (Correlation, Threat Intelligence)
    ↓
Regional SIEM (US-East) | Regional SIEM (EU-West) | Regional SIEM (APAC)
    ↓                        ↓                          ↓
Local Logs               Local Logs                 Local Logs

Cloud-Native Architecture

Leverage managed cloud services. Use when:

  • Cloud-first organization (AWS/Azure/GCP)
  • Want to avoid managing infrastructure
  • Elastic workloads with variable log volumes
  • Budget for cloud service costs

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.yml
  • examples/architectures/fluentd-kubernetes-daemonset.yaml
  • examples/architectures/aws-security-lake-terraform/
  • examples/architectures/wazuh-docker-compose.yml
  • references/cloud-native-logging.md

Log Aggregation Tools

Fluentd (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.

Log Retention and Compliance

Compliance Requirements

FrameworkMinimum RetentionHot StorageWarm StorageCold Storage
GDPR30-90 days7 days30 days60 days
HIPAA6 years30 days180 days6 years
PCI DSS1 year90 days180 days1 year
SOC 21 year30 days90 days1 year

Storage Tiering Strategy

Hot Tier (SSD, Real-Time):

  • Last 7-30 days
  • Real-time indexing and fast queries
  • Most expensive ($0.10/GB/month)

Warm Tier (HDD, Recent):

  • 30-90 days
  • Read-only indices, occasional searches
  • Moderate cost ($0.05/GB/month)

Cold Tier (S3/Blob, Archive):

  • 90 days to retention limit
  • Searchable snapshots, rare queries
  • Cheapest ($0.01/GB/month)

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.md
  • references/cost-optimization.md
  • scripts/cost-calculator.py

What to Log (Security Events)

Critical Events (MUST LOG):

  • Authentication: Login attempts, MFA, password changes, privilege escalation
  • Authorization: Permission changes, role modifications, access denials
  • Data Access: Sensitive database/file access, API calls, exports
  • Network: Connections, firewall denials, VPN, DNS queries
  • System: Service changes, configuration modifications, software installations

Severity Levels: Failed auth (3+): HIGH alert | Privilege escalation: CRITICAL alert | Data export: HIGH alert | Config change: MEDIUM (no alert)

Alert Tuning and Noise Reduction

Alert Lifecycle

  1. Detection Rule Created - Conservative thresholds, deploy to production
  2. Baseline Period (2-4 weeks) - Collect alert data, tag true/false positives
  3. Tuning Phase - Add whitelisting, adjust thresholds, refine correlation
  4. Continuous Improvement - Weekly metrics review, monthly effectiveness review

Noise Reduction Techniques

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 system

Threshold 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 minutes

Multi-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

Target Alert Metrics

MetricTarget
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.

Quick Start

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

Integration with Related Skills

observability skill:

  • Route security logs to SIEM, performance logs to observability platform
  • Shared log aggregation infrastructure (Fluentd/Logstash)
  • Different analysis purposes (security vs. performance)

incident-management skill:

  • SIEM alerts trigger incident response workflows
  • Integration with PagerDuty, Opsgenie, ServiceNow
  • Automated incident creation for critical security events

security-hardening skill:

  • SIEM monitors security configurations and compliance
  • Detect configuration drift from CIS benchmarks
  • Alert on security policy violations

building-ci-pipelines skill:

  • Log CI/CD security events (deployments, secrets access)
  • GitHub Actions/GitLab CI integration with SIEM
  • Supply chain security monitoring

secret-management skill:

  • Audit all secrets access operations
  • HashiCorp Vault/AWS Secrets Manager logs to SIEM
  • Detect unauthorized secrets access attempts

Reference Documentation

Detailed Guides

  • references/platform-comparison.md - Comprehensive SIEM platform feature comparison
  • references/detection-rules-guide.md - Detection rule formats (SIGMA, EQL, KQL, SPL)
  • references/log-retention-policies.md - Compliance requirements and retention strategies
  • references/cloud-native-logging.md - AWS, Azure, GCP, Kubernetes logging setup
  • references/alert-tuning-strategies.md - False positive reduction and alert optimization
  • references/cost-optimization.md - Storage tiering and cost management

Working Examples

  • examples/sigma-rules/ - Universal SIGMA detection rules (10+ examples)
  • examples/elastic-eql/ - Elastic Event Query Language queries
  • examples/microsoft-kql/ - Microsoft Sentinel Kusto queries
  • examples/splunk-spl/ - Splunk Search Processing Language
  • examples/architectures/ - Complete deployment examples (Docker, Kubernetes, Terraform)
  • examples/logstash-pipelines/ - Logstash pipeline configurations

Utility Scripts

  • scripts/sigma-to-elastic.sh - Convert SIGMA rules to Elastic EQL
  • scripts/cost-calculator.py - Estimate SIEM costs based on volume and retention

Official Documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.1%
按下载量换算109

Claude

28.19%
按下载量换算79

Cursor

18.97%
按下载量换算53

Gemini CLI

8.6%
按下载量换算24

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills