cortexapps-cli 1.52.0__tar.gz → 1.54.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/PKG-INFO +1 -1
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/scorecards_commands/exemptions.py +70 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/solutions.py +55 -3
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/cortex_client.py +4 -2
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/pyproject.toml +1 -1
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/LICENSE +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/README.rst +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/__init__.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/cli.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/command_options.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/api_keys.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/audit_logs.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/backup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/backup_commands/cortex_export.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/catalog.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/catalogs.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/custom_data.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/custom_events.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/custom_metrics.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/dependencies.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/deploys.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/discovery_audit.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/docs.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/entity_relationship_types.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/entity_relationships.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/entity_types.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/gitops_logs.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/groups.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/initiatives.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/apiiro.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/argocd.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/aws.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/azure_active_directory.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/azure_devops.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/azure_resources.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/bamboohr.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/bitbucket.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/bugsnag.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/buildkite.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/checkmarx_sast.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/circleci.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/clickup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/codecov.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/coralogix.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/datadog.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/dynatrace.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/firehydrant.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/github.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/gitlab.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/harness.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/incidentio.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/instana.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/jenkins.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/jira.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/launchdarkly.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/mend_sast.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/mend_sca.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/newrelic.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/okta.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/opsgenie.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/pagerduty.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/prometheus.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/rollbar.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/rootly.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/semgrep.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/sentry.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/servicenow.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/servicenow_cloud_observability.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/snyk.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/sonarqube.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/splunk_observability_cloud.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/splunk_on_call.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/sumologic.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/veracode.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/wiz.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/workday.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/xmatters.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/ip_allowlist.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/on_call.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/go.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/java.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/node.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/nuget.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/python.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/plugins.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/queries.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/rest.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/scaffolders.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/scim.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/scorecards.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/secrets.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/teams.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/users.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/users_commands/roles.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/verifications.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/verifications_commands/__init__.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/verifications_commands/entity.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/verifications_commands/periods.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/whoami.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/workflows.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/models/team.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/__init__.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/_lib/__init__.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/_lib/setup_base.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/address-reviews.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/audit-flags.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/code-review.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/fix-issue.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/incident-trends.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/jira-to-kb.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/release-to-sha.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/search-troubleshooting-kb.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalog/simplify-test.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/catalogs/ai-agents.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/entity-types/ai-agent.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/scorecards/ai-agent-governance.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/catalog/api-doc-sync.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/catalog/changelog-writer.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/catalog/docs-generator.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/catalog/docs-portal.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/catalogs/ai-skills.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/entity-relationship-types/ai-plugin-service.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/entity-relationship-types/ai-plugin-skills.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/entity-relationship-types/ai-skill-service.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/entity-types/ai-plugin.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/entity-types/ai-skill.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/scorecards/ai-skills-quality.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/.github/workflows/sync-claude-spend.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-alice-chen.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-bob-martinez.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-carol-kim.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-david-osei.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-emma-johnson.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/team-data.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/team-engineering.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/team-frontend.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/catalog/team-platform.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/custom-metric-definitions/ai-spend.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/custom-metrics/ai-spend.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/entity-relationship-types/team-member.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/entity-types/employee.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/plugins/team-ai-spend.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/scorecards/ai-spend-scorecard.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-spend/scripts/sync-claude-spend.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/.github/workflows/cortex-service-version.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/api-gateway-3.0.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/api-gateway-3.1.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/api-gateway-3.1.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/api-gateway.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/auth-2.1.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/auth-2.1.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/auth-2.2.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/auth.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/aws-dev-us-west-2.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/billing-1.1.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/billing-1.2.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/billing.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/cart-1.0.2.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/cart.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/checkout-2.2.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/checkout-2.3.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/checkout-2.4.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/checkout.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/gcp-prod-us-east-1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/gcp-prod-us-west-1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/gcp-staging-us-east-1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/notifications-1.0.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/notifications-1.0.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/notifications-1.1.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/notifications.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/order-service-2.0.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/order-service-2.1.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/order-service.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/payments-1.6.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/payments-1.7.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/payments-1.7.1.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/payments.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/release-2026-06-20.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/release-2026-07-01.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/release-2026-07-09.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/release-2026-07-10.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/search-4.0.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/search-4.1.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/search.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/user-service-1.2.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/user-service-1.3.0.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalog/user-service.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/catalogs/environments.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/entity-relationship-types/environments.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/entity-relationship-types/versions.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/entity-types/environment.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/entity-types/release.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/entity-types/service-version.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/workflows/create-environment.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/workflows/create-release.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/workflows/trigger-github-release.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/cortex-async-callback.yml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/cortex-deploy.yml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/cortex-register-deploy.yml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/github-actions-deploy.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/catalog/github-actions-demo.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/scorecards/deploy-health.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/github-actions-deploy/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/_templates/cortex-async-callback-template.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/_templates/cortex-deploy-pipeline.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/_templates/cortex-record-deploy-template.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/_templates/trigger-harness-deploy.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/catalog/harness-demo.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/scorecards/deploy-health.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/harness-deploy/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/jenkins-deploy/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/jenkins-deploy/_templates/Jenkinsfile +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/jenkins-deploy/_templates/trigger-jenkins-deploy.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/jenkins-deploy/catalog/jenkins-demo.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/jenkins-deploy/scorecards/deploy-health.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/jenkins-deploy/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/catalog/demo-kubernetes.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/.helmignore +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/Chart.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/_helpers.tpl +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/clusterrole.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/clusterrolebinding.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/configmap.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/deployment.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/service.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/serviceaccount.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/values.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/cronjob.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/deployment.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/rollout.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/statefulset.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/kubernetes-agent/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/catalog/cli-commands.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/catalog/cli-core.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/catalog/cli-docker.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/catalog/cli-solutions.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/catalog/cli-tests.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/scorecards/monorepo-component-health.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-commands/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-commands/cortex.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-commands/src/commands.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-core/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-core/cortex.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-core/src/cli.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-docker/Dockerfile +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-docker/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-docker/cortex.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-solutions/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-solutions/cortex.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-solutions/src/solutions.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-tests/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-tests/cortex.yaml +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/services/cli-tests/src/test_cli.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/monorepo/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/ecommerce.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/provider.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/scorecards.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/supply-chain.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/teams.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/terraform.tfvars.example +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform/variables.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform-delta/ecommerce.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/_templates/terraform-delta/teams.tf +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/terraform/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/workday/README.md +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/workday/data/configuration.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/workday/data/pied-piper-supervisory-org.json +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/workday/setup.py +0 -0
- {cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/utils.py +0 -0
|
@@ -1,10 +1,80 @@
|
|
|
1
1
|
import json
|
|
2
|
+
from enum import Enum
|
|
2
3
|
from rich import print_json
|
|
3
4
|
import typer
|
|
4
5
|
from typing_extensions import Annotated
|
|
6
|
+
from cortexapps_cli.command_options import ListCommandOptions
|
|
7
|
+
from cortexapps_cli.utils import print_output_with_context
|
|
5
8
|
|
|
6
9
|
app = typer.Typer(help="Exemptions commands", no_args_is_help=True)
|
|
7
10
|
|
|
11
|
+
class Status(str, Enum):
|
|
12
|
+
PENDING = "PENDING"
|
|
13
|
+
APPROVED = "APPROVED"
|
|
14
|
+
REJECTED = "REJECTED"
|
|
15
|
+
REVOKED = "REVOKED"
|
|
16
|
+
EXPIRED = "EXPIRED"
|
|
17
|
+
|
|
18
|
+
@app.command(name="list")
|
|
19
|
+
def list_exemptions(
|
|
20
|
+
ctx: typer.Context,
|
|
21
|
+
scorecard_tag: str = typer.Option(None, "--scorecard-tag", "-s", help="Only return exemptions for the Scorecard with this tag"),
|
|
22
|
+
entity_tag: str = typer.Option(None, "--entity-tag", "-e", help="Only return exemptions for the entity with this tag (x-cortex-tag)"),
|
|
23
|
+
rule_identifier: str = typer.Option(None, "--rule-id", "-ri", help="Only return exemptions for the rule with this identifier; requires --scorecard-tag"),
|
|
24
|
+
status: Status = typer.Option(None, "--status", "-st", help="Only return exemptions with this status; APPROVED excludes approvals past their end date, which are returned as EXPIRED"),
|
|
25
|
+
requester_email: str = typer.Option(None, "--requester-email", "-re", help="Only return exemptions requested by the user with this email"),
|
|
26
|
+
approver_email: str = typer.Option(None, "--approver-email", "-ae", help="Only return exemptions approved by the user with this email"),
|
|
27
|
+
only_active: bool = typer.Option(False, "--only-active", "-a", help="Only return exemptions that are pending, or approved and not yet expired"),
|
|
28
|
+
page: ListCommandOptions.page = None,
|
|
29
|
+
page_size: ListCommandOptions.page_size = 250,
|
|
30
|
+
table_output: ListCommandOptions.table_output = False,
|
|
31
|
+
csv_output: ListCommandOptions.csv_output = False,
|
|
32
|
+
columns: ListCommandOptions.columns = [],
|
|
33
|
+
no_headers: ListCommandOptions.no_headers = False,
|
|
34
|
+
filters: ListCommandOptions.filters = [],
|
|
35
|
+
sort: ListCommandOptions.sort = [],
|
|
36
|
+
):
|
|
37
|
+
"""
|
|
38
|
+
List Scorecard rule exemptions
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
client = ctx.obj["client"]
|
|
42
|
+
|
|
43
|
+
params = {
|
|
44
|
+
"scorecardTag": scorecard_tag,
|
|
45
|
+
"entityTag": entity_tag,
|
|
46
|
+
"ruleIdentifier": rule_identifier,
|
|
47
|
+
"status": status.value if status else None,
|
|
48
|
+
"requesterEmail": requester_email,
|
|
49
|
+
"approverEmail": approver_email,
|
|
50
|
+
"onlyActive": "true" if only_active else None,
|
|
51
|
+
"page": page,
|
|
52
|
+
"pageSize": page_size,
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
# remove any params that are None
|
|
56
|
+
params = {k: v for k, v in params.items() if v is not None}
|
|
57
|
+
|
|
58
|
+
if (table_output or csv_output) and not ctx.params.get('columns'):
|
|
59
|
+
ctx.params['columns'] = [
|
|
60
|
+
"ID=id",
|
|
61
|
+
"Scorecard=scorecardTag",
|
|
62
|
+
"Rule=ruleIdentifier",
|
|
63
|
+
"Entity=entityTag",
|
|
64
|
+
"Status=exemptionStatus.status",
|
|
65
|
+
"Requester=requestedBy.email",
|
|
66
|
+
"EndDate=endDate",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
if page is None:
|
|
70
|
+
# if page is not specified, we want to fetch all pages
|
|
71
|
+
r = client.fetch("api/v1/scorecards/exemptions", params=params)
|
|
72
|
+
else:
|
|
73
|
+
# if page is specified, we want to fetch only that page
|
|
74
|
+
r = client.get("api/v1/scorecards/exemptions", params=params)
|
|
75
|
+
|
|
76
|
+
print_output_with_context(ctx, r)
|
|
77
|
+
|
|
8
78
|
@app.command()
|
|
9
79
|
def request(
|
|
10
80
|
ctx: typer.Context,
|
|
@@ -272,7 +272,7 @@ def _get_ui_url(ctx: typer.Context) -> str:
|
|
|
272
272
|
return api_url.replace("://api.", "://app.")
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
def _build_client(ctx: typer.Context) -> CortexClient:
|
|
275
|
+
def _build_client(ctx: typer.Context, solution: str | None = None) -> CortexClient:
|
|
276
276
|
"""Build a CortexClient from auth params stored by global_callback."""
|
|
277
277
|
params = ctx.obj.get("_auth_params", {})
|
|
278
278
|
api_key = params.get("api_key")
|
|
@@ -316,7 +316,8 @@ def _build_client(ctx: typer.Context) -> CortexClient:
|
|
|
316
316
|
url = url.strip("\"' /")
|
|
317
317
|
|
|
318
318
|
numeric_level = getattr(logging, log_level_str.upper(), logging.WARNING)
|
|
319
|
-
|
|
319
|
+
command = f"solutions/{solution}" if solution else "solutions"
|
|
320
|
+
return CortexClient(api_key, tenant, numeric_level, url, rate_limit, command=command)
|
|
320
321
|
|
|
321
322
|
|
|
322
323
|
def _read_catalog_tag(content: str) -> str | None:
|
|
@@ -763,7 +764,13 @@ def install(
|
|
|
763
764
|
typer.echo(f"Error: Solution '{solution}' not found. Available: {avail}")
|
|
764
765
|
raise typer.Exit(1)
|
|
765
766
|
|
|
766
|
-
ctx.obj["client"] = _build_client(ctx)
|
|
767
|
+
ctx.obj["client"] = _build_client(ctx, solution=solution)
|
|
768
|
+
# Emit one API call so this install is always recorded in Datadog, even for
|
|
769
|
+
# setup-script-only solutions that make no backup import requests.
|
|
770
|
+
try:
|
|
771
|
+
ctx.obj["client"].get("api/v1/catalog/definitions", params={"pageSize": 1})
|
|
772
|
+
except Exception:
|
|
773
|
+
pass
|
|
767
774
|
|
|
768
775
|
import cortexapps_cli.commands.backup as backup
|
|
769
776
|
|
|
@@ -859,6 +866,51 @@ def post_install(
|
|
|
859
866
|
ctx.obj["client"] = _build_client(ctx)
|
|
860
867
|
_run_post_install_script(solution, solutions_dir=solutions_dir, ctx=ctx, no_prompt=no_prompt)
|
|
861
868
|
|
|
869
|
+
if not no_prompt:
|
|
870
|
+
readme = _get_readme(solution, solutions_dir)
|
|
871
|
+
if readme:
|
|
872
|
+
entity_tags: set[str] = set()
|
|
873
|
+
ui_url = _get_ui_url(ctx)
|
|
874
|
+
resources: dict[str, list[str]] = {}
|
|
875
|
+
try:
|
|
876
|
+
root = files("cortexapps_cli.solutions")
|
|
877
|
+
if solutions_dir:
|
|
878
|
+
resources = _collect_solution_resources(Path(solutions_dir) / solution)
|
|
879
|
+
else:
|
|
880
|
+
with as_file(root / solution) as sp:
|
|
881
|
+
resources = _collect_solution_resources(sp)
|
|
882
|
+
entity_tags = set(resources.get("catalog", []))
|
|
883
|
+
if solutions_dir:
|
|
884
|
+
entity_tags |= _extract_tf_entity_tags(Path(solutions_dir) / solution)
|
|
885
|
+
else:
|
|
886
|
+
with as_file(root / solution) as sp:
|
|
887
|
+
entity_tags |= _extract_tf_entity_tags(sp)
|
|
888
|
+
except Exception:
|
|
889
|
+
pass
|
|
890
|
+
# Build a synthetic import report from the solution's known resources
|
|
891
|
+
kind_labels = {
|
|
892
|
+
"entity-types": "Entity type",
|
|
893
|
+
"entity-relationship-types": "Entity relationship type",
|
|
894
|
+
"catalog": "Entity",
|
|
895
|
+
"scorecards": "Scorecard",
|
|
896
|
+
"workflows": "Workflow",
|
|
897
|
+
"plugins": "Plugin",
|
|
898
|
+
"catalogs": "Catalog",
|
|
899
|
+
}
|
|
900
|
+
report_lines: list[str] = []
|
|
901
|
+
for kind, tags in resources.items():
|
|
902
|
+
label = kind_labels.get(kind, kind)
|
|
903
|
+
for tag in tags:
|
|
904
|
+
report_lines.append(f" {label}: {tag}")
|
|
905
|
+
import_report = "\n".join(report_lines) if report_lines else ""
|
|
906
|
+
_post_install_menu(
|
|
907
|
+
readme,
|
|
908
|
+
import_report=import_report,
|
|
909
|
+
entity_tags=entity_tags,
|
|
910
|
+
ui_url=ui_url,
|
|
911
|
+
solution_tag=solution,
|
|
912
|
+
)
|
|
913
|
+
|
|
862
914
|
|
|
863
915
|
@app.command()
|
|
864
916
|
def uninstall(
|
|
@@ -83,7 +83,7 @@ class TokenBucket:
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
class CortexClient:
|
|
86
|
-
def __init__(self, api_key, tenant, numeric_level, base_url='https://api.getcortexapp.com', rate_limit=None):
|
|
86
|
+
def __init__(self, api_key, tenant, numeric_level, base_url='https://api.getcortexapp.com', rate_limit=None, command=None):
|
|
87
87
|
self.api_key = api_key
|
|
88
88
|
self.tenant = tenant
|
|
89
89
|
self.base_url = base_url
|
|
@@ -93,6 +93,8 @@ class CortexClient:
|
|
|
93
93
|
except importlib.metadata.PackageNotFoundError:
|
|
94
94
|
self.version = 'unknown'
|
|
95
95
|
|
|
96
|
+
self.command = command
|
|
97
|
+
|
|
96
98
|
logging.basicConfig(level=numeric_level)
|
|
97
99
|
self.logger = logging.getLogger(__name__)
|
|
98
100
|
|
|
@@ -132,7 +134,7 @@ class CortexClient:
|
|
|
132
134
|
req_headers = {
|
|
133
135
|
'Authorization': f'Bearer {self.api_key}',
|
|
134
136
|
'Content-Type': content_type,
|
|
135
|
-
'User-Agent': f'cortexapps-cli/{self.version}',
|
|
137
|
+
'User-Agent': f'cortexapps-cli/{self.version} ({self.command})' if self.command else f'cortexapps-cli/{self.version}',
|
|
136
138
|
**headers
|
|
137
139
|
}
|
|
138
140
|
url = '/'.join([self.base_url.rstrip('/'), endpoint.lstrip('/')])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/entity_relationship_types.py
RENAMED
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/entity_relationships.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/aws.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/integrations_commands/wiz.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/go.py
RENAMED
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/java.py
RENAMED
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/node.py
RENAMED
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/nuget.py
RENAMED
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/packages_commands/python.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/commands/users_commands/roles.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-agents/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/ai-skills/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cortexapps_cli-1.52.0 → cortexapps_cli-1.54.0}/cortexapps_cli/solutions/environments/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|