Repository navigation
Conversation
Hello dvasilas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 2 files with indirect coverage changes @@ Coverage Diff @@
## development/9.6 #6390 +/- ##
===================================================
- Coverage 90.86% 90.79% -0.07%
===================================================
Files 208 208
Lines 39275 39309 +34
===================================================
+ Hits 35686 35691 +5
- Misses 3589 3618 +29
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
| * @param {string} [keyId] - KeyId the request used, from getClientForKey | ||
| * @returns {object} `{ provider, keyArn }`, without `keyArn` if no key was used or the KMS is internal | ||
| */ | ||
| function kmsFailureFields(kmsClient, keyId) { |
There was a problem hiding this comment.
Wouldn't we log the same info in regular logs, not just failure logs? I mean I would rather name the function kmsLogFields (or kmsCommonLogFields to imply there can be more fields logged on a case-by-case basis), sounds more natural to me for its purpose.
There was a problem hiding this comment.
Renamed to kmsLogFields.
Key creation and deletion failures are now logged at error level, like data key failures.
14c8cef to
6580c8b
Compare
When a KMS request fails, show the KMS provider name and the key ARN in cloudserver logs, so support can identify which KMS and key failed.