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:
@@ -174,6 +174,9 @@ MainloopComponent::Impl::reportStartupEvent()
|
||||
auto team = i_env->get<ReportIS::AudienceTeam>("Audience Team");
|
||||
if (team.ok()) audience_team = *team;
|
||||
|
||||
string agent_uid =
|
||||
(Report::isPlaygroundEnv() ? "playground-" : "") +
|
||||
Singleton::Consume<I_AgentDetails>::by<MainloopComponent>()->getAgentId();
|
||||
Report startup_message(
|
||||
"Nano service successfully started",
|
||||
curr_time,
|
||||
@@ -185,7 +188,7 @@ MainloopComponent::Impl::reportStartupEvent()
|
||||
ReportIS::Severity::INFO,
|
||||
ReportIS::Priority::HIGH,
|
||||
chrono::seconds(0),
|
||||
LogField("agentId", Singleton::Consume<I_AgentDetails>::by<MainloopComponent>()->getAgentId()),
|
||||
LogField("agentId", agent_uid),
|
||||
ReportIS::Tags::INFORMATIONAL
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user