You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to mask only parts of a field, rather than the whole field, in log output. For example, when logging AWS API requests, the Authorization field looks like the folllowing:
In this example, I would like to mask the Access Key portion of Credential, except for the last four characters, as well as the Signature. Something like
I propose adding a hook either for all fields or a specific field that could parse the field content and mask as appropriate. In the example above, it would involve parsing the AWS Signature v4 header for specific values and masking those.
The text was updated successfully, but these errors were encountered:
terraform-plugin-log version
Use cases
I'm looking to mask only parts of a field, rather than the whole field, in log output. For example, when logging AWS API requests, the
Authorization
field looks like the folllowing:In this example, I would like to mask the Access Key portion of
Credential
, except for the last four characters, as well as theSignature
. Something likeProposal
I propose adding a hook either for all fields or a specific field that could parse the field content and mask as appropriate. In the example above, it would involve parsing the AWS Signature v4 header for specific values and masking those.
The text was updated successfully, but these errors were encountered: