You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
karmor supports similar options in multiple commands, however the option names are different for different commands.
option for system|network, cilium|kubearmor ... currently karmor discover uses --policy cilium|kubearmor while karmor insight uses --source system|network ... Ideally we should have similar option name across these commands such as --class application | network
in karmor insight the option supported is --rule string ... However, there is no example for how to use this option.
better to use --grpc in place of --gRPC
karmor insight uses --type field to specify ingress/egress rule filtering. This should be called --ruletype. Btw, --rule and --type seems overlapping.
❯ karmor discover --help
Discover applicable policies
Usage:
karmor discover [flags]
Flags:
-c, --clustername string Filter by Clustername
-f, --format string Format: json or yaml (default "json")
-s, --fromsource string Filter by policy FromSource
--gRPC string gRPC server information
-h, --help help for discover
-l, --labels string Filter by policy Label
-n, --namespace string Filter by Namespace
-p, --policy string Type of policies to be discovered: cilium or kubearmor (default "kubearmor")
❯ karmor insight --help
Policy insight from discovery engine
Usage:
karmor insight [flags]
Flags:
--clustername string Filter according to the Cluster name
--containername string Filter according to the Container name
--fromsource string Filter according to the source path
--gRPC string gRPC server information
-h, --help help for insight
--labels string Labels for resources
-n, --namespace string Namespace for resources
--rule string NW packet Rule
--source string The DB for insight : system|network|all (default "all")
--type string NW packet type : ingress|egress
The text was updated successfully, but these errors were encountered:
nyrahul
changed the title
option names fors karmor
option names for karmor
Apr 28, 2022
karmor supports similar options in multiple commands, however the option names are different for different commands.
karmor discover
uses--policy cilium|kubearmor
whilekarmor insight
uses--source system|network
... Ideally we should have similar option name across these commands such as--class application | network
karmor insight
the option supported is--rule string
... However, there is no example for how to use this option.--grpc
in place of--gRPC
karmor insight
uses--type
field to specify ingress/egress rule filtering. This should be called--ruletype
. Btw,--rule
and--type
seems overlapping.The text was updated successfully, but these errors were encountered: