Skip to content

Propagate scope for referenced search filters during content pack installation#26508

Merged
ryan-carroll-graylog merged 5 commits into
masterfrom
correctly-apply-referenced-search-filter-scope
Jul 1, 2026
Merged

Propagate scope for referenced search filters during content pack installation#26508
ryan-carroll-graylog merged 5 commits into
masterfrom
correctly-apply-referenced-search-filter-scope

Conversation

@ryan-carroll-graylog

@ryan-carroll-graylog ryan-carroll-graylog commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description

Use the scope from the top level Search Filter objects for the inline copies during content pack installation.

This keeps parity between the top level search filter objects and the inline entity copies, specifically when the scope is not included at time of export (Illuminate bundles).

For existing mismatched filters a migration has been added in https://github.com/Graylog2/graylog-plugin-enterprise/pull/14647

Motivation and Context

This was causing illuminate installed entities that reference search filters to have the inline copies of ILLUMINATE scoped search filters shown as DEFAULT. E.g. an ILLUMINATE delivered/scoped event definition with filter would be installed with ED and filter correctly ILLUMINATE scoped, but inline filter copy on the ED was DEFAULT.

This interfered with Event definition filter scope immutability checks.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@ryan-carroll-graylog ryan-carroll-graylog changed the title correctly apply filter scope Propagate scope for referenced search filters during content pack installation Jun 29, 2026
@ryan-carroll-graylog ryan-carroll-graylog merged commit ffc94cd into master Jul 1, 2026
24 checks passed
@ryan-carroll-graylog ryan-carroll-graylog deleted the correctly-apply-referenced-search-filter-scope branch July 1, 2026 22:13
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.

3 participants