zia logo
Zscaler Internet Access v0.0.3, Jan 30 23

zia.DLP.getDLPWebRules

Use the zia_dlp_web_rules data source to get information about a ZIA DLP Web Rules in the Zscaler Internet Access cloud or via the API.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Zia = Pulumi.Zia;

return await Deployment.RunAsync(() => 
{
    var example = Zia.DLP.GetDLPWebRules.Invoke(new()
    {
        Name = "Example",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia/DLP"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DLP.GetDLPWebRules(ctx, &dlp.GetDLPWebRulesArgs{
			Name: pulumi.StringRef("Example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.DLP.DLPFunctions;
import com.pulumi.zia.DLP.inputs.GetDLPWebRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = DLPFunctions.getDLPWebRules(GetDLPWebRulesArgs.builder()
            .name("Example")
            .build());

    }
}
import pulumi
import pulumi_zia as zia

example = zia.DLP.get_dlp_web_rules(name="Example")
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";

const example = zia.DLP.getDLPWebRules({
    name: "Example",
});
variables:
  example:
    fn::invoke:
      Function: zia:DLP:getDLPWebRules
      Arguments:
        name: Example

Using getDLPWebRules

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDLPWebRules(args: GetDLPWebRulesArgs, opts?: InvokeOptions): Promise<GetDLPWebRulesResult>
function getDLPWebRulesOutput(args: GetDLPWebRulesOutputArgs, opts?: InvokeOptions): Output<GetDLPWebRulesResult>
def get_dlp_web_rules(id: Optional[int] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDLPWebRulesResult
def get_dlp_web_rules_output(id: Optional[pulumi.Input[int]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDLPWebRulesResult]
func GetDLPWebRules(ctx *Context, args *GetDLPWebRulesArgs, opts ...InvokeOption) (*GetDLPWebRulesResult, error)
func GetDLPWebRulesOutput(ctx *Context, args *GetDLPWebRulesOutputArgs, opts ...InvokeOption) GetDLPWebRulesResultOutput

> Note: This function is named GetDLPWebRules in the Go SDK.

public static class GetDLPWebRules 
{
    public static Task<GetDLPWebRulesResult> InvokeAsync(GetDLPWebRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetDLPWebRulesResult> Invoke(GetDLPWebRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDLPWebRulesResult> getDLPWebRules(GetDLPWebRulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zia:DLP/getDLPWebRules:getDLPWebRules
  arguments:
    # arguments dictionary

The following arguments are supported:

Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

getDLPWebRules Result

The following output properties are available:

AccessControl string
Action string
Auditors List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesAuditor>
CloudApplications List<string>
Departments List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesDepartment>
Description string
DlpEngines List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesDlpEngine>
ExcludedDepartments List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesExcludedDepartment>
ExcludedGroups List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesExcludedGroup>
ExcludedUsers List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesExcludedUser>
ExternalAuditorEmail string
FileTypes List<string>
Groups List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesGroup>
IcapServers List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesIcapServer>
Id int
Labels List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesLabel>
LastModifiedBies List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesLastModifiedBy>
LastModifiedTime int
LocationGroups List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesLocationGroup>
Locations List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesLocation>
MatchOnly bool
MinSize int
Name string
NotificationTemplates List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesNotificationTemplate>
OcrEnabled bool
Order int
Protocols List<string>
Rank int
State string
TimeWindows List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesTimeWindow>
UrlCategories List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesUrlCategory>
Users List<zscaler.PulumiPackage.Zia.DLP.Outputs.GetDLPWebRulesUser>
WithoutContentInspection bool
ZscalerIncidentReciever bool
AccessControl string
Action string
Auditors []GetDLPWebRulesAuditor
CloudApplications []string
Departments []GetDLPWebRulesDepartment
Description string
DlpEngines []GetDLPWebRulesDlpEngine
ExcludedDepartments []GetDLPWebRulesExcludedDepartment
ExcludedGroups []GetDLPWebRulesExcludedGroup
ExcludedUsers []GetDLPWebRulesExcludedUser
ExternalAuditorEmail string
FileTypes []string
Groups []GetDLPWebRulesGroup
IcapServers []GetDLPWebRulesIcapServer
Id int
Labels []GetDLPWebRulesLabel
LastModifiedBies []GetDLPWebRulesLastModifiedBy
LastModifiedTime int
LocationGroups []GetDLPWebRulesLocationGroup
Locations []GetDLPWebRulesLocation
MatchOnly bool
MinSize int
Name string
NotificationTemplates []GetDLPWebRulesNotificationTemplate
OcrEnabled bool
Order int
Protocols []string
Rank int
State string
TimeWindows []GetDLPWebRulesTimeWindow
UrlCategories []GetDLPWebRulesUrlCategory
Users []GetDLPWebRulesUser
WithoutContentInspection bool
ZscalerIncidentReciever bool
accessControl String
action String
auditors List<GetWebRulesAuditor>
cloudApplications List<String>
departments List<GetWebRulesDepartment>
description String
dlpEngines List<GetWebRulesDlpEngine>
excludedDepartments List<GetWebRulesExcludedDepartment>
excludedGroups List<GetWebRulesExcludedGroup>
excludedUsers List<GetWebRulesExcludedUser>
externalAuditorEmail String
fileTypes List<String>
groups List<GetWebRulesGroup>
icapServers List<GetWebRulesIcapServer>
id Integer
labels List<GetWebRulesLabel>
lastModifiedBies List<GetWebRulesLastModifiedBy>
lastModifiedTime Integer
locationGroups List<GetWebRulesLocationGroup>
locations List<GetWebRulesLocation>
matchOnly Boolean
minSize Integer
name String
notificationTemplates List<GetWebRulesNotificationTemplate>
ocrEnabled Boolean
order Integer
protocols List<String>
rank Integer
state String
timeWindows List<GetWebRulesTimeWindow>
urlCategories List<GetWebRulesUrlCategory>
users List<GetWebRulesUser>
withoutContentInspection Boolean
zscalerIncidentReciever Boolean
accessControl string
action string
auditors GetDLPWebRulesAuditor[]
cloudApplications string[]
departments GetDLPWebRulesDepartment[]
description string
dlpEngines GetDLPWebRulesDlpEngine[]
excludedDepartments GetDLPWebRulesExcludedDepartment[]
excludedGroups GetDLPWebRulesExcludedGroup[]
excludedUsers GetDLPWebRulesExcludedUser[]
externalAuditorEmail string
fileTypes string[]
groups GetDLPWebRulesGroup[]
icapServers GetDLPWebRulesIcapServer[]
id number
labels GetDLPWebRulesLabel[]
lastModifiedBies GetDLPWebRulesLastModifiedBy[]
lastModifiedTime number
locationGroups GetDLPWebRulesLocationGroup[]
locations GetDLPWebRulesLocation[]
matchOnly boolean
minSize number
name string
notificationTemplates GetDLPWebRulesNotificationTemplate[]
ocrEnabled boolean
order number
protocols string[]
rank number
state string
timeWindows GetDLPWebRulesTimeWindow[]
urlCategories GetDLPWebRulesUrlCategory[]
users GetDLPWebRulesUser[]
withoutContentInspection boolean
zscalerIncidentReciever boolean
access_control str
action str
auditors GetDLPWebRulesAuditor]
cloud_applications Sequence[str]
departments GetDLPWebRulesDepartment]
description str
dlp_engines GetDLPWebRulesDlpEngine]
excluded_departments GetDLPWebRulesExcludedDepartment]
excluded_groups GetDLPWebRulesExcludedGroup]
excluded_users GetDLPWebRulesExcludedUser]
external_auditor_email str
file_types Sequence[str]
groups GetDLPWebRulesGroup]
icap_servers GetDLPWebRulesIcapServer]
id int
labels GetDLPWebRulesLabel]
last_modified_bies GetDLPWebRulesLastModifiedBy]
last_modified_time int
location_groups GetDLPWebRulesLocationGroup]
locations GetDLPWebRulesLocation]
match_only bool
min_size int
name str
notification_templates GetDLPWebRulesNotificationTemplate]
ocr_enabled bool
order int
protocols Sequence[str]
rank int
state str
time_windows GetDLPWebRulesTimeWindow]
url_categories GetDLPWebRulesUrlCategory]
users GetDLPWebRulesUser]
without_content_inspection bool
zscaler_incident_reciever bool
accessControl String
action String
auditors List<Property Map>
cloudApplications List<String>
departments List<Property Map>
description String
dlpEngines List<Property Map>
excludedDepartments List<Property Map>
excludedGroups List<Property Map>
excludedUsers List<Property Map>
externalAuditorEmail String
fileTypes List<String>
groups List<Property Map>
icapServers List<Property Map>
id Number
labels List<Property Map>
lastModifiedBies List<Property Map>
lastModifiedTime Number
locationGroups List<Property Map>
locations List<Property Map>
matchOnly Boolean
minSize Number
name String
notificationTemplates List<Property Map>
ocrEnabled Boolean
order Number
protocols List<String>
rank Number
state String
timeWindows List<Property Map>
urlCategories List<Property Map>
users List<Property Map>
withoutContentInspection Boolean
zscalerIncidentReciever Boolean

Supporting Types

GetDLPWebRulesAuditor

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesDepartment

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesDlpEngine

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesExcludedDepartment

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

GetDLPWebRulesExcludedGroup

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

GetDLPWebRulesExcludedUser

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

GetDLPWebRulesGroup

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesIcapServer

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesLabel

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesLastModifiedBy

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesLocation

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesLocationGroup

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesNotificationTemplate

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesTimeWindow

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesUrlCategory

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

GetDLPWebRulesUser

Extensions Dictionary<string, string>
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

Extensions map[string]string
Id int

Identifier that uniquely identifies an entity

Name string

The DLP policy rule name. rules.

extensions Map<String,String>
id Integer

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

extensions {[key: string]: string}
id number

Identifier that uniquely identifies an entity

name string

The DLP policy rule name. rules.

extensions Mapping[str, str]
id int

Identifier that uniquely identifies an entity

name str

The DLP policy rule name. rules.

extensions Map<String>
id Number

Identifier that uniquely identifies an entity

name String

The DLP policy rule name. rules.

Package Details

Repository
zia zscaler/pulumi-zia
License
MIT
Notes

This Pulumi package is based on the zia Terraform Provider.