{"id":36757416,"url":"https://github.com/ebarti/cortex-xdr-client","last_synced_at":"2026-01-12T12:51:13.731Z","repository":{"id":41390996,"uuid":"423609673","full_name":"ebarti/cortex-xdr-client","owner":"ebarti","description":"A python-based API client for Cortex XDR API.","archived":false,"fork":false,"pushed_at":"2025-07-24T07:39:41.000Z","size":264,"stargazers_count":26,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T08:59:52.884Z","etag":null,"topics":["api","client","cortex","cortex-xdr","paloaltonetworks","python","security","xdr","xql"],"latest_commit_sha":null,"homepage":"https://cortex-xdr-client.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebarti.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-01T20:39:33.000Z","updated_at":"2025-07-05T18:09:45.000Z","dependencies_parsed_at":"2022-08-28T06:41:13.944Z","dependency_job_id":"f2d5caf4-8e9a-409a-be93-ac5159d4b8ca","html_url":"https://github.com/ebarti/cortex-xdr-client","commit_stats":{"total_commits":107,"total_committers":4,"mean_commits":26.75,"dds":0.383177570093458,"last_synced_commit":"cfcdfbc1b1afa8a4dcb010ca01012a873b04667c"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/ebarti/cortex-xdr-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebarti%2Fcortex-xdr-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebarti%2Fcortex-xdr-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebarti%2Fcortex-xdr-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebarti%2Fcortex-xdr-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebarti","download_url":"https://codeload.github.com/ebarti/cortex-xdr-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebarti%2Fcortex-xdr-client/sbom","scorecard":{"id":364517,"data":{"date":"2025-08-11","repo":{"name":"github.com/ebarti/cortex-xdr-client","commit":"d8ba96fc6707e47c0144335c72ed6d425e37533e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Code-Review","score":3,"reason":"Found 8/25 approved changesets -- score normalized to 3","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":"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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:26","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:27","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/python-test.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml: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/codeql-analysis.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/python-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-test.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/python-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/ebarti/cortex-xdr-client/stale.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:54","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:55","Warn: pipCommand not pinned by hash: .github/workflows/python-test.yml:35","Warn: pipCommand not pinned by hash: .github/workflows/python-test.yml:36","Info:   0 out of  10 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: MIT 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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-mr82-8j83-vxmv","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-48p4-8xcf-vxj5","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 2 commits out of 17 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"}}]},"last_synced_at":"2025-08-18T11:33:01.003Z","repository_id":41390996,"created_at":"2025-08-18T11:33:01.003Z","updated_at":"2025-08-18T11:33:01.003Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["api","client","cortex","cortex-xdr","paloaltonetworks","python","security","xdr","xql"],"created_at":"2026-01-12T12:51:13.282Z","updated_at":"2026-01-12T12:51:13.726Z","avatar_url":"https://github.com/ebarti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"About the cortex-xdr-client\n###########################\n\nA python-based API client for `Cortex XDR\nAPI \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/axpm6b98x4p18-cortex-xdr-api-overview\u003e`__.\n\nCurrently, it supports the following Cortex XDR **Prevent \u0026 Pro** APIs:\n\n*Alerts API:*\n\n-  `Get Alerts \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/813e387002342-get-all-alerts\u003e`__\n\n\n*Downloads API:*\n\n-  `Download File \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/2932f29d2ccdd-file-retrieval-details\u003e`__\n\n\n*Endpoints API:*\n\n-  `Get All Endpoints \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/89535019b740f-get-all-endpoints\u003e`__\n-  `Get Endpoint \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/b149d40bd4c51-get-endpoint\u003e`__\n-  `Isolate Endpoints \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/9c730a966cdd8-isolate-endpoints\u003e`__\n-  `Unisolate Endpoints \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/c719336adb46b-unisolate-endpoints\u003e`__\n-  `Scan Endpoints \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/2e666ee0be1c6-scan-endpoints\u003e`__\n-  `Set an Endpoint Alias \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/c1ff89fa71c74-set-an-endpoint-alias\u003e`__\n-  `Retrieve File \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/08b1ba9fcfae0-retrieve-file\u003e`__\n-  `Quarantine File \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/76e8cca7fcb2e-quarantine-files\u003e`__\n\n\n*Incidents API:*\n\n-  `Get Incidents \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/a61eadc13dd54-get-all-incidents\u003e`__\n-  `Get Extra Incident Data \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/5a2fff98016d5-get-extra-incident-data\u003e`__\n\n\n*Indicators API:*\n\n-  `Insert Simple Indicators JSON \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/24e778d89726d-insert-simple-indicators-json\u003e`__\n\n\n*Response Actions API:*\n\n-  `Get Action Status \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/9782594f400c3-get-action-status\u003e`__\n\n\n*Scripts API:*\n\n-  `Get Scripts \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/6c41fe0732805-get-scripts\u003e`__\n-  `Get Script Metadata \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/52ea90b5f5c72-get-script-metadata\u003e`__\n-  `Get Script Execution Status \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/28073c365903b-get-script-execution-status\u003e`__\n-  `Get Script Execution Results \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/fa2ca3b1ff49b-get-script-execution-results\u003e`__\n-  `Get Script Execution Result Files \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/0fb66ea9988ff-get-script-execution-result-files\u003e`__\n-  `Run Script \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/7223bea7d2bea-run-script\u003e`__\n-  `Run Snippet Code Script \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/083859c8c6729-run-snippet-code-script\u003e`__\n\n\n*XQL API:*\n\n-  `Start XQL \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/ecc87ad01e173-start-an-xql-query\u003e`__\n-  `Get XQL Results \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/be3d47e8dce5a-get-xql-query-results\u003e`__\n-  `Get XQL Result Stream \u003chttps://cortex-panw.stoplight.io/docs/cortex-xdr/155abd6ca4b4d-get-xql-query-results-stream\u003e`__\n\n\n*Contributing:*\n\nSee `CONTRIBUTING.md \u003c./CONTRIBUTING.md\u003e`__ for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febarti%2Fcortex-xdr-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febarti%2Fcortex-xdr-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febarti%2Fcortex-xdr-client/lists"}