Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter system event definitions from content pack generation (5.2) #21222

Conversation

graylog-internal-actions-access[bot]

Note: This is a backport of #21206 to 5.2.

Description

Prior to this PR, a system event definition shows up in the list of exportable definitions for content packs. This leads to an error later on in content pack export. This PR filters the entities like with other definitions (anomaly etc.)

fixes #21166
solves customer issue

needs backport

Motivation and Context

How Has This Been Tested?

Tested manually by trying to create a content pack and look at the list of event definitions.

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 updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

* filters system event definitions from content pack generation

* adding changelog

(cherry picked from commit 8aafad6)
@kingzacko1
Copy link
Contributor

@janheise we probably don't need to backport this to 5.2, back to 6.0 and 6.1 should be enough!

@janheise
Copy link
Contributor

closed as not necessary

@janheise janheise closed this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants