Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePageShieldScripts = cloudflare.getPageShieldScripts({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
scriptId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_page_shield_scripts = cloudflare.get_page_shield_scripts(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
script_id="023e105f4ecef8ad9ca31a8372d0c353")
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.GetPageShieldScripts(ctx, &cloudflare.GetPageShieldScriptsArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
ScriptId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var examplePageShieldScripts = Cloudflare.GetPageShieldScripts.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
ScriptId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
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.GetPageShieldScriptsArgs;
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 examplePageShieldScripts = CloudflareFunctions.getPageShieldScripts(GetPageShieldScriptsArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.scriptId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
examplePageShieldScripts:
fn::invoke:
function: cloudflare:getPageShieldScripts
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
scriptId: 023e105f4ecef8ad9ca31a8372d0c353
Using getPageShieldScripts
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 getPageShieldScripts(args: GetPageShieldScriptsArgs, opts?: InvokeOptions): Promise<GetPageShieldScriptsResult>
function getPageShieldScriptsOutput(args: GetPageShieldScriptsOutputArgs, opts?: InvokeOptions): Output<GetPageShieldScriptsResult>def get_page_shield_scripts(script_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPageShieldScriptsResult
def get_page_shield_scripts_output(script_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPageShieldScriptsResult]func GetPageShieldScripts(ctx *Context, args *GetPageShieldScriptsArgs, opts ...InvokeOption) (*GetPageShieldScriptsResult, error)
func GetPageShieldScriptsOutput(ctx *Context, args *GetPageShieldScriptsOutputArgs, opts ...InvokeOption) GetPageShieldScriptsResultOutput> Note: This function is named GetPageShieldScripts in the Go SDK.
public static class GetPageShieldScripts
{
public static Task<GetPageShieldScriptsResult> InvokeAsync(GetPageShieldScriptsArgs args, InvokeOptions? opts = null)
public static Output<GetPageShieldScriptsResult> Invoke(GetPageShieldScriptsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPageShieldScriptsResult> getPageShieldScripts(GetPageShieldScriptsArgs args, InvokeOptions options)
public static Output<GetPageShieldScriptsResult> getPageShieldScripts(GetPageShieldScriptsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPageShieldScripts:getPageShieldScripts
arguments:
# arguments dictionaryThe following arguments are supported:
getPageShieldScripts Result
The following output properties are available:
- Added
At string - Cryptomining
Score int - The cryptomining score of the JavaScript content.
- Dataflow
Score int - The dataflow score of the JavaScript content.
- Domain
Reported boolMalicious - Fetched
At string - The timestamp of when the script was last fetched.
- First
Page stringUrl - First
Seen stringAt - Hash string
- The computed hash of the analyzed script.
- Host string
- Id string
- Identifier
- Js
Integrity intScore - The integrity score of the JavaScript content.
- Last
Seen stringAt - Magecart
Score int - The magecart score of the JavaScript content.
- Malicious
Domain List<string>Categories - Malicious
Url List<string>Categories - Malware
Score int - The malware score of the JavaScript content.
- Obfuscation
Score int - The obfuscation score of the JavaScript content.
- Page
Urls List<string> - Script
Id string - Identifier
- Url string
- Url
Contains boolCdn Cgi Path - Url
Reported boolMalicious - Versions
List<Get
Page Shield Scripts Version> - Zone
Id string - Identifier
- Added
At string - Cryptomining
Score int - The cryptomining score of the JavaScript content.
- Dataflow
Score int - The dataflow score of the JavaScript content.
- Domain
Reported boolMalicious - Fetched
At string - The timestamp of when the script was last fetched.
- First
Page stringUrl - First
Seen stringAt - Hash string
- The computed hash of the analyzed script.
- Host string
- Id string
- Identifier
- Js
Integrity intScore - The integrity score of the JavaScript content.
- Last
Seen stringAt - Magecart
Score int - The magecart score of the JavaScript content.
- Malicious
Domain []stringCategories - Malicious
Url []stringCategories - Malware
Score int - The malware score of the JavaScript content.
- Obfuscation
Score int - The obfuscation score of the JavaScript content.
- Page
Urls []string - Script
Id string - Identifier
- Url string
- Url
Contains boolCdn Cgi Path - Url
Reported boolMalicious - Versions
[]Get
Page Shield Scripts Version - Zone
Id string - Identifier
- added
At String - cryptomining
Score Integer - The cryptomining score of the JavaScript content.
- dataflow
Score Integer - The dataflow score of the JavaScript content.
- domain
Reported BooleanMalicious - fetched
At String - The timestamp of when the script was last fetched.
- first
Page StringUrl - first
Seen StringAt - hash String
- The computed hash of the analyzed script.
- host String
- id String
- Identifier
- js
Integrity IntegerScore - The integrity score of the JavaScript content.
- last
Seen StringAt - magecart
Score Integer - The magecart score of the JavaScript content.
- malicious
Domain List<String>Categories - malicious
Url List<String>Categories - malware
Score Integer - The malware score of the JavaScript content.
- obfuscation
Score Integer - The obfuscation score of the JavaScript content.
- page
Urls List<String> - script
Id String - Identifier
- url String
- url
Contains BooleanCdn Cgi Path - url
Reported BooleanMalicious - versions
List<Get
Page Shield Scripts Version> - zone
Id String - Identifier
- added
At string - cryptomining
Score number - The cryptomining score of the JavaScript content.
- dataflow
Score number - The dataflow score of the JavaScript content.
- domain
Reported booleanMalicious - fetched
At string - The timestamp of when the script was last fetched.
- first
Page stringUrl - first
Seen stringAt - hash string
- The computed hash of the analyzed script.
- host string
- id string
- Identifier
- js
Integrity numberScore - The integrity score of the JavaScript content.
- last
Seen stringAt - magecart
Score number - The magecart score of the JavaScript content.
- malicious
Domain string[]Categories - malicious
Url string[]Categories - malware
Score number - The malware score of the JavaScript content.
- obfuscation
Score number - The obfuscation score of the JavaScript content.
- page
Urls string[] - script
Id string - Identifier
- url string
- url
Contains booleanCdn Cgi Path - url
Reported booleanMalicious - versions
Get
Page Shield Scripts Version[] - zone
Id string - Identifier
- added_
at str - cryptomining_
score int - The cryptomining score of the JavaScript content.
- dataflow_
score int - The dataflow score of the JavaScript content.
- domain_
reported_ boolmalicious - fetched_
at str - The timestamp of when the script was last fetched.
- first_
page_ strurl - first_
seen_ strat - hash str
- The computed hash of the analyzed script.
- host str
- id str
- Identifier
- js_
integrity_ intscore - The integrity score of the JavaScript content.
- last_
seen_ strat - magecart_
score int - The magecart score of the JavaScript content.
- malicious_
domain_ Sequence[str]categories - malicious_
url_ Sequence[str]categories - malware_
score int - The malware score of the JavaScript content.
- obfuscation_
score int - The obfuscation score of the JavaScript content.
- page_
urls Sequence[str] - script_
id str - Identifier
- url str
- url_
contains_ boolcdn_ cgi_ path - url_
reported_ boolmalicious - versions
Sequence[Get
Page Shield Scripts Version] - zone_
id str - Identifier
- added
At String - cryptomining
Score Number - The cryptomining score of the JavaScript content.
- dataflow
Score Number - The dataflow score of the JavaScript content.
- domain
Reported BooleanMalicious - fetched
At String - The timestamp of when the script was last fetched.
- first
Page StringUrl - first
Seen StringAt - hash String
- The computed hash of the analyzed script.
- host String
- id String
- Identifier
- js
Integrity NumberScore - The integrity score of the JavaScript content.
- last
Seen StringAt - magecart
Score Number - The magecart score of the JavaScript content.
- malicious
Domain List<String>Categories - malicious
Url List<String>Categories - malware
Score Number - The malware score of the JavaScript content.
- obfuscation
Score Number - The obfuscation score of the JavaScript content.
- page
Urls List<String> - script
Id String - Identifier
- url String
- url
Contains BooleanCdn Cgi Path - url
Reported BooleanMalicious - versions List<Property Map>
- zone
Id String - Identifier
Supporting Types
GetPageShieldScriptsVersion
- Cryptomining
Score int - The cryptomining score of the JavaScript content.
- Dataflow
Score int - The dataflow score of the JavaScript content.
- Fetched
At string - The timestamp of when the script was last fetched.
- Hash string
- The computed hash of the analyzed script.
- Js
Integrity intScore - The integrity score of the JavaScript content.
- Magecart
Score int - The magecart score of the JavaScript content.
- Malware
Score int - The malware score of the JavaScript content.
- Obfuscation
Score int - The obfuscation score of the JavaScript content.
- Cryptomining
Score int - The cryptomining score of the JavaScript content.
- Dataflow
Score int - The dataflow score of the JavaScript content.
- Fetched
At string - The timestamp of when the script was last fetched.
- Hash string
- The computed hash of the analyzed script.
- Js
Integrity intScore - The integrity score of the JavaScript content.
- Magecart
Score int - The magecart score of the JavaScript content.
- Malware
Score int - The malware score of the JavaScript content.
- Obfuscation
Score int - The obfuscation score of the JavaScript content.
- cryptomining
Score Integer - The cryptomining score of the JavaScript content.
- dataflow
Score Integer - The dataflow score of the JavaScript content.
- fetched
At String - The timestamp of when the script was last fetched.
- hash String
- The computed hash of the analyzed script.
- js
Integrity IntegerScore - The integrity score of the JavaScript content.
- magecart
Score Integer - The magecart score of the JavaScript content.
- malware
Score Integer - The malware score of the JavaScript content.
- obfuscation
Score Integer - The obfuscation score of the JavaScript content.
- cryptomining
Score number - The cryptomining score of the JavaScript content.
- dataflow
Score number - The dataflow score of the JavaScript content.
- fetched
At string - The timestamp of when the script was last fetched.
- hash string
- The computed hash of the analyzed script.
- js
Integrity numberScore - The integrity score of the JavaScript content.
- magecart
Score number - The magecart score of the JavaScript content.
- malware
Score number - The malware score of the JavaScript content.
- obfuscation
Score number - The obfuscation score of the JavaScript content.
- cryptomining_
score int - The cryptomining score of the JavaScript content.
- dataflow_
score int - The dataflow score of the JavaScript content.
- fetched_
at str - The timestamp of when the script was last fetched.
- hash str
- The computed hash of the analyzed script.
- js_
integrity_ intscore - The integrity score of the JavaScript content.
- magecart_
score int - The magecart score of the JavaScript content.
- malware_
score int - The malware score of the JavaScript content.
- obfuscation_
score int - The obfuscation score of the JavaScript content.
- cryptomining
Score Number - The cryptomining score of the JavaScript content.
- dataflow
Score Number - The dataflow score of the JavaScript content.
- fetched
At String - The timestamp of when the script was last fetched.
- hash String
- The computed hash of the analyzed script.
- js
Integrity NumberScore - The integrity score of the JavaScript content.
- magecart
Score Number - The magecart score of the JavaScript content.
- malware
Score Number - The malware score of the JavaScript content.
- obfuscation
Score Number - The obfuscation score of the JavaScript content.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
