update(cmake): update libs and driver to latest master.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: poiana <51138685+poiana@users.noreply.github.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
This commit is contained in:
poiana
2026-05-04 07:29:56 +00:00
parent 61a8562ad9
commit 2243389e54
3 changed files with 8 additions and 7 deletions

View File

@@ -35,9 +35,9 @@ else()
# FALCOSECURITY_LIBS_VERSION. In case you want to test against another driver version (or
# branch, or commit) just pass the variable - ie., `cmake -DDRIVER_VERSION=dev ..`
if(NOT DRIVER_VERSION)
set(DRIVER_VERSION "3b9f6039e182ce0538e7beea9c5bd39dd3608ece")
set(DRIVER_VERSION "c9c45db36ad98f7e7896070cf4ee8a0885f68edc")
set(DRIVER_CHECKSUM
"SHA256=d6fa8a713a1ee64b4de8e03ec6d990ae04d4a0db5a97c02e5c5783ac094407cf"
"SHA256=5423ecd661b8ef8a8df50b1dc0f50cacf1653dff9e1304b742dcc71a6ca4c131"
)
endif()

View File

@@ -42,9 +42,9 @@ else()
# version (or branch, or commit) just pass the variable - ie., `cmake
# -DFALCOSECURITY_LIBS_VERSION=dev ..`
if(NOT FALCOSECURITY_LIBS_VERSION)
set(FALCOSECURITY_LIBS_VERSION "3b9f6039e182ce0538e7beea9c5bd39dd3608ece")
set(FALCOSECURITY_LIBS_VERSION "c9c45db36ad98f7e7896070cf4ee8a0885f68edc")
set(FALCOSECURITY_LIBS_CHECKSUM
"SHA256=d6fa8a713a1ee64b4de8e03ec6d990ae04d4a0db5a97c02e5c5783ac094407cf"
"SHA256=5423ecd661b8ef8a8df50b1dc0f50cacf1653dff9e1304b742dcc71a6ca4c131"
)
endif()

View File

@@ -17,14 +17,15 @@ limitations under the License.
#include "filter_details_resolver.h"
#include <optional>
#include <stdexcept>
using namespace libsinsp::filter;
static inline std::string get_field_name(const std::string& name, const std::string& arg) {
static std::string get_field_name(const std::string& name, const std::optional<std::string>& arg) {
std::string fld = name;
if(!arg.empty()) {
fld += "[" + arg + "]";
if(arg && !arg->empty()) {
fld += "[" + *arg + "]";
}
return fld;
}