Redact sensitive info from ddns client while also logging verbosely
All checks were successful
/ check (push) Successful in 2m9s
All checks were successful
/ check (push) Successful in 2m9s
This commit is contained in:
parent
c2e03c50ae
commit
09b4567c92
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ in {
|
||||||
-X POST \
|
-X POST \
|
||||||
--max-time ${toString cfg.requestTimeout} \
|
--max-time ${toString cfg.requestTimeout} \
|
||||||
-u "${cfg.username}:''${password}" \
|
-u "${cfg.username}:''${password}" \
|
||||||
-L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" \
|
-L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" 2>&1 \
|
||||||
| "${pkgs.sd}/bin/sd" --fixed-strings "''${password}" "[REDACTED]" \
|
| "${pkgs.sd}/bin/sd" --fixed-strings "''${password}" "[REDACTED]" \
|
||||||
| "${pkgs.sd}/bin/sd" -f i "Authorization: .*" "Authorization: [REST OF LINE REDACTED]"
|
| "${pkgs.sd}/bin/sd" -f i "Authorization: .*" "Authorization: [REST OF LINE REDACTED]"
|
||||||
''}
|
''}
|
||||||
|
@ -79,7 +79,7 @@ in {
|
||||||
-X POST \
|
-X POST \
|
||||||
--max-time ${toString cfg.requestTimeout} \
|
--max-time ${toString cfg.requestTimeout} \
|
||||||
-u "${cfg.username}:''${password}" \
|
-u "${cfg.username}:''${password}" \
|
||||||
-L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" \
|
-L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" 2>&1 \
|
||||||
| "${pkgs.sd}/bin/sd" --fixed-strings "''${password}" "[REDACTED]" \
|
| "${pkgs.sd}/bin/sd" --fixed-strings "''${password}" "[REDACTED]" \
|
||||||
| "${pkgs.sd}/bin/sd" -f i "Authorization: .*" "Authorization: [REST OF LINE REDACTED]"
|
| "${pkgs.sd}/bin/sd" -f i "Authorization: .*" "Authorization: [REST OF LINE REDACTED]"
|
||||||
''}
|
''}
|
||||||
|
|
Loading…
Reference in a new issue