zscaler.ziacloud.zia_risk_profiles_info module – Retrieves the cloud application risk profile
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_risk_profiles_info
.
New in zscaler.ziacloud 2.0.0
Synopsis
Retrieves the cloud application risk profile
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 client ID for OAuth2 authentication. |
|
The client secret for OAuth2 authentication. |
|
The Zscaler cloud name provisioned for your organization. Choices:
|
|
The unique identifier for the risk profile. |
|
A string that contains the password for the API admin. |
|
The private key for JWT-based OAuth2 authentication. |
|
Cloud application risk profile name |
|
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 Sandbox cloud environment for API access. |
|
A string that contains the Sandbox API Key. |
|
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. |
Notes
Note
Check mode is not supported.
Examples
- name: Gets all list of risk profile
zscaler.ziacloud.zia_risk_profiles_info:
provider: '{{ provider }}'
- name: Gets a list of risk profile by name
zscaler.ziacloud.zia_risk_profiles_info:
provider: '{{ provider }}'
profile_name: "example"
- name: Gets a list of risk profile by ID
zscaler.ziacloud.zia_risk_profiles_info:
provider: '{{ provider }}'
id: 73478
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A list of risk profiles fetched based on the given criteria. Returned: always |
|
Indicates support for admin activity audit logs. Returned: always Sample: |
|
List of certifications associated with the profile. Returned: always Sample: |
|
Timestamp when the profile was created (epoch seconds). Returned: always Sample: |
|
List of user-defined custom tags for filtering. Returned: always Sample: |
|
Indicates history of reported data breaches. Returned: always Sample: |
|
List of encryption methods used for data in transit. Returned: always Sample: |
|
Indicates DNS Certification Authority Authorization policy. Returned: always Sample: |
|
Indicates support for DMARC. Returned: always Sample: |
|
Indicates support for DKIM. Returned: always Sample: |
|
Indicates support for evasive access techniques. Returned: always Sample: |
|
Whether to include (0) or exclude (1) certificates. Returned: always Sample: |
|
Indicates support for file sharing features. Returned: always Sample: |
|
Indicates use of standard security headers. Returned: always Sample: |
|
Unique identifier of the risk profile. Returned: always Sample: |
|
Timestamp of the last profile modification (epoch seconds). Returned: always Sample: |
|
Indicates support for malware scanning on content. Returned: always Sample: |
|
Indicates support for multi-factor authentication. Returned: always Sample: |
|
User or system who last modified the profile. Returned: always |
|
Additional metadata fields. Returned: always |
|
Indicates if the ID is external. Returned: success Sample: |
|
ID of the modifier. Returned: success Sample: |
|
Name of the modifier. Returned: success Sample: |
|
Password strength rating under hosting info. Returned: always Sample: |
|
Filters applications with questionable terms and conditions. Returned: always Sample: |
|
Cloud application risk profile name. Returned: always Sample: |
|
Risk profile type. Supported value CLOUD_APPLICATIONS Returned: always Sample: |
|
Indicates support for remote screen sharing. Returned: always Sample: |
|
Risk index scores assigned to cloud applications. Returned: always Sample: |
|
Indicates support for SPF. Returned: always Sample: |
|
Ability to restrict access by source IP. Returned: always Sample: |
|
Key size of SSL certificates. Returned: always Sample: |
|
Validity period enforcement for SSL certificates. Returned: always Sample: |
|
Indicates use of pinned SSL certificates for validation. Returned: always Sample: |
|
Application status (e.g., SANCTIONED, UN_SANCTIONED). Returned: always Sample: |
|
Indicates support for Web Application Firewalls. Returned: always Sample: |
|
Indicates mitigation for known CVEs. Returned: always Sample: |
|
Indicates policy for disclosing vulnerabilities. Returned: always Sample: |
|
Indicates vulnerability to Heartbleed. Returned: always Sample: |
|
Indicates vulnerability to Logjam. Returned: always Sample: |
|
Indicates vulnerability to POODLE. Returned: always Sample: |
|
Indicates use of weak or small key ciphers. Returned: always Sample: |