Skip to content
Start here

Scripts

List Page Shield scripts
GET/zones/{zone_id}/page_shield/scripts
Get a Page Shield script
GET/zones/{zone_id}/page_shield/scripts/{script_id}
ModelsExpand Collapse
Script = object { id, added_at, first_seen_at, 18 more }
id: string

Identifier

maxLength32
added_at: string
formatdate-time
first_seen_at: string
formatdate-time
host: string
last_seen_at: string
formatdate-time
url: string
url_contains_cdn_cgi_path: boolean
cryptomining_score: optional number

The cryptomining score of the JavaScript content.

maximum99
minimum1
Deprecateddataflow_score: optional number

The dataflow score of the JavaScript content. This field has been deprecated in favour of js_integrity_score.

maximum99
minimum1
domain_reported_malicious: optional boolean
fetched_at: optional string

The timestamp of when the script was last fetched.

first_page_url: optional string
hash: optional string

The computed hash of the analyzed script.

maxLength64
minLength64
js_integrity_score: optional number

The integrity score of the JavaScript content.

maximum99
minimum1
magecart_score: optional number

The magecart score of the JavaScript content.

maximum99
minimum1
malicious_domain_categories: optional array of string
malicious_url_categories: optional array of string
malware_score: optional number

The malware score of the JavaScript content.

maximum99
minimum1
Deprecatedobfuscation_score: optional number

The obfuscation score of the JavaScript content. This field has been deprecated in favour of js_integrity_score.

maximum99
minimum1
page_urls: optional array of string
url_reported_malicious: optional boolean
ScriptGetResponse = object { id, added_at, first_seen_at, 19 more }
id: string

Identifier

maxLength32
added_at: string
formatdate-time
first_seen_at: string
formatdate-time
host: string
last_seen_at: string
formatdate-time
url: string
url_contains_cdn_cgi_path: boolean
cryptomining_score: optional number

The cryptomining score of the JavaScript content.

maximum99
minimum1
Deprecateddataflow_score: optional number

The dataflow score of the JavaScript content. This field has been deprecated in favour of js_integrity_score.

maximum99
minimum1
domain_reported_malicious: optional boolean
fetched_at: optional string

The timestamp of when the script was last fetched.

first_page_url: optional string
hash: optional string

The computed hash of the analyzed script.

maxLength64
minLength64
js_integrity_score: optional number

The integrity score of the JavaScript content.

maximum99
minimum1
magecart_score: optional number

The magecart score of the JavaScript content.

maximum99
minimum1
malicious_domain_categories: optional array of string
malicious_url_categories: optional array of string
malware_score: optional number

The malware score of the JavaScript content.

maximum99
minimum1
Deprecatedobfuscation_score: optional number

The obfuscation score of the JavaScript content. This field has been deprecated in favour of js_integrity_score.

maximum99
minimum1
page_urls: optional array of string
url_reported_malicious: optional boolean
versions: optional array of object { cryptomining_score, dataflow_score, fetched_at, 5 more }
cryptomining_score: optional number

The cryptomining score of the JavaScript content.

maximum99
minimum1
Deprecateddataflow_score: optional number

The dataflow score of the JavaScript content. This field has been deprecated in favour of js_integrity_score.

maximum99
minimum1
fetched_at: optional string

The timestamp of when the script was last fetched.

hash: optional string

The computed hash of the analyzed script.

maxLength64
minLength64
js_integrity_score: optional number

The integrity score of the JavaScript content.

maximum99
minimum1
magecart_score: optional number

The magecart score of the JavaScript content.

maximum99
minimum1
malware_score: optional number

The malware score of the JavaScript content.

maximum99
minimum1
Deprecatedobfuscation_score: optional number

The obfuscation score of the JavaScript content. This field has been deprecated in favour of js_integrity_score.

maximum99
minimum1