Skip to content

[EDR Workflows] Osquery: hide query code from dropdown and show Elastic for automated Run By#261394

Merged
szwarckonrad merged 1 commit into
elastic:mainfrom
szwarckonrad:osquery-dropdown-and-runby-ux-fixes
Apr 7, 2026
Merged

[EDR Workflows] Osquery: hide query code from dropdown and show Elastic for automated Run By#261394
szwarckonrad merged 1 commit into
elastic:mainfrom
szwarckonrad:osquery-dropdown-and-runby-ux-fixes

Conversation

@szwarckonrad
Copy link
Copy Markdown
Contributor

@szwarckonrad szwarckonrad commented Apr 6, 2026

Addresses two UX feedback items for the osquery history rework (behind queryHistoryRework feature flag):

  1. Saved queries dropdown — removes the SQL code block from dropdown options. Only the query ID and description are shown now, reducing visual noise (especially for queries starting with comments). Row height is reduced accordingly.

  2. Run By column in history table — shows "Elastic" instead of an em dash for scheduled rows and rule-triggered rows (live actions with no user_id). Live queries with a real user continue to show the user's name/avatar.

Both changes are gated behind the queryHistoryRework feature flag.

Screenshot 2026-04-06 at 11 08 47 AM Screenshot 2026-04-06 at 11 29 32 AM

@szwarckonrad szwarckonrad added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Defend Workflows “EDR Workflows” sub-team of Security Solution labels Apr 6, 2026
@szwarckonrad szwarckonrad self-assigned this Apr 6, 2026
@szwarckonrad szwarckonrad marked this pull request as ready for review April 6, 2026 20:08
@szwarckonrad szwarckonrad requested a review from a team as a code owner April 6, 2026 20:08
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@szwarckonrad szwarckonrad requested review from tomsonpl and removed request for paul-tavares April 6, 2026 20:08
Copy link
Copy Markdown
Contributor

@tomsonpl tomsonpl left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@szwarckonrad szwarckonrad merged commit aa68f24 into elastic:main Apr 7, 2026
37 checks passed
mbondyra added a commit to Heenawter/kibana that referenced this pull request Apr 7, 2026
* commit 'bfc2446fdbcba2b3183f4518817c9757198c95ef':
  [Cascade] make cascade layout enabled by default (elastic#260698)
  [Dashboard Agent] Extract safe dashboard attachment integration refactors (elastic#261422)
  [One Workflow] Replace workflows:aiAgent:enabled with agentBuilder:experimentalFeatures (elastic#261330)
  [EDR Workflows] Osquery: hide query code from dropdown and show Elastic for automated Run By (elastic#261394)
  [Observability Onboarding] Add data detection & loading indicators to onboarding flows  (elastic#257870)
  [Significant events] Format event count with locale-aware number separators (elastic#261570)
  [Fleet] Fix deprecated filter in browse integrations (elastic#261459)
  [Lens as code] Split `xyStateSchema` config (elastic#261089)
  [Data Views as Code] Use `ref_id` and add metadata in data views schemas (elastic#261181)

Made-with: Cursor

# Conflicts:
#	x-pack/platform/packages/shared/dashboard-agent/dashboard-agent-common/types.ts
mbondyra added a commit to mbondyra/kibana that referenced this pull request Apr 7, 2026
…r-uid-to-id

* commit '6868ae2f195462f1f6809a6a544114f54e48239e':
  [One Workflow] Replace workflows:aiAgent:enabled with agentBuilder:experimentalFeatures (elastic#261330)
  [EDR Workflows] Osquery: hide query code from dropdown and show Elastic for automated Run By (elastic#261394)
  [Observability Onboarding] Add data detection & loading indicators to onboarding flows  (elastic#257870)
  [Significant events] Format event count with locale-aware number separators (elastic#261570)
  [Fleet] Fix deprecated filter in browse integrations (elastic#261459)
  [Lens as code] Split `xyStateSchema` config (elastic#261089)
  [Data Views as Code] Use `ref_id` and add metadata in data views schemas (elastic#261181)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants