Skip to main content

No project description provided

Project description

annofab-har

AnnofabのHAR(Http Archive)ファイルを扱うCLIです。

PyPI version Python Versions

Requirements

  • Python 3.10 以上

annofab_har sanitize

AnnofabのHARファイルから機密情報をマスクします。

マスク対象

HARファイルに含まれる以下の情報をマスクします。

  • response
    • content.text(レスポンスボディ)
    • cookies
  • request
    • postData.text(リクエストボディ)
    • cookies
    • headers
      • nameAuthorizationであるvalue
    • url
      • AWS署名付きURLに含まれるマスク対象のクエリパラメータ(後述参照)
  • _initiator
    • urlに含まれるAWS署名付きURLに含まれるマスク対象のクエリパラメータ(後述参照)。再帰的に処理する。

AWS署名付きURLに含まれるマスク対象のクエリパラメータ

  • X-Amz-Credential
  • X-Amz-Signature
  • X-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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

annofab_har-0.1.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

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

Hashes for annofab_har-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9130846fa4f72ebd89f0eb417b47632b8394318f0e67dc985312aecbff121781
MD5 a96451dee497ea3989731432d4aadc24
BLAKE2b-256 d7da7f1c27d019e7525a151cf5d9fba67cabe6f8e6e8df0b8d3e27f54fc15a56

See more details on using hashes here.

File details

Details for the file annofab_har-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for annofab_har-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2a694d0af97dc9b0ac06dfdbd0f16441e5effc563ed930a80f1494c76df7876
MD5 e7b387774c3d1ecdb2edd69161a84dc6
BLAKE2b-256 7bdb28dcc30fac52c5a5198b937ba9b4e82cff7922228fe8415095eea2b1d869

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page