houbb / houbb/sensitive

一些优化建议

Open
#29 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
716
Forks
190
PR merge metrics
No merged PRs in 30d

Description

1.白名单
我想要的白名单是针对字段的,比如:"chars.scan.whiteList=id,ywlsh",但目前的白名单竟然是针对值的

2.全局配置
增加全局字段配置,针对特定字段做脱敏处理。比如接口对接过程中,以base64的形式传输图片,针对这种字段我希望全脱。规则之外的一些字段,如汽车的号牌号码的半脱。
比如配置成:
chars.scan.blackList=sfzImg:13,headImg:12,hphm:12

3.注解
是否可增加 @SensitiveStrategyIgnore,虽然配置到了正则规则,但不处理。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue requests field-based whitelisting, global field masking configuration, and an @SensitiveStrategyIgnore annotation, but names no files or tests. Start by locating the existing whitelist, configuration, and annotation entry points, then clarify the expected behavior and acceptance tests for each requested feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.