Skip to content

Create a new command to generate reports based on RBAC #135

@camilamacedo86

Description

@camilamacedo86

Create a new command for the audit tool that can generate reports which will return all Operators of some index that has some specific RBAC set on the CSV. This new command would work similar to audit custom validator [OPTIONS] --filter-validation="" that returns a list of Operators which containers that validation.

See the code for the validator command as an example:
https://github.com/operator-framework/audit/tree/main/cmd/custom/validator

See the code for a specific need script report that looks for a specific RBAC:
https://github.com/operator-framework/audit/tree/main/hack/specific-needs/rbacmachine

The goal of this command is to generate the same report done with https://github.com/operator-framework/audit/tree/main/hack/specific-needs/rbacmachine but instead of we have the data fixed on the code we would be able to inform it from flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    size/MDenotes a PR that changes 30-99 lines, ignoring generated files.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions