zscaler.ziacloud.zia_dlp_web_rules_info module – Gets a list of DLP policy rules, excluding SaaS Security API DLP policy rules
Note
This module is part of the zscaler.ziacloud collection (version 1.3.1).
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_dlp_web_rules_info
.
New in zscaler.ziacloud 1.0.0
Synopsis
Gets a list of DLP policy rules, excluding SaaS Security API DLP policy rules
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 Zscaler cloud name was provisioned for your organization. Choices:
|
|
Unique identifier for the DLP Web rule |
|
Name of the DLP Web rule |
|
A string that contains the password for the API admin. |
|
A dict object containing connection details. This is optional; credentials can also be provided directly at the top level. |
|
A string that contains the obfuscated API key. |
|
The Zscaler cloud name was provisioned for your organization. Choices:
|
|
A string that contains the password for the API admin. |
|
A string that contains the Sandbox API Key. |
|
A string that contains the email ID of the API admin. |
|
A string that contains the Sandbox API Key. |
|
A string that contains the email ID of the API admin. |
Notes
Note
Check mode is not supported.
Examples
- name: Gather Information Details of all ZIA DLP Web Rule
zscaler.ziacloud.zia_dlp_web_rules_info:
provider: '{{ provider }}'
- name: Gather Information Details of a ZIA DLP Web Rule by Name
zscaler.ziacloud.zia_dlp_web_rules_info:
provider: '{{ provider }}'
name: "Example"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details about the DLP web rules retrieved. Returned: when successful |
|
The access control setting for the rule. Returned: always Sample: |
|
Action to be taken when the rule conditions are met. Returned: always Sample: |
|
List of departments to which the rule is applicable. Returned: always |
|
The unique identifier of the department. Returned: always |
|
The name of the department. Returned: always Sample: |
|
Description of the DLP web rule. Returned: always Sample: |
|
List of user groups to which the rule applies. Returned: always |
|
The unique identifier of the user group. Returned: always |
|
The name of the user group. Returned: always Sample: |
|
Details about the ICAP server used for the rule. Returned: always |
|
The unique identifier of the ICAP server. Returned: always Sample: |
|
The name of the ICAP server. Returned: always Sample: |
|
The unique identifier of the DLP web rule. Returned: always Sample: |
|
The name of the DLP web rule. Returned: always Sample: |
|
List of protocols to which the rule applies. Returned: always Sample: |
|
Severity level of the rule. Returned: always Sample: |
|
The current state of the rule (e.g., enabled or disabled). Returned: always Sample: |