Skip to content

Commit 0cee842

Browse files
committed
out_azure_kusto: avoid logging workload identity token
Signed-off-by: admhn <61081143+admhn@users.noreply.github.com> Impacted by AI (Agent mode: copilot | Prompts: 14 | Tokens: gpt-5.6-terra: 6266k in/90k out (5703k cached) +67k reasoning | gpt-4o-mini-2024-07-18: 7k in/234 out)
1 parent cb7256c commit 0cee842

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

plugins/out_azure_kusto/azure_msiauth.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ int flb_azure_workload_identity_token_get(struct flb_oauth2 *ctx, const char *to
162162
return -1;
163163
}
164164

165-
flb_info("[azure workload identity] after read token from file %s", federated_token);
166-
167165
/* Build the form data for token exchange *before* creating the client */
168166
body = flb_sds_create_size(4096);
169167
if (!body) {
@@ -249,8 +247,8 @@ int flb_azure_workload_identity_token_get(struct flb_oauth2 *ctx, const char *to
249247
/* c->body_buf = body; */
250248
/* c->body_len = flb_sds_len(body); */
251249

252-
/* Add a debug log to verify the body content just before sending */
253-
flb_debug("[azure workload identity] Sending request body (len=%zu): %s", flb_sds_len(body), body);
250+
flb_debug("[azure workload identity] Sending request body (len=%zu)",
251+
flb_sds_len(body));
254252

255253
/* Issue request */
256254
ret = flb_http_do(c, &b_sent);

0 commit comments

Comments
 (0)