-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ASCII-2691] Change wording on FIPS Mode status indication #33507
Changes from all commits
624f9d9
582a1dd
3b59004
86d85ed
9a9f740
f876802
da11535
d5a5ebd
698c4db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,16 @@ package fips | |
|
||
import ( | ||
"os" | ||
"strconv" | ||
) | ||
|
||
// Status returns a displayable string or error of FIPS compliance state of the agent build and runtime | ||
// Status returns a displayable string or error of FIPS Mode of the agent build and runtime | ||
func Status() string { | ||
enabled, _ := Enabled() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❓ question: Why do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The windows "FIPS Mode" has more error modes due to the OS registry look up but they did not want to log it or display that to the user at this point. It is _ in case we want to log it in the future or other users of the |
||
return strconv.FormatBool(enabled) | ||
if enabled { | ||
return "enabled" | ||
} else { | ||
return "disabled" | ||
} | ||
} | ||
|
||
// Enabled checks to see if the agent runtime environment is as expected relating to its build to be FIPS compliant. For Linux this is that the binary is run with the GOFIPS=1 environment variable. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ question: Does the Agent use necessarily FIPS proxy if
fips.enabled: true
? Can it be bypass by anything else ?