Skip to content

Commit

Permalink
api: ensure CIDR and IP CEL extensions are documented
Browse files Browse the repository at this point in the history
Add CIDR and IP CEL extensions to the docs by sneaking them in through gRPC API
documentation. A subsequent commit will add similar docs to the event filtering documentation.

Signed-off-by: William Findlay <[email protected]>
  • Loading branch information
will-isovalent committed Dec 11, 2024
1 parent 04225f1 commit 31d89f7
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/v1/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion api/v1/tetragon/events.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion api/v1/tetragon/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ message Filter {
CapFilter capabilities = 11;
// Filter parent process' binary using RE2 regular expression syntax.
repeated string parent_binary_regex = 12;
// Filter using CEL expressions.
// Filter using CEL expressions. CEL filters support IP and CIDR notiation extensions from the k8s project.
// See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#IP and https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#CIDR for details.
repeated string cel_expression = 13;
// Filter by process.parent.arguments field using RE2 regular expression syntax:
// https://github.com/google/re2/wiki/Syntax
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/content/en/docs/reference/grpc-api.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31d89f7

Please sign in to comment.