C2CIncidentReceiver
C2 C Incident Receiver resource for Zscaler Internet Access.
Resource operations
This resource supports the following standard methods: load(). They operate on the instance state — set properties with dot notation, then call the method with no arguments. Any other action listed below is a custom action that takes explicit keyword arguments and returns a value.
Quick Start
import zssdk
import logging
# Enable debug logging for C2CIncidentReceiver
logging.getLogger('zssdk.zia').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)
session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)
# Get a specific C2CIncidentReceiver
resource = session.zia.C2CIncidentReceiver(id="your-resource-id")
resource.load()
print(resource)
# Debug output shows HTTP request/response details
Identifiers
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier |
Actions
get_C2C_incident_receiver_count()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
search | string | No | - |
Example:
resource = session.zia.C2CIncidentReceiver()
result = resource.get_C2C_incident_receiver_count()
print(result)
load()
Fetches an existing C2CIncidentReceiver by id. Only the id identifier is required; load() takes no other arguments.
Returns: C2CIncidentReceiver
Example:
resource = session.zia.C2CIncidentReceiver(id="your-resource-id")
resource.load()
print(resource.name)
validate_configuration_delete()
Example:
resource = session.zia.C2CIncidentReceiver(id="your-resource-id")
result = resource.validate_configuration_delete()
print(result)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | - |
last_modified_by | EntityReference | Yes | - |
last_tenant_validation_time | integer | Yes | - |
last_validation_msg | CasbTenantValidationJsonMsg | Yes | - |
modified_time | integer | Yes | - |
name | string | Yes | - |
onboardable_entity | OnboardableEntity | Yes | - |
re_auth | boolean | Yes | - |
status | OnboardableEntityStatusEnumCollection | Yes | - |
Related
- C2CIncidentReceiver - Data structure definition
- Logging guide - enable verbose logs while debugging this resource