Community생산성 & 협업github.com

elastic/security-detection-rule-management

Elastic Security 탐지 규칙 (SIEM 및 엔드포인트)을 생성, 조정 및 관리합니다. Kibana API를 통해 오탐지, 예외 처리, 새로운 커버리지, 노이즈 규칙 또는 규칙 관리에 사용합니다.

security-detection-rule-management란 무엇인가요?

이 스킬은 Elastic Security 플랫폼에서 SIEM 및 엔드포인트 탐지 규칙을 효율적으로 생성, 조정 및 관리하는 데 사용됩니다. 오탐지를 줄이기 위한 예외 처리, 불필요한 알림(노이즈)을 유발하는 규칙의 튜닝, 새로운 위협 커버리지를 위한 규칙 추가 등을 Kibana API를 통해 자동화합니다. 개발자나 보안 운영자는 이 스킬을 통해 수동 작업 없이 규칙의 상태를 조회하고, 규칙을 활성화/비활성화하며, 사용자 정의 규칙을 배포할 수 있습니다. Elastic Security를 사용하는 모든 환경(Kibana, Elastic Cloud 등)에서 활용 가능하며, 반복적인 규칙 관리 작업을 간소화하여 보안 팀의 생산성을 크게 향상시킵니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/elastic/agent-skills/tree/main/skills/security-detection-rule-management

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

security-detection-rule-management은(는) 무엇을 하나요?

Elastic Security 탐지 규칙 (SIEM 및 엔드포인트)을 생성, 조정 및 관리합니다. Kibana API를 통해 오탐지, 예외 처리, 새로운 커버리지, 노이즈 규칙 또는 규칙 관리에 사용합니다.

주요 기능

  • 규칙 관리: 규칙 생성, 업데이트, 삭제, 활성화/비활성화
  • 예외 처리: 오탐지를 줄이기 위한 예외 조건 추가 및 관리
  • 튜닝: 노이즈 규칙 식별 및 임계값 조정
  • 커버리지: 새로운 위협 탐지를 위한 규칙 추가
  • 상태 모니터링: 규칙 실행 상태 및 경고 확인

지원 플랫폼

  • Kibana (Elastic Security)
  • Elastic Cloud
  • Elasticsearch API

사용 방법

  1. Kibana API를 통해 Elastic Security에 연결합니다.
  2. 관리하려는 규칙을 조회하거나 새로운 규칙을 생성합니다.
  3. 필요에 따라 규칙을 수정, 예외 추가, 활성화/비활성화합니다.

환경 변수

  • ELASTICSEARCH_URL: Elasticsearch 엔드포인트
  • KIBANA_URL: Kibana 엔드포인트
  • API_KEY: 인증을 위한 API 키

예제

# 규칙 목록 조회
curl -X GET "${KIBANA_URL}/api/detection_engine/rules" -H "kbn-xsrf: true" -H "Authorization: ApiKey ${API_KEY}"

# 새로운 규칙 생성
curl -X POST "${KIBANA_URL}/api/detection_engine/rules" -H "kbn-xsrf: true" -H "Authorization: ApiKey ${API_KEY}" -H "Content-Type: application/json" -d '{
  "rule_id": "example-rule-1",
  "name": "Example Detection Rule",
  "type": "query",
  "query": "process.name: malicious.exe",
  "severity": "high"
}'

참고 사항

  • 규칙 변경 시 Kibana API 버전 호환성을 확인하세요.
  • 예외 처리는 규칙 성능에 영향을 줄 수 있으므로 신중하게 사용하세요.
  • 대규모 환경에서는 규칙 배포 전 테스트를 권장합니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

elastic/cloud-access-management

Manage Elastic Cloud organization access: invite users, assign roles to Serverless projects, and create or revoke Cloud API keys. Use when granting, modifying, or auditing user access.

elastic/cloud-create-project

Creates Elastic Cloud Serverless projects (Elasticsearch, Observability, or Security) via the REST API, saves credentials to file, and bootstraps a scoped Elasticsearch API key. Use when creating a new serverless project, provisioning a search or observability environment, or spinning up a new Elastic Cloud project.

