No project description provided
Project description
annofab-har
AnnofabのHAR(Http Archive)ファイルを扱うCLIです。
Requirements
- Python 3.10 以上
annofab_har sanitize
AnnofabのHARファイルから機密情報をマスクします。
マスク対象
HARファイルに含まれる以下の情報をマスクします。
responsecontent.text(レスポンスボディ)cookies
requestpostData.text(リクエストボディ)cookiesheadersnameがAuthorizationであるvalue
url- AWS署名付きURLに含まれるマスク対象のクエリパラメータ(後述参照)
_initiatorurlに含まれるAWS署名付きURLに含まれるマスク対象のクエリパラメータ(後述参照)。再帰的に処理する。
AWS署名付きURLに含まれるマスク対象のクエリパラメータ
X-Amz-CredentialX-Amz-SignatureX-Amz-Security-Token
Usage
$ uv run annofab_har sanitize input.har --output output.har
annofab_har to_timing_csv
HARファイルからtimingに関する情報をCSVとして出力します。
CSVの列名
- startedDateTime
- request.method
- request.url
- response.status
- response.content.size
- response.content.mimeType
- response.headers.contentLength
- time
- timings.blocked
- timings.dns
- timings.connect
- timings.send
- timings.wait
- timings.receive
- timings.ssl
Usage
$ uv run annofab_har to_timing_csv input.har --output output.csv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
annofab_har-0.1.2.tar.gz
(6.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file annofab_har-0.1.2.tar.gz.
File metadata
- Download URL: annofab_har-0.1.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9130846fa4f72ebd89f0eb417b47632b8394318f0e67dc985312aecbff121781
|
|
| MD5 |
a96451dee497ea3989731432d4aadc24
|
|
| BLAKE2b-256 |
d7da7f1c27d019e7525a151cf5d9fba67cabe6f8e6e8df0b8d3e27f54fc15a56
|
File details
Details for the file annofab_har-0.1.2-py3-none-any.whl.
File metadata
- Download URL: annofab_har-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2a694d0af97dc9b0ac06dfdbd0f16441e5effc563ed930a80f1494c76df7876
|
|
| MD5 |
e7b387774c3d1ecdb2edd69161a84dc6
|
|
| BLAKE2b-256 |
7bdb28dcc30fac52c5a5198b937ba9b4e82cff7922228fe8415095eea2b1d869
|