Graylog2 / Graylog2/graylog2-server

Content Pack Validation when Creating a New Version

Open
#5,424 0 comments 0 reactions 0 assignees View on GitHub
#M bug content-packs triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
When creating a new version we must ensure that the selected entities all have there needed
dependencies as part of the content pack.

## Current Behavior
When a user creates a new content pack version, he is able to remove entities which are dependency
to another entity. That way the user creates a content pack which can't be installed or when installed,
the installed entities are not working.

## Possible Solution
Before creating a new version we validate that the content pack has all necessary entities.

## Steps to Reproduce (for bugs)
1. Create a Content Pack with a Lookup Table (the dependency resolution will add adapter and cache).
2. Create a new version of this content pack and remove cache and adapter.
3. Install content pack revision 2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.