-
Notifications
You must be signed in to change notification settings - Fork 36
[breaking] FIPS compliant metrics + secrets management #649
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
Conversation
@@ -123,41 +123,11 @@ describe("MetricsListener", () => { | |||
await expect(listener.onCompleteInvocation()).resolves.toEqual(undefined); | |||
}); | |||
|
|||
it("configures FIPS endpoint for GovCloud regions", async () => { |
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.
should we keep a version of this test like configures FIPS endpoint for FIPS_MODE_ENABLED
?
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.
I moved those tests to fips.spec.ts
; since we're moving the FIPS enabled/disabled logic to there, this was a little redundant
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.
looking good. added a note about a deleted test but fine otherwise. we'll add statsd timestamp support separately?
Thanks! Yes, I added timestamp support in #648 |
What does this PR do?
DD_LAMBDA_FIPS_MODE
env var. By default, govcloud regions are FIPS enabled, and commercial regions are FIPS disabled. However, this default can be overridden by settingDD_LAMBDA_FIPS_MODE
totrue
or `falseMotivation
FIPS compliance
https://datadoghq.atlassian.net/browse/SVLS-6295
Testing Guidelines
Manually - the fips enabled follows expected behavior based on region + env var
Unit tests
Additional Notes
Breaking because customers with FIPS enabled and no extension/forwarder will no longer be able to send metrics.
Types of Changes
Check all that apply