Skip to content

Annofabに関するHAR(Http Archive)ファイルから機密情報をマスクします。

Notifications You must be signed in to change notification settings

kurusugawa-computer/annofab-har-sanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

annofab-har-sanitizer

Annofabに関するHAR(Http Archive)ファイルから機密情報をマスクします。

マスク対象

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

Requirements

  • Python 3.10 以上

Usage

$ python ahs/annofab_har_sanitizer.py input.har --output output.har

About

Annofabに関するHAR(Http Archive)ファイルから機密情報をマスクします。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published