elastic/cloud-manage-project

Manages existing Elastic Cloud Serverless projects: list, get, update, delete, reset credentials, resume, and load saved credentials. Connects to existing projects by resolving endpoints and acquiring scoped Elasticsearch API keys. Use when performing day-2 operations on serverless projects, connecting to an existing project, loading or resetting project credentials, or looking up project details.

elastic/cloud-network-security

Manage Serverless network security (traffic filters): create, update, and delete IP filters and AWS PrivateLink VPC filters. Use when restricting network access or configuring private connectivity.

elastic/cloud-setup

Configures Elastic Cloud authentication and environment defaults. Use when setting up EC_API_KEY, configuring Cloud API access, or when another cloud skill requires credentials.

elastic/elasticsearch-audit

Enable, configure, and query Elasticsearch security audit logs. Use when the task involves audit logging setup, event filtering, or investigating security incidents like failed logins.

elastic/elasticsearch-authn

Authenticate to Elasticsearch using native, file-based, LDAP/AD, SAML, OIDC, Kerberos, JWT, or certificate realms. Use when connecting with credentials, choosing a realm, or managing API keys. Assumes the target realms are already configured.

elastic/elasticsearch-authz

Manage Elasticsearch RBAC: native users, roles, role mappings, document- and field-level security. Use when creating users or roles, assigning privileges, or mapping external realms like LDAP/SAML.

elastic/elasticsearch-esql

Execute ES|QL (Elasticsearch Query Language) queries, use when the user wants to query Elasticsearch data, analyze logs, aggregate metrics, explore data, or create charts and dashboards from ES|QL results.

elastic/elasticsearch-file-ingest

Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms. Use when loading files or batch importing data — not for reindexing, general ingest pipeline design, or bulk API patterns.

elastic/elasticsearch-onboarding

Help developers new to Elasticsearch get from zero to a working search experience. Guide them through understanding their intent, mapping their data, and building a search experience with best practices baked in. Use this when the user shows intent to build search-related functionality, asks about Elasticsearch-related concepts for their use case, or expresses the need for help getting started with Elasticsearch.

elastic/elasticsearch-security-troubleshooting

Diagnose and resolve Elasticsearch security errors: 401/403 failures, TLS problems, expired API keys, role mapping mismatches, and Kibana login issues. Use when the user reports a security error.

elastic/kibana-agent-builder

Create and manage Agent Builder agents and custom tools in Kibana. Use when asked to create, update, delete, test, or inspect agents or tools in Agent Builder.

elastic/kibana-alerting-rules

Create and manage Kibana alerting rules via REST API or Terraform. Use when creating, updating, or managing rule lifecycle (enable, disable, mute, snooze) or rules-as-code workflows.

elastic/kibana-audit

Enable and configure Kibana audit logging for saved object access, logins, and space operations. Use when setting up Kibana audit, filtering events, or correlating Kibana and ES audit logs.

elastic/kibana-connectors

Create and manage Kibana connectors for Slack, PagerDuty, Jira, webhooks, and more via REST API or Terraform. Use when configuring third-party integrations or managing connectors as code.

elastic/kibana-dashboards

Create and manage Kibana Dashboards and visualizations. Use when you need to define dashboards and visualizations declaratively, version control them, or automate their deployment.

elastic/kibana-streams

List, inspect, enable, disable, and resync Kibana Streams via the REST API. Use when the user needs stream details, ingest/query settings, queries, significant events, or attachments.

elastic/kibana-vega

Create Vega and Vega-Lite visualizations with ES|QL data sources in Kibana. Use when building custom charts, dashboards, or programmatic panel layouts beyond standard Lens charts.

elastic/observability-edot-dotnet-instrument

Instrument a .NET application with the Elastic Distribution of OpenTelemetry (EDOT) .NET SDK for automatic tracing, metrics, and logs. Use when adding observability to a .NET service that has no existing APM agent.

관련 스킬