[8.19](backport #45036) [Filebeat] Allow v2 inputs to opt out of FIPS distributions#45039
Merged
ycombinator merged 1 commit into8.19from Jun 25, 2025
Merged
[8.19](backport #45036) [Filebeat] Allow v2 inputs to opt out of FIPS distributions#45039ycombinator merged 1 commit into8.19from
ycombinator merged 1 commit into8.19from
Conversation
* Add constant for FIPS mode * Add ability for v2 inputs to opt out of FIPS distributions * Return error in FIPS mode if input wants to opt-out of FIPS distributions * Fixing typo * Adding missing license header * Running mage fmt (cherry picked from commit 9d79db0)
Contributor
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
ycombinator
approved these changes
Jun 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
This PR adds a new boolean field,
ExcludeFromFIPSto thev2.Pluginstruct for optional use by v2 inputs. Inputs that set this field totrueare indicating that they should NOT be usable in FIPS-capable distributions of Filebeat. If an input that sets this field totrueis configured in a FIPS-capable Filebeat distribution, Filebeat will exit with an error like so:Checklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added an entry inCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
None; the changes in this PR merely allow for Filebeat v2 inputs to be excluded from FIPS-capable Filebeat artifacts; there are no inputs actually being excluded in this PR.
How to test this PR locally
In an environment configured for FIPS, i.e. with the Microsoft Go fork installed and with the OpenSSL FIPS provider installed:
Related issues
This PR replaces the implementation done in #44920
This is an automatic backport of pull request #45036 done by Mergify.