Summary
When a default organization ID is configured, censys credits still returns the free user credit balance. This is surprising because most other organization-aware commands can use the configured org ID automatically, while credits requires users to remember a separate command:
It would be helpful if the CLI had an official way to make the organization credit balance the default, or at least made this behavior more discoverable.
Current behavior
After configuring authentication and a default organization ID:
censys config auth add
censys config org-id add
Running:
returns the free user balance, while:
returns the organization balance.
The command help does explain this distinction, but it is easy to miss in day-to-day terminal use, especially after setting a default org ID.
Expected / requested behavior
Please consider one of the following:
- If an active org ID is configured, make
censys credits show organization credits by default.
- Add a config option such as
credits.default_scope = org so users can choose this behavior.
- Add an official alias or shortcut for org credits.
- Make
censys credits output a stronger hint when an active org ID is configured, for example: "This is the free user balance. Run censys org credits for your configured organization balance."
Why this helps
Users with organization access often care about org credits more than free user credits. Without an official behavior or alias, users may create shell wrappers locally, but that is brittle and not portable across machines or shells.
Environment
- CLI version:
1.0.15
- OS/arch: macOS arm64
Summary
When a default organization ID is configured,
censys creditsstill returns the free user credit balance. This is surprising because most other organization-aware commands can use the configured org ID automatically, while credits requires users to remember a separate command:It would be helpful if the CLI had an official way to make the organization credit balance the default, or at least made this behavior more discoverable.
Current behavior
After configuring authentication and a default organization ID:
Running:
returns the free user balance, while:
returns the organization balance.
The command help does explain this distinction, but it is easy to miss in day-to-day terminal use, especially after setting a default org ID.
Expected / requested behavior
Please consider one of the following:
censys creditsshow organization credits by default.credits.default_scope = orgso users can choose this behavior.censys creditsoutput a stronger hint when an active org ID is configured, for example: "This is the free user balance. Runcensys org creditsfor your configured organization balance."Why this helps
Users with organization access often care about org credits more than free user credits. Without an official behavior or alias, users may create shell wrappers locally, but that is brittle and not portable across machines or shells.
Environment
1.0.15