Skip to content

Summarize rule health and gap status in the Rule Monitoring Overview panel - #8348

Merged
nastasha-solomon merged 8 commits into
mainfrom
docs-issue-7353-rule-monitoring-overview
Oct 30, 2026
Merged

nastasha-solomon merged 8 commits into
mainfrom
docs-issue-7353-rule-monitoring-overview

Conversation

@nastasha-solomon

@nastasha-solomon nastasha-solomon commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes #7353.

In 9.4 and serverless, the Rule Monitoring Overview panel replaced the Rules with gaps metric on the Rule Monitoring tab. This PR documents the new panel and updates text that still described the old one.

Changes

  • Fill rule execution gaps: Adds a 9.4+ and serverless tab that explains the panel's two charts, Last response summary and Rule gap summary, and how to act on what they show. The existing tab narrows from ga 9.3+ to ga =9.3. Content for 9.3 and earlier is unchanged.
  • Monitor rule executions: Adds a short 9.4+ section and a routing-table row that point to the panel description.
  • Replaces references to the retired Rules with gaps and Total rules with gaps labels.

Still needed

A screenshot of the panel. The one on the issue is from a pre-GA build: it shows a Rules column that was removed and has no Error row. The new image needs its own filename, because the dashboard page already uses security-rule-monitoring-overview.png.

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes - Claude Opus 4.5 and Claude Opus 5.5, via Cursor

…rview panel

Document the Rule Monitoring Overview panel, which replaced the Rules
with gaps metric in 9.4. Rescope the existing 9.3+ tab to 9.3 and add a
9.4+/Serverless tab covering the Last response summary and Rule gap
summary charts.

Also fix three references to the retired Rules with gaps and Total rules
with gaps labels that the new panel made false.

