feat: 一阶段
This commit is contained in:
@@ -35,6 +35,8 @@ ignore:
|
||||
- "**/test/**"
|
||||
# 忽略的写入方法(类全名#方法名)
|
||||
writer_methods: []
|
||||
# 忽略的 MQ destination(topic 或 topic:tag,glob)
|
||||
mq_destinations: []
|
||||
|
||||
# 检测规则
|
||||
detection:
|
||||
@@ -44,8 +46,16 @@ detection:
|
||||
- W03 # stringRedisTemplate.opsForValue().set(key, JsonUtil.getObjectToString(x), ...)
|
||||
- W04 # redisTemplate.opsForValue().set(key, obj, ...)
|
||||
- W05 # redisTemplate.opsForHash().put(key, field, obj)
|
||||
# MQ 生产侧投递检测(Phase M1)
|
||||
mq_patterns:
|
||||
- MQ01 # rocketMQTemplate.syncSend(dest, payload)
|
||||
- MQ02 # asyncSend / syncSendOrderly / sendOneWay
|
||||
- MQ-K01 # kafkaTemplate.send(topic, payload)
|
||||
- MQ-K02 # kafkaTemplate.send(topic, key, payload)
|
||||
# W06 读侧辅助:用 parseObject / getJsonToBean 等补强写入点 value 类型(非写入模式)
|
||||
read_hints_enabled: true
|
||||
# MQ-R 读侧补强(Phase M2,默认关闭)
|
||||
mq_read_hints_enabled: false
|
||||
# 类型推断最低置信度,低于此值标记为低置信度提示
|
||||
min_confidence: 0.6
|
||||
# 字段展开最大深度(防止循环引用)
|
||||
|
||||
Reference in New Issue
Block a user