CLI v1.10.1: Policy deny rules and usability improvements

This update to the Cloudsmith CLI introduces programmatic management for Policy Deny Rules, standardizes pagination parameters across the CLI, and upgrades core dependencies.

Policy Deny Rules

The CLI now supports full lifecycle management for Policy Deny Rules, enabling tighter integration with infrastructure-as-code workflows. Users can list, create, update, and delete deny policies directly via the command line.

Available commands:

  • cloudsmith policy deny list <org>
  • cloudsmith policy deny create <org> POLICY_CONFIG_FILE
  • cloudsmith policy deny update <org> POLICY_CONFIG_FILE
  • cloudsmith policy deny delete <org>

Contribution: We would like to thank @pablogrs for contributing this feature. We welcome community pull requests and feedback to help drive the CLI forward.

Parameter Standardization: --page-all & --page-size

To improve consistency, we have updated how pagination is handled across the CLI.

  • New flag: --page-all is the new standard flag for listing all results, replacing --show-all.
  • Backward compatibility: --show-all remains available as an alias, so existing scripts will not break. However, we recommend updating to --page-all for future compatibility.
  • New wildcard support: The --page-size (or -l) parameter now accepts -1 or * as values to instantly retrieve all results.

Additional Fixes and Improvements

  • Entitlements: Fixed the entitlement token list command to correctly support the new --page-all behavior.
  • Block (Quarantine): Fixed the add/remove command
  • Python 3.9 support: Resolved a dependency conflict preventing installation on Python 3.9 environments.
  • Dependency security: Upgraded the internal urllib3 dependency to version 2.x.

For a full summary of changes, please visit the GitHub Changelog.

Keep up to date with our monthly product bulletin