UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

146 lines 9.15 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.RiskProfiles = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [Official documentation](https://help.zscaler.com/zia/about-cloud-application-risk-profile) * * [API documentation](https://help.zscaler.com/zia/cloud-applications#/riskProfiles-get) * * Use the **zia_risk_profiles** resource allows the creation and management of cloud application risk profile in the Zscaler Internet Access cloud or via the API. * See [About Cloud Application Risk Profile](https://help.zscaler.com/zia/about-cloud-application-risk-profile) for more details. * * ## Example Usage * * ### Create A Risk Profile * * ## 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_risk_profiles** can be imported by using `<PROFILE_ID>` or `<PROFILE_NAME>` as the import ID. * * For example: * * ```sh * $ pulumi import zia:index/riskProfiles:RiskProfiles example <profile_id> * ``` * * or * * ```sh * $ pulumi import zia:index/riskProfiles:RiskProfiles example <profile_name> * ``` */ class RiskProfiles extends pulumi.CustomResource { /** * Get an existing RiskProfiles resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name, id, state, opts) { return new RiskProfiles(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of RiskProfiles. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === RiskProfiles.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["adminAuditLogs"] = state ? state.adminAuditLogs : undefined; resourceInputs["certifications"] = state ? state.certifications : undefined; resourceInputs["customTags"] = state ? state.customTags : undefined; resourceInputs["dataBreach"] = state ? state.dataBreach : undefined; resourceInputs["dataEncryptionInTransits"] = state ? state.dataEncryptionInTransits : undefined; resourceInputs["dnsCaaPolicy"] = state ? state.dnsCaaPolicy : undefined; resourceInputs["domainBasedMessageAuth"] = state ? state.domainBasedMessageAuth : undefined; resourceInputs["domainKeysIdentifiedMail"] = state ? state.domainKeysIdentifiedMail : undefined; resourceInputs["evasive"] = state ? state.evasive : undefined; resourceInputs["excludeCertificates"] = state ? state.excludeCertificates : undefined; resourceInputs["fileSharing"] = state ? state.fileSharing : undefined; resourceInputs["httpSecurityHeaders"] = state ? state.httpSecurityHeaders : undefined; resourceInputs["malwareScanningForContent"] = state ? state.malwareScanningForContent : undefined; resourceInputs["mfaSupport"] = state ? state.mfaSupport : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["passwordStrength"] = state ? state.passwordStrength : undefined; resourceInputs["poorItemsOfService"] = state ? state.poorItemsOfService : undefined; resourceInputs["profileId"] = state ? state.profileId : undefined; resourceInputs["profileType"] = state ? state.profileType : undefined; resourceInputs["remoteScreenSharing"] = state ? state.remoteScreenSharing : undefined; resourceInputs["riskIndices"] = state ? state.riskIndices : undefined; resourceInputs["senderPolicyFramework"] = state ? state.senderPolicyFramework : undefined; resourceInputs["sourceIpRestrictions"] = state ? state.sourceIpRestrictions : undefined; resourceInputs["sslCertKeySize"] = state ? state.sslCertKeySize : undefined; resourceInputs["sslCertValidity"] = state ? state.sslCertValidity : undefined; resourceInputs["sslPinned"] = state ? state.sslPinned : undefined; resourceInputs["status"] = state ? state.status : undefined; resourceInputs["supportForWaf"] = state ? state.supportForWaf : undefined; resourceInputs["vulnerability"] = state ? state.vulnerability : undefined; resourceInputs["vulnerabilityDisclosure"] = state ? state.vulnerabilityDisclosure : undefined; resourceInputs["vulnerableToHeartBleed"] = state ? state.vulnerableToHeartBleed : undefined; resourceInputs["vulnerableToLogJam"] = state ? state.vulnerableToLogJam : undefined; resourceInputs["vulnerableToPoodle"] = state ? state.vulnerableToPoodle : undefined; resourceInputs["weakCipherSupport"] = state ? state.weakCipherSupport : undefined; } else { const args = argsOrState; resourceInputs["adminAuditLogs"] = args ? args.adminAuditLogs : undefined; resourceInputs["certifications"] = args ? args.certifications : undefined; resourceInputs["customTags"] = args ? args.customTags : undefined; resourceInputs["dataBreach"] = args ? args.dataBreach : undefined; resourceInputs["dataEncryptionInTransits"] = args ? args.dataEncryptionInTransits : undefined; resourceInputs["dnsCaaPolicy"] = args ? args.dnsCaaPolicy : undefined; resourceInputs["domainBasedMessageAuth"] = args ? args.domainBasedMessageAuth : undefined; resourceInputs["domainKeysIdentifiedMail"] = args ? args.domainKeysIdentifiedMail : undefined; resourceInputs["evasive"] = args ? args.evasive : undefined; resourceInputs["excludeCertificates"] = args ? args.excludeCertificates : undefined; resourceInputs["fileSharing"] = args ? args.fileSharing : undefined; resourceInputs["httpSecurityHeaders"] = args ? args.httpSecurityHeaders : undefined; resourceInputs["malwareScanningForContent"] = args ? args.malwareScanningForContent : undefined; resourceInputs["mfaSupport"] = args ? args.mfaSupport : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["passwordStrength"] = args ? args.passwordStrength : undefined; resourceInputs["poorItemsOfService"] = args ? args.poorItemsOfService : undefined; resourceInputs["profileType"] = args ? args.profileType : undefined; resourceInputs["remoteScreenSharing"] = args ? args.remoteScreenSharing : undefined; resourceInputs["riskIndices"] = args ? args.riskIndices : undefined; resourceInputs["senderPolicyFramework"] = args ? args.senderPolicyFramework : undefined; resourceInputs["sourceIpRestrictions"] = args ? args.sourceIpRestrictions : undefined; resourceInputs["sslCertKeySize"] = args ? args.sslCertKeySize : undefined; resourceInputs["sslCertValidity"] = args ? args.sslCertValidity : undefined; resourceInputs["sslPinned"] = args ? args.sslPinned : undefined; resourceInputs["status"] = args ? args.status : undefined; resourceInputs["supportForWaf"] = args ? args.supportForWaf : undefined; resourceInputs["vulnerability"] = args ? args.vulnerability : undefined; resourceInputs["vulnerabilityDisclosure"] = args ? args.vulnerabilityDisclosure : undefined; resourceInputs["vulnerableToHeartBleed"] = args ? args.vulnerableToHeartBleed : undefined; resourceInputs["vulnerableToLogJam"] = args ? args.vulnerableToLogJam : undefined; resourceInputs["vulnerableToPoodle"] = args ? args.vulnerableToPoodle : undefined; resourceInputs["weakCipherSupport"] = args ? args.weakCipherSupport : undefined; resourceInputs["profileId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(RiskProfiles.__pulumiType, name, resourceInputs, opts); } } exports.RiskProfiles = RiskProfiles; /** @internal */ RiskProfiles.__pulumiType = 'zia:index/riskProfiles:RiskProfiles'; //# sourceMappingURL=riskProfiles.js.map