zia.MobileMalwareProtectionPolicy
Explore with Pulumi AI
The zia_mobile_malware_protection_policy resource allows you to update Mobile Malware Protection policy. To learn more see Configuring the Mobile Malware Protection Policy
Example Usage
resource "zia_mobile_malware_protection_policy" "this" {
block_apps_with_malicious_activity = true
block_apps_with_known_vulnerabilities = true
block_apps_sending_unencrypted_user_credentials = true
block_apps_sending_location_info = true
block_apps_sending_personally_identifiable_info = true
block_apps_sending_device_identifier = true
block_apps_communicating_with_ad_websites = true
block_apps_communicating_with_remote_unknown_servers = true
}
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 - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- Block
Apps boolCommunicating With Remote Unknown Servers - Block
Apps boolSending Device Identifier - Blocks an application from communicating with known advertisement websites
- Block
Apps boolSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- Block
Apps boolWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- Block
Apps boolCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- Block
Apps boolCommunicating With Remote Unknown Servers - Block
Apps boolSending Device Identifier - Blocks an application from communicating with known advertisement websites
- Block
Apps boolSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- Block
Apps boolWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block
Apps BooleanCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block
Apps BooleanCommunicating With Remote Unknown Servers - block
Apps BooleanSending Device Identifier - Blocks an application from communicating with known advertisement websites
- block
Apps BooleanSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block
Apps BooleanWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block
Apps booleanCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block
Apps booleanCommunicating With Remote Unknown Servers - block
Apps booleanSending Device Identifier - Blocks an application from communicating with known advertisement websites
- block
Apps booleanSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block
Apps booleanSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block
Apps booleanSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block
Apps booleanWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block
Apps booleanWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block_
apps_ boolcommunicating_ with_ ad_ websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block_
apps_ boolcommunicating_ with_ remote_ unknown_ servers - block_
apps_ boolsending_ device_ identifier - Blocks an application from communicating with known advertisement websites
- block_
apps_ boolsending_ location_ info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block_
apps_ boolsending_ personally_ identifiable_ info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block_
apps_ boolsending_ unencrypted_ user_ credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block_
apps_ boolwith_ known_ vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block_
apps_ boolwith_ malicious_ activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block
Apps BooleanCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block
Apps BooleanCommunicating With Remote Unknown Servers - block
Apps BooleanSending Device Identifier - Blocks an application from communicating with known advertisement websites
- block
Apps BooleanSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block
Apps BooleanWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
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.
Look up Existing MobileMalwareProtectionPolicy Resource
Get an existing MobileMalwareProtectionPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MobileMalwareProtectionPolicyState, opts?: CustomResourceOptions): MobileMalwareProtectionPolicy
@staticmethod
def get(resource_name: str,
id: 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) -> MobileMalwareProtectionPolicy
func GetMobileMalwareProtectionPolicy(ctx *Context, name string, id IDInput, state *MobileMalwareProtectionPolicyState, opts ...ResourceOption) (*MobileMalwareProtectionPolicy, error)
public static MobileMalwareProtectionPolicy Get(string name, Input<string> id, MobileMalwareProtectionPolicyState? state, CustomResourceOptions? opts = null)
public static MobileMalwareProtectionPolicy get(String name, Output<String> id, MobileMalwareProtectionPolicyState state, CustomResourceOptions options)
resources: _: type: zia:MobileMalwareProtectionPolicy get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Block
Apps boolCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- Block
Apps boolCommunicating With Remote Unknown Servers - Block
Apps boolSending Device Identifier - Blocks an application from communicating with known advertisement websites
- Block
Apps boolSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- Block
Apps boolWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- Block
Apps boolCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- Block
Apps boolCommunicating With Remote Unknown Servers - Block
Apps boolSending Device Identifier - Blocks an application from communicating with known advertisement websites
- Block
Apps boolSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- Block
Apps boolWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- Block
Apps boolWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block
Apps BooleanCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block
Apps BooleanCommunicating With Remote Unknown Servers - block
Apps BooleanSending Device Identifier - Blocks an application from communicating with known advertisement websites
- block
Apps BooleanSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block
Apps BooleanWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block
Apps booleanCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block
Apps booleanCommunicating With Remote Unknown Servers - block
Apps booleanSending Device Identifier - Blocks an application from communicating with known advertisement websites
- block
Apps booleanSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block
Apps booleanSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block
Apps booleanSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block
Apps booleanWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block
Apps booleanWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block_
apps_ boolcommunicating_ with_ ad_ websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block_
apps_ boolcommunicating_ with_ remote_ unknown_ servers - block_
apps_ boolsending_ device_ identifier - Blocks an application from communicating with known advertisement websites
- block_
apps_ boolsending_ location_ info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block_
apps_ boolsending_ personally_ identifiable_ info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block_
apps_ boolsending_ unencrypted_ user_ credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block_
apps_ boolwith_ known_ vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block_
apps_ boolwith_ malicious_ activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
- block
Apps BooleanCommunicating With Ad Websites - Blocks an application from communicating with unknown servers (i.e., servers not normally or historically associated with the application)
- block
Apps BooleanCommunicating With Remote Unknown Servers - block
Apps BooleanSending Device Identifier - Blocks an application from communicating with known advertisement websites
- block
Apps BooleanSending Location Info - Blocks an application from leaking a user's personally identifiable information (PII) via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Personally Identifiable Info - Blocks an application from leaking device identifiers via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanSending Unencrypted User Credentials - Blocks an application from leaking device location details via communication in an unencrypted format or for an unknown purpose
- block
Apps BooleanWith Known Vulnerabilities - Blocks an application from leaking a user's credentials in an unencrypted format
- block
Apps BooleanWith Malicious Activity - Blocks applications that contain vulnerabilities or that use insecure features, modules, or protocols
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
zia_mobile_malware_protection_policy can be imported by using mobile_settings
as the import ID.
For example:
$ pulumi import zia:index/mobileMalwareProtectionPolicy:MobileMalwareProtectionPolicy this "mobile_settings"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.