Skip to content

Commit 8bd05bb

Browse files
authored
Avoid logging keyvault secrets (#883)
This was quite unfortunate. To cover future scenarios, I just completely ignore `Secret` now.
1 parent 48ec35a commit 8bd05bb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Extractor/Utils/ExtractorUtils.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,10 @@ public static string ConfigToString(FullConfig config)
494494
{
495495
return ConfigurationUtils.ConfigToString(config,
496496
Enumerable.Empty<string>(),
497-
new[] { "ConfigDir", "BaseExcludeProperties", "IdpAuthentication", "ApiKey", "Password" },
497+
new[] {
498+
"ConfigDir", "BaseExcludeProperties", "IdpAuthentication",
499+
"ApiKey", "Password", "KeyVault", "Secret"
500+
},
498501
new[] { "Cognite" },
499502
false);
500503
}

manifest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ schema:
6767
- "https://raw.githubusercontent.com/"
6868

6969
versions:
70+
"2.40.1":
71+
description: Avoid logging keyvault secrets.
72+
changelog:
73+
security:
74+
- Avoid logging keyvault secrets when running the extractor in debug mode.
7075
"2.40.0":
7176
description: Improve state restoration handling with retry logic.
7277
changelog:

0 commit comments

Comments
 (0)