aquasecurity/kube-hunter

Evidence Field doesn't show all the affected pods based on the count.It displays only one pod details.

Open

#499 aberto em 28 de abr. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Python (581 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (4.541 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

What happened

Evidence field doesn't show all the affected pods rather it shows only the count and only one pod details

  • location: 127.0.0.1:10255 vid: KHV044 category: Privilege Escalation // Privileged container severity: high vulnerability: Privileged Container description: "A Privileged container exist on a node\n could expose the node/cluster
    \ to unwanted root operations" evidence: 'pod: pod1, container: everything-allowed-pod, count: 6' avd_reference: https://avd.aquasec.com/kube-hunter/khv044/ hunter: Kubelet Readonly Ports Hunter

This is the case with all the output formats.

Expected behavior

It should display all the affected pods and containers based on the count irrespective of the output format. I expect that it should show all the 6 pod names and its respective containers.

Guia do colaborador