Skip to main content

Core scrubbing and masking utilities for Sentry events, SDK-agnostic.

Project description

lush-sentryx-core

只做一件事: 对数据做脱敏/过滤.

它不依赖 sentry-sdk. 你可以把它接到 Sentry 的 before_send 上,也可以单独用在日志/审计/任务系统里.

例子

from lush_sentryx_core import SENTRY_DEFAULT_DENYLIST, deep_scrub_sensitive_data

data = {"password": "secret", "profile": {"token": "xxx", "name": "demo"}}
deep_scrub_sensitive_data(data, SENTRY_DEFAULT_DENYLIST)

开发

uv sync -p 3.10 --frozen
uv run -p 3.10 pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lush_sentryx_core-0.1.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lush_sentryx_core-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file lush_sentryx_core-0.1.0.tar.gz.

File metadata

  • Download URL: lush_sentryx_core-0.1.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lush_sentryx_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1c7706ac203846d15a9878587cac7b5452ea042a750f3f7581d9509d3dec663
MD5 7383a991796a1e09a788644a25094158
BLAKE2b-256 336c5cc7c7e8c8dddf43a152184e67242bb473c5bbf925b7bcf826077d108722

See more details on using hashes here.

File details

Details for the file lush_sentryx_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lush_sentryx_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lush_sentryx_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f06d7f4571ee4a8e0307c0cfbe4166b93aedce43af4182d3cbd90d1c1c6ddb18
MD5 57065d79d13c69a08e2ff758b7ac4248
BLAKE2b-256 14ae0b0ba303ae3dc05a56da7e6cbcced6c39d47d7575dc518576d9291fbd822

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page