Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions regex-assembly/951190.ra
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##! Please refer to the documentation at
##! https://coreruleset.org/docs/development/regex_assembly/.

##!+ i

Warning.*ingres_
Ingres SQLSTATE
Ingres\W.*Driver
7 changes: 6 additions & 1 deletion rules/RESPONSE-951-DATA-LEAKAGES-SQL.conf
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,12 @@ SecRule RESPONSE_BODY "@rx (?i:An illegal character has been found in the statem
setvar:'tx.outbound_anomaly_score_pl1=+%{tx.critical_anomaly_score}',\
setvar:'tx.sql_injection_score=+%{tx.critical_anomaly_score}'"

SecRule RESPONSE_BODY "@rx (?i:Warning.*ingres_|Ingres SQLSTATE|Ingres\W.*Driver)" \
# Regular expression generated from regex-assembly/951190.ra.
# To update the regular expression run the following shell script
# (consult https://coreruleset.org/docs/development/regex_assembly/ for details):
# crs-toolchain regex update 951190
#
SecRule RESPONSE_BODY "@rx (?i)Warning.*ingres_|Ingres(?: SQLSTATE|[^0-9A-Z_a-z].*Driver)" \
"id:951190,\
phase:4,\
block,\
Expand Down
Loading