ModSecurity的代码我复制这个大佬的,但是会报错,我现在就差最后一步加上这个验证规则了,其他都弄完了,有大佬能讲解下吗。
SecRule REQUEST_METHOD "^POST$" "chain,msg: 'GitLab Graphql information Link',severity:ERROR,deny,status:404,id:xxx"
SecRule REQUEST_URI "/api/graphql" "chain"
SecRule REQUEST_BODY:data "@rx (?!)username&(?!)eamil&\{/"