Repository navigation
Add a Secret Masking to Rule Enfocement API View Output - #6170
philipphomberger wants to merge 6 commits into
Conversation
Add a Secret Masking to the API Output.
Thanks @nzlosh I will try it. :) |
|
@nzlosh I have tryed it: Output: So Iooks like I can not 1:1 use that function. The Secret Masking it self working but the output for the none Secret Parameters get lost. |
|
I tried your Idea as well: |

Hi Community,
From My View of perspective Secrets should not show in cleartext in the Rule Enforcement View in the UI and the API. So I add a loop that auto mask the secret to *****.
I'am not 100% happy with the way I do it for get one function because of problem I had with access the keys of the object So I convert the Object to a str and than with eval to a dict.
Maybe someone here have a better Idea.
I wait for your feedback.
Thank you all.