Skip to content

Commit

Permalink
feat:add owasp crs risk level
Browse files Browse the repository at this point in the history
  • Loading branch information
samwafgo committed Nov 28, 2024
1 parent 15a8376 commit e228c96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wafenginecore/checkowasp.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func (waf *WafEngine) CheckOwasp(r *http.Request, weblogbean *innerbean.WebLog,
result.IsBlock = true
result.Title = "OWASP:" + strconv.Itoa(interruption.RuleID)
result.Content = "访问不合法"
weblogbean.RISK_LEVEL = 2
}
return result
}

0 comments on commit e228c96

Please sign in to comment.