mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 12:07:43 +03:00
Jun 16th update
This commit is contained in:
@@ -30,6 +30,10 @@ struct Policy {
|
||||
enable(false),
|
||||
enforce(false)
|
||||
{
|
||||
bool web_attack_on;
|
||||
ar(cereal::make_nvp("webAttackMitigation", web_attack_on));
|
||||
if (!web_attack_on) return;
|
||||
|
||||
std::string level;
|
||||
ar(cereal::make_nvp("csrfProtection", level));
|
||||
level = boost::algorithm::to_lower_copy(level);
|
||||
|
Reference in New Issue
Block a user