TOOLID=cloud-resource-naming-auditor. Zero-dependency Node 22+ reporter for a complete exported resource inventory and a local environment-marker policy. It supports two explicit AWS naming profiles; unsupported providers or services are incomplete, not assumed valid. It never calls cloud APIs, fetches naming rules, creates resources, or changes tags.
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/cloud-resource-naming-auditor.mjs --root examples/pass --policy policy.json --inventory inventory.json
node bin/cloud-resource-naming-auditor.mjs --root examples/fail --policy policy.json --inventory inventory.json
npm run checkRead the result
The examples exit 0 and 1. --help lists flags; --human adds a fixed stderr summary. The library exports TOOLID, LIMITS, RULESEVERITY, and auditNames(policy,inventory,{now}) with an injected monotonic clock.
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.