mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
Jan_31_2024-Dev
This commit is contained in:
@@ -375,12 +375,12 @@ ReputationFeaturesAgg::Impl::reportReputationFeatures()
|
||||
string uri = "/storage/waap/" + tenantId + "/reputation/" +
|
||||
to_string(chrono::duration_cast<chrono::hours>(currentTime).count()) +
|
||||
"/" + agentId + "/data.data";
|
||||
msg->sendObjectWithPersistence(report,
|
||||
I_Messaging::Method::PUT,
|
||||
|
||||
msg->sendAsyncMessage(
|
||||
HTTPMethod::PUT,
|
||||
uri,
|
||||
"",
|
||||
true,
|
||||
MessageTypeTag::WAAP_LEARNING);
|
||||
report
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#include "i_table.h"
|
||||
#include "i_agent_details.h"
|
||||
#include "i_instance_awareness.h"
|
||||
#include "i_messaging.h"
|
||||
|
||||
class ReputationFeaturesEntry : public TableOpaqueSerialize<ReputationFeaturesEntry>
|
||||
{
|
||||
|
Reference in New Issue
Block a user