Skip to content
Start here

Logging

Get logging settings for the Zero Trust account
client.zeroTrust.gateway.logging.get(LoggingGetParams { account_id } params, RequestOptionsoptions?): LoggingSetting { redact_pii, settings_by_rule_type }
GET/accounts/{account_id}/gateway/logging
Update Zero Trust account logging settings
client.zeroTrust.gateway.logging.update(LoggingUpdateParams { account_id, redact_pii, settings_by_rule_type } params, RequestOptionsoptions?): LoggingSetting { redact_pii, settings_by_rule_type }
PUT/accounts/{account_id}/gateway/logging
ModelsExpand Collapse
LoggingSetting { redact_pii, settings_by_rule_type }
redact_pii?: boolean

Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).

settings_by_rule_type?: SettingsByRuleType { dns, http, l4 }

Configure logging settings for each rule type.

dns?: DNS { log_all, log_blocks }

Configure logging settings for DNS firewall.

log_all?: boolean

Specify whether to log all requests to this service.

log_blocks?: boolean

Specify whether to log only blocking requests to this service.

http?: HTTP { log_all, log_blocks }

Configure logging settings for HTTP/HTTPS firewall.

log_all?: boolean

Specify whether to log all requests to this service.

log_blocks?: boolean

Specify whether to log only blocking requests to this service.

l4?: L4 { log_all, log_blocks }

Configure logging settings for Network firewall.

log_all?: boolean

Specify whether to log all requests to this service.

log_blocks?: boolean

Specify whether to log only blocking requests to this service.