diff --git a/pkg/export/attributes/attr_defs.go b/pkg/export/attributes/attr_defs.go index c9f4e80c5..5651c6cc2 100644 --- a/pkg/export/attributes/attr_defs.go +++ b/pkg/export/attributes/attr_defs.go @@ -64,18 +64,18 @@ func getDefinitions(groups AttrGroups) map[Section]AttrReportGroup { Disabled: !kubeEnabled, Attributes: map[attr.Name]Default{ attr.K8sSrcOwnerName: true, + attr.K8sSrcOwnerType: true, attr.K8sSrcNamespace: true, attr.K8sDstOwnerName: true, + attr.K8sDstOwnerType: true, attr.K8sDstNamespace: true, attr.K8sClusterName: true, attr.K8sSrcName: false, attr.K8sSrcType: false, - attr.K8sSrcOwnerType: false, attr.K8sSrcNodeIP: false, attr.K8sSrcNodeName: false, attr.K8sDstName: false, attr.K8sDstType: false, - attr.K8sDstOwnerType: false, attr.K8sDstNodeIP: false, attr.K8sDstNodeName: false, }, diff --git a/pkg/export/attributes/attr_selector_test.go b/pkg/export/attributes/attr_selector_test.go index b575aeceb..2181c9613 100644 --- a/pkg/export/attributes/attr_selector_test.go +++ b/pkg/export/attributes/attr_selector_test.go @@ -89,6 +89,7 @@ func TestFor_GlobEntries_NoInclusion(t *testing.T) { "direction", "k8s.cluster.name", "k8s.src.owner.name", + "k8s.src.owner.type", "src.cidr", }, p.For(BeylaNetworkFlow)) } @@ -166,8 +167,10 @@ func TestDefault(t *testing.T) { "k8s.cluster.name", "k8s.dst.namespace", "k8s.dst.owner.name", + "k8s.dst.owner.type", "k8s.src.namespace", "k8s.src.owner.name", + "k8s.src.owner.type", }, p.For(BeylaNetworkFlow)) }