@kozen/iam-rectification
v1.0.8
Published
Module for the Kozen framework that includes support for running the IAM rectification process
Downloads
10
Readme
IAM Rectification for Kozen
Kozen module to verify and rectify MongoDB IAM roles and permissions. Supports SCRAM and X.509, provides IoC-ready services, and optional CLI/MCP controllers. Produces a clear diff of required vs actual permissions plus username and roles.
🎯 Features
- Auth methods: SCRAM-SHA and X.509
- Integrations: Kozen IoC services, CLI controller, MCP tools
- Output: Permission diff (missing, extra, present), username, roles
- TypeScript: Fully typed API
🏭 Install
npm install @kozen/iam-rectification🚀 Quick start from CLI
kozen --moduleLoad=@kozen/iam-rectification --action=iam-rectification:help [options]🚀 Quick start from Develoment
import { IAMRectificationModule } from '@kozen/iam-rectification';
const mod = new IAMRectificationModule();
const deps = await mod.register({ type: 'cli' }); // or 'mcp' or null
await assistant.registerAll(deps);
const scram = await assistant.resolve('iam-rectification:scram');
const result = await scram.rectify({
uriEnv: 'MONGODB_URI',
permissions: ['read', 'find']
});
console.log(result);📚 References
- IAM Rectification Module Full Documentation
- IAM Rectification Module through DeepWiki
- Disclaimer and Usage Policy
- How to Contribute to Kozen Ecosystem
- Official Kozen Documentation
🤖 Links
📋 License
MIT © MDB SAT
← Previous: Home | Next: Kozen Integration →
