cdo-sdk-python


Namecdo-sdk-python JSON
Version 1.2.503 PyPI version JSON
download
home_pageNone
SummaryCisco Security Cloud Control API
upload_time2024-12-05 10:44:13
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/26/37/5ea50567666f53417564b0f7c243edfb8cd2695899f128503f65c7665f18/cdo-sdk-python-1.2.503.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.503",
    "project_urls": null,
    "split_keywords": [
        "openapi",
        " openapi-generator",
        " cisco security cloud control api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ab0f9d082d4b6882f44c624b0272b650aabbed545a57a2bb2dc31c31c606862",
                "md5": "9352438d2f2044246971a0975049afe7",
                "sha256": "cfc0913c07ac56657facedec9b80ab6c70a610e279d4fca7be639782f67b9a43"
            },
            "downloads": -1,
            "filename": "cdo_sdk_python-1.2.503-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9352438d2f2044246971a0975049afe7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 370675,
            "upload_time": "2024-12-05T10:44:11",
            "upload_time_iso_8601": "2024-12-05T10:44:11.772672Z",
            "url": "https://files.pythonhosted.org/packages/0a/b0/f9d082d4b6882f44c624b0272b650aabbed545a57a2bb2dc31c31c606862/cdo_sdk_python-1.2.503-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26375ea50567666f53417564b0f7c243edfb8cd2695899f128503f65c7665f18",
                "md5": "9ca5567711739a03b3a598907dc478dd",
                "sha256": "b5cb1d3393cc465ea3f397e821ebf1cf728c20fa3d8883d45c95e2407850e21c"
            },
            "downloads": -1,
            "filename": "cdo-sdk-python-1.2.503.tar.gz",
            "has_sig": false,
            "md5_digest": "9ca5567711739a03b3a598907dc478dd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 178252,
            "upload_time": "2024-12-05T10:44:13",
            "upload_time_iso_8601": "2024-12-05T10:44:13.134375Z",
            "url": "https://files.pythonhosted.org/packages/26/37/5ea50567666f53417564b0f7c243edfb8cd2695899f128503f65c7665f18/cdo-sdk-python-1.2.503.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-05 10:44:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cdo-sdk-python"
}
        
Elapsed time: 0.46682s