We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0f411 commit a938ac4Copy full SHA for a938ac4
airflow/utils/cli.py
@@ -145,7 +145,7 @@ def _build_metrics(func_name, namespace):
145
sensitive_fields = {"-p", "--password", "--conn-password"}
146
full_command = list(sys.argv)
147
sub_command = full_command[1] if len(full_command) > 1 else None
148
- # For cases when value in variables have sensitive value
+ # For cases when value under sub_commands_to_check_for_sensitive_key have sensitive info
149
if sub_command in sub_commands_to_check_for_sensitive_key:
150
key = full_command[-2] if len(full_command) > 3 else None
151
if key and should_hide_value_for_key(key):
0 commit comments