How ciscodevnet/cisco-scc-python-sdk works
Cisco Security Cloud Control Python SDK: callers create an authenticated Client, use its resource-specific methods to manage organizations, subscriptions, users, groups and roles, then receive decoded API results or SDK exceptions. Token refresh is an additional capability. Resource methods delegate HTTP transport to Client; BaseResource provides the shared client reference. Source excerpts show the main transport and several resource calls, but not every resource implementation, so unsampled resource-to-transport links are omitted.
Main entry points: client.py Client · base.py Resource base · organizations.py Organizations · subscriptions.py Subscriptions
Components 12
SDK entry
- Public exports
scc_sdk/__init__.py
Management resources
- Resource base
scc_sdk/resources/base.py - Organizations
scc_sdk/resources/organizations.py - Subscriptions
scc_sdk/resources/subscriptions.py - Admin groups
scc_sdk/resources/groups.py - Users
scc_sdk/resources/users.py - Roles
scc_sdk/resources/roles.py - Token refresh
scc_sdk/resources/tokens.py
HTTP and errors
- Client
scc_sdk/client.py - SDK exceptions
scc_sdk/exceptions.py
Other components
- SDK caller
- SCC Management API
Connections 24
- SDK caller → Public exports: imports
README.md - Public exports → Client: exports
scc_sdk/__init__.py - SDK caller → Client: configures
README.md - Client → Organizations: initializes
scc_sdk/client.py - Client → Subscriptions: initializes
scc_sdk/client.py - Client → Admin groups: initializes
scc_sdk/client.py - Client → Users: initializes
scc_sdk/client.py - Client → Roles: initializes
scc_sdk/client.py - Client → Token refresh: initializes
scc_sdk/client.py - Organizations → Resource base: inherits
scc_sdk/resources/organizations.py - Subscriptions → Resource base: inherits
scc_sdk/resources/subscriptions.py - Admin groups → Resource base: inherits
scc_sdk/resources/groups.py - Users → Resource base: inherits
scc_sdk/resources/users.py - Roles → Resource base: inherits
scc_sdk/resources/roles.py - Token refresh → Resource base: inherits
scc_sdk/resources/tokens.py - Organizations → Client: requests
scc_sdk/resources/organizations.py - Subscriptions → Client: requests
scc_sdk/resources/subscriptions.py - Admin groups → Client: requests
scc_sdk/resources/groups.py - Users → Client: requests
scc_sdk/resources/users.py - Roles → Client: requests
scc_sdk/resources/roles.py - Token refresh → Client: requests
scc_sdk/resources/tokens.py - Client → SCC Management API: sends HTTP
scc_sdk/client.py - SCC Management API → Client: returns JSON
scc_sdk/client.py - Client → SDK exceptions: raises
scc_sdk/client.py