eBPF-based security platform
backend: keep the rejected records of the ingest tests past a week
Daniel Borkmann522f4b73c95c
diff --git a/tools/backend/test/ingest-accepted.sql b/tools/backend/test/ingest-accepted.sqlindex 03633830..f0e4c842 100644--- a/tools/backend/test/ingest-accepted.sql+++ b/tools/backend/test/ingest-accepted.sql@@ -8,8 +8,9 @@-- the second that of a node that follows none.-- The records below carry fixed times, long past the retention of--- shirudo.keepalive.+-- shirudo.keepalive, and a week later past that of shirudo.rejected.SYSTEM STOP TTL MERGES shirudo.keepalive;+SYSTEM STOP TTL MERGES shirudo.rejected;INSERT INTO shirudo.checked (received, time, host_name, quote, body, ok, ak_name, ak_public, reset_count, clock) VALUES('2026-11-11 10:00:00', '2026-11-11 09:59:59', 'edge-01', 'q1', '{"schema":"shirudo.keepalive/1","boot_id":"168d20a1-5011-4e1b-9924-d8b73c85aa4e","version_id":"d6d918ad22ff597579e6678bef75adca84d30f9661e0b7bbdbf534eebc138c1f","config_root":"1d8465c5b17838303fee92b3905420d294d2c22c576a0bdef0f69f190ed22807","kernel_release":"7.4.2","image_id":"fleet-os","image_version":"2026.11.1","image_root":"a3c3f1b0e4c2d7f09e3b6b2a8b1d5e7c4f6a9d0b2c8e1f3a5b7d9c0e2f4a6b8c","verdict":"ok","cond":5461,"flags":0,"tamper":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7],"tree_id":"fleet-base","generation":3,"base_seq":0,"last_seq":3,"base_root":"0000000000000000000000000000000000000000000000000000000000000000","projection_root":"154522480ff8884daa95589e80f26f20248bbf9c192dfbb3cee04e03b4f136a1","mask":"VA==","set_sha256":"74e5bd2c665109f6d8f926af5476c266ad70ab07293ff13b1a13d0b89aa5c1bf","count":1,"not_ok":0}', 1, '000baa', 'QUtB', 7, 60000),diff --git a/tools/backend/test/ingest-rejected.sql b/tools/backend/test/ingest-rejected.sqlindex d67ce0fa..ed11c80a 100644--- a/tools/backend/test/ingest-rejected.sql+++ b/tools/backend/test/ingest-rejected.sql@@ -6,8 +6,9 @@-- reason, and nowhere else. The largest counters that fit are accepted.-- The records below carry fixed times, long past the retention of--- shirudo.keepalive.+-- shirudo.keepalive, and a week later past that of shirudo.rejected.SYSTEM STOP TTL MERGES shirudo.keepalive;+SYSTEM STOP TTL MERGES shirudo.rejected;INSERT INTO shirudo.checked (received, host_name, quote, body, ok, reason, ak_name, ak_public, reset_count, clock) VALUES('2026-11-11 10:00:00', 'n1', 'q1', '{"schema":"shirudo.keepalive/1"}', 0, 'bad_signature', '', '', 0, 0),