mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Adds support the Parallel audit log index creation
The index is now being generated.
This commit is contained in:
@@ -57,6 +57,15 @@ double random_number(const double from, const double to) {
|
||||
}
|
||||
|
||||
|
||||
std::string dash_if_empty(const std::string& str) {
|
||||
if (str.empty()) {
|
||||
return "-";
|
||||
}
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
double generate_assay_unique_id() {
|
||||
return random_number(0, 100);
|
||||
}
|
||||
|
Reference in New Issue
Block a user