import type { PageShieldScriptVersion } from './PageShieldScriptVersion'; /** * @type PageShieldScriptResponse: Response of Page Shield script object. * * @property id: Page Shield script ID. * - **Pattern:** /^.*$/ * * @property url: Page Shield script URL. * - **Pattern:** /^.*$/ * * @property host: Hostname where the script was detected by Page Shield. * - **Pattern:** /^.*$/ * * @property addedAt: Date the script was added to Page Shield. * * @property firstSeenAt: Date the script was detected by Page Shield. * * @property lastSeenAt: Date the script was recently detected by Page Shield. * * @property fetchedAt: The timestamp when the script was last fetched. * * @property domainReportedMalicious: Reported domain is malicious. * * @property hash: The computed hash of the analyzed script. * - **Pattern:** /^.*$/ * * @property cryptoMiningScore: The crypto mining score of the JavaScript content. * * @property dataflowScore: The dataflow score of the JavaScript content. * * @property jsIntegrityScore: The integrity score of the JavaScript content. * * @property mageCartScore: The Magecart score of the JavaScript content. * * @property malwareScore: The malware score of the JavaScript content. * * @property obfuscationScore: The obfuscation score of the JavaScript content. * * @property maliciousDomainCategories: Malicious domain category. * * @property maliciousUrlCategories: Malicious URL category. * * @property urlContainsCdnCgiPath: URL contains CDN CGI path. * * @property urlReportedMalicious: Reported URL is malicious. * * @property pageUrls: Page URLs * * @property firstPageUrl: First page URL for the JavaScript. * - **Pattern:** /^.*$/ * * @property status: The current status of the script. Possible values are active, inactive, or infrequent. * - **Pattern:** /^.*$/ * * @property versions: List of script versions. * */ export type PageShieldScriptResponse = { id?: string; url?: string; host?: string; addedAt?: string; firstSeenAt?: string; lastSeenAt?: string; fetchedAt?: string; domainReportedMalicious?: boolean; hash?: string; cryptoMiningScore?: number; dataflowScore?: number; jsIntegrityScore?: number; mageCartScore?: number; malwareScore?: number; obfuscationScore?: number; maliciousDomainCategories?: Array; maliciousUrlCategories?: Array; urlContainsCdnCgiPath?: boolean; urlReportedMalicious?: boolean; pageUrls?: Array; firstPageUrl?: string; status?: string; versions?: Array; } & { [key: string]: any; };