Skip to content

Instantly share code, notes, and snippets.

@hydraslay
Created July 28, 2021 05:07
Show Gist options
  • Save hydraslay/6c3938515a105b206973605f9223969d to your computer and use it in GitHub Desktop.
Save hydraslay/6c3938515a105b206973605f9223969d to your computer and use it in GitHub Desktop.
Log Workerリクエストファイルreq.zip中身
v2.local.DQOeSspaUDRaR_2gU3zXAnFioD_FxuFX3qtX1ysyBmzL2GXduyYRRJRhvYnCtfE0junXWthF-9yryyT5Iybg7-Cp6w4NQJf-eaybK83L00dVVc2eQcFhGK2ZpBuhRI8yz8AIDJwh-luxrq-kdKvM9mhJ6Qy5CmBpE7ORRfE_LGVwLdemQff6cTowso2Je8qGAQhfqUvfad1VzsbdhL_naRJ4Gfr2Xbv_z9yz8Yix-cLfMLR97aaKXqx3DfDLzJ5UubsNC__liPYs36spmGH9e6IgW2eMmDNOn7P5GWhzVQczJvvu42EaYITpDCPUXBGQzdkNzhevQdlA0c2qaiya3kIlFGy5Tj9M33DViigbEHHgMYq-viacvuVJh3GvjNFxGi3r6U_e2XQqkvCc_wUvy4Dmfoe21WzLoyzcPPchjOVhdyDZfBHN0yzDi_zkXPXKWg8th4fQxqKoDEAyTvg9GdNavt5My_ApC_yUcwN8VCVXulopgKDKdtv7MA1sStn_g2FSN-bpwQd45C3WfbBkD7f6Mugf--biOcaFdpyJAO5WmSo-aq8ZNNI.eyJraWQiOjF9
{
"query": {
"type": "2",
"start": 0
},
"body": {
"filter": {
"time": {
"start": "2021-07-21T15:00:00.000Z",
"end": "2021-07-28T03:33:49.000Z"
}
}
}
}
@hydraslay
Copy link
Author

hydraslay commented Jul 28, 2021

  • request.json:API側受けていたリクエスト
  • credentials.json.enc:暗号化されたConfigの一部(DB接続情報)
    payload 原文は:
{
    "database": {
        "database": "xxxxx_production",
        "password": "xxxxxxxxxxxx",
        "host": "test-xxxxxxxx.ap-northeast-1.rds.amazonaws.com",
        "username": "xxxxxxx_production_qqa_management_admin",
        "port": 5432,
        "dialect": "postgres",
        "logging": false,
        "pool": {
            "max": 10,
            "min": 1,
            "idle": 10000
        }
    },
    "dialectOptions": {
        "application_name": "mgmt_log_worker",
        "ssl": false,
        "statement_timeout": 120000
    }
}

footer情報:{"kid": 1}

※暗号化(paseto)について

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment