šš±āļøš”š Cloud Native Telecom Initiative (CNTI) Test Catalog is a tool to check for and provide feedback on the use of K8s + cloud native best practices in networking applications and platforms
This output was from upgraded kubescape version from another branch. But that shouldn't matter, it looks like the bug should be present in the main branch too.
Describe the bug
service_account_mapping
should fail if the CNF includes an auto-mounted service account.Possible cause
When the resources for the CNF are collected, the Service Accounts are not collected.
CNFManager
in the testsuite uses this helper function -Helm.all_workload_resources
KubectlClient::WORKLOAD_RESOURCES
, which does not have Service Accounts listed.KubectlClient::WORKLOAD_RESOURCES
needs to be updated to include service accounts.To reproduce
The test should fail, but it instead passes.