fix(boto3): Set `aws.dynamodb.item_collection_metrics` scrubbing to `auto`

未關閉 適合新手
#8,074 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@pabloDeputter 已經在處理了。

開始於 2026年10月27日。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
67/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
aws, python
領域
backend

研究方向

找出 aws.dynamodb.item_collection_metrics 設定為 apply_scrubbing=manual 的位置,接著檢查周圍的 DynamoDB scrubbing 設定,以及 db.query.text 或 aws.s3.key 的既有案例。將設定改為 auto,並新增或更新一個聚焦的測試,確認 ItemCollectionKey 中的分割區索引鍵值經過 scrubbing;該測試通過即完成。

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

描述

Improvement Integration: Boto3 Python Traces

Currently, aws.dynamodb.item_collection_metrics is set to apply_scrubbing=manual, but its ItemCollectionKey holds the partition-key value of the written item, e.g. {"customer_id":{"S":"c1"}} which can be an email when it's keyed by this value.

Also matches scrubbing on db.query.text, db.query.parameter.[key], aws.s3.key, aws.s3.copy_source, aws.s3.delete, etc

主要語言
Python
星號
2.2k
分支
698
平均合併
1 天 3 小時
30 天內合併 PR
135

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/sentry-python 的其他 Issue

查看 getsentry/sentry-python 的全部 Issue

相似的 Issue

更多 Python Issue

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

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