-
Notifications
You must be signed in to change notification settings - Fork 73
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
Default SecuritySettings.env to prod #5326
Merged
galvana
merged 2 commits into
main
from
PROD-2791-default-security-settings-env-to-prod
Sep 25, 2024
Merged
Default SecuritySettings.env to prod #5326
galvana
merged 2 commits into
main
from
PROD-2791-default-security-settings-env-to-prod
Sep 25, 2024
+45
−2
Conversation
This file contains 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
adamsachs
approved these changes
Sep 25, 2024
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.
👍 much safer
fides Run #10125
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5326/merge
|
Run status |
Passed #10125
|
Run duration | 00m 38s |
Commit |
7d2b0ffaff ℹ️: Merge ec7a332c4bdf079b7fa1bb4c861a03f104cb4236 into 155e1fd8bcf545599af273b06a62...
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
fides Run #10127
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #10127
|
Run duration | 00m 40s |
Commit |
ba2e4ee812: Default SecuritySettings.env to prod (#5326)
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
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.
Closes PROD-2791
Description Of Changes
Defaults the value of
SecuritySettings.env
toprod
if a value isn't provided. Adds tests to verify that the endpoints usingverify_oauth_client_prod
return an HTTP 401 if no credentials are provided andSecuritySettings.env
is either not set or set toprod
.Code Changes
env
inSecuritySettings
Steps to Confirm
FIDES__SECURITY__ENV
is not set in any Fides .env or .toml settings file (for example.fides/fides.toml
)nox -s dev
GET https://localhost:8080/api/v1/system
without any credentials, the request should fail (HTTP 401)Pre-Merge Checklist
CHANGELOG.md