{"id":22335,"library":"scc-firewall-manager-sdk","title":"Cisco Security Cloud Control Firewall Manager SDK","description":"A Python SDK for Cisco Security Cloud Control (SCC) Firewall Manager API. Provides programmatic access to manage firewall configurations, policies, and devices. Current version: 1.19.68.","status":"active","version":"1.19.68","language":"python","source_language":"en","source_url":"https://github.com/CiscoDevNet/scc-firewall-manager-sdk","tags":["cisco","scc","firewall","management","sdk","api"],"install":[{"cmd":"pip install scc-firewall-manager-sdk","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The package name on PyPI differs from the Python module. The correct import uses 'ciscoscc'.","wrong":"from scc_firewall_manager_sdk import SCCClient","symbol":"SCCClient","correct":"from ciscoscc import SCCClient"},{"note":"AuthenticationError is exposed at the package root, not in a submodule.","wrong":"from ciscoscc.errors import AuthenticationError","symbol":"AuthenticationError","correct":"from ciscoscc import AuthenticationError"}],"quickstart":{"code":"from ciscoscc import SCCClient\n\nclient = SCCClient(\n    client_id=os.environ.get('SCC_CLIENT_ID', ''),\n    client_secret=os.environ.get('SCC_CLIENT_SECRET', ''),\n    grant_type='client_credentials'\n)\n# Example: List devices\ndevices = client.devices.list()\nprint(devices)","lang":"python","description":"Initialize the client using OAuth2 client credentials from environment variables and list devices."},"warnings":[{"fix":"Use 'from ciscoscc import SCCClient'.","message":"The package imports as 'ciscoscc', not 'scc_firewall_manager_sdk'. Many users incorrectly use the PyPI name as the module name.","severity":"gotcha","affected_versions":"all"},{"fix":"Explicitly pass grant_type='client_credentials'.","message":"The 'grant_type' parameter defaults to 'password' which is deprecated. Use 'client_credentials' for OAuth2.","severity":"deprecated","affected_versions":"<1.19.0"},{"fix":"Set env vars exactly as SCC_CLIENT_ID and SCC_CLIENT_SECRET.","message":"Environment variables are case-sensitive. Use SCC_CLIENT_ID and SCC_CLIENT_SECRET (not lower- or mixed-case).","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install scc-firewall-manager-sdk and then import ciscoscc.","cause":"Installing scc-firewall-manager-sdk but trying to import 'scc' or 'scc_firewall_manager_sdk'.","error":"ModuleNotFoundError: No module named 'ciscoscc'"},{"fix":"Upgrade to the latest version: pip install --upgrade scc-firewall-manager-sdk.","cause":"Using an outdated version (<1.19.0) where the API surface was different.","error":"AttributeError: 'SCCClient' object has no attribute 'devices'"},{"fix":"Use grant_type='client_credentials' and ensure SCC_CLIENT_ID and SCC_CLIENT_SECRET are correct.","cause":"Using grant_type='password' with wrong credentials or it's deprecated.","error":"AuthenticationError: invalid_grant"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}