[Template contribution]: prometheus-security-check
维护者通常 6 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 56/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github, javascript
- 领域
- devops, observability
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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-metadatawithslug,version,availability: ">=9.5.0",name,description,solutions: [observability],categories- No hardcoded project URLs / space IDs / API keys
- Promote environment-specific values to
install.formand bind via bare__install__.<field>→consts:(never wrap__install__in{{ }}) ai.agentsteps:agent-id: __install__.agent-id(defaultelastic-ai-agent)- ES|QL / Streams:
FROM {{ consts.metrics_index }}/ stream name from consts - Validate:
npm run build:catalogmust pass - Install + run once on an Elastic Cloud Serverless Observability project with Prom/OTLP metrics — zero editor validation errors
Related
- Demo source: https://github.com/elastic/next-gen-o11y
- Instruqt lab pack: https://github.com/elastic/metric-enablement-series/blob/feat/prometheus-agents-workflows-serverless/tracks/prometheus-agents-workflows-serverless/WORKFLOW_PACK.md
- Pack tracking: https://github.com/elastic/workflows/issues/95
- In-flight PR (partial): https://github.com/elastic/workflows/pull/94
- 主要语言
- JavaScript
- 星标
- 59
- 派生
- 38
- 平均合并
- 5 天 16 小时
- 30 天内合并 PR
- 14
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
elastic/workflows 的其他 Issue
-
AD - Automated Triaging validation errors可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
elastic/workflows#12 · 1 条评论 ·
维护者通常 6 天内回复
-
难度 1/5 1 小时以内 新手友好度 15/100
维护者通常 6 天内回复
-
难度 4/5 3-5 天 新手友好度 28/100
维护者通常 6 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 6 天内回复
-
难度 4/5 3-5 天 新手友好度 38/100
维护者通常 6 天内回复
查看 elastic/workflows 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
microsoft/monaco-editor#5563 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
account: profile bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 5 天内回复
-
ai-driven-fuzzing bug claude Minor
难度 2/5 1-3 小时 新手友好度 78/100
linagora/cozy-client#1777 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复