From c4dcf9e4e86003a8b05712f83584f8c67542eee3 Mon Sep 17 00:00:00 2001 From: Melissa Kilby Date: Wed, 21 May 2025 15:14:38 +0000 Subject: [PATCH] cleanup(configs): move runtime generated configs to section w/ clear comments Co-authored-by: Samuel Gaist Signed-off-by: Melissa Kilby --- userspace/falco/configuration.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/userspace/falco/configuration.h b/userspace/falco/configuration.h index e187d46d..2adcdedd 100644 --- a/userspace/falco/configuration.h +++ b/userspace/falco/configuration.h @@ -161,7 +161,6 @@ public: bool m_watch_config_files; bool m_buffered_outputs; - int64_t m_falco_reload_ts; size_t m_outputs_queue_capacity; bool m_time_format_iso_8601; bool m_buffer_format_base64; @@ -215,7 +214,15 @@ public: gvisor_config m_gvisor = {}; yaml_helper m_config; + + // + // Runtime-Generated values (not user-configurable) + // + + // JSON schema generated from a hardcoded string nlohmann::json m_config_schema; + // Timestamp of most recent configuration reload + int64_t m_falco_reload_ts; private: void merge_config_files(const std::string& config_name, config_loaded_res& res);