Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29762

Make inclusion of build and environment variables configurable

XMLWordPrintable

      Currently for the logstash-plugin: Build and Environment variables are inserted into the payloads by default and there is no way to exclude this data. Quite frequently people may store secrets in build variables such as api keys or passwords and may not want this data to be included in the payload or be indexed.

      We removed this data from the payloads manually here in our forked version
      https://github.com/gabecase/logstash-plugin-fork but it's certainly not ideal. What I would like to do is make this an option such as a checkbox that would allow people to choose whether or not they want this data to be included. I am currently working this into a pull-request and plan to add and modify any tests accordingly.

      To summarize:
      -Including build variables in payloads and shipping them to indexers may not be desirable for many people
      -We've already removed this data from our own forked version of the plugin but we are just excluding the data by default and not making this configurable
      -I plan to add a checkbox to the global configuration that will allow people to choose if they want build variables included in the payloads
      -I will need feedback on my pull request since this is your repository and my main goal is to get this feature back upstream so others may use it as well
      -I Would like to know if for some reason this is already being worked on or if the maintainers of this plugin would have a problem with me trying to contribute this feature back to the logstash-plugin

            rgerard Rusty Gerard
            clarbee88 gabe cee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: