wenzhenghu opened a new pull request, #66006:
URL: https://github.com/apache/doris/pull/66006

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary:
   
   This PR is scoped only to fixing plaintext leakage of `ai.api_key` in 
`CREATE RESOURCE` and `ALTER RESOURCE` statements.
   
   Before this change, `ai.api_key` could appear in FE runtime logs and audit 
logs when these resource statements were logged in their original form. This PR 
limits the fix to masking `ai.api_key` for `CREATE/ALTER RESOURCE` logging 
paths only. It does not intend to expand masking coverage for other statement 
types or other logging paths in this PR.
   
   ### Release note
   
   Mask `ai.api_key` in FE logs and audit logs for `CREATE/ALTER RESOURCE` 
statements.
   
   ### Check List (For Author)
   
   - Test:
       - Unit Test
       - Manual test
   - Behavior changed:
       - Yes. `ai.api_key` is no longer logged in plaintext for `CREATE/ALTER 
RESOURCE` statements in FE logs and audit logs.
   - Does this need documentation:
       - No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to