mendhak / mendhak/docker-http-https-echo

[Feature request] Option to not log some headers (cookies for instance)

オープン
#78 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Shell
スター
792
フォーク
152
平均マージ
3日 18時間
マージ済み PR(30日)
3

説明

Hello folks,

I think it would be nice if it was possible to add an option to filter out some headers (very generic) or at least an option to filter out cookies.

While this can be useful, it can also be undesirable to log the cookies. In a context where the app is used in a shared environment and developers call it directly for some tests, it could happen that users cookies are logged and could be used for impersonation. Obviously, by nature, this app has such security "issues" but it would still be nice to be able to disable logging some items when you want to be a bit safer.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、リクエストデータを JSON としてエコーするエントリーポイントを見つけ、リクエストヘッダーがどのように選択されるかを確認します。設定とヘッダーのフィルタリング動作を定義し、除外された Cookie や名前付きヘッダーがエコーされた出力に表示されなくなっていることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, shell
領域
backend-api-design, security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。