Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Template contribution]: prometheus-security-check

Aperta
#109 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, javascript

Direzione di ricerca

Read CONTRIBUTING.md § Authoring a template and inspect the demo YAML at next-gen-o11y/workflows/prometheus-security-check.kibana.yaml. Create the Serverless-safe library template at library/workflows/<slug>/<slug>.yaml, following the listed install-form bindings and metadata. Run npm run build:catalog, then install and run it on Serverless Observability with Prometheus or OTLP metrics; done means the dashboard upserts, the agent returns OPEN_CASE or NO_CASE, and validation reports no errors.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What does your template do?

Security-aware SRE scan on Prometheus / OTLP metrics: ES|QL for auth failures (401/403), login-failure deltas, and 5xx hotspots → upsert Auto: Prometheus security signals dashboard → Agent Builder assesses risk and opens an Observability Case only when warranted. Optional Security MCP enrichment when configured on the agent.

Demo workflow name: prometheus-security-check
Proposed library slug: prometheus-security-check (or prometheus-auto-security-check)

Install form variables (must be present)
Field inputType required default Used as
agent-id text yes elastic-ai-agent ai.agent agent-id
metrics-index esIndex yes metrics-generic.prometheus-* consts.metrics_index for all ES|QL
security-mcp-hint text no `` (empty) consts.security_mcp_hint — optional URL/hint for Security Agent Builder MCP; omit from agent prompt when empty

Not in PR https://github.com/elastic/workflows/pull/94 yet — this issue requests a new library template.

Template YAML or pull request

Source: https://github.com/elastic/next-gen-o11y/blob/main/workflows/prometheus-security-check.kibana.yaml

Acceptance: install on Serverless Observability with only the form fields → dashboard upserts → agent step completes with OPEN_CASE / NO_CASE verdict; no unknownVariableType / validation errors (single agent step; no chained conversation_id).

Library format (required — Serverless-safe)

Follow CONTRIBUTING.md § Authoring a template:

  • Path: library/workflows/<slug>/<slug>.yaml
  • template-metadata with slug, version, availability: ">=9.5.0", name, description, solutions: [observability], categories
  • No hardcoded project URLs / space IDs / API keys
  • Promote environment-specific values to install.form and bind via bare __install__.<field> → consts: (never wrap __install__ in {{ }})
  • ai.agent steps: agent-id: __install__.agent-id (default elastic-ai-agent)
  • ES|QL / Streams: FROM {{ consts.metrics_index }} / stream name from consts
  • Validate: npm run build:catalog must pass
  • Install + run once on an Elastic Cloud Serverless Observability project with Prom/OTLP metrics — zero editor validation errors
Related
Lingua principale
JavaScript
Stelle
59
Fork
38
Merge medio
3g 9h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastic/workflows

Tutte le issue di elastic/workflows

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.