PUT /accounts/{account_id}/gateway/logging

Updates logging settings for the current Zero Trust account.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
redact_pii Boolean No

Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).

Default value: false

settings_by_rule_type Object No

Logging settings by rule type.

settings_by_rule_type.http Object No
settings_by_rule_type.http.log_blocks Boolean No

Log only blocking requests to this service.

Default value: false

settings_by_rule_type.http.log_all Boolean No

Log all requests to this service.

Default value: false

settings_by_rule_type.l4 Object No
settings_by_rule_type.l4.log_blocks Boolean No

Log only blocking requests to this service.

Default value: false

settings_by_rule_type.l4.log_all Boolean No

Log all requests to this service.

Default value: false

settings_by_rule_type.dns Object No
settings_by_rule_type.dns.log_blocks Boolean No

Log only blocking requests to this service.

Default value: false

settings_by_rule_type.dns.log_all Boolean No

Log all requests to this service.

Default value: false

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.