Skip to content

Commit

Permalink
auditLogTrailerMessages is removed in previous section.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkubenka committed Jun 18, 2017
1 parent cb91dbd commit cb985d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2089_filter_section_h_example_severities.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ filter {
ruby {
code => "
modsecSeverities = Set.new
trailerMsgs = event.get('auditLogTrailerMessages').to_hash
trailerMsgs = event.get('auditLogTrailer[messages]')
trailerMsgs.each {|m|
if m.key?('severity')
modsecSeverities.add(m['severity'])
Expand Down

0 comments on commit cb985d8

Please sign in to comment.