/** * Cloud provider identification patterns. * * Maps ASN numbers, reverse-DNS naming conventions, HTTP response headers, * and error page content to specific cloud providers and their services. * Used for infrastructure attribution — determining which cloud platform * hosts a given IP or service without relying on IP range databases. * * References: * - https://bgp.he.net/ * - https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html * - https://www.microsoft.com/en-us/download/details.aspx?id=56519 * - https://cloud.google.com/compute/docs/faq#find_ip_range */ /** A cloud provider identification profile. */ export interface CloudPattern { /** Cloud provider name */ provider: string; /** Autonomous System Numbers associated with this provider */ asn: string[]; /** Regex patterns for reverse DNS (PTR record) hostnames */ rdnsPatterns: string[]; /** HTTP header patterns (header name in lowercase → regex for value) */ headerPatterns: Record; /** Error page body content patterns (regex) unique to this provider */ errorPatterns?: string[]; /** Sub-service identifiers within the provider */ serviceIdentifiers?: { service: string; pattern: string; }[]; } export declare const CLOUD_PATTERNS: CloudPattern[]; //# sourceMappingURL=cloud-ranges.d.ts.map