Jason Dellaluce
67d2fe45a5
refactor: add k8saudit plugin and adapt config, tests, and rulesets
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-29 20:47:19 +02:00
Jason Dellaluce
b91ff34b97
refactor: drop civetweb dependency and implement healtz using cpp-httplib
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-29 20:47:19 +02:00
Leonardo Grasso
98916e547d
build(cmake): bump libs version to c778e452985aa7f17be781754d4ad0658fcc3254
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-04-29 10:16:50 +02:00
Federico Di Pierro
fd9bb83d85
update(build): updated libs version to latest master.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-04-29 10:16:50 +02:00
Jason Dellaluce
c36300a48c
update(build): bump libs version to d6b75db133602dee81b4408902f2510275feae57
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-27 16:22:59 +02:00
Leonardo Grasso
2c3c8b92e0
build: MUSL builds can't have plugins
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-04-22 09:41:56 +02:00
Leonardo Grasso
d443bcfe5f
build: components opt-in mechanism for packages
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-04-22 09:41:56 +02:00
Leonardo Grasso
01b407a358
build: define "plugins" component
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-04-22 09:41:56 +02:00
Leonardo Grasso
3300c72db0
build(cmake/modules): explicitly set libs package and driver component names
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-04-22 09:41:56 +02:00
Leonardo Grasso
8dd4beac73
build(cmake): upgrade catch2 to 2.13.9
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-04-21 16:17:59 +02:00
Jason Dellaluce
df6dced96b
update(build): bump cloudtrail and json plugin versions
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-19 16:29:40 +02:00
Jason Dellaluce
d9d23cd31d
update: bump libs version to b19f87e8aee663e4987a3db54570725e071ed105
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-19 16:29:40 +02:00
Jason Dellaluce
7db9dd66ff
refactor(build): drop dependencies to chisels, luajit, lyaml, and libyaml
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-11 12:22:18 +02:00
Jason Dellaluce
0a132f453a
update(cmake): remove lpeg dependency
...
The Lua PEG parser is not longer needed, since we now use the new filter parser implemented
in libsinsp.
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-03-23 18:31:43 +01:00
Jason Dellaluce
9607cbc2c7
update(build): temporarely bump cloudtrail and json plugin version to dev builds
...
This is required due to the plugin API version being bumped to 1.0.0 in the framework after
the recent breaking changes. cloudtrail and json will be switched back to a stable build
once they get released to require the plugin API version with the newest major.
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-03-18 23:20:01 +01:00
Jason Dellaluce
481e32cab9
update(build): bump libs version to caa0e4d0044fdaaebab086592a97f0c7f32aeaa9
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-03-18 23:20:01 +01:00
Luca Guerra
6c4b267109
chore(build): update falco libs to b7eb0dd
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
2022-03-04 10:48:49 +01:00
Josh Soref
ab05026065
spelling: commands
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-03-01 16:30:24 +01:00
Andrea Terzolo
04ce76becc
chore: bump libs to latest master e71045b
...
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it >
2022-03-01 16:10:24 +01:00
Luca Guerra
4d29b872ab
fix(build): fix civetweb linking in cmake module
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
Co-authored-by: Federico Di Pierro <nierro92@gmail.com >
2022-03-01 14:31:58 +01:00
Federico Di Pierro
f78c816abd
update(build): updated libs to latest master.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-02-25 09:31:19 +01:00
Mark Stemm
d74c8d6d4d
Add cxxopts command line parsing library
...
We'll use this to better manage the fairly large set of command line
options in self-contained objects instead of a scattering of
individual stack variables.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2022-02-24 10:40:16 +01:00
Mark Stemm
cbcc680c77
Cmake function to copy files from source to build dir, as a target
...
Define a cmake function copy_files_to_build_dir(source_files,
targetsuffix) that defines a single custom target and single custom
command to copy the set of source files to
CMAKE_CURRENT_BINARY_DIR. All of the real work is done via cmake -E
copy_if_different.
This function will replace the nearly identical cmake code in several
other directories. This function has the advantage of being a single
target for the set of source files instead of a target per-file.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2022-02-18 16:47:43 +01:00
Mark Stemm
ad90209177
Always skip update command for git based external projects
...
I noticed that some external projects were being reconfigured/built
with every make, even though no files in the external project had been
updated.
With some debugging I noticed that git based external projects were
re-running their "update" step every time, and that in turn caused the
configure/build/install steps to re-run as well. (Generally the build
step is a no-op as the Makefile/etc. in the external project is well
formed and doesn't do anything, but the configure/install steps still
run).
It seems related to this cmake bug:
https://gitlab.kitware.com/cmake/cmake/-/issues/19703 . In short, the
git update step for an external project does not create any "done"
file that denotes that the files are still up-to-date. Without that
"done" file, the update step is always run, and that in turn causes
the other steps for the external project to re-run as well.
The best way to fix this seems to be to skip the update step by
defining an empty UPDATE_COMMAND. As long as the downloaded code for a
given hash/tag/etc does not change, the update step is unnecessary.
And if we *really* wanted to ensure unchanged dependencies, we would
download our own copies anyway.
Making this change significantly cleans up the falco build to avoid
rebuilding git based external dependencies.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2022-02-18 16:47:43 +01:00
Federico Di Pierro
ff21544186
update(build)!: replaced various PROBE
with DRIVER
where necessary.
...
Follow-up of https://github.com/falcosecurity/libs/pull/197 .
Updated libs too to master version, as needed.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-02-08 09:50:39 +01:00
Leonardo Grasso
24e7e84153
update(rules): updated aws cloudtrail rule bumping plugins version
...
Co-authored-by: Jason Dellaluce <jasondellaluce@gmail.com >
Co-authored-by: Federico Di Pierro <nierro92@gmail.com >
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2022-01-28 15:33:22 +01:00
Federico Di Pierro
ce3598f801
update(plugins): updated json plugin to latest v0.2.2.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-01-27 17:22:09 +01:00
Federico Di Pierro
e1e8715a0f
build: updated cloudtrail plugin to latest version.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-01-24 16:12:12 +01:00
Federico Di Pierro
6d507b054c
update(build): update libs version for 0.31 release.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-01-20 14:43:49 +01:00
Federico Di Pierro
f19a1d81c6
update(build): updated plugins to latest versions adding platform name to artifact url.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-01-20 14:43:49 +01:00
Federico Di Pierro
ae57718bda
update(build): updated libs to latest master version. Updated plugins versions. Updated falco engine version.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2022-01-17 17:20:33 +01:00
Mark Stemm
08df1c63cf
Clean up lyaml build a bit
...
change LYAML_SRC to LYAML_ROOT, which points to the top source
directory now.
LYAML_LIB and (new) LYAML_LUA_DIR are based relative to that
directory.
There's no install step at all now--the static library and the .lua
files are now used directly from the source tree.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2022-01-13 09:26:35 +01:00
Mark Stemm
42f8b1cd83
Update to version of libs with better output formatting
...
This has required changes to print info on fields.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2021-12-23 17:05:39 +01:00
Luca Guerra
473b94b386
fix(build): use consistent 7-character build abbrev sha
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
2021-12-23 16:23:39 +01:00
Jason Dellaluce
4c8e369691
update(build): bump fakeit version
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2021-11-22 18:25:44 +01:00
Jason Dellaluce
b15a0458b7
update(build): allow using local libs source dir
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
Co-authored-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2021-11-18 16:26:18 +01:00
Jason Dellaluce
d6cb8bc4bd
refactor(build): setting variable defaults according to newest libs version
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
Co-authored-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2021-11-18 16:26:18 +01:00
Jason Dellaluce
2cc7fd9072
update(build): bump libs version
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
Co-authored-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2021-11-18 16:26:18 +01:00
Jason Dellaluce
589829ae2f
update(build): remove libscap patch
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
Co-authored-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2021-11-18 16:26:18 +01:00
Federico Di Pierro
35302f6f09
update(build): update libs to falcosecurity/libs master.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 17:25:24 +01:00
Federico Di Pierro
375a6f66c5
update(build): force using libs-bundled luajit.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2021-11-17 17:25:24 +01:00
Federico Di Pierro
e8a243d6ea
wip: point to my own library for CI purposes.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 17:25:24 +01:00
Federico Di Pierro
7927f45d9f
update(build): dropped Falco local luajit module, use the one provided by libs (upgraded) instead.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
Co-authored-by: Jason Dellaluce <jasondellaluce@gmail.com >
2021-11-17 17:25:24 +01:00
Federico Di Pierro
d9aff8d564
update(build): switched back to falcosecurity libs on master.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 16:18:23 +01:00
Federico Di Pierro
40e3fdd09c
update(build): updated libs.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 16:18:23 +01:00
Federico Di Pierro
ba2323046a
fix(build): properly use correct lib/lib64 folder for CIVETWEB_LIB variables.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 16:18:23 +01:00
Federico Di Pierro
5e6f30109e
update(build): dropped civetweb patch. Use different ExternalProject_Add when building with bundled openssl or not, to avoid depending on an unexhistent target.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 16:18:23 +01:00
Federico Di Pierro
f3c3de7e05
fix(build): properly share OPENSSL_INCLUDE_DIR and OPENSSL_LIBRARIES vars to civetweb cmake.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 16:18:23 +01:00
Federico Di Pierro
ca61f87682
update(build): civetweb depends on openssl.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2021-11-17 16:18:23 +01:00
Federico Di Pierro
113bb5cdd6
update(build): update falcosecurity libs to use my own libs repo and version to be able to test the build against FedeDP:fix_ssl_1_1_get_all_data branch (not yet merged).
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2021-11-17 16:18:23 +01:00