cdo-sdk-python


Namecdo-sdk-python JSON
Version 1.2.495 PyPI version JSON
download
home_pageNone
SummaryCisco Security Cloud Control API
upload_time2024-12-03 23:04:24
maintainerNone
docs_urlNone
authorCisco Security Cloud Control TAC
requires_pythonNone
licenseNone
keywords openapi openapi-generator cisco security cloud control api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Cisco Defense Orchestrator (CDO) Python SDK
The CDO Python SDK facilitates automated interaction with the Cisco Defense Orchestrator (CDO) API, enabling developers to integrate Cisco's cloud-based security policy and device management into Python applications.

For more information and detailed documentation, visit the [CDO Python SDK documentation](https://github.com/cisco-lockhart/cdo-public-api-docs/tree/main/cdo-sdk/python).

Read more about CDO [here](https://docs.defenseorchestrator.com/).

## Installation
Install the CDO Python SDK package with the following command:
```
pip install cdo-sdk-python
```

## Getting Started
After installation, import the SDK into your Python project and configure your API credentials.

## Usage Example
```python
import cdo_sdk_python, os
from cdo_sdk_python.rest import ApiException
from pprint import pprint

# See configuration.py for a list of all supported configuration parameters
configuration = cdo_sdk_python.Configuration(
    host="https://edge.staging.cdo.cisco.com/api/rest"
)

# Configure Bearer authorization (JWT)
configuration.access_token = os.environ["BEARER_TOKEN"]

with cdo_sdk_python.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cdo_sdk_python.TenantManagementApi(api_client)

    try:
        api_response = api_instance.get_tenants()
        print("The response of TenantManagementApi->get_tenants:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling TenantManagementApi->get_tenants: %s\n" % e)
```

## Developer Support
If you need technical support, choose from the options below.

### Consulting/Best Practices
Use the DevNet Community for general best practices, help, tips, or examples using Cisco APIs. Free to any DevNet member, log in and post your questions in the [Network Security forum](https://community.cisco.com/t5/network-security/bd-p/disc-network-security) using the `Cisco Defense Orchestrator (CDO)` label.

### Issues
If you identify issues with the CDO API, you can contact the [Cisco Technical Assistance Center (TAC)](https://www.cisco.com/c/en/us/support/web/tsd-cisco-worldwide-contacts.html) for support. First time? [Start here](https://www.cisco.com/c/dam/en/us/services/collateral/acquisitions/cjp-tac-support-guide.pdf).

- Internet: https://mycase.cloudapps.cisco.com/
- Worldwide Support Contacts: https://www.cisco.com/c/en/us/support/web/tsd-cisco-worldwide-contacts.html
- Webex: tac.connect@webex.bot

### Enhancement Requests
Please file enhancement requests in the [Network Security forum](https://community.cisco.com/t5/network-security/bd-p/disc-network-security) using the `Cisco Defense Orchestrator (CDO)` label.

### One-on-one Consulting
For one-on-one consulting, contact a [Cisco Developer Partner](https://www.cisco.com/c/en/us/partners/connect-with-a-partner.html) or your Cisco Sales Team for professional service options.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cdo-sdk-python",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "OpenAPI, OpenAPI-Generator, Cisco Security Cloud Control API",
    "author": "Cisco Security Cloud Control TAC",
    "author_email": "cdo.tac@cisco.com",
    "download_url": "https://files.pythonhosted.org/packages/a4/18/79e414311b88eb0984b41ab1e139570e74070f3b82ce2c09f2be09af3211/cdo-sdk-python-1.2.495.tar.gz",
    "platform": null,
    "description": "# Cisco Defense Orchestrator (CDO) Python SDK\nThe CDO Python SDK facilitates automated interaction with the Cisco Defense Orchestrator (CDO) API, enabling developers to integrate Cisco's cloud-based security policy and device management into Python applications.\n\nFor more information and detailed documentation, visit the [CDO Python SDK documentation](https://github.com/cisco-lockhart/cdo-public-api-docs/tree/main/cdo-sdk/python).\n\nRead more about CDO [here](https://docs.defenseorchestrator.com/).\n\n## Installation\nInstall the CDO Python SDK package with the following command:\n```\npip install cdo-sdk-python\n```\n\n## Getting Started\nAfter installation, import the SDK into your Python project and configure your API credentials.\n\n## Usage Example\n```python\nimport cdo_sdk_python, os\nfrom cdo_sdk_python.rest import ApiException\nfrom pprint import pprint\n\n# See configuration.py for a list of all supported configuration parameters\nconfiguration = cdo_sdk_python.Configuration(\n    host=\"https://edge.staging.cdo.cisco.com/api/rest\"\n)\n\n# Configure Bearer authorization (JWT)\nconfiguration.access_token = os.environ[\"BEARER_TOKEN\"]\n\nwith cdo_sdk_python.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = cdo_sdk_python.TenantManagementApi(api_client)\n\n    try:\n        api_response = api_instance.get_tenants()\n        print(\"The response of TenantManagementApi->get_tenants:\\n\")\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling TenantManagementApi->get_tenants: %s\\n\" % e)\n```\n\n## Developer Support\nIf you need technical support, choose from the options below.\n\n### Consulting/Best Practices\nUse the DevNet Community for general best practices, help, tips, or examples using Cisco APIs. Free to any DevNet member, log in and post your questions in the [Network Security forum](https://community.cisco.com/t5/network-security/bd-p/disc-network-security) using the `Cisco Defense Orchestrator (CDO)` label.\n\n### Issues\nIf you identify issues with the CDO API, you can contact the [Cisco Technical Assistance Center (TAC)](https://www.cisco.com/c/en/us/support/web/tsd-cisco-worldwide-contacts.html) for support. First time? [Start here](https://www.cisco.com/c/dam/en/us/services/collateral/acquisitions/cjp-tac-support-guide.pdf).\n\n- Internet: https://mycase.cloudapps.cisco.com/\n- Worldwide Support Contacts: https://www.cisco.com/c/en/us/support/web/tsd-cisco-worldwide-contacts.html\n- Webex: tac.connect@webex.bot\n\n### Enhancement Requests\nPlease file enhancement requests in the [Network Security forum](https://community.cisco.com/t5/network-security/bd-p/disc-network-security) using the `Cisco Defense Orchestrator (CDO)` label.\n\n### One-on-one Consulting\nFor one-on-one consulting, contact a [Cisco Developer Partner](https://www.cisco.com/c/en/us/partners/connect-with-a-partner.html) or your Cisco Sales Team for professional service options.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Cisco Security Cloud Control API",
    "version": "1.2.495",
    "project_urls": null,
    "split_keywords": [
        "openapi",
        " openapi-generator",
        " cisco security cloud control api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6da575c64138da27f2e10dd1a93d11f0a7d9db9456337d173f459eac0edc27f0",
                "md5": "7698c3258605c2109d3e973af425f9de",
                "sha256": "8667d313146b1c5eb7548bfd94e95d3a5198b9c9a73a99c3abdd829c56599ab5"
            },
            "downloads": -1,
            "filename": "cdo_sdk_python-1.2.495-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7698c3258605c2109d3e973af425f9de",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 370670,
            "upload_time": "2024-12-03T23:04:21",
            "upload_time_iso_8601": "2024-12-03T23:04:21.777682Z",
            "url": "https://files.pythonhosted.org/packages/6d/a5/75c64138da27f2e10dd1a93d11f0a7d9db9456337d173f459eac0edc27f0/cdo_sdk_python-1.2.495-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a41879e414311b88eb0984b41ab1e139570e74070f3b82ce2c09f2be09af3211",
                "md5": "73318eca8c8a7b5b16ec88fb9e536695",
                "sha256": "6a2cf4574893b7da1af161b5b00db35f5d32c993b99d0d5b642cdd92e11c46af"
            },
            "downloads": -1,
            "filename": "cdo-sdk-python-1.2.495.tar.gz",
            "has_sig": false,
            "md5_digest": "73318eca8c8a7b5b16ec88fb9e536695",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 178291,
            "upload_time": "2024-12-03T23:04:24",
            "upload_time_iso_8601": "2024-12-03T23:04:24.058721Z",
            "url": "https://files.pythonhosted.org/packages/a4/18/79e414311b88eb0984b41ab1e139570e74070f3b82ce2c09f2be09af3211/cdo-sdk-python-1.2.495.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-03 23:04:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cdo-sdk-python"
}
        
Elapsed time: 7.70751s