Skip to content

fix: address CodeQL warning about insecure TLS configuration#5614

Merged
kodiakhq[bot] merged 1 commit into
v2from
rd/v2/codeql
Mar 26, 2026
Merged

fix: address CodeQL warning about insecure TLS configuration#5614
kodiakhq[bot] merged 1 commit into
v2from
rd/v2/codeql

Conversation

@erka

@erka erka commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Replace InsecureSkipVerify: true with proper CA certificate handling
for Azure secrets emulator tests. Extract and install the vault's CA
certificate into test containers.

Replace InsecureSkipVerify: true with proper CA certificate handling
for Azure secrets emulator tests. Extract and install the vault's CA
certificate into test containers.

Signed-off-by: Roman Dmytrenko <[email protected]>
@erka
erka requested a review from a team as a code owner March 23, 2026 16:22
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 23, 2026
@erka erka added the v2 Flipt v2 label Mar 23, 2026
@erka erka added the automerge Used by Kodiak bot to automerge PRs label Mar 23, 2026
@codecov

codecov Bot commented Mar 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.65%. Comparing base (8b34486) to head (ebef333).
⚠️ Report is 3 commits behind head on v2.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2    #5614      +/-   ##
==========================================
- Coverage   60.68%   60.65%   -0.03%     
==========================================
  Files         141      141              
  Lines       13998    13989       -9     
==========================================
- Hits         8494     8485       -9     
  Misses       4780     4780              
  Partials      724      724              
Flag Coverage Δ
integrationtests 34.66% <ø> (-0.05%) ⬇️
unittests 51.57% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kodiakhq
kodiakhq Bot merged commit 047693e into v2 Mar 26, 2026
36 checks passed
@kodiakhq
kodiakhq Bot deleted the rd/v2/codeql branch March 26, 2026 14:11
@github-project-automation github-project-automation Bot moved this to Done in Flipt V2 Mar 26, 2026
@dosubot

dosubot Bot commented Mar 26, 2026

Copy link
Copy Markdown

Documentation Updates

1 document(s) were updated by changes in this PR:

Secrets Management System
View Changes
@@ -156,7 +156,7 @@
 Secret references use the format `${secret:azure:secret-name}`, where `secret-name` is the name of the secret in Azure Key Vault.
 
 **Emulator Support:**  
-For integration testing, you can use the `AZURE_KEYVAULT_EMULATOR` environment variable to connect to emulator services like [Lowkey Vault](https://github.com/nagyesta/lowkey-vault). When this variable is set, the provider skips TLS verification and uses a fake credential for authentication.
+For integration testing, you can use the `AZURE_KEYVAULT_EMULATOR` environment variable to connect to emulator services like [Lowkey Vault](https://github.com/nagyesta/lowkey-vault). When this variable is set, the provider uses a fake credential for authentication while still maintaining proper TLS certificate validation.
 
 ## Provider Setup
 To enable a provider, set its `enabled` flag to `true` and provide the necessary configuration options. For the file provider, specify the `base_path` to your secrets file. For the Vault provider, specify the Vault server address, authentication method, token, and mount path. For the AWS provider, specify the AWS region and optionally a custom endpoint URL for testing. For the GCP provider, specify the GCP project ID and optionally a service account credentials file. For the Azure provider, specify the Azure Key Vault URL. You can use environment variables for sensitive values by referencing them with `${env:VAR}`.

How did I do? Any feedback?  Join Discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Used by Kodiak bot to automerge PRs size:M This PR changes 30-99 lines, ignoring generated files. v2 Flipt v2

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants