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

[Backport 2.x] Add allowlist setting for ingest-common processors #14561

Merged
merged 2 commits into from
Jun 26, 2024

Commits on Jun 26, 2024

  1. Add allowlist setting for ingest-common processors (#14479)

    Add a new static setting that lets an operator choose specific ingest
    processors to enable by name. The behavior is as follows:
    
    - If the allowlist setting is not defined, all installed processors are
      enabled. This is the status quo.
    - If the allowlist setting is defined as the empty set, then all processors
      are disabled.
    - If the allowlist setting contains the names of valid processors, only those
      processors are enabled.
    - If the allowlist setting contains a name of a processor that does not exist,
      then the server will fail to start with an IllegalStateException
      listing which processors were defined in the allowlist but are not
      installed.
    - If the allowlist setting is changed between server restarts then any
      ingest pipeline using a now-disabled processor will fail. This is the
      same experience if a pipeline used a processor defined by a plugin but
      then that plugin were to be uninstalled across restarts.
    
    Related to #14439
    
    Signed-off-by: Andrew Ross <andrross@amazon.com>
    (cherry picked from commit a99b494)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    7acfe66 View commit details
    Browse the repository at this point in the history
  2. Fix test issues due to class renaming on main

    Signed-off-by: Andrew Ross <andrross@amazon.com>
    andrross committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    0eff3eb View commit details
    Browse the repository at this point in the history