Monedula
monedula-acl-rbac-converter docs menu

monedula-acl-rbac plan

Transform acls.json into plan.json + report.txt. Usage and flags for monedula-acl-rbac plan.

Reference 19 of 29

Reference for monedula-acl-rbac-converter v0.10.0

Updated 2 October 2026

On this page
usage
monedula-acl-rbac plan [flags]

Apply the mapping engine to acls.json and emit a RoleBindingPlan in plan.json plus a human-readable report.txt next to it.

Required: --acls path to canonical acls.json from 'extract' --scopes scopes.yaml identifying the Confluent cluster IDs to bind into

Optional: --rules custom rules.yaml merged on top of the embedded defaults --principals principals.yaml mapping source ACL principals to MDS forms --allow-unmapped proceed even if some ACLs had no rule (exit 0 instead of 3) --allow-rejected proceed even if some ACLs are DENY or otherwise unrepresentable --revalidate PLAN re-checksum a hand-edited plan.json after operator edits

Example: monedula-acl-rbac plan \ --acls runs/.../acls.json --scopes scopes.yaml \ --rules rules.yaml --principals principals.yaml \ --out runs/.../plan.json

plan exits non-zero (code 3) when unmapped or rejected ACLs are present unless the corresponding --allow-* flag is set. Read report.txt before moving to 'apply'.

Read-only: this command does not change the cluster.

Flags

FlagTypeDefaultDescription
--aclsstring Path to acls.json
--rulesstring Optional rules.yaml overrides
--principalsstring Optional principals.yaml
--scopesstring scopes.yaml
--allow-unmappedbool Don't fail on unmapped ACLs
--allow-rejectedbool Don't fail on rejected (DENY) ACLs
--revalidatestring Re-checksum a hand-edited plan.json
--cfk-name-saltstring Salt mixed into binding IDs; lets you disambiguate identical bindings across tenants
--run-dirstring Explicit run directory
--outstring Output path; parent dir becomes the run dir

Global flags

FlagTypeDefaultDescription
--log-formatstringtextLog output format (text|json); set MONEDULA_ACL_RBAC_LOG_FORMAT to override the default.
--log-levelstringinfoLog level (debug|info|warn|error); set MONEDULA_ACL_RBAC_LOG_LEVEL to override the default.

Examples

examples
monedula-acl-rbac plan --acls runs/2026-05-21T10-00-00Z/acls.json --rules rules.yaml --principals principals.yaml --scopes scopes.yaml --out runs/2026-05-21T10-00-00Z/plan.json

Exit codes

CodeMeaning
0Success.
1Usage error: missing required flag, malformed argument, or unknown subcommand.
2Input error: unparseable ACLs or missing/malformed config (rules, principals, scopes, or vars files).
3Plan has unresolved unmapped or rejected items.