No project description provided
Project description
annofab-har
AnnofabのHAR(Http Archive)ファイルを扱うコマンドです。
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.1.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.1.tar.gz.
File metadata
- Download URL: annofab_har-0.1.1.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 |
29752b96deff60f103f95df344d15ab154fbb2600651c4335e78b052eca1bb21
|
|
| MD5 |
a336a21e1783ed19b7c4785524cb7531
|
|
| BLAKE2b-256 |
34077229607e6d81be4581109aadd8f0b9fc9c16ffbc08e3e05a11b3d55b892f
|
File details
Details for the file annofab_har-0.1.1-py3-none-any.whl.
File metadata
- Download URL: annofab_har-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82940e843f85b0d528dc525daa6e8222bd14a36de5ff94e9aa5b1fc688be0bd9
|
|
| MD5 |
eecaa6b2c6de4f1dfeb751ca7385d5d3
|
|
| BLAKE2b-256 |
162727f7f2dd8df195b81564ba94836bbdb64425e5549540a0153f43031354b1
|