Skip to content

Commit

Permalink
Specify credentials sanitation
Browse files Browse the repository at this point in the history
Sanitizing specifically credentials_json as only "credentials" is too broad. Data sources such as Hubspot have "credentials" as a nested key that needs to be a plaintext string.
  • Loading branch information
joel-olazagasti authored Jan 20, 2023
1 parent 4b436e0 commit c539fa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ManagedElementError(enum.Enum):
CANNOT_CONNECT = "cannot_connect"


SANITIZE_KEY_KEYWORDS = ["password", "token", "secret", "ssh_key", "credentials"]
SANITIZE_KEY_KEYWORDS = ["password", "token", "secret", "ssh_key", "credentials_json"]
SANITIZE_KEY_EXACT_MATCHES = ["pat"]

SECRET_MASK_VALUE = "**********"
Expand Down

0 comments on commit c539fa9

Please sign in to comment.