mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
Jun 16th update
This commit is contained in:
@@ -245,9 +245,6 @@ DebugFogStream::finishMessage()
|
||||
if (team.ok()) audience_team = *team;
|
||||
}
|
||||
|
||||
string agent_uid =
|
||||
(Report::isPlaygroundEnv() ? "playground-" : "") +
|
||||
Singleton::Consume<I_AgentDetails>::by<DebugFogStream>()->getAgentId();
|
||||
Report message_to_fog(
|
||||
"Debug message",
|
||||
curr_time,
|
||||
@@ -259,7 +256,7 @@ DebugFogStream::finishMessage()
|
||||
getSeverity(),
|
||||
Priority::LOW,
|
||||
chrono::seconds(0),
|
||||
LogField("agentId", agent_uid),
|
||||
LogField("agentId", Singleton::Consume<I_AgentDetails>::by<DebugFogStream>()->getAgentId()),
|
||||
LogField("issuingFunction", func_name),
|
||||
LogField("issuingFile", file_name),
|
||||
LogField("issuingLine", line),
|
||||
@@ -331,9 +328,6 @@ DebugFogStream::handleThresholdReach()
|
||||
if (team.ok()) audience_team = *team;
|
||||
}
|
||||
|
||||
string agent_uid =
|
||||
(Report::isPlaygroundEnv() ? "playground-" : "") +
|
||||
Singleton::Consume<I_AgentDetails>::by<DebugFogStream>()->getAgentId();
|
||||
Report message_to_fog(
|
||||
"Debug message",
|
||||
curr_time,
|
||||
@@ -345,7 +339,7 @@ DebugFogStream::handleThresholdReach()
|
||||
Severity::MEDIUM,
|
||||
Priority::LOW,
|
||||
chrono::seconds(0),
|
||||
LogField("agentId", agent_uid),
|
||||
LogField("agentId", Singleton::Consume<I_AgentDetails>::by<DebugFogStream>()->getAgentId()),
|
||||
LogField("issuingFunction", __FUNCTION__),
|
||||
LogField("issuingFile", "debug_streams.cc"),
|
||||
LogField("issuingLine", __LINE__),
|
||||
|
Reference in New Issue
Block a user