Updating local policy, metrics, and local update trigger

This commit is contained in:
Ned Wright
2023-12-14 16:02:53 +00:00
parent 9d848264f3
commit a3014ab381
56 changed files with 3781 additions and 331 deletions

View File

@@ -1,4 +1,4 @@
#add_subdirectory(cptest)
add_subdirectory(cptest)
add_subdirectory(agent_core_utilities)
add_subdirectory(shell_cmd)
add_subdirectory(debug_is)

View File

@@ -66,6 +66,8 @@ enum class Tags {
CROWDSEC,
PLAYGROUND,
API_DISCOVERY,
NGINX_PROXY_MANAGER,
WEB_SERVER_APISIX,
COUNT
};

View File

@@ -108,7 +108,9 @@ TagAndEnumManagement::convertStringToTag(const string &tag)
{"Horizon Telemetry Metrics", ReportIS::Tags::HORIZON_TELEMETRY_METRICS},
{"Crowdsec", ReportIS::Tags::CROWDSEC},
{"apiDiscoveryCloudMessaging", ReportIS::Tags::API_DISCOVERY},
{"Playground", ReportIS::Tags::PLAYGROUND}
{"Playground", ReportIS::Tags::PLAYGROUND},
{"Nginx Proxy Manager", ReportIS::Tags::NGINX_PROXY_MANAGER},
{"APISIX Server", ReportIS::Tags::WEB_SERVER_APISIX}
};
auto report_is_tag = strings_to_tags.find(tag);
@@ -314,7 +316,9 @@ EnumArray<Tags, string> TagAndEnumManagement::tags_translation_arr {
"Horizon Telemetry Metrics",
"Crowdsec",
"Playground",
"apiDiscoveryCloudMessaging"
"apiDiscoveryCloudMessaging",
"Nginx Proxy Manager",
"APISIX Server"
};
EnumArray<AudienceTeam, string> TagAndEnumManagement::audience_team_translation {