zscaler.ziacloud.zia_end_user_notification module – Retrieves browser-based end user notification (EUN)
Note
This module is part of the zscaler.ziacloud collection (version 2.0.3).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install zscaler.ziacloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: zscaler.ziacloud.zia_end_user_notification
.
New in zscaler.ziacloud 2.0.0
Synopsis
Retrieves browser-based end user notification (EUN) configuration details
Requirements
The below requirements are needed on the host that executes this module.
Zscaler SDK Python can be obtained from PyPI https://pypi.org/project/zscaler-sdk-python/
Parameters
Parameter |
Comments |
---|---|
A string that contains the obfuscated API key. |
|
The custom frequency (in days) for showing the AUP to the end users. Valid range is 1 to 180. |
|
Specifies which day of the week or month the AUP is shown for users when aupFrequency is set. Valid range is 1 to 31. |
|
The frequency at which the Acceptable Use Policy (AUP) is shown to the end users Choices:
|
|
The acceptable use statement that is shown in the AUP |
|
The time interval at which the caution notification is shown when users continue browsing a restricted site. The recommended setting for complex websites, such as Social Networking sites, is at least 5 minutes. |
|
The custom message that appears in the caution notification |
|
Specifies whether to display the caution notification at a specific time interval for URLs in the Miscellaneous or Unknown category. This option is applicable when a user browses a URL or a sub-domain of a URL in the Miscellaneous or Unknown category. Choices:
|
|
The client ID for OAuth2 authentication. |
|
The client secret for OAuth2 authentication. |
|
The Zscaler cloud name provisioned for your organization. Choices:
|
|
The custom text shown in the EUN |
|
Indicates whether your organization’s logo appears in the EUN or not Choices:
|
|
Indicates whether the organization’s name appears in the EUN or not Choices:
|
|
Indicates whether or not the reason for cautioning or blocking access to a site file, or application is shown when the respective notification is triggered Choices:
|
|
The message that appears in the IdP Proxy notification |
|
The type of EUN as default or custom Choices:
|
|
The URL of the organization’s policy page. This field is required for the default notification type. |
|
A string that contains the password for the API admin. |
|
The private key for JWT-based OAuth2 authentication. |
|
A dict containing authentication credentials. |
|
Obfuscated API key. |
|
OAuth2 client ID. |
|
OAuth2 client secret. |
|
Zscaler cloud name. Choices:
|
|
Password for the API admin. |
|
Private key for OAuth2 JWT. |
|
Sandbox Cloud environment. |
|
Sandbox API Key. |
|
Whether to use the legacy Zscaler API client. Choices:
|
|
Email ID of the API admin. |
|
Vanity domain for OAuth2. |
|
The message that appears in the quarantine notification |
|
The redirect URL for the external site hosting the EUN specified when the custom notification type is selected |
|
The Sandbox cloud environment for API access. |
|
A string that contains the Sandbox API Key. |
|
A custom URL location where users’ review requests for possible misclassified URLs are sent |
|
Indicates whether the Security Violation notification is enabled or disabled Choices:
|
|
Indicates whether users’ review requests for blocked URLs are submitted To the Zscaler service i.e. Security Cloud or a custom location. Choices:
|
|
The message that appears in the Security Violation notification |
|
Specifies the desired state of the resource. Choices:
|
|
The email address for writing to IT Support |
|
The phone number for contacting IT Support |
|
A custom URL location where users’ review requests for blocked URLs are sent |
|
Indicates whether the URL Categorization notification is enabled or disabled Choices:
|
|
Indicates whether users’ review requests for possibly misclassified URLs are submitted to the Zscaler service (i.e., Security Cloud) or a custom location. A true value indicates that the request is sent to the Security cloud, whereas a false value indicates that the request is sent to the specified custom location. Choices:
|
|
The message that appears in the URL Categorization notification |
|
Whether to use the legacy Zscaler API client. Choices:
|
|
A string that contains the email ID of the API admin. |
|
The vanity domain provisioned by Zscaler for OAuth2 flows. |
|
A custom URL location where users’ review requests for the web DLP policy violation are sent |
|
Indicates whether the Web DLP Violation notification is enabled or disabled Choices:
|
|
Indicates whether users’ review requests for web DLP policy violation are submitted to the Zscaler service (i.e., Security Cloud) or a custom location. A true value indicates that the request is sent to the Security cloud, whereas a false value indicates that the request is sent to the specified custom location. Choices:
|
|
The message that appears in the Web DLP Violation notification |
Notes
Note
Check mode is not supported.
Examples
- name: Retrieves browser-based end user notification (EUN) configuration details
zscaler.ziacloud.zia_end_user_notification:
provider: '{{ provider }}'
notification_type: "CUSTOM"
aup_frequency: "NEVER"
aup_day_offset: 0
display_reason: false
display_comp_name: false
display_comp_logo: false
url_cat_review_enabled: true
url_cat_review_submit_to_security_cloud: true
url_cat_review_text: "If you believe you received this message in error, click here."
security_review_enabled: true
security_review_submit_to_security_cloud: true
security_review_text: "Click to request security review."
web_dlp_review_enabled: true
web_dlp_review_custom_location: "https://redirect.acme.com"
web_dlp_review_text: "Click to request policy review."
redirect_url: "https://redirect.acme.com"
support_email: "support@000000.zscalerthree.net"
support_phone: "+91-9000000000"
org_policy_link: "http://000000.zscalerthree.net/policy.html"
caution_again_after: 300
caution_per_domain: true
caution_custom_text: "This action may violate company policy."
quarantine_custom_notification_text: "We are scanning this file for your safety. It may take up to 10 minutes."