mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
update embedded nginx support for openappsec and bug fixes and schema changes
This commit is contained in:
@@ -170,6 +170,9 @@ string GenericMetric::getListenerName() const { return metric_name; }
|
||||
void
|
||||
GenericMetric::generateLog()
|
||||
{
|
||||
string agent_uid =
|
||||
(Report::isPlaygroundEnv() ? "playground-" : "") +
|
||||
Singleton::Consume<I_AgentDetails>::by<GenericMetric>()->getAgentId();
|
||||
set<ReportIS::Tags> tags;
|
||||
Report metric_to_fog(
|
||||
metric_name,
|
||||
@@ -182,7 +185,7 @@ GenericMetric::generateLog()
|
||||
Severity::INFO,
|
||||
Priority::LOW,
|
||||
report_interval,
|
||||
LogField("agentId", Singleton::Consume<I_AgentDetails>::by<GenericMetric>()->getAgentId()),
|
||||
LogField("agentId", agent_uid),
|
||||
tags,
|
||||
Tags::INFORMATIONAL,
|
||||
issuing_engine
|
||||
|
Reference in New Issue
Block a user