mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Fix default parts to be logged on audit logs
This commit is contained in:
parent
fa4f72d90d
commit
5d24b237bd
@ -150,7 +150,7 @@ int AuditLog::removeParts(int parts, const std::string& new_parts) {
|
|||||||
|
|
||||||
|
|
||||||
bool AuditLog::setParts(const std::basic_string<char>& new_parts) {
|
bool AuditLog::setParts(const std::basic_string<char>& new_parts) {
|
||||||
int parts = m_parts;
|
int parts = 0;
|
||||||
|
|
||||||
PARTS_CONSTAINS('A', AAuditLogPart)
|
PARTS_CONSTAINS('A', AAuditLogPart)
|
||||||
PARTS_CONSTAINS('B', BAuditLogPart)
|
PARTS_CONSTAINS('B', BAuditLogPart)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user