17 Star 9 Fork 0

DataFlux/dataflux-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
meta.json 17.76 KB
一键复制 编辑 原始数据 按行查看 历史
pjy 提交于 2023-08-03 11:07 . 更新敏感信息扫描模板
{
"main":{
"rules":[
{
"name":"Visa Card Scanner (4x4 digits)",
"description":"\"Scan for Visa Card numbers formatted as 4 groups of 4 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 4111 1111 1111 1111\n* 4111-1111-1111-1111\n* 4111.1111.1111.1111\n* 4111,1111,1111,1111\"",
"pattern":"\\b4\\d{3}(?:(?:,\\d{4}){3}|(?:\\s\\d{4}){3}|(?:\\.\\d{4}){3}|(?:-\\d{4}){3})\\b",
"tags":[
"sensitive_data:visa_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Visa Card Scanner (2x8 digits)",
"description":"\"Scan for Visa Card numbers formatted as 2 groups of 8 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 41111111 11111111\n* 41111111-11111111\n* 41111111.11111111\n* 41111111,11111111\"",
"pattern":"\\b4\\d{3}(?:(?:\\d{4}(?:(?:,\\d{8})|(?:-\\d{8})|(?:\\s\\d{8})|(?:\\.\\d{8}))))\\b",
"tags":[
"sensitive_data:visa_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Visa Card Scanner (1x16 & 1x19 digits)",
"description":"\"Scan for Visa Card numbers formatted as 16 or 19 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 4111111111111111\n* 4012888888881881\"",
"pattern":"\\b4\\d{15}(?:\\d{3})?\\b",
"tags":[
"sensitive_data:visa_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"MasterCard Scanner (4x4 digits)",
"description":"\"Scan for MasterCard numbers formatted as 4 groups of 4 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 5105 1051 0510 5100\n* 5105-1051-0510-5100\n* 5105.1051.0510.5100\n* 5105,1051,0510,5100\"",
"pattern":"\\b(?:(?:5[1-5]\\d{2})|(?:222[1-9])|(?:22[3-9]\\d)|(?:2[3-6]\\d{2})|(?:27[0-1]\\d)|(?:2720))(?:(?:\\s\\d{4}){3}|(?:\\.\\d{4}){3}|(?:-\\d{4}){3}|(?:,\\d{4}){3})\\b",
"tags":[
"sensitive_data:master_card_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"MasterCard Scanner (2x8 digits)",
"description":"\"Scan for MasterCard numbers formatted as 2 groups of 8 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 51051051 05105100\n* 51051051-05105100\n* 51051051.05105100\n* 51051051,05105100\"",
"pattern":"\\b(?:(?:5[1-5]\\d{2})|(?:222[1-9])|(?:22[3-9]\\d)|(?:2[3-6]\\d{2})|(?:27[0-1]\\d)|(?:2720))(?:(?:\\d{4}(?:(?:,\\d{8})|(?:-\\d{8})|(?:\\s\\d{8})|(?:\\.\\d{8}))))\\b",
"tags":[
"sensitive_data:master_card_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"MasterCard Scanner (1x16 digits)",
"description":"\"Scan for MasterCard numbers formatted as 16 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 5105105105105100\"",
"pattern":"\\b(?:(?:5[1-5]\\d{2})|(?:222[1-9])|(?:22[3-9]\\d)|(?:2[3-6]\\d{2})|(?:27[0-1]\\d)|(?:2720))(?:\\d{12})\\b",
"tags":[
"sensitive_data:master_card_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Discover Card Scanner (4x4 digits)",
"description":"\"Scan for Discover Card numbers formatted as 4 groups of 4 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 6011 0009 9013 9424\n* 6011-0009-9013-9424\n* 6011.0009.9013.9424\n* 6011,0009,9013,9424\"",
"pattern":"\\b(?:(?:(?:6221(?:2[6-9]|[3-9][0-9])\\d{2}(?:,\\d{4}){2})|(?:6221\\s(?:2[6-9]|[3-9][0-9])\\d{2}(?:\\s\\d{4}){2})|(?:6221\\.(?:2[6-9]|[3-9][0-9])\\d{2}(?:\\.\\d{4}){2})|(?:6221-(?:2[6-9]|[3-9][0-9])\\d{2}(?:-\\d{4}){2}))|(?:(?:6229(?:[01][0-9]|2[0-5])\\d{2}(?:,\\d{4}){2})|(?:6229\\s(?:[01][0-9]|2[0-5])\\d{2}(?:\\s\\d{4}){2})|(?:6229\\.(?:[01][0-9]|2[0-5])\\d{2}(?:\\.\\d{4}){2})|(?:6229-(?:[01][0-9]|2[0-5])\\d{2}(?:-\\d{4}){2}))|(?:(?:6011|65\\d{2}|64[4-9]\\d|622[2-8])(?:(?:\\s\\d{4}){3}|(?:\\.\\d{4}){3}|(?:-\\d{4}){3}|(?:,\\d{4}){3})))\\b",
"tags":[
"sensitive_data:discover_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Discover Card Scanner (2x8 digits)",
"description":"\"Scan for Discover Card numbers formatted as 2 groups of 8 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 60110009 90139424\n* 60110009-90139424\n* 60110009.90139424\n* 60110009,90139424\"",
"pattern":"\\b(?:6221(?:2[6-9]|[3-9][0-9])\\d{2}(?:,\\d{8}|\\s\\d{8}|-\\d{8}|\\.\\d{8})|6229(?:[01][0-9]|2[0-5])\\d{2}(?:,\\d{8}|\\s\\d{8}|-\\d{8}|\\.\\d{8})|(?:6011|65\\d{2}|64[4-9]\\d|622[2-8])\\d{4}(?:,\\d{8}|\\s\\d{8}|-\\d{8}|\\.\\d{8}))\\b",
"tags":[
"sensitive_data:discover_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Discover Card Scanner (1x16 digits)",
"description":"\"Scan for Discover Card numbers formatted as 16 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 6011000990139424\"",
"pattern":"\\b(?:6221(?:2[6-9]|[3-9][0-9])\\d{10}|6229(?:[01][0-9]|2[0-5])\\d{10}|(?:6011|65\\d{2}|64[4-9]\\d|622[2-8])\\d{12})\\b",
"tags":[
"sensitive_data:discover_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"American Express Card Scanner (4+6+5 digits)",
"description":"\"Scan for American Express Card numbers formatted as 3 groups of 4, 6, and 5 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 3782 822463 10005\n* 3782-822463-10005\n* 3782.822463.10005\n* 3782,822463,10005\"",
"pattern":"\\b3[47]\\d{2}(?:(?:\\s\\d{6}\\s\\d{5})|(?:\\.\\d{6}\\.\\d{5})|(?:-\\d{6}-\\d{5})|(?:,\\d{6},\\d{5}))\\b",
"tags":[
"sensitive_data:american_express_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"American Express Card Scanner (4+4+4+3 digits)",
"description":"\"Scan for American Express Card numbers formatted as 3 groups of 4 contiguous digits followed by 3 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 3782 8224 6310 005\n* 3782-8224-6310-005\n* 3782.8224.6310.005\n* 3782,8224.6310,005\"",
"pattern":"\\b3[47]\\d{2}(?:(?:\\s\\d{4}\\s\\d{4}\\s\\d{3})|(?:\\,\\d{4}\\,\\d{4}\\,\\d{3})|(?:-\\d{4}-\\d{4}-\\d{3})|(?:\\.\\d{4}\\.\\d{4}\\.\\d{3}))\\b",
"tags":[
"sensitive_data:american_express_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"American Express Card Scanner (8+7 digits)",
"description":"\"Scan for American Express Card numbers formatted as 2 groups of 8 and 7 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 37828224 6310005\n* 37828224-6310005\n* 37828224.6310005\n* 37828224.6310005\"",
"pattern":"\\b3[47]\\d{6}(?:(?:\\s\\d{7})|(?:\\,\\d{7})|(?:-\\d{7})|(?:\\.\\d{7}))\\b",
"tags":[
"sensitive_data:american_express_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"American Express Card Scanner (1x15 digits)",
"description":"\"Scan for American Express Card numbers formatted as 15 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 378282246310005\"",
"pattern":"\\b3[47]\\d{13}\\b",
"tags":[
"sensitive_data:american_express_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Diners Card Scanner (4+6+4 digits)",
"description":"\"Scan for Diners Card numbers formatted as 3 groups of 4, 6, and 4 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 3056 930902 5904\n* 3056-930902-5904\n* 3056.930902.5904\n* 3056,930902,5904\"",
"pattern":"\\b(?:30[0-59]\\d|3[689]\\d{2})(?:(?:\\s\\d{6}\\s\\d{4})|(?:\\.\\d{6}\\.\\d{4})|(?:-\\d{6}-\\d{4})|(?:,\\d{6},\\d{4}))\\b",
"tags":[
"sensitive_data:diners_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Diners Card Scanner (4+4+4+2 digits)",
"description":"\"Scan for Diners Card numbers formatted as 3 groups of 4 contiguous digits followed by 2 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 3056 9309 0259 04\n* 3056-9309-0259-04\n* 3056.9309.0259.04\n* 3056,9309,0259,04\"",
"pattern":"\\b(?:30[0-59]\\d|3[689]\\d{2})(?:(?:\\s\\d{4}\\s\\d{4}\\s\\d{2})|(?:\\,\\d{4}\\,\\d{4}\\,\\d{2})|(?:-\\d{4}-\\d{4}-\\d{2})|(?:\\.\\d{4}\\.\\d{4}\\.\\d{2}))\\b",
"tags":[
"sensitive_data:diners_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Diners Card Scanner (8+6 digits)",
"description":"\"Scan for Diners Card numbers formatted as 2 groups of 8 and 6 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 30569309 025904\n* 30569309-025904\n* 30569309.025904\n* 30569309,025904\"",
"pattern":"\\b(?:30[0-59]\\d{5}|3[689]\\d{6})(?:(?:\\s\\d{6})|(?:\\,\\d{6})|(?:-\\d{6})|(?:\\.\\d{6}))\\b",
"tags":[
"sensitive_data:diners_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Diners Card Scanner (1x14 digits)",
"description":"\"Scan for Diners Card numbers formatted as 14 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 30569309025904\"",
"pattern":"(?:30[0-59]\\d|3[689]\\d{2})(?:\\d{10})",
"tags":[
"sensitive_data:diners_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"JCB Card Scanner (4x4 digits)",
"description":"\"Scan for JCB Card numbers formatted as 4 groups of 4 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 3530 1113 3330 0000\n* 3530-1113-3330-0000\n* 3530.1113.3330.0000\n* 3530,1113,3330,0000\"",
"pattern":"\\b35(?:2[89]|[3-9][0-9])(?:(?:\\s\\d{4}){3}|(?:\\.\\d{4}){3}|(?:-\\d{4}){3}|(?:,\\d{4}){3})\\b",
"tags":[
"sensitive_data:jcb_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"JCB Card Scanner (2x8 digits)",
"description":"\"Scan for JCB Card numbers formatted as 2 groups of 8 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 35301113 33300000\n* 35301113-33300000\n* 35301113.33300000\n* 35301113,33300000\"",
"pattern":"\\b35(?:2[89]|[3-9][0-9])\\d{4}(?:(?:,\\d{8})|(?:-\\d{8})|(?:\\s\\d{8})|(?:\\.\\d{8}))\\b",
"tags":[
"sensitive_data:jcb_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"JCB Card Scanner (1x16 digits)",
"description":"\"Scan for JCB Card numbers formatted as 16 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 3530111333300000\n\"",
"pattern":"\\b35(?:2[89]|[3-9][0-9])(?:\\d{12})\\b",
"tags":[
"sensitive_data:jcb_credit_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Maestro Card Scanner (4x4 digits)",
"description":"\"Scan for Maestro Card numbers formatted as 4 groups of 4 contiguous digits. Matches are validated via the Luhn algorithm. \n\nExamples of matching formats:\n* 6759 6498 2643 8453\n* 6759-6498-2643-8453\n* 6759.6498.2643.8453\n* 6759,6498,2643,8453\"",
"pattern":"\\b(?:5[06-9]\\d{2}|6\\d{3})(?:(?:\\s\\d{4}){3}|(?:\\.\\d{4}){3}|(?:-\\d{4}){3}|(?:,\\d{4}){3})\\b",
"tags":[
"sensitive_data:maestro_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Maestro Card Scanner (2x8 digits)",
"description":"\"Scan for Maestro Card numbers formatted as 2 groups of 8 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 67596498 26438453\n* 67596498-26438453\n* 67596498.26438453\n* 67596498,26438453\"",
"pattern":"\\b(?:5[06-9]\\d{6}|6\\d{7})(?:\\s\\d{8}|\\.\\d{8}|-\\d{8}|,\\d{8})\\b",
"tags":[
"sensitive_data:maestro_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Maestro Card Scanner (1x16 digits)",
"description":"\"Scan for Maestro Card numbers formatted as 16 contiguous digits. Matches are validated via the Luhn algorithm.\n\nExamples of matching formats:\n* 6759649826438453\n\"",
"pattern":"\\b(?:5[06-9]\\d{2}|6\\d{3})(?:\\d{12})\\b",
"tags":[
"sensitive_data:maestro_card",
"sensitive_data_category:credit_card"
]
},
{
"name":"Standard Iban Code Scanner",
"pattern":"\\b(?:NO\\d{2}(?:[ \\-]?\\d{4}){2}[ \\-]?\\d{3}|BE\\d{2}(?:[ \\-]?\\d{4}){3}|(?:DK|FO|FI|GL|SD)\\d{2}(?:[ \\-]?\\d{4}){3}[ \\-]?\\d{2}|NL\\d{2}[ \\-]?[A-Z]{4}(?:[ \\-]?\\d{4}){2}[ \\-]?\\d{2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 \\-]?\\d{4}[ \\-]?\\d{2}[A-Z0-9]{2}(?:[ \\-]?[A-Z0-9]{4}){4}[ \\-]?[A-Z0-9]|BR\\d{2}(?:[ \\-]?\\d{4}){5}[ \\-]?\\d{3}[A-Z0-9][ \\-]?[A-Z0-9]|EG\\d{2}(?:[ \\-]?\\d{4}){6}\\d|MU\\d{2}[ \\-]?[A-Z]{4}(?:[ \\-]?\\d{4}){4}\\d{3}[A-Z][ \\-]?[A-Z]{2}|(?:KW|JO)\\d{2}[ \\-]?[A-Z]{4}(?:[ \\-]?[A-Z0-9]{4}){5}[ \\-]?[A-Z0-9]{2}|MT\\d{2}[ \\-]?[A-Z]{4}[ \\-]?\\d{4}[ \\-]?\\d[A-Z0-9]{3}(?:[ \\-]?[A-Z0-9]{3}){4}[ \\-]?[A-Z0-9]{3}|SC\\d{2}[ \\-]?[A-Z]{4}(?:[ \\-]?\\d{4}){5}[ \\-]?[A-Z]{3}|LC\\d{2}[ \\-]?[A-Z]{4}(?:[ \\-]?[A-Z0-9]{4}){6})\\b",
"tags":[
"sensitive_data:iban_code",
"sensitive_data_category:iban_code"
]
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/dataflux/dataflux-template.git
git@gitee.com:dataflux/dataflux-template.git
dataflux
dataflux-template
dataflux-template
merge

搜索帮助