mendhak / mendhak/docker-http-https-echo

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

未關閉
#78 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Shell
星號
792
分支
152
平均合併
3 天 18 小時
30 天內合併 PR
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. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先找出將請求資料回顯為 JSON 的進入點,並閱讀請求標頭的選取方式。定義設定與標頭篩選行為,然後驗證被排除的 Cookie 或指定的標頭不再出現在回顯輸出中。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
docker, shell
領域
backend-api-design, security
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。