Skip to content

Conversation

@cx-rahul-pidde
Copy link
Contributor

@cx-rahul-pidde cx-rahul-pidde commented Nov 10, 2025

Description

This PR adds functionality to the cx utils tenant command to determine whether a tenant has licenses for Standalone and CXOneAssist. It queries the tenant license endpoint, processes the response, and outputs configuration keys indicating feature availability. In the CLI output:

  • scan.config.plugins.standalone = true if the tenant has a Standalone license
  • scan.config.plugins.cxoneassist = true if the tenant has a CXOneAssist license
  • Return false if the tenant has no licence.

Test Cases

  1. Tenant has both Standalone & CXOneAssist
  • Run cx utils tenant
  • Expect output:

Key : scan.config.plugins.standalone
Value : true
Key : scan.config.plugins.cxoneassist
Value : true

  1. Tenant has only Standalone
  • Run cx utils tenant
  • Expect output:

Key : scan.config.plugins.standalone
Value : true
Key : scan.config.plugins.cxoneassist
Value : false

  1. Tenant has only CXOneAssist
  • Run cx utils tenant
  • Expect:

Key : scan.config.plugins.standalone
Value : false
Key : scan.config.plugins.cxoneassist
Value: true

  1. Tenant has no license
  • Run cx utils tenant
  • Expect:

Key : scan.config.plugins.standalone
Value : false
Key : scan.config.plugins.cxoneassist
Value: false

@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2025

Logo
Checkmarx One – Scan Summary & Detailscf35ab70-4945-4b86-a7f9-814813c154fb

New Issues (2)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM CVE-2025-64718 Npm-js-yaml-4.1.0
detailsRecommended version: 4.1.1
Description: js-yaml is a JavaScript YAML parser and dumper. In js-yaml versions through 3.14.1 and 4.x through 4.1.0, it's possible for an attacker to modify t...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: NmKge8upfpteEiUWYUGo4YMR%2F4lo18XLCmjKtTjntxA%3D
Vulnerable Package
MEDIUM CVE-2025-64718 Npm-js-yaml-3.14.1
detailsRecommended version: 3.14.2
Description: js-yaml is a JavaScript YAML parser and dumper. In js-yaml versions through 3.14.1 and 4.x through 4.1.0, it's possible for an attacker to modify t...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: sfpgtjQv3R6E0ZAxZxyYjgfR2FJqF7cAKTFZ1HaWRIk%3D
Vulnerable Package

Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

@cx-rahul-pidde cx-rahul-pidde changed the title Added new function to get license info is standalone is enabled (AST-112336) Retrieve Tenant License Information for Standalone and CXOneAssist (AST-112336) Nov 17, 2025
@cx-rahul-pidde cx-rahul-pidde self-assigned this Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant