mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Adds new operator to check for data leakage of Austrian social security number
This commit is contained in:
committed by
Felipe Zimmerle
parent
6d266fae85
commit
86ce479b59
@@ -143,6 +143,7 @@ class Driver;
|
||||
#include "src/operators/verify_cc.h"
|
||||
#include "src/operators/verify_cpf.h"
|
||||
#include "src/operators/verify_ssn.h"
|
||||
#include "src/operators/verify_svnr.h"
|
||||
#include "src/operators/within.h"
|
||||
|
||||
|
||||
@@ -466,6 +467,7 @@ using namespace modsecurity::operators;
|
||||
OPERATOR_VERIFY_CC "OPERATOR_VERIFY_CC"
|
||||
OPERATOR_VERIFY_CPF "OPERATOR_VERIFY_CPF"
|
||||
OPERATOR_VERIFY_SSN "OPERATOR_VERIFY_SSN"
|
||||
OPERATOR_VERIFY_SVNR "OPERATOR_VERIFY_SVNR"
|
||||
OPERATOR_WITHIN "OPERATOR_WITHIN"
|
||||
|
||||
CONFIG_DIR_AUDIT_LOG_FMT
|
||||
@@ -960,6 +962,10 @@ op_before_init:
|
||||
{
|
||||
OPERATOR_CONTAINER($$, new operators::VerifySSN(std::move($2)));
|
||||
}
|
||||
| OPERATOR_VERIFY_SVNR run_time_string
|
||||
{
|
||||
OPERATOR_CONTAINER($$, new operators::VerifySVNR(std::move($2)));
|
||||
}
|
||||
| OPERATOR_GSB_LOOKUP run_time_string
|
||||
{
|
||||
/* $$ = new operators::GsbLookup($1); */
|
||||
|
Reference in New Issue
Block a user