fix(appdata): Redact sensitive values in AppData logs and add redaction tests

This commit is contained in:
2025-08-16 13:15:32 +00:00
parent 2cc0da4462
commit e3a76ca577
5 changed files with 160 additions and 21 deletions

30
pnpm-lock.yaml generated
View File

@@ -244,8 +244,8 @@ packages:
'@borewit/text-codec@0.1.1':
resolution: {integrity: sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==}
'@cloudflare/workers-types@4.20250813.0':
resolution: {integrity: sha512-RFFjomDndGR+p7ug1HWDlW21qOJyRZbmI99dUtuR9tmwJbSZhUUnSFmzok9lBYVfkMMrO1O5vmB+IlgiecgLEA==}
'@cloudflare/workers-types@4.20250816.0':
resolution: {integrity: sha512-R9ADrrINo1CqTwCddH39Tjlsc3grim6KeO7l8yddNbldH3uTkaAXYCzO0WiyLG7irLzLDrZVc4tLhN6BO3tdFw==}
'@colors/colors@1.6.0':
resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==}
@@ -722,8 +722,8 @@ packages:
'@push.rocks/smarts3@2.2.5':
resolution: {integrity: sha512-OZjD0jBCUTJCLnwraxBcyZ3he5buXf2OEM1zipiTBChA2EcKUZWKk/a6KR5WT+NlFCIIuB23UG+U+cxsIWM91Q==}
'@push.rocks/smartshell@3.2.3':
resolution: {integrity: sha512-BWA/DH1H9lG7Er23d4uYgirfYaya5dX4g/WpWm2la7mOzuL9o2FnPIhel52DQUKIh7ty3Ql305ApV8YaAb4+/w==}
'@push.rocks/smartshell@3.2.4':
resolution: {integrity: sha512-zZEKfRl3qBaII9BJULk4rB/+EelUpgM2/qHCQLui7c4589HTge4o0nWn+olFw/Hge88qUO77OK1sN7hQFZ6zeg==}
'@push.rocks/smartsitemap@2.0.3':
resolution: {integrity: sha512-jIcms8V1b2mt3dS4PKNlLR1DRC8pCDWMRVbnyM/2+snZOJZonQRlQzAyX8No0EfLbfdrfnxv2IjPX13X29Re6g==}
@@ -734,8 +734,8 @@ packages:
'@push.rocks/smartspawn@3.0.3':
resolution: {integrity: sha512-DyrGPV69wwOiJgKkyruk5hS3UEGZ99xFAqBE9O2nM8VXCRLbbty3xt1Ug5Z092ZZmJYaaGMSnMw3ijyZJFCT0Q==}
'@push.rocks/smartstate@2.0.25':
resolution: {integrity: sha512-gWmbDCx5esezHDQnD2nOClxeTiWtvU1wEdP0XbheCcXzaGEv0H8apRjQBksRZJd9FC3ezrJU00GLh0eH9rPyMQ==}
'@push.rocks/smartstate@2.0.26':
resolution: {integrity: sha512-lMcf0ZWWs9jej9wjapuonuIZiQNiD9NcAcvRDFXq7GtQf/HUyr6zr5K1XxGZaCIGyYrbYnBHBpNU+8DBoarHrA==}
'@push.rocks/smartstream@2.0.8':
resolution: {integrity: sha512-GlF/9cCkvBHwKa3DK4DO5wjfSgqkj6gAS4TrY9uD5NMHu9RQv4WiNrElTYj7iCEpnZgUnLO3tzw1JA3NRIMnnA==}
@@ -3890,7 +3890,7 @@ snapshots:
'@api.global/typedrequest': 3.1.10
'@api.global/typedrequest-interfaces': 3.0.19
'@api.global/typedsocket': 3.0.1
'@cloudflare/workers-types': 4.20250813.0
'@cloudflare/workers-types': 4.20250816.0
'@design.estate/dees-comms': 1.0.27
'@push.rocks/lik': 6.2.2
'@push.rocks/smartchok': 1.1.1
@@ -4511,7 +4511,7 @@ snapshots:
'@borewit/text-codec@0.1.1': {}
'@cloudflare/workers-types@4.20250813.0': {}
'@cloudflare/workers-types@4.20250816.0': {}
'@colors/colors@1.6.0': {}
@@ -4543,7 +4543,7 @@ snapshots:
'@push.rocks/smartpromise': 4.2.3
'@push.rocks/smartrouter': 1.3.3
'@push.rocks/smartrx': 3.0.10
'@push.rocks/smartstate': 2.0.25
'@push.rocks/smartstate': 2.0.26
'@push.rocks/smartstring': 4.0.15
'@push.rocks/smarturl': 3.1.0
'@push.rocks/webrequest': 3.0.37
@@ -4709,14 +4709,14 @@ snapshots:
'@push.rocks/smartnpm': 2.0.4
'@push.rocks/smartpath': 6.0.0
'@push.rocks/smartrequest': 4.2.1
'@push.rocks/smartshell': 3.2.3
'@push.rocks/smartshell': 3.2.4
transitivePeerDependencies:
- aws-crt
'@git.zone/tsrun@1.3.3':
dependencies:
'@push.rocks/smartfile': 11.2.5
'@push.rocks/smartshell': 3.2.3
'@push.rocks/smartshell': 3.2.4
tsx: 4.20.4
'@git.zone/tstest@2.3.2(@aws-sdk/credential-providers@3.864.0)(socks@2.8.7)(typescript@5.8.3)':
@@ -4740,7 +4740,7 @@ snapshots:
'@push.rocks/smartpromise': 4.2.3
'@push.rocks/smartrequest': 2.1.0
'@push.rocks/smarts3': 2.2.5
'@push.rocks/smartshell': 3.2.3
'@push.rocks/smartshell': 3.2.4
'@push.rocks/smarttime': 4.1.1
'@types/ws': 8.18.1
figures: 6.1.0
@@ -5319,7 +5319,7 @@ snapshots:
'@push.rocks/smartpuppeteer@2.0.5(typescript@5.8.3)':
dependencies:
'@push.rocks/smartdelay': 3.0.5
'@push.rocks/smartshell': 3.2.3
'@push.rocks/smartshell': 3.2.4
puppeteer: 24.16.2(typescript@5.8.3)
tree-kill: 1.2.2
transitivePeerDependencies:
@@ -5368,7 +5368,7 @@ snapshots:
- aws-crt
- supports-color
'@push.rocks/smartshell@3.2.3':
'@push.rocks/smartshell@3.2.4':
dependencies:
'@push.rocks/smartdelay': 3.0.5
'@push.rocks/smartexit': 1.0.23
@@ -5420,7 +5420,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@push.rocks/smartstate@2.0.25':
'@push.rocks/smartstate@2.0.26':
dependencies:
'@push.rocks/lik': 6.2.2
'@push.rocks/smarthash': 3.2.3