[Filebeat] Allow v2 inputs to opt out of FIPS distributions#45036
Merged
ycombinator merged 6 commits intoelastic:mainfrom Jun 25, 2025
Merged
[Filebeat] Allow v2 inputs to opt out of FIPS distributions#45036ycombinator merged 6 commits intoelastic:mainfrom
ycombinator merged 6 commits intoelastic:mainfrom
Conversation
Contributor
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
This was referenced Jun 25, 2025
belimawr
approved these changes
Jun 25, 2025
leehinman
approved these changes
Jun 25, 2025
mergify bot
pushed a commit
that referenced
this pull request
Jun 25, 2025
* 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)
6 tasks
This was referenced Jun 25, 2025
Merged
6 tasks
6 tasks
ycombinator
added a commit
that referenced
this pull request
Jun 25, 2025
…45039) * 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) Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
6 tasks
6 tasks
6 tasks
Contributor
Author
|
@Mergifyio backport 9.1 |
Contributor
✅ Backports have been createdDetails
|
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