{"id":43679337,"url":"https://github.com/robertbreker/cxcli","last_synced_at":"2026-02-05T01:31:04.138Z","repository":{"id":54327564,"uuid":"336883557","full_name":"robertbreker/cxcli","owner":"robertbreker","description":"cxcli: Experimental CLI for Citrix Cloud","archived":false,"fork":false,"pushed_at":"2021-04-19T10:07:50.000Z","size":79,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T06:17:24.773Z","etag":null,"topics":["cli","cxcli","rest","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertbreker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-07T20:33:04.000Z","updated_at":"2025-03-24T00:53:07.000Z","dependencies_parsed_at":"2022-08-13T12:10:19.084Z","dependency_job_id":null,"html_url":"https://github.com/robertbreker/cxcli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/robertbreker/cxcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbreker%2Fcxcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbreker%2Fcxcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbreker%2Fcxcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbreker%2Fcxcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertbreker","download_url":"https://codeload.github.com/robertbreker/cxcli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbreker%2Fcxcli/sbom","scorecard":{"id":780078,"data":{"date":"2025-08-11","repo":{"name":"github.com/robertbreker/cxcli","commit":"727b5de423ba36b90c42172178d721618a0068f1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/workflow.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/robertbreker/cxcli/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/robertbreker/cxcli/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/robertbreker/cxcli/workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/robertbreker/cxcli/workflow.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:22","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:23","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:24","Warn: pipCommand not pinned by hash: .github/workflows/workflow.yaml:25","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2021-59 / GHSA-5phf-pp7p-vc2r","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T04:42:29.158Z","repository_id":54327564,"created_at":"2025-08-23T04:42:29.158Z","updated_at":"2025-08-23T04:42:29.158Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29105568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T00:52:08.035Z","status":"ssl_error","status_checked_at":"2026-02-05T00:52:07.703Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cxcli","rest","rest-api"],"created_at":"2026-02-05T01:31:03.463Z","updated_at":"2026-02-05T01:31:04.126Z","avatar_url":"https://github.com/robertbreker.png","language":"Python","readme":"# cx: Experimental CLI for Citrix Cloud\n\n\u003e**Note:**  Given that this is experimental software, your mileage may vary. The CLI-syntax is not yet finalized and may still change.\n\nThe CLI works using the REST APIs of Citrix Cloud, as documented on [Citrix's Developer Portal](https://developer.cloud.com).\n\n\u003cp float=\"left\"\u003e\n  \u003cimg alt=\"Usage\" src=\"https://user-images.githubusercontent.com/4073077/109686405-2613f200-7b7a-11eb-9626-ad413f9a4272.png\" width=\"45%\"\u003e\n  \u003cimg alt=\"Microapps Sample\" src=\"https://user-images.githubusercontent.com/4073077/109686633-5e1b3500-7b7a-11eb-9474-71af9a595d1c.png\" width=\"45%\"\u003e\n\u003c/p\u003e\n\n## Features\n\n- Provides a simple and efficient way to interact with Citrix Cloud\n- Supports many Citrix Cloud services including: **adm**, **apppersonalization**, **cvadrestapis**, **globalappconfiguration**, **manageddesktops**, **microapps**, **notifications**, **quickdeploy**, **securebrowser**, **reportingapi**, **systemlog**, **virtualappsessentialls**, **webhook**, and **wem**.\n- Always up-to-date as it synchronizes the latest published [OpenAPI-specifications](https://developer.cloud.com).\n- Responses can be formatted as either JSON, YAML, Table, CSV, or binary.\n- Powerful query and filter syntax powered by [JMESPath](https://jmespath.org/tutorial.html).\n- Handles authentication and caches tokens transparently.\n- Secrets are stored using the user's OS keyring service.\n- Autocompletion for Bash and Zsh (see [below](#autocomplete-for-bash-and-zsh))\n\n## Installation\n\ncxcli requires Python 3.x. Find more information [here](https://wiki.python.org/moin/BeginnersGuide/Download).\n\nInstall cxcli using:\n\n```BASH\npython3 -m pip install cxcli\n```\n\n## Configuration\n\nOnce installed, configure cxcli interactively:\n\n```BASH\ncx --configure\n```\n\nFollow the Citrix Cloud Documentation, to [create an API Client](https://developer.cloud.com/getting-started/docs/overview) and obtain the `CustomerId`, `ClientID`, `ClientSecret` required as part of the configuration.\n\n\u003e**Note:**\n\u003e By default, cxcli will store credentials in the user's system keyring service (Windows Credential Locker, macOS Keychain, KDE KWallet, FreeDesktop Secret Service). Should your environment not have a keyring service, or every keyring access require a keyring password, you can provide the configuration alternatively using environment variables `CXCUSTOMERID`, `CXCLIENTID`, and `CXCLIENTSECRET`.\n\n## Usage examples\n\n- Show a list of Cloud Services available via CLI: `cx -h`\n- Show a list of commands available within a Cloud Service: `cx systemlog`\n- Extract the latest records from Citrix Cloud's systemlog-service: `cx systemlog GetRecords`\n- Provide output as YAML: `cxcli systemlog GetRecords --output-as yaml`\n- Filter for fields using JMESPath: `cx systemlog GetRecords --cliquery 'Items[].Message.\"en-US\"'`\n- Filter for values using JMESPath: `cx systemlog GetRecords --cliquery 'Items[?ActorDisplayName == \"a.bad@m.an\"]'`\n- Show information about the CVAD Site: `cx cvadrestapis Me_GetMe`\n\n- Create an Administrator notification in Citrix Cloud:\n\n```bash\ncx notifications Notifications_CreateItems --eventId $(uuidgen) --content '{\n      \"languageTag\": \"en-US\",\n      \"title\": \"Dinner Time\",\n      \"description\": \"Fish and Chips!\"\n   }'  --severity \"Information\" --destinationAdmin \"*\" --component \"Citrix Cloud\" --priority High --createdDate 2021-02-13T08:20:17.120808-08:00\n```\n\n- Export a Microapp integration bundle as a backup:\n\n```bash\ncx microapps export_bundle --geo us --bundleExportType default --integrationExportConfig-id 1 --output-binary integration.mapp\n```\n\n- Re-importing the Microapp integration bundle, providing the necessary base configuration:\n\n```bash\necho '{ \"integrationImportConfig\": { \"type\": \"GWSC\", \"baseUrl\": \"https://mybaseurl/\"} }' \u003e config.txt\ncx microapps import_bundle --geo us  --config config.txt --bundle integration.mapp\n```\n\n## Autocomplete for Bash and Zsh\n\nFor **Bash** - add the following snippet to your `~/.bashrc`-file:\n\n```bash\neval \"$(register-python-argcomplete cx)\"\n```\n\nFor **zsh** - Add the following snippet to your `~/.zshrc`-file:\n\n```bash\nautoload bashcompinit\nbashcompinit\neval \"$(register-python-argcomplete cx)\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertbreker%2Fcxcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertbreker%2Fcxcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertbreker%2Fcxcli/lists"}