published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia.MobileMalwareProtectionPolicy resource manages mobile malware protection policy settings in the Zscaler Internet Access (ZIA) cloud. This is a singleton resource (one per tenant) that controls which categories of mobile threats are blocked. Deleting the Pulumi resource does not remove the underlying settings.
Example Usage
Basic Mobile Malware Protection Policy
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.MobileMalwareProtectionPolicy("example", {
blockAppsWithMaliciousActivity: true,
blockAppsWithKnownVulnerabilities: true,
blockAppsSendingUnencryptedUserCredentials: true,
blockAppsSendingLocationInfo: false,
blockAppsSendingPersonallyIdentifiableInfo: false,
blockAppsSendingDeviceIdentifier: false,
blockAppsCommunicatingWithAdWebsites: false,
blockAppsCommunicatingWithRemoteUnknownServers: false,
});
import zscaler_pulumi_zia as zia
example = zia.MobileMalwareProtectionPolicy("example",
block_apps_with_malicious_activity=True,
block_apps_with_known_vulnerabilities=True,
block_apps_sending_unencrypted_user_credentials=True,
block_apps_sending_location_info=False,
block_apps_sending_personally_identifiable_info=False,
block_apps_sending_device_identifier=False,
block_apps_communicating_with_ad_websites=False,
block_apps_communicating_with_remote_unknown_servers=False,
)
resources:
example:
type: zia:MobileMalwareProtectionPolicy
properties:
blockAppsWithMaliciousActivity: true
blockAppsWithKnownVulnerabilities: true
blockAppsSendingUnencryptedUserCredentials: true
blockAppsSendingLocationInfo: false
blockAppsSendingPersonallyIdentifiableInfo: false
blockAppsSendingDeviceIdentifier: false
blockAppsCommunicatingWithAdWebsites: false
blockAppsCommunicatingWithRemoteUnknownServers: false
Create MobileMalwareProtectionPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MobileMalwareProtectionPolicy(name: string, args?: MobileMalwareProtectionPolicyArgs, opts?: CustomResourceOptions);@overload
def MobileMalwareProtectionPolicy(resource_name: str,
args: Optional[MobileMalwareProtectionPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def MobileMalwareProtectionPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
block_apps_communicating_with_ad_websites: Optional[bool] = None,
block_apps_communicating_with_remote_unknown_servers: Optional[bool] = None,
block_apps_sending_device_identifier: Optional[bool] = None,
block_apps_sending_location_info: Optional[bool] = None,
block_apps_sending_personally_identifiable_info: Optional[bool] = None,
block_apps_sending_unencrypted_user_credentials: Optional[bool] = None,
block_apps_with_known_vulnerabilities: Optional[bool] = None,
block_apps_with_malicious_activity: Optional[bool] = None)func NewMobileMalwareProtectionPolicy(ctx *Context, name string, args *MobileMalwareProtectionPolicyArgs, opts ...ResourceOption) (*MobileMalwareProtectionPolicy, error)public MobileMalwareProtectionPolicy(string name, MobileMalwareProtectionPolicyArgs? args = null, CustomResourceOptions? opts = null)
public MobileMalwareProtectionPolicy(String name, MobileMalwareProtectionPolicyArgs args)
public MobileMalwareProtectionPolicy(String name, MobileMalwareProtectionPolicyArgs args, CustomResourceOptions options)
type: zia:MobileMalwareProtectionPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MobileMalwareProtectionPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MobileMalwareProtectionPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MobileMalwareProtectionPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MobileMalwareProtectionPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MobileMalwareProtectionPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mobileMalwareProtectionPolicyResource = new Zia.MobileMalwareProtectionPolicy("mobileMalwareProtectionPolicyResource", new()
{
BlockAppsCommunicatingWithAdWebsites = false,
BlockAppsCommunicatingWithRemoteUnknownServers = false,
BlockAppsSendingDeviceIdentifier = false,
BlockAppsSendingLocationInfo = false,
BlockAppsSendingPersonallyIdentifiableInfo = false,
BlockAppsSendingUnencryptedUserCredentials = false,
BlockAppsWithKnownVulnerabilities = false,
BlockAppsWithMaliciousActivity = false,
});
example, err := zia.NewMobileMalwareProtectionPolicy(ctx, "mobileMalwareProtectionPolicyResource", &zia.MobileMalwareProtectionPolicyArgs{
BlockAppsCommunicatingWithAdWebsites: pulumi.Bool(false),
BlockAppsCommunicatingWithRemoteUnknownServers: pulumi.Bool(false),
BlockAppsSendingDeviceIdentifier: pulumi.Bool(false),
BlockAppsSendingLocationInfo: pulumi.Bool(false),
BlockAppsSendingPersonallyIdentifiableInfo: pulumi.Bool(false),
BlockAppsSendingUnencryptedUserCredentials: pulumi.Bool(false),
BlockAppsWithKnownVulnerabilities: pulumi.Bool(false),
BlockAppsWithMaliciousActivity: pulumi.Bool(false),
})
var mobileMalwareProtectionPolicyResource = new MobileMalwareProtectionPolicy("mobileMalwareProtectionPolicyResource", MobileMalwareProtectionPolicyArgs.builder()
.blockAppsCommunicatingWithAdWebsites(false)
.blockAppsCommunicatingWithRemoteUnknownServers(false)
.blockAppsSendingDeviceIdentifier(false)
.blockAppsSendingLocationInfo(false)
.blockAppsSendingPersonallyIdentifiableInfo(false)
.blockAppsSendingUnencryptedUserCredentials(false)
.blockAppsWithKnownVulnerabilities(false)
.blockAppsWithMaliciousActivity(false)
.build());
mobile_malware_protection_policy_resource = zia.MobileMalwareProtectionPolicy("mobileMalwareProtectionPolicyResource",
block_apps_communicating_with_ad_websites=False,
block_apps_communicating_with_remote_unknown_servers=False,
block_apps_sending_device_identifier=False,
block_apps_sending_location_info=False,
block_apps_sending_personally_identifiable_info=False,
block_apps_sending_unencrypted_user_credentials=False,
block_apps_with_known_vulnerabilities=False,
block_apps_with_malicious_activity=False)
const mobileMalwareProtectionPolicyResource = new zia.MobileMalwareProtectionPolicy("mobileMalwareProtectionPolicyResource", {
blockAppsCommunicatingWithAdWebsites: false,
blockAppsCommunicatingWithRemoteUnknownServers: false,
blockAppsSendingDeviceIdentifier: false,
blockAppsSendingLocationInfo: false,
blockAppsSendingPersonallyIdentifiableInfo: false,
blockAppsSendingUnencryptedUserCredentials: false,
blockAppsWithKnownVulnerabilities: false,
blockAppsWithMaliciousActivity: false,
});
type: zia:MobileMalwareProtectionPolicy
properties:
blockAppsCommunicatingWithAdWebsites: false
blockAppsCommunicatingWithRemoteUnknownServers: false
blockAppsSendingDeviceIdentifier: false
blockAppsSendingLocationInfo: false
blockAppsSendingPersonallyIdentifiableInfo: false
blockAppsSendingUnencryptedUserCredentials: false
blockAppsWithKnownVulnerabilities: false
blockAppsWithMaliciousActivity: false
MobileMalwareProtectionPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MobileMalwareProtectionPolicy resource accepts the following input properties:
- Block
Apps boolCommunicating With Ad Websites - Block apps communicating with ad websites.
- Block
Apps boolCommunicating With Remote Unknown Servers - Block apps communicating with remote unknown servers.
- Block
Apps boolSending Device Identifier - Block apps sending device identifiers.
- Block
Apps boolSending Location Info - Block apps sending location information.
- Block
Apps boolSending Personally Identifiable Info - Block apps sending personally identifiable information.
- Block
Apps boolSending Unencrypted User Credentials - Block apps sending unencrypted user credentials.
- Block
Apps boolWith Known Vulnerabilities - Block apps with known vulnerabilities.
- Block
Apps boolWith Malicious Activity - Block apps with malicious activity.
- Block
Apps boolCommunicating With Ad Websites - Block apps communicating with ad websites.
- Block
Apps boolCommunicating With Remote Unknown Servers - Block apps communicating with remote unknown servers.
- Block
Apps boolSending Device Identifier - Block apps sending device identifiers.
- Block
Apps boolSending Location Info - Block apps sending location information.
- Block
Apps boolSending Personally Identifiable Info - Block apps sending personally identifiable information.
- Block
Apps boolSending Unencrypted User Credentials - Block apps sending unencrypted user credentials.
- Block
Apps boolWith Known Vulnerabilities - Block apps with known vulnerabilities.
- Block
Apps boolWith Malicious Activity - Block apps with malicious activity.
- block
Apps BooleanCommunicating With Ad Websites - Block apps communicating with ad websites.
- block
Apps BooleanCommunicating With Remote Unknown Servers - Block apps communicating with remote unknown servers.
- block
Apps BooleanSending Device Identifier - Block apps sending device identifiers.
- block
Apps BooleanSending Location Info - Block apps sending location information.
- block
Apps BooleanSending Personally Identifiable Info - Block apps sending personally identifiable information.
- block
Apps BooleanSending Unencrypted User Credentials - Block apps sending unencrypted user credentials.
- block
Apps BooleanWith Known Vulnerabilities - Block apps with known vulnerabilities.
- block
Apps BooleanWith Malicious Activity - Block apps with malicious activity.
- block
Apps booleanCommunicating With Ad Websites - Block apps communicating with ad websites.
- block
Apps booleanCommunicating With Remote Unknown Servers - Block apps communicating with remote unknown servers.
- block
Apps booleanSending Device Identifier - Block apps sending device identifiers.
- block
Apps booleanSending Location Info - Block apps sending location information.
- block
Apps booleanSending Personally Identifiable Info - Block apps sending personally identifiable information.
- block
Apps booleanSending Unencrypted User Credentials - Block apps sending unencrypted user credentials.
- block
Apps booleanWith Known Vulnerabilities - Block apps with known vulnerabilities.
- block
Apps booleanWith Malicious Activity - Block apps with malicious activity.
- block_
apps_ boolcommunicating_ with_ ad_ websites - Block apps communicating with ad websites.
- block_
apps_ boolcommunicating_ with_ remote_ unknown_ servers - Block apps communicating with remote unknown servers.
- block_
apps_ boolsending_ device_ identifier - Block apps sending device identifiers.
- block_
apps_ boolsending_ location_ info - Block apps sending location information.
- block_
apps_ boolsending_ personally_ identifiable_ info - Block apps sending personally identifiable information.
- block_
apps_ boolsending_ unencrypted_ user_ credentials - Block apps sending unencrypted user credentials.
- block_
apps_ boolwith_ known_ vulnerabilities - Block apps with known vulnerabilities.
- block_
apps_ boolwith_ malicious_ activity - Block apps with malicious activity.
- block
Apps BooleanCommunicating With Ad Websites - Block apps communicating with ad websites.
- block
Apps BooleanCommunicating With Remote Unknown Servers - Block apps communicating with remote unknown servers.
- block
Apps BooleanSending Device Identifier - Block apps sending device identifiers.
- block
Apps BooleanSending Location Info - Block apps sending location information.
- block
Apps BooleanSending Personally Identifiable Info - Block apps sending personally identifiable information.
- block
Apps BooleanSending Unencrypted User Credentials - Block apps sending unencrypted user credentials.
- block
Apps BooleanWith Known Vulnerabilities - Block apps with known vulnerabilities.
- block
Apps BooleanWith Malicious Activity - Block apps with malicious activity.
Outputs
All input properties are implicitly available as output properties. Additionally, the MobileMalwareProtectionPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Import
This is a singleton resource and import is not supported. The resource is managed by creating it in your Pulumi program.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
published on Friday, Mar 13, 2026 by Zscaler
