getPageShieldScriptsList

/* /* /* /* /* /*

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePageShieldScriptsList = cloudflare.getPageShieldScriptsList({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
direction: "asc",
excludeUrls: "blog.cloudflare.com,www.example",
"export": "csv",
hosts: "blog.cloudflare.com,www.example*,*cloudflare.com",
orderBy: "first_seen_at",
page: "2",
pageUrl: "example.com/page,*/checkout,example.com/*,*checkout*",
perPage: 100,
prioritizeMalicious: true,
status: "active,inactive",
urls: "blog.cloudflare.com,www.example",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_page_shield_scripts_list = cloudflare.get_page_shield_scripts_list(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
direction="asc",
exclude_urls="blog.cloudflare.com,www.example",
export="csv",
hosts="blog.cloudflare.com,www.example*,*cloudflare.com",
order_by="first_seen_at",
page="2",
page_url="example.com/page,*/checkout,example.com/*,*checkout*",
per_page=100,
prioritize_malicious=True,
status="active,inactive",
urls="blog.cloudflare.com,www.example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var examplePageShieldScriptsList = Cloudflare.GetPageShieldScriptsList.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Direction = "asc",
ExcludeUrls = "blog.cloudflare.com,www.example",
Export = "csv",
Hosts = "blog.cloudflare.com,www.example*,*cloudflare.com",
OrderBy = "first_seen_at",
Page = "2",
PageUrl = "example.com/page,*/checkout,example.com/*,*checkout*",
PerPage = 100,
PrioritizeMalicious = true,
Status = "active,inactive",
Urls = "blog.cloudflare.com,www.example",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupPageShieldScriptsList(ctx, &cloudflare.LookupPageShieldScriptsListArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
Direction: pulumi.StringRef("asc"),
ExcludeUrls: pulumi.StringRef("blog.cloudflare.com,www.example"),
Export: pulumi.StringRef("csv"),
Hosts: pulumi.StringRef("blog.cloudflare.com,www.example*,*cloudflare.com"),
OrderBy: pulumi.StringRef("first_seen_at"),
Page: pulumi.StringRef("2"),
PageUrl: pulumi.StringRef("example.com/page,*/checkout,example.com/*,*checkout*"),
PerPage: pulumi.Float64Ref(100),
PrioritizeMalicious: pulumi.BoolRef(true),
Status: pulumi.StringRef("active,inactive"),
Urls: pulumi.StringRef("blog.cloudflare.com,www.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.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetPageShieldScriptsListArgs;
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 examplePageShieldScriptsList = CloudflareFunctions.getPageShieldScriptsList(GetPageShieldScriptsListArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.direction("asc")
.excludeUrls("blog.cloudflare.com,www.example")
.export("csv")
.hosts("blog.cloudflare.com,www.example*,*cloudflare.com")
.orderBy("first_seen_at")
.page("2")
.pageUrl("example.com/page,*/checkout,example.com/*,*checkout*")
.perPage(100)
.prioritizeMalicious(true)
.status("active,inactive")
.urls("blog.cloudflare.com,www.example")
.build());
}
}
variables:
examplePageShieldScriptsList:
fn::invoke:
function: cloudflare:getPageShieldScriptsList
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
direction: asc
excludeUrls: blog.cloudflare.com,www.example
export: csv
hosts: blog.cloudflare.com,www.example*,*cloudflare.com
orderBy: first_seen_at
page: '2'
pageUrl: example.com/page,*/checkout,example.com/*,*checkout*
perPage: 100
prioritizeMalicious: true
status: active,inactive
urls: blog.cloudflare.com,www.example

Return

A collection of values returned by getPageShieldScriptsList. //////

Parameters

argument

A collection of arguments for invoking getPageShieldScriptsList.


suspend fun getPageShieldScriptsList(direction: String? = null, excludeCdnCgi: Boolean? = null, excludeDuplicates: Boolean? = null, excludeUrls: String? = null, export: String? = null, hosts: String? = null, maxItems: Int? = null, orderBy: String? = null, page: String? = null, pageUrl: String? = null, perPage: Double? = null, prioritizeMalicious: Boolean? = null, status: String? = null, urls: String? = null, zoneId: String): GetPageShieldScriptsListInvokeResult

Return

A collection of values returned by getPageShieldScriptsList.

Parameters

direction

The direction used to sort returned scripts. Available values: "asc", "desc".

excludeCdnCgi

When true, excludes scripts seen in a /cdn-cgi path from the returned scripts. The default value is true.

excludeDuplicates

When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript content matches and they share the same url host and zone hostname. In such case, we return the most recent script for the URL host and zone hostname combination.

excludeUrls

Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas.

export

Export the list of scripts as a file. Available values: "csv".

hosts

Includes scripts that match one or more URL-encoded hostnames separated by commas.

maxItems
orderBy
page
pageUrl
perPage
prioritizeMalicious
status
urls
zoneId

Identifier

See also


Return

A collection of values returned by getPageShieldScriptsList.

Parameters

argument

Builder for com.pulumi.cloudflare.kotlin.inputs.GetPageShieldScriptsListPlainArgs.

See also