-
Notifications
You must be signed in to change notification settings - Fork 72
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
PROD-1214 Redact cli, database, and redis info from CONFIG_KEY_ALLOWLIST #4379
PROD-1214 Redact cli, database, and redis info from CONFIG_KEY_ALLOWLIST #4379
Conversation
Passing run #5005 ↗︎
Details:
Review all test suite changes for PR #4379 ↗︎ |
Local test results:
HTTP/1.1 200 OK
date: Fri, 03 Nov 2023 15:49:52 GMT
server: uvicorn
content-length: 571
content-type: application/json
x-ratelimit-limit: 1000
x-ratelimit-remaining: 998
x-ratelimit-reset: 1699026629
retry-after: Fri, 03 Nov 2023 15:50:29 -0000 {
"user":
{
"analytics_opt_out": false
},
"logging":
{
"level": "DEBUG"
},
"notifications":
{
"send_request_completion_notification": false,
"send_request_receipt_notification": false,
"send_request_review_notification": false,
"notification_service_type": null
},
"security":
{
"cors_origins":
[
"http://localhost:8080",
"http://localhost:3001",
"http://localhost:3000"
],
"encoding": "UTF-8",
"oauth_access_token_expire_minutes": 11520
},
"execution":
{
"task_retry_count": 0,
"task_retry_delay": 1,
"task_retry_backoff": 1,
"require_manual_request_approval": true,
"subject_identity_verification_required": false
}
} |
thank you for being proactive and getting this change in @daveqnet! it looks good to me, just needs a quick update to the failing test which i'll get up right now. i don't think we're relying on these values being returned via the API in any way, but i'll confirm quickly with the team that's the case just to not pull the rug out from under anyone without notice 👍 |
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.
ok - updated test and confirmed it's passing locally, so i'm going to approve this then!
let's wait for CI to run green and it'll also give some time for folks to chime in with any objections. assuming that all goes well, then let's merge this in a bit! if any strong objections come in after the merge, we should always be able to revert before an official release anyway 👍
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4379 +/- ##
==========================================
- Coverage 87.72% 87.04% -0.69%
==========================================
Files 335 328 -7
Lines 21161 20266 -895
Branches 2753 2608 -145
==========================================
- Hits 18564 17641 -923
- Misses 2127 2162 +35
+ Partials 470 463 -7
☔ View full report in Codecov by Sentry. |
Partially closes PROD-1214
Description Of Changes
cli
,database
, andredis
configuration information from the allowable values returned by aGET api/v1/config
API request.Code Changes
Steps to Confirm
GET api/v1/config
request and ensure that the response contains nocli
,database
, orredis
data.Pre-Merge Checklist
CHANGELOG.md