Audits exported bucket lifecycle declarations against a local retention policy. It is offline and read-only: no cloud credentials, provider API calls, or bucket changes. Requires Node.js 22+, zero dependencies. The exported auditLifecycle(data, policy, {now, deadline}) function and TOOLID live in src/index.mjs.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+; inspect the source before using it on your own files.
Run the checked-in example
node bin/object-storage-lifecycle-auditor.mjs --root examples --policy policy.json --export passing-export.json
node bin/object-storage-lifecycle-auditor.mjs --root examples --policy policy.json --export failing-export.jsonRead the result
Inspect the command output and exit status against the README before treating the check as complete. The result depends on the supplied input and current release.
Where this check stops
This local walkthrough does not establish the state of a live production system or replace the limits documented in the repository.
Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.
Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.