Skip to main content

No project description provided

Project description

annofab-har

AnnofabのHAR(Http Archive)ファイルを扱うコマンドです。

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.1.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.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

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

Hashes for annofab_har-0.1.1.tar.gz
Algorithm Hash digest
SHA256 29752b96deff60f103f95df344d15ab154fbb2600651c4335e78b052eca1bb21
MD5 a336a21e1783ed19b7c4785524cb7531
BLAKE2b-256 34077229607e6d81be4581109aadd8f0b9fc9c16ffbc08e3e05a11b3d55b892f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for annofab_har-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82940e843f85b0d528dc525daa6e8222bd14a36de5ff94e9aa5b1fc688be0bd9
MD5 eecaa6b2c6de4f1dfeb751ca7385d5d3
BLAKE2b-256 162727f7f2dd8df195b81564ba94836bbdb64425e5549540a0153f43031354b1

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