Skip to main content

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​

NameTypeDescription
idstringUnique identifier

Actions​

get_C2C_incident_receiver_count()​

Parameters:

NameTypeRequiredDescription
searchstringNo-

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​

NameTypeRequiredDescription
idintegerYes-
last_modified_byEntityReferenceYes-
last_tenant_validation_timeintegerYes-
last_validation_msgCasbTenantValidationJsonMsgYes-
modified_timeintegerYes-
namestringYes-
onboardable_entityOnboardableEntityYes-
re_authbooleanYes-
statusOnboardableEntityStatusEnumCollectionYes-