AI-Assisted: Cursor / Claude Opus 4.5
Co-authored-by: Cursor <[email protected]>
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@nastasha-solomon nastasha-solomon self-assigned this Sep 17, 2026
@nastasha-solomon nastasha-solomon changed the title docs: summarize rule health and gap status in the Rule Monitoring Overview panel (#7353) Summarize rule health and gap status in the Rule Monitoring Overview panel Sep 17, 2026
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

github-merge-queue Bot pushed a commit that referenced this pull request Sep 20, 2026
Every `/docs-review` run on this repo is currently failing, and no
review is being posted. Five PRs hit it in the last few minutes (#8355,
#8353, #8351, #8349, #8348).

The failure is in the `activation` job, at the step `Validate
ANTHROPIC_API_KEY secret`. `activation` fails, `agent` is skipped, and
the run reports a green-ish mixed state while doing nothing.

## Cause

The docs review workflow moved from the Copilot engine to the Claude
engine via OpenRouter. Copilot ran on `copilot-requests` credits and
needed no secret, so this caller never had a `secrets:` block. The
Claude engine reads `${{ secrets.OPENROUTER_API_KEY }}` inside its
engine env, and a reusable workflow does not inherit caller secrets
unless they are passed explicitly.

So the secret resolved to empty, and validation failed before the agent
started.

## Fix

Pass the secret through:

```yaml
    secrets:
      OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
```

`OPENROUTER_API_KEY` already exists as a repo secret here, and `v1`
declares it under `on.workflow_call.secrets`, so explicit pass-through
is valid. No secret needs creating.

## Verifying

Re-trigger the docs review checkbox on any open PR. The `activation` job
should succeed and `agent` should run instead of being skipped.

Worth checking the same block in any other repo that calls
`gh-aw-docs-review.lock.yml@v1` — the same caller change is needed
wherever the workflow was previously running on Copilot.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01H3vJ764kbRQMFqEtZxh42b

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs review summary

Criteria

  • User focus: The new panel description tells readers what each chart measures and how to act on it (e.g., which Gap fill status filter surfaces the rules behind a number), which serves the reader's actual task of triaging rule health.
  • Technical accuracy: Verified against the Kibana implementation at HEAD rather than the linked issue's snapshot. rule_gap_summary_chart.tsx and gapsSummarySchema (v1.ts) both include an error bucket, confirming the draft's Filled/In progress/Unfilled/Error breakdown. RulesWithGapsOverviewPanel's isExpanded state defaults to true, confirming "It's expanded by default." defaultRangeValue = GapRangeValue.LAST_90_D confirms the "last 90 days" claim. Issue #7353 flagged the Error bucket and the expand default as open questions against an earlier code state — both have since been resolved in the draft's favor, so no changes needed there.
  • Applicability: applies_to usage is correct — the applies-item object-notation tags, the inline table-cell tag ahead of the routing-table row, and the section-level fenced block (no blank line before the heading) all match the syntax rules. Narrowing the old panel's tag from stack: ga 9.3+ to stack: ga =9.3 is the right move now that 9.4 supersedes it.
  • Maintainability: monitor-rule-executions.md links to the single source in fill-rule-gaps.md instead of duplicating the panel description — good single-source-of-truth practice.
  • Language: No internal jargon or unexplained acronyms in the new text.
  • Style: One subject/verb-agreement nit (inline comment).
  • Issue satisfaction: Satisfied — the draft's two claims that issue #7353 flagged as unconfirmed check out against the current Kibana code.

Nits

  • See inline comment on monitor-rule-executions.md for a subject/pronoun-agreement fix.

Notes

  • Vale flagged two items outside this PR's diff — a "simply" word-choice suggestion at fill-rule-gaps.md:15 and a mapped_pages informational note at monitor-rule-executions.md:2 — neither touches lines this PR changed, so they're left out of scope here.
  • Didn't independently verify the exact UI string "Auto gap fill status" against Kibana's translation strings; flagging as unverified rather than a defect.

Generated by Docs review agent for #8348 · claude · sonnet · 236.4 AIC · ⊞ 19K

serverless: ga
```

The **Rule Monitoring Overview** panel above the Rules table summarizes how every rule in the space last ran and how much gap time they've accumulated. Refer to [Rule Monitoring tab](/solutions/security/detect-and-alert/fill-rule-gaps.md#rule-monitoring-tab-gaps).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"every rule in the space last ran and how much gap time they've accumulated" mixes a singular subject ("every rule") with a plural pronoun ("they"). Rephrase as "...and how much gap time it has accumulated," or make the subject plural: "how the rules in the space last ran and how much gap time they've accumulated."

nastasha-solomon and others added 3 commits September 24, 2026 15:05
Lead the panel description with what the reader checks, drop the collapse instruction and the donut layout walkthrough, and put serverless first in applies_to. Point the routing-table row straight at the panel description, rename the pointer section for the task, and replace the last stale reference to the retired overview.

AI-Assisted: Cursor (Claude Opus 5.5)
Co-authored-by: Cursor <[email protected]>
@nastasha-solomon
nastasha-solomon marked this pull request as ready for review September 25, 2026 20:32
@nastasha-solomon
nastasha-solomon requested a review from a team as a code owner September 25, 2026 20:32

@alexandra5000 alexandra5000 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have one small comment - see if what I suggested is true (if it is, rewriting that line may provide more details).

Approving to unblock 🧜‍♀️

nastasha-solomon and others added 3 commits October 28, 2026 15:15
…puted

Address review feedback that the routing-table row described the gap
chart as a rule count. The Rule gap summary chart measures gap duration.

Also reframe the 9.4+ panel description around what readers do with
each number: drop the expanded-by-default note and the status-name
mapping, say what Error time needs, and explain why the gap total can
exceed the outage that caused it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Give each chart its own short paragraph, move the three facts about the
gap total into a list, and end with how to find the rules behind a
number by using the Last response or Gap fill status filters.

Drop details the UI already shows: the center total of the Last response
summary chart, the list of gap status names, and the Auto gap fill
status note, which the Enable automatic gap fill tip already covers.

AI-Assisted: Cursor (Claude Opus 5.5)
Co-authored-by: Cursor <[email protected]>
@nastasha-solomon
nastasha-solomon added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 1ad4cb0 Oct 30, 2026
13 checks passed
@nastasha-solomon
nastasha-solomon deleted the docs-issue-7353-rule-monitoring-overview branch October 30, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Security][DEX][9.4+ & Serverless] See last-response and gap-fill summaries on the Rule Monitoring tab

2 participants