cnti-testcatalog / testsuite

šŸ“žšŸ“±ā˜ŽļøšŸ“”šŸŒ 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
https://wiki.lfnetworking.org/display/LN/Test+Catalog
Apache License 2.0
171 stars 70 forks source link

[Platform] Security: Does the cluster have RBAC enabled? #946

Closed taylor closed 4 months ago

taylor commented 3 years ago

Acceptance Criteria

[Platform] Security test: add test rbac_is_enabled to check for RBAC-enabled clusters

Short description of platform test:

Test Category

Proof of Concept (if available)


Implementation Tasks: TBD

Environment set up tasks:

Upstream tool set up tasks: (test suite + upstream tools)

CNF setup Tasks

Sample CNF tasks:

Code implementation tasks:

Documentation tasks:

QA tasks

Dev Review:

Peer review:

taylor commented 3 years ago

DRAFT Acceptance Criteria for peer review


Documentation is updated:

Common steps

Update Prerequisite checker

Update yml validator, if needed

I would expect Falco to successfully install when the falco setup command runs:

I would expect to PASSED for non_root_user test when running against a CNF which does not run processes as root:

I would expect to see a FAILED result for the non_root_user test, when running against CNF which has processes running as the root :

I would expect to see a SKIPPED message for the non_root_user test, if Falco is not installed/available:

Screenshots of publish tarball test:

lixuna commented 6 months ago

@taylor is this issue still relevant for CNTI?