From a8bde06b2fd9beac75628b2c090fc6932a0d4e51 Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Mon, 4 Dec 2023 11:25:29 +0000 Subject: [PATCH] tetragon: Add docs for return actions Updating the selectors docs with return actions info. Signed-off-by: Jiri Olsa --- docs/content/en/docs/concepts/tracing-policy/selectors.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/en/docs/concepts/tracing-policy/selectors.md b/docs/content/en/docs/concepts/tracing-policy/selectors.md index 517c7703ec2..91804ea55e6 100644 --- a/docs/content/en/docs/concepts/tracing-policy/selectors.md +++ b/docs/content/en/docs/concepts/tracing-policy/selectors.md @@ -18,6 +18,7 @@ A `TracingPolicy` can contain from 0 to 5 selectors. A selector is composed of - [`matchNamespaceChanges`](#namespace-changes-filter): filter on Linux namespaces changes. - [`matchCapabilityChanges`](#capability-changes-filter): filter on Linux capabilities changes. - [`matchActions`](#actions-filter): apply an action on selector matching. +- [`matchReturnActions`](#return-actions-filter): apply an action on return selector matching. ## Arguments filter @@ -1455,3 +1456,9 @@ exist. - Max MatchArg Values per MatchArgs 1 (limiting initial implementation can bump to 16 or so) + +## Return Actions filter + +Return actions filters are a list of actions that execute when an return selector +matches. They are defined under `matchReturnActions` and currently support all +the [Actions filter](#actions-filter) `action` types.