Skip to content

Include FIPS distribution information in version command output #17378

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

Merged
merged 2 commits into from
Jun 27, 2025

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jun 26, 2025

Motivation/summary

This PR enhances the output of the version CLI sub-command to include whether the binary is FIPS-capable or not. FIPS-capable binaries will report FIPS-distribution: true in the version sub-command's output.

This output is consistent with the output of the version sub-command for Beats and Elastic Agent.

How to test these changes

Build a non-FIPS-capable binary and check that the version sub-command output contains (FIPS-distribution: false).

$ make apm-server
$ ./apm-server version

Build a FIPS-capable binary and check that the version sub-command output contains (FIPS-distribution: true).

$ make apm-server-fips
$ ./apm-server-fips version

@ycombinator ycombinator requested a review from a team as a code owner June 26, 2025 11:40
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@ycombinator ycombinator added the backport-8.19 Automated backport to the 8.19 branch label Jun 26, 2025
@isaacaflores2 isaacaflores2 enabled auto-merge (squash) June 27, 2025 20:45
@isaacaflores2 isaacaflores2 merged commit 2c5417e into elastic:main Jun 27, 2025
17 checks passed
mergify bot pushed a commit that referenced this pull request Jun 27, 2025
mergify bot added a commit that referenced this pull request Jun 27, 2025
…) (#17405)

(cherry picked from commit 2c5417e)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
@ycombinator ycombinator added the backport-9.1 Automated backport to the 9.1 branch label Jun 28, 2025
@ycombinator ycombinator deleted the fips-version-cmd branch June 28, 2025 00:08
mergify bot pushed a commit that referenced this pull request Jun 28, 2025
mergify bot added a commit that referenced this pull request Jun 30, 2025
…) (#17406)

(cherry picked from commit 2c5417e)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.19 Automated backport to the 8.19 branch backport-9.1 Automated backport to the 9.1 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants