From dcc9213f18dfc77db06ac413f32fb1a78b2ab44c Mon Sep 17 00:00:00 2001 From: Rohith-Raju Date: Wed, 17 Apr 2024 20:20:38 +0530 Subject: [PATCH] update(hooks/UseWasm): update scap option Signed-off-by: Rohith-Raju --- src/Hooks/UseWasm.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Hooks/UseWasm.tsx b/src/Hooks/UseWasm.tsx index 0f458ac..055dbc2 100644 --- a/src/Hooks/UseWasm.tsx +++ b/src/Hooks/UseWasm.tsx @@ -33,8 +33,10 @@ function useWasm() { const falcoScapOptions = [ "-r", "rule.yaml", - "-e", - "capture_file.scap", + "-o", + "engine.kind=replay", + "-o", + "engine.replay.capture_file=capture_file.scap", "-o", "json_output=true", "-o",