zscaler.zpacloud.zpa_app_protection_security_profile module – Create, update, or delete Zscaler Private Access (ZPA) app protection security profile.
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
.
New in zscaler.zpacloud 1.0.0
Synopsis
This Ansible module enables you to manage Zscaler Private Access (ZPA) app protection security profile in the ZPA Cloud.
You can use this module to create new app protection security profile, update existing ones, or delete app protection security profile as needed.
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 |
---|---|
Check control deployment status. Choices:
|
|
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:
|
|
Information about controls. |
|
The control type. Choices:
|
|
The control count. |
|
Custom controls. |
|
The control action. Choices:
|
|
The control action value. |
|
Names of associated inspection profiles. |
|
The inspection profile ID. |
|
The inspection profile name. |
|
The control number. |
|
The control rule JSON. |
|
The control type. Choices:
|
|
The default control action. Choices:
|
|
The default action value. |
|
The control description. |
|
The control ID. |
|
The control name. |
|
The OWASP Predefined Paranoia Level. |
|
The protocol type. Choices:
|
|
Control rules. |
|
Rule conditions. |
|
The left-hand side of the condition. Choices:
|
|
The operator for the condition. Choices:
|
|
The right-hand side of the condition. |
|
Control rule names. |
|
Control rule type. Choices:
|
|
The control severity. Choices:
|
|
The control type. Choices:
|
|
The control version. |
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
|
A description of the app protection security profile. |
|
A list of global control actions. |
|
The unique identifier of the security profile. |
|
The incarnation number of the profile. |
|
The name of the app protection security profile. |
|
The OWASP Predefined Paranoia Level. |
|
The version of predefined controls. |
|
Predefined controls. |
|
The control action. Choices:
|
|
The control action value. |
|
Names of associated inspection profiles. |
|
The inspection profile ID. |
|
The inspection profile name. |
|
The control attachment. |
|
The control group. |
|
The control number. |
|
The control type. Choices:
|
|
The default control action. Choices:
|
|
The default action value. |
|
The control description. |
|
The control name. |
|
The OWASP Predefined Paranoia Level. |
|
The protocol type. Choices:
|
|
The control severity. Choices:
|
|
The control version. |
|
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. |
|
The state. Choices:
|
|
ThreatLabZ controls. |
|
The control action. Choices:
|
|
The control action value. |
|
Associated customers. |
|
The customer ID. |
|
Exclude constellation. Choices:
|
|
Is partner. Choices:
|
|
The customer name. |
|
Names of associated inspection profiles. |
|
The inspection profile ID. |
|
The inspection profile name. |
|
The control attachment. |
|
The control group. |
|
The control number. |
|
The control type. Choices:
|
|
The default control action. Choices:
|
|
The default action value. |
|
The control description. |
|
Is the control enabled. Choices:
|
|
The engine version. |
|
The control ID. |
|
The last deployment time. |
|
The control name. |
|
The OWASP Predefined Paranoia Level. |
|
The rule deployment state. Choices:
|
|
The rule metadata. |
|
The rule processor. |
|
The ruleset name. |
|
The ruleset version. |
|
The control severity. Choices:
|
|
The control version. |
|
The Zscaler info URL. |
|
WebSocket controls. |
|
The control action. Choices:
|
|
The control action value. |
|
Names of associated inspection profiles. |
|
The inspection profile ID. |
|
The inspection profile name. |
|
The control number. |
|
The control type. Choices:
|
|
The default control action. Choices:
|
|
The default action value. |
|
The control description. |
|
The control ID. |
|
The control name. |
|
The OWASP Predefined Paranoia Level. |
|
The control severity. Choices:
|
|
The control version. |
|
Choices:
|
Notes
Note
Check mode is supported.
Examples
- name: Create an App Protection Security Profile
zscaler.zpacloud.zpa_app_protection_security_profile:
provider: "{{ zpa_cloud }}"
name: "Example_App_Protection_Security_Profile"
description: "Example_App_Protection_Security_Profile"
paranoia_level: "4"
check_control_deployment_status: true
predef_controls_version: "OWASP_CRS/3.3.0"
zs_defined_control_choice: ALL
predefined_controls: "{{ result.data[0].id }}"
global_control_actions:
- "PREDEFINED:NONE"
- "CUSTOM:NONE"
- "WEBSOCKET:NONE"
- "THREATLABZ:NONE"
- "OVERRIDE_ACTION:NONE"
controls_facts:
- control_type: "THREATLABZ"
count: "23"
- control_type: "WEBSOCKET_PREDEFINED"
count: "11"