cortexapps-cli 1.43.0__tar.gz → 1.44.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.43.0 → cortexapps_cli-1.44.0}/PKG-INFO +1 -1
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/cli.py +5 -7
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/backup.py +63 -4
- cortexapps_cli-1.44.0/cortexapps_cli/commands/catalogs.py +124 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/solutions.py +8 -2
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/README.md +4 -11
- cortexapps_cli-1.44.0/cortexapps_cli/solutions/ai-agents/catalogs/ai-agents.json +11 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/README.md +4 -11
- cortexapps_cli-1.44.0/cortexapps_cli/solutions/ai-skills/catalogs/ai-skills.json +7 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/README.md +2 -9
- cortexapps_cli-1.44.0/cortexapps_cli/solutions/environments/catalogs/environments.json +7 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/pyproject.toml +1 -1
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/LICENSE +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/README.rst +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/__init__.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/command_options.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/ai_skills.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/api_keys.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/audit_logs.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/backup_commands/cortex_export.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/catalog.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/custom_data.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/custom_events.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/custom_metrics.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/dependencies.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/deploys.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/discovery_audit.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/docs.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/entity_relationship_types.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/entity_relationships.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/entity_types.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/gitops_logs.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/groups.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/initiatives.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/apiiro.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/argocd.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/aws.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/azure_active_directory.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/azure_devops.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/azure_resources.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/bamboohr.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/bitbucket.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/bugsnag.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/buildkite.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/checkmarx_sast.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/circleci.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/clickup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/codecov.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/coralogix.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/datadog.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/dynatrace.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/firehydrant.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/github.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/gitlab.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/harness.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/incidentio.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/instana.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/jenkins.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/jira.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/launchdarkly.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/mend_sast.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/mend_sca.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/newrelic.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/okta.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/opsgenie.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/pagerduty.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/prometheus.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/rollbar.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/rootly.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/semgrep.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/sentry.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/servicenow.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/servicenow_cloud_observability.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/snyk.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/sonarqube.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/splunk_observability_cloud.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/splunk_on_call.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/sumologic.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/veracode.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/wiz.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/workday.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/integrations_commands/xmatters.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/ip_allowlist.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/on_call.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages_commands/go.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages_commands/java.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages_commands/node.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages_commands/nuget.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages_commands/python.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/plugins.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/queries.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/rest.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/scaffolders.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/scim.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/scorecards.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/scorecards_commands/exemptions.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/secrets.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/teams.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/users.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/users_commands/roles.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/verifications.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/verifications_commands/__init__.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/verifications_commands/entity.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/verifications_commands/periods.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/workflows.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/cortex_client.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/models/team.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/__init__.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/_lib/__init__.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/_lib/setup_base.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/address-reviews.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/audit-flags.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/code-review.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/fix-issue.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/incident-trends.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/jira-to-kb.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/release-to-sha.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/search-troubleshooting-kb.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/catalog/simplify-test.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/entity-types/ai-agent.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/scorecards/ai-agent-governance.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/catalog/api-doc-sync.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/catalog/changelog-writer.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/catalog/docs-generator.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/catalog/docs-portal.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/entity-relationship-types/ai-plugin-service.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/entity-relationship-types/ai-plugin-skills.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/entity-relationship-types/ai-skill-service.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/entity-types/ai-plugin.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/entity-types/ai-skill.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/scorecards/ai-skills-quality.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/.github/workflows/sync-claude-spend.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-alice-chen.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-bob-martinez.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-carol-kim.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-david-osei.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/employee-emma-johnson.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/team-data.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/team-engineering.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/team-frontend.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/catalog/team-platform.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/custom-metrics/ai-spend.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/entity-relationship-types/team-member.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/entity-types/employee.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/plugins/team-ai-spend.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/scorecards/ai-spend-scorecard.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-spend/scripts/sync-claude-spend.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/.github/workflows/cortex-service-version.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/api-gateway-3.0.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/api-gateway-3.1.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/api-gateway-3.1.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/api-gateway.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/auth-2.1.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/auth-2.1.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/auth-2.2.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/auth.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/aws-dev-us-west-2.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/billing-1.1.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/billing-1.2.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/billing.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/cart-1.0.2.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/cart.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/checkout-2.2.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/checkout-2.3.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/checkout-2.4.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/checkout.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/gcp-prod-us-east-1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/gcp-prod-us-west-1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/gcp-staging-us-east-1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/notifications-1.0.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/notifications-1.0.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/notifications-1.1.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/notifications.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/order-service-2.0.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/order-service-2.1.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/order-service.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/payments-1.6.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/payments-1.7.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/payments-1.7.1.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/payments.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/release-2026-06-20.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/release-2026-07-01.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/release-2026-07-09.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/release-2026-07-10.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/search-4.0.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/search-4.1.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/search.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/user-service-1.2.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/user-service-1.3.0.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/catalog/user-service.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/entity-relationship-types/environments.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/entity-relationship-types/versions.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/entity-types/environment.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/entity-types/release.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/entity-types/service-version.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/workflows/create-environment.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/workflows/create-release.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/workflows/trigger-github-release.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/cortex-async-callback.yml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/cortex-deploy.yml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/cortex-register-deploy.yml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/_templates/github-actions-deploy.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/catalog/github-actions-demo.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/scorecards/deploy-health.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/github-actions-deploy/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/_templates/cortex-async-callback-template.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/_templates/cortex-deploy-pipeline.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/_templates/cortex-record-deploy-template.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/_templates/trigger-harness-deploy.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/catalog/harness-demo.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/scorecards/deploy-health.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/harness-deploy/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/jenkins-deploy/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/jenkins-deploy/_templates/Jenkinsfile +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/jenkins-deploy/_templates/trigger-jenkins-deploy.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/jenkins-deploy/catalog/jenkins-demo.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/jenkins-deploy/scorecards/deploy-health.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/jenkins-deploy/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/catalog/demo-kubernetes.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/.helmignore +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/Chart.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/_helpers.tpl +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/clusterrole.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/clusterrolebinding.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/configmap.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/deployment.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/service.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/templates/serviceaccount.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/helm-chart/values.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/cronjob.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/deployment.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/rollout.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/manifests/statefulset.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/kubernetes-agent/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/catalog/cli-commands.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/catalog/cli-core.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/catalog/cli-docker.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/catalog/cli-solutions.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/catalog/cli-tests.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/scorecards/monorepo-component-health.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-commands/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-commands/cortex.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-commands/src/commands.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-core/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-core/cortex.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-core/src/cli.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-docker/Dockerfile +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-docker/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-docker/cortex.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-solutions/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-solutions/cortex.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-solutions/src/solutions.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-tests/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-tests/cortex.yaml +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/services/cli-tests/src/test_cli.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/monorepo/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/ecommerce.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/provider.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/scorecards.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/supply-chain.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/teams.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/terraform.tfvars.example +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform/variables.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform-delta/ecommerce.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/_templates/terraform-delta/teams.tf +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/terraform/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/workday/README.md +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/workday/data/configuration.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/workday/data/pied-piper-supervisory-org.json +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/workday/setup.py +0 -0
- {cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/utils.py +0 -0
|
@@ -6,7 +6,6 @@ from typing_extensions import Annotated
|
|
|
6
6
|
import os
|
|
7
7
|
import sys
|
|
8
8
|
import importlib.metadata
|
|
9
|
-
import tomllib
|
|
10
9
|
import configparser
|
|
11
10
|
import logging
|
|
12
11
|
import webbrowser
|
|
@@ -19,6 +18,7 @@ import cortexapps_cli.commands.api_keys as api_keys
|
|
|
19
18
|
import cortexapps_cli.commands.audit_logs as audit_logs
|
|
20
19
|
import cortexapps_cli.commands.backup as backup
|
|
21
20
|
import cortexapps_cli.commands.catalog as catalog
|
|
21
|
+
import cortexapps_cli.commands.catalogs as catalogs
|
|
22
22
|
import cortexapps_cli.commands.custom_data as custom_data
|
|
23
23
|
import cortexapps_cli.commands.custom_events as custom_events
|
|
24
24
|
import cortexapps_cli.commands.custom_metrics as custom_metrics
|
|
@@ -244,12 +244,9 @@ def version():
|
|
|
244
244
|
"""
|
|
245
245
|
Show the version and exit
|
|
246
246
|
"""
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
version = pyproject["tool"]["poetry"]["version"]
|
|
251
|
-
except Exception as e:
|
|
252
|
-
version = importlib.metadata.version('cortexapps_cli')
|
|
247
|
+
version = importlib.metadata.version('cortexapps_cli')
|
|
248
|
+
if version == "0.0.0":
|
|
249
|
+
version = "0.0.0 (dev)"
|
|
253
250
|
print(version)
|
|
254
251
|
|
|
255
252
|
# Register all commands alphabetically so they appear in order in --help
|
|
@@ -258,6 +255,7 @@ app.add_typer(api_keys.app, name="api-keys")
|
|
|
258
255
|
app.add_typer(audit_logs.app, name="audit-logs")
|
|
259
256
|
app.add_typer(backup.app, name="backup")
|
|
260
257
|
app.add_typer(catalog.app, name="catalog")
|
|
258
|
+
app.add_typer(catalogs.app, name="catalogs")
|
|
261
259
|
app.add_typer(custom_data.app, name="custom-data")
|
|
262
260
|
app.add_typer(custom_events.app, name="custom-events")
|
|
263
261
|
app.add_typer(custom_metrics.app, name="custom-metrics")
|
|
@@ -17,6 +17,7 @@ from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
|
17
17
|
|
|
18
18
|
import cortexapps_cli.commands.scorecards as scorecards
|
|
19
19
|
import cortexapps_cli.commands.catalog as catalog
|
|
20
|
+
import cortexapps_cli.commands.catalogs as catalogs
|
|
20
21
|
import cortexapps_cli.commands.entity_types as entity_types
|
|
21
22
|
import cortexapps_cli.commands.entity_relationship_types as entity_relationship_types
|
|
22
23
|
import cortexapps_cli.commands.entity_relationships as entity_relationships
|
|
@@ -206,16 +207,30 @@ def _export_workflows(ctx, directory):
|
|
|
206
207
|
except Exception as e:
|
|
207
208
|
print(f"Failed to export workflow {tag}: {e}")
|
|
208
209
|
|
|
209
|
-
|
|
210
|
+
def _export_catalog_pages(ctx, directory):
|
|
211
|
+
directory = _directory_name(directory, "catalogs")
|
|
212
|
+
|
|
213
|
+
data = catalogs.list(ctx, _print=False)
|
|
214
|
+
pages = sorted(data.get("catalogPages", []), key=lambda x: x["slug"])
|
|
215
|
+
|
|
216
|
+
for page in pages:
|
|
217
|
+
slug = page["slug"]
|
|
218
|
+
try:
|
|
219
|
+
_file_name(directory, slug, json.dumps(page, indent=2), "json")
|
|
220
|
+
except Exception as e:
|
|
221
|
+
print(f"Failed to export catalog page {slug}: {e}")
|
|
222
|
+
|
|
223
|
+
backupTypes = sorted([
|
|
210
224
|
"catalog",
|
|
211
|
-
"
|
|
225
|
+
"catalogs",
|
|
212
226
|
"entity-relationship-types",
|
|
213
227
|
"entity-relationships",
|
|
228
|
+
"entity-types",
|
|
214
229
|
"ip-allowlist",
|
|
215
230
|
"plugins",
|
|
216
231
|
"scorecards",
|
|
217
|
-
"workflows"
|
|
218
|
-
|
|
232
|
+
"workflows",
|
|
233
|
+
])
|
|
219
234
|
backupString = ','.join(backupTypes)
|
|
220
235
|
|
|
221
236
|
def _parse_export_types(value: str) -> List[str]:
|
|
@@ -257,6 +272,7 @@ def export(
|
|
|
257
272
|
|
|
258
273
|
Exports the following objects:
|
|
259
274
|
- catalog
|
|
275
|
+
- catalogs
|
|
260
276
|
- entity-types
|
|
261
277
|
- entity-relationship-types
|
|
262
278
|
- entity-relationships
|
|
@@ -310,6 +326,8 @@ def export(
|
|
|
310
326
|
_export_scorecards(ctx, directory)
|
|
311
327
|
if "workflows" in export_types:
|
|
312
328
|
_export_workflows(ctx, directory)
|
|
329
|
+
if "catalogs" in export_types:
|
|
330
|
+
_export_catalog_pages(ctx, directory)
|
|
313
331
|
|
|
314
332
|
print("\nExport complete!")
|
|
315
333
|
print("Contents available in " + directory)
|
|
@@ -744,6 +762,44 @@ def _import_scorecards(ctx, directory):
|
|
|
744
762
|
|
|
745
763
|
return ("scorecards", len(results) - failed_count, [(fp, et, em) for fn, fp, et, em in results if et])
|
|
746
764
|
|
|
765
|
+
def _import_catalog_pages(ctx, directory):
|
|
766
|
+
results = []
|
|
767
|
+
failed_count = 0
|
|
768
|
+
if os.path.isdir(directory):
|
|
769
|
+
print("Processing: " + directory)
|
|
770
|
+
files = [(filename, os.path.join(directory, filename))
|
|
771
|
+
for filename in sorted(os.listdir(directory))
|
|
772
|
+
if os.path.isfile(os.path.join(directory, filename))]
|
|
773
|
+
|
|
774
|
+
def import_catalog_page_file(file_info):
|
|
775
|
+
filename, file_path = file_info
|
|
776
|
+
try:
|
|
777
|
+
with open(file_path) as f:
|
|
778
|
+
catalogs.create(ctx, file_input=f, _print=False)
|
|
779
|
+
return (filename, file_path, None, None)
|
|
780
|
+
except typer.Exit as e:
|
|
781
|
+
return (filename, file_path, "HTTP", "Validation or HTTP error")
|
|
782
|
+
except Exception as e:
|
|
783
|
+
return (filename, file_path, type(e).__name__, str(e))
|
|
784
|
+
|
|
785
|
+
# Import all files in parallel
|
|
786
|
+
with ThreadPoolExecutor(max_workers=10) as executor:
|
|
787
|
+
futures = {executor.submit(import_catalog_page_file, file_info): file_info[0] for file_info in files}
|
|
788
|
+
results = []
|
|
789
|
+
for future in as_completed(futures):
|
|
790
|
+
results.append(future.result())
|
|
791
|
+
|
|
792
|
+
# Print results in alphabetical order
|
|
793
|
+
failed_count = 0
|
|
794
|
+
for filename, file_path, error_type, error_msg in sorted(results, key=lambda x: x[0]):
|
|
795
|
+
if error_type:
|
|
796
|
+
print(f" Failed to import {filename}: {error_type} - {error_msg}")
|
|
797
|
+
failed_count += 1
|
|
798
|
+
else:
|
|
799
|
+
print(f" Importing: {filename}")
|
|
800
|
+
|
|
801
|
+
return ("catalogs", len(results) - failed_count, [(fp, et, em) for fn, fp, et, em in results if et])
|
|
802
|
+
|
|
747
803
|
def _import_workflows(ctx, directory):
|
|
748
804
|
results = []
|
|
749
805
|
failed_count = 0
|
|
@@ -805,6 +861,7 @@ def import_tenant(
|
|
|
805
861
|
all_stats.append(_import_plugins(ctx, directory + "/plugins"))
|
|
806
862
|
all_stats.append(_import_scorecards(ctx, directory + "/scorecards"))
|
|
807
863
|
all_stats.append(_import_workflows(ctx, directory + "/workflows"))
|
|
864
|
+
all_stats.append(_import_catalog_pages(ctx, directory + "/catalogs"))
|
|
808
865
|
|
|
809
866
|
# Print summary
|
|
810
867
|
print("\n" + "="*80)
|
|
@@ -861,6 +918,8 @@ def import_tenant(
|
|
|
861
918
|
print(f"cortex scorecards create -f \"{file_path}\"")
|
|
862
919
|
elif import_type == "workflows":
|
|
863
920
|
print(f"cortex workflows create -f \"{file_path}\"")
|
|
921
|
+
elif import_type == "catalogs":
|
|
922
|
+
print(f"cortex catalogs create -f \"{file_path}\"")
|
|
864
923
|
|
|
865
924
|
# Exit with non-zero code if any imports failed
|
|
866
925
|
if total_failed > 0:
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
from cortexapps_cli.command_options import CommandOptions
|
|
2
|
+
from cortexapps_cli.command_options import ListCommandOptions
|
|
3
|
+
from cortexapps_cli.utils import print_output_with_context, print_output
|
|
4
|
+
from typing_extensions import Annotated
|
|
5
|
+
import json
|
|
6
|
+
import typer
|
|
7
|
+
import yaml
|
|
8
|
+
|
|
9
|
+
app = typer.Typer(
|
|
10
|
+
help="Catalog page commands",
|
|
11
|
+
no_args_is_help=True
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
def _read_definition(file_input):
|
|
15
|
+
"""Parse a catalog page definition from a JSON or YAML file into a dict.
|
|
16
|
+
|
|
17
|
+
The definition is always sent to the API as JSON, so a YAML file is parsed
|
|
18
|
+
and re-serialized rather than posted verbatim.
|
|
19
|
+
"""
|
|
20
|
+
content = file_input.read()
|
|
21
|
+
try:
|
|
22
|
+
return json.loads(content)
|
|
23
|
+
except json.JSONDecodeError:
|
|
24
|
+
pass
|
|
25
|
+
try:
|
|
26
|
+
return yaml.safe_load(content)
|
|
27
|
+
except yaml.YAMLError:
|
|
28
|
+
raise typer.BadParameter("Input file is neither valid JSON nor YAML.")
|
|
29
|
+
|
|
30
|
+
@app.command()
|
|
31
|
+
def list(
|
|
32
|
+
ctx: typer.Context,
|
|
33
|
+
_print: CommandOptions._print = True,
|
|
34
|
+
page: ListCommandOptions.page = None,
|
|
35
|
+
page_size: ListCommandOptions.page_size = 250,
|
|
36
|
+
table_output: ListCommandOptions.table_output = False,
|
|
37
|
+
csv_output: ListCommandOptions.csv_output = False,
|
|
38
|
+
columns: ListCommandOptions.columns = [],
|
|
39
|
+
no_headers: ListCommandOptions.no_headers = False,
|
|
40
|
+
filters: ListCommandOptions.filters = [],
|
|
41
|
+
sort: ListCommandOptions.sort = [],
|
|
42
|
+
):
|
|
43
|
+
"""
|
|
44
|
+
List catalog pages.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
client = ctx.obj["client"]
|
|
48
|
+
|
|
49
|
+
params = {
|
|
50
|
+
"page": page,
|
|
51
|
+
"pageSize": page_size
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (table_output or csv_output) and not ctx.params.get('columns'):
|
|
55
|
+
ctx.params['columns'] = [
|
|
56
|
+
"Name=name",
|
|
57
|
+
"Slug=slug",
|
|
58
|
+
"Type=type",
|
|
59
|
+
"Description=description",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
# remove any params that are None
|
|
63
|
+
params = {k: v for k, v in params.items() if v is not None}
|
|
64
|
+
|
|
65
|
+
if page is None:
|
|
66
|
+
# if page is not specified, we want to fetch all pages
|
|
67
|
+
r = client.fetch("api/v1/catalog-pages", params=params)
|
|
68
|
+
else:
|
|
69
|
+
# if page is specified, we want to fetch only that page
|
|
70
|
+
r = client.get("api/v1/catalog-pages", params=params)
|
|
71
|
+
|
|
72
|
+
if _print:
|
|
73
|
+
print_output_with_context(ctx, r)
|
|
74
|
+
else:
|
|
75
|
+
return(r)
|
|
76
|
+
|
|
77
|
+
@app.command()
|
|
78
|
+
def get(
|
|
79
|
+
ctx: typer.Context,
|
|
80
|
+
slug: str = typer.Option(..., "--slug", "-s", help="The slug of the catalog page"),
|
|
81
|
+
_print: CommandOptions._print = True,
|
|
82
|
+
):
|
|
83
|
+
"""
|
|
84
|
+
Retrieve a catalog page by slug.
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
client = ctx.obj["client"]
|
|
88
|
+
|
|
89
|
+
r = client.get("api/v1/catalog-pages/" + slug)
|
|
90
|
+
|
|
91
|
+
if _print:
|
|
92
|
+
print_output_with_context(ctx, r)
|
|
93
|
+
else:
|
|
94
|
+
return(r)
|
|
95
|
+
|
|
96
|
+
@app.command()
|
|
97
|
+
def create(
|
|
98
|
+
ctx: typer.Context,
|
|
99
|
+
file_input: Annotated[typer.FileText, typer.Option(..., "--file", "-f", help="File containing the catalog page definition (JSON or YAML); can be passed as stdin with -, example: -f-")],
|
|
100
|
+
_print: CommandOptions._print = True,
|
|
101
|
+
):
|
|
102
|
+
"""
|
|
103
|
+
Create a catalog page, or replace the existing one with the same slug. API key must have the Edit Catalogs permission.
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
client = ctx.obj["client"]
|
|
107
|
+
|
|
108
|
+
data = _read_definition(file_input)
|
|
109
|
+
r = client.post("api/v1/catalog-pages", data=data)
|
|
110
|
+
if _print:
|
|
111
|
+
print_output(r)
|
|
112
|
+
|
|
113
|
+
@app.command()
|
|
114
|
+
def delete(
|
|
115
|
+
ctx: typer.Context,
|
|
116
|
+
slug: str = typer.Option(..., "--slug", "-s", help="The slug of the catalog page"),
|
|
117
|
+
):
|
|
118
|
+
"""
|
|
119
|
+
Delete a catalog page by slug. API key must have the Edit Catalogs permission.
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
client = ctx.obj["client"]
|
|
123
|
+
|
|
124
|
+
client.delete("api/v1/catalog-pages/" + slug)
|
|
@@ -334,7 +334,11 @@ def _read_resource_tag(content: str, kind: str) -> str | None:
|
|
|
334
334
|
data = yaml.safe_load(content)
|
|
335
335
|
if not isinstance(data, dict):
|
|
336
336
|
data = json.loads(content)
|
|
337
|
-
|
|
337
|
+
if kind == "entity-types":
|
|
338
|
+
return data.get("type")
|
|
339
|
+
if kind == "catalogs":
|
|
340
|
+
return data.get("slug")
|
|
341
|
+
return data.get("tag")
|
|
338
342
|
except Exception:
|
|
339
343
|
return None
|
|
340
344
|
|
|
@@ -348,6 +352,7 @@ def _collect_solution_resources(path: Path) -> dict[str, list[str]]:
|
|
|
348
352
|
"scorecards": [],
|
|
349
353
|
"workflows": [],
|
|
350
354
|
"plugins": [],
|
|
355
|
+
"catalogs": [],
|
|
351
356
|
}
|
|
352
357
|
for kind in resources:
|
|
353
358
|
subdir = path / kind
|
|
@@ -404,7 +409,7 @@ def _run_uninstall(client, path: Path, yes: bool) -> None:
|
|
|
404
409
|
return
|
|
405
410
|
|
|
406
411
|
typer.echo("\nThis will remove the following entities:")
|
|
407
|
-
for kind in ("workflows", "scorecards", "plugins", "catalog", "entity-relationship-types", "entity-types"):
|
|
412
|
+
for kind in ("catalogs", "workflows", "scorecards", "plugins", "catalog", "entity-relationship-types", "entity-types"):
|
|
408
413
|
count = len(resources[kind])
|
|
409
414
|
if count:
|
|
410
415
|
typer.echo(f" {kind}: {count}")
|
|
@@ -418,6 +423,7 @@ def _run_uninstall(client, path: Path, yes: bool) -> None:
|
|
|
418
423
|
|
|
419
424
|
# Delete in reverse import order
|
|
420
425
|
steps = [
|
|
426
|
+
("catalogs", lambda t: f"api/v1/catalog-pages/{t}"),
|
|
421
427
|
("workflows", lambda t: f"api/v1/workflows/{t}"),
|
|
422
428
|
("scorecards", lambda t: f"api/v1/scorecards/{t}"),
|
|
423
429
|
("plugins", lambda t: f"api/v1/plugins/{t}"),
|
{cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-agents/README.md
RENAMED
|
@@ -48,6 +48,10 @@ cortex solutions install -s ai-agents
|
|
|
48
48
|
|
|
49
49
|
## After Installing
|
|
50
50
|
|
|
51
|
+
**AI Agents catalog**
|
|
52
|
+
|
|
53
|
+
AI agents are available in a catalog named [AI Agents](https://app.getcortexapp.com/admin/catalogs/ai-agents).
|
|
54
|
+
|
|
51
55
|
**Replace the sample entities with your real agents**
|
|
52
56
|
|
|
53
57
|
The nine sample entities use `platform-engineering` as a placeholder team and `owner@example.com` as a placeholder business owner. For each real agent:
|
|
@@ -112,14 +116,3 @@ x-cortex-git:
|
|
|
112
116
|
**Reaching Gold**
|
|
113
117
|
|
|
114
118
|
The Gold rule checks that the agent has been verified within the last 90 days (`verifications().lastVerifiedAt() != null and verifications().lastVerifiedAt().fromNow() > duration("P-90D")`). Verify entities via the Cortex UI or API — none of the sample entities start at Gold by design. Wire a quarterly reminder or a GitHub Action on your agent directories to prompt re-verification when files change.
|
|
115
|
-
|
|
116
|
-
**Create an AI Agents Catalog in the UI**
|
|
117
|
-
|
|
118
|
-
Cortex Catalogs (the nav-level groupings) are UI-only today — no API or CLI support yet:
|
|
119
|
-
|
|
120
|
-
1. Go to [Catalogs](https://app.getcortexapp.com/admin/catalogs) → **New Catalog**
|
|
121
|
-
2. Entity type: `ai-agent`
|
|
122
|
-
3. Name it **AI Agents**
|
|
123
|
-
|
|
124
|
-
> Catalog creation will be automated once catalog API support is added to the CLI.
|
|
125
|
-
|
{cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/ai-skills/README.md
RENAMED
|
@@ -55,6 +55,10 @@ cortex solutions install -s ai-skills
|
|
|
55
55
|
|
|
56
56
|
## After Installing
|
|
57
57
|
|
|
58
|
+
**AI Skills catalog**
|
|
59
|
+
|
|
60
|
+
AI plugins and skills are available in a catalog named [AI Skills](https://app.getcortexapp.com/admin/catalogs/ai-skills).
|
|
61
|
+
|
|
58
62
|
**Populate quality data for real skills**
|
|
59
63
|
|
|
60
64
|
Three of the scorecard's rules — concise (`lineCount`), description length (`descriptionCharCount`, named to avoid confusion with the entity's own `description` field), and shallow references (`hasDeepReferences`) — read from Cortex custom metadata. `cortex ai-skills sync` pushes these via the Custom Data API. For each real skill you ingest:
|
|
@@ -72,14 +76,3 @@ The sample entities above don't have these set, so they'll score lower on those
|
|
|
72
76
|
**Link real plugins and skills to your own Services**
|
|
73
77
|
|
|
74
78
|
Point `ai-plugin-service` / `ai-skill-service` at whatever Service (or repository entity) already owns that code in your Catalog, instead of the sample `docs-portal`.
|
|
75
|
-
|
|
76
|
-
**Set up your AI Skills catalog**
|
|
77
|
-
|
|
78
|
-
Cortex Catalogs (the nav-level groupings like Services, Infrastructure, Domains) are UI-only today — there's no API or CLI support yet to script this step:
|
|
79
|
-
|
|
80
|
-
1. Go to [Catalogs](https://app.getcortexapp.com/admin/catalogs) → **New Catalog**
|
|
81
|
-
2. Relationship type: `ai-plugin-skills`
|
|
82
|
-
3. Root entity type: `ai-plugin`
|
|
83
|
-
4. Name it **AI Skills**
|
|
84
|
-
|
|
85
|
-
> Catalog creation will be automated once catalog API support is added to the CLI.
|
{cortexapps_cli-1.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/solutions/environments/README.md
RENAMED
|
@@ -73,16 +73,9 @@ cortex solutions install -s environments
|
|
|
73
73
|
|
|
74
74
|
## After Installing
|
|
75
75
|
|
|
76
|
-
**
|
|
76
|
+
**Environments catalog**
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
1. Go to [Catalogs](https://app.getcortexapp.com/admin/catalogs) → **New Catalog**
|
|
81
|
-
2. Relationship type: `environments`
|
|
82
|
-
3. Root entity type: `environment`
|
|
83
|
-
4. Name it **Environments**
|
|
84
|
-
|
|
85
|
-
> Catalog creation will be automated once catalog API support is added to the CLI.
|
|
78
|
+
Environments, releases, and service-versions are available in a catalog named [Environments](https://app.getcortexapp.com/admin/catalogs/environments).
|
|
86
79
|
|
|
87
80
|
**Try the workflows**
|
|
88
81
|
|
|
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.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/entity_relationship_types.py
RENAMED
|
File without changes
|
{cortexapps_cli-1.43.0 → cortexapps_cli-1.44.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.43.0 → cortexapps_cli-1.44.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.43.0 → cortexapps_cli-1.44.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.43.0 → cortexapps_cli-1.44.0}/cortexapps_cli/commands/packages_commands/go.py
RENAMED
|
File without changes
|