zscaler.zpacloud.zpa_app_protection_security_profile_info module – Retrieves App Protection Security Profile information.
Note
This module is part of the zscaler.zpacloud collection (version 1.4.2).
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.zpacloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: zscaler.zpacloud.zpa_app_protection_security_profile_info
.
New in zscaler.zpacloud 1.0.0
Synopsis
This module will allow the retrieval of information about an App Protection Profile from the ZPA Cloud.
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 |
---|---|
The ZPA API client ID generated from the ZPA console. |
|
The ZPA API client secret generated from the ZPA console. |
|
The ZPA cloud provisioned for your organization. Choices:
|
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
|
The unique identifier of the AppProtection profile. |
|
Name of the App Protection Security Profile. |
|
A dict object containing authentication details. |
|
The ZPA API client ID generated from the ZPA console. |
|
The ZPA API client secret generated from the ZPA console. |
|
The ZPA cloud provisioned for your organization. Choices:
|
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
Notes
Note
Check mode is not supported.
Examples
- name: Get Details of All App Protection profiles
zscaler.zpacloud.zpa_app_protection_security_profile_facts:
provider: "{{ zpa_cloud }}"
- name: Get Details of a Specific App Protection profiles by Name
zscaler.zpacloud.zpa_app_protection_security_profile_facts:
provider: "{{ zpa_cloud }}"
name: Example
- name: Get Details of a specific App Protection profiles by ID
zscaler.zpacloud.zpa_app_protection_security_profile_facts:
provider: "{{ zpa_cloud }}"
id: "216196257331282583"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A list of dictionaries containing details about the App Protection Security Profiles. Returned: always |
|
Indicates if the profile is an API profile. Returned: success Sample: |
|
A list of controls associated with the profile, including type and count. Returned: success |
|
The type of control (e.g., PREDEFINED, CUSTOM). Returned: success Sample: |
|
The number of controls of this type. Returned: success Sample: |
|
The timestamp when the profile was created. Returned: success Sample: |
|
A brief description of the App Protection Security Profile. Returned: success Sample: |
|
A list of global control actions associated with the profile. Returned: success Sample: |
|
The unique identifier of the App Protection Security Profile. Returned: success Sample: |
|
The incarnation number of the profile, which indicates version or iteration. Returned: success Sample: |
|
The ID of the user who last modified the profile. Returned: success Sample: |
|
The timestamp when the profile was last modified. Returned: success Sample: |
|
The name of the App Protection Security Profile. Returned: success Sample: |
|
The paranoia level set for the profile, which affects the strictness of security checks. Returned: success Sample: |