UNPKG

@bdzscaler/pulumi-zpa

Version:

A Pulumi package for creating and managing Zscaler Private Access (ZPA) cloud resources.

62 lines 2.97 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.getInspectionAllPredefinedControlsOutput = exports.getInspectionAllPredefinedControls = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [Official documentation](https://help.zscaler.com/zpa/about-custom-controls) * * [API documentation](https://help.zscaler.com/zpa/configuring-appprotection-controls-using-api) * * Use the **zpa_inspection_all_predefined_controls** data source to get information about all OWASP predefined control and prefedined control version by group name. The `Preprocessors` predefined control is the default predefined control, This data source is always required, when creating an inspection profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as zpa from "@bdzscaler/pulumi-zpa"; * * const _this = zpa.getInspectionAllPredefinedControls({ * groupName: "Preprocessors", * version: "OWASP_CRS/3.3.0", * }); * ``` */ function getInspectionAllPredefinedControls(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zpa:index/getInspectionAllPredefinedControls:getInspectionAllPredefinedControls", { "groupName": args.groupName, "version": args.version, }, opts); } exports.getInspectionAllPredefinedControls = getInspectionAllPredefinedControls; /** * * [Official documentation](https://help.zscaler.com/zpa/about-custom-controls) * * [API documentation](https://help.zscaler.com/zpa/configuring-appprotection-controls-using-api) * * Use the **zpa_inspection_all_predefined_controls** data source to get information about all OWASP predefined control and prefedined control version by group name. The `Preprocessors` predefined control is the default predefined control, This data source is always required, when creating an inspection profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as zpa from "@bdzscaler/pulumi-zpa"; * * const _this = zpa.getInspectionAllPredefinedControls({ * groupName: "Preprocessors", * version: "OWASP_CRS/3.3.0", * }); * ``` */ function getInspectionAllPredefinedControlsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("zpa:index/getInspectionAllPredefinedControls:getInspectionAllPredefinedControls", { "groupName": args.groupName, "version": args.version, }, opts); } exports.getInspectionAllPredefinedControlsOutput = getInspectionAllPredefinedControlsOutput; //# sourceMappingURL=getInspectionAllPredefinedControls.js.map