Commit 68df7337 authored by 王海鹰's avatar 王海鹰

脱敏白名单新加时间字段

parent aa763a65
...@@ -5,7 +5,7 @@ source: "hdfs" ...@@ -5,7 +5,7 @@ source: "hdfs"
hdfs_src: "hdfs://cdh-2:8020/tmp/datawarehouse4/jzjy/kcbp_biz_log" hdfs_src: "hdfs://cdh-2:8020/tmp/datawarehouse4/jzjy/kcbp_biz_log"
# hdfs日志写入地址,非必传,默认写到hdfs-src目录下的output目录下 # hdfs日志写入地址,非必传,默认写到hdfs-src目录下的output目录下
hdfs_dest: "hdfs://cdh-2:8020/tmp/datawarehouse/jzjy/kcbp_biz_log/output4/" hdfs_dest: "hdfs://cdh-2:8020/tmp/datawarehouse/jzjy/kcbp_biz_log/output5/"
# 脱敏结果下载到的本地路径 # 脱敏结果下载到的本地路径
download_path: "/tmp" download_path: "/tmp"
...@@ -24,7 +24,7 @@ end_time: 1601348850000 ...@@ -24,7 +24,7 @@ end_time: 1601348850000
# 不做脱敏的字段白名单 # 不做脱敏的字段白名单
fieldsWhiteList: "messid,fundid,custid,orgid,brhid,secuid,bankcode,market,ordersno,ordergroup,count,poststr,stkcode,bsflag,\ fieldsWhiteList: "messid,fundid,custid,orgid,brhid,secuid,bankcode,market,ordersno,ordergroup,count,poststr,stkcode,bsflag,\
orderamt,price,qty,bankcode,tacode,ofcode,transacc,taacc" orderamt,price,qty,bankcode,tacode,ofcode,transacc,taacc,indexTime,logchecktime,end_logtime,collecttime,deserializerTime,versioninfo"
# 脱敏用的正则表达式 # 脱敏用的正则表达式
reg_exp: reg_exp:
...@@ -41,7 +41,7 @@ reg_exp: ...@@ -41,7 +41,7 @@ reg_exp:
# 身份证号码(18位)正则 # 身份证号码(18位)正则
id18: "[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9Xx])" id18: "[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9Xx])"
# 银行卡号 # 银行卡号
bank_card: "([1-9]{1})(\d{11}|\d{15}|\d{16}|\d{17}|\d{18})" bank_card: "([1-9]{1})(\\d{11}|\\d{15}|\\d{16}|\\d{17}|\\d{18})"
# 家庭住址正则 # 家庭住址正则
address: "([\u4E00-\u9FA5A-Za-z0-9_]+(省|市|区|县|道|路|街|号|弄|条|室)){2,}" address: "([\u4E00-\u9FA5A-Za-z0-9_]+(省|市|区|县|道|路|街|号|弄|条|室)){2,}"
# ip地址正则 # ip地址正则
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment