Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature Request] gem4gov: add a license-retraction command (retractLicenseConfig) + range-reclaim helper #123

Description

@JohnHales

The licensing API documents retractLicenseConfig (project → billing account), but the CLI has no retract command — the license group has list and distribute only (grep -n retractLicenseConfig gem4gov.py → no matches). Add gem4gov license retract, optionally with a batch/range helper.

Use Case

Post-engagement license reclamation across a range of orgs/projects is entirely manual today. Operators reclaiming distributed licenses back to a central billing account have no scripted path.

Proposed Solution

Add gem4gov license retract wrapping retractLicenseConfig, mirroring distribute's structure; optionally a batch/range helper for operators reclaiming across many projects/orgs.

Compliance & Deployment Context

  • Target Deployment Type(s):
    • US Region Restricted (e.g., Access Policy constraint)
    • FedRAMP Medium
    • FedRAMP High
    • DoD IL4
    • DoD IL5
    • All / General
  • Relevant NIST 800-53r5 Controls: AC-2 (account management / deprovisioning).

Reusability Check

Stellar Engine prioritizes reusability.

  • I have checked if this functionality can be achieved by extending an existing module or blueprint. (Extends the existing license group.)
  • I have verified that this does not duplicate existing functionality.

Alternatives Considered

Manual reclamation via REST per project (current state); leaving licenses distributed (cost and audit hygiene both suffer).

Additional Context

Verified at main @ 3728fc98. Related: #100 (CLI→Terraform conversion).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions