import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const examplePageShieldScripts = cloudflare.getPageShieldScripts({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * scriptId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getPageShieldScripts(args: GetPageShieldScriptsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPageShieldScripts. */ export interface GetPageShieldScriptsArgs { /** * Identifier */ scriptId: string; /** * Identifier */ zoneId: string; } /** * A collection of values returned by getPageShieldScripts. */ export interface GetPageShieldScriptsResult { readonly addedAt: string; /** * The cryptomining score of the JavaScript content. */ readonly cryptominingScore: number; /** * The dataflow score of the JavaScript content. */ readonly dataflowScore: number; readonly domainReportedMalicious: boolean; /** * The timestamp of when the script was last fetched. */ readonly fetchedAt: string; readonly firstPageUrl: string; readonly firstSeenAt: string; /** * The computed hash of the analyzed script. */ readonly hash: string; readonly host: string; /** * Identifier */ readonly id: string; /** * The integrity score of the JavaScript content. */ readonly jsIntegrityScore: number; readonly lastSeenAt: string; /** * The magecart score of the JavaScript content. */ readonly magecartScore: number; readonly maliciousDomainCategories: string[]; readonly maliciousUrlCategories: string[]; /** * The malware score of the JavaScript content. */ readonly malwareScore: number; /** * The obfuscation score of the JavaScript content. */ readonly obfuscationScore: number; readonly pageUrls: string[]; /** * Identifier */ readonly scriptId: string; readonly url: string; readonly urlContainsCdnCgiPath: boolean; readonly urlReportedMalicious: boolean; readonly versions: outputs.GetPageShieldScriptsVersion[]; /** * Identifier */ readonly zoneId: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const examplePageShieldScripts = cloudflare.getPageShieldScripts({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * scriptId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getPageShieldScriptsOutput(args: GetPageShieldScriptsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPageShieldScripts. */ export interface GetPageShieldScriptsOutputArgs { /** * Identifier */ scriptId: pulumi.Input; /** * Identifier */ zoneId: pulumi.Input; }