Skip to content

Commit 0b19806

Browse files
authored
[AGENTRUN-310] Fix FIPS Agent status output (#37594)
1 parent 4337829 commit 0b19806

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

comp/core/status/statusimpl/common_header_provider.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ func populateConfig(config config.Component) map[string]string {
111111
conf["additional_checksd"] = config.GetString("additional_checksd")
112112

113113
isFipsAgent, _ := fips.Enabled()
114-
isFIPS := config.GetBool("fips.enabled") || isFipsAgent
115-
conf["fips_proxy_enabled"] = strconv.FormatBool(isFIPS)
114+
conf["fips_proxy_enabled"] = strconv.FormatBool(config.GetBool("fips.enabled") && !isFipsAgent)
116115
conf["fips_local_address"] = config.GetString("fips.local_address")
117116
conf["fips_port_range_start"] = config.GetString("fips.port_range_start")
118117

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Each section from every release note are combined when the
2+
# CHANGELOG.rst is rendered. So the text needs to be worded so that
3+
# it does not depend on any information only available in another
4+
# section. This may mean repeating some details, but each section
5+
# must be readable independently of the other.
6+
#
7+
# Each section note must be formatted as reStructuredText.
8+
---
9+
fixes:
10+
- |
11+
Remove the FIPS Proxy status section from the Agent status page when running the FIPS Agent.

0 commit comments

Comments
 (0)