feat(interfaces): Add RDAP, certificates, httpProbe, and DNSSEC fields to IDomainSnapshot
This commit is contained in:
@@ -28,4 +28,45 @@ export interface IDomainSnapshot {
|
||||
serverUrl: string;
|
||||
content: string;
|
||||
}[];
|
||||
rdap?: {
|
||||
raw: any;
|
||||
registrar?: string;
|
||||
status?: string[];
|
||||
events?: Array<{ action: string; date: string }>;
|
||||
entities?: Array<{ role: string; name?: string }>;
|
||||
};
|
||||
certificates?: Array<{
|
||||
issuerName: string;
|
||||
commonName: string;
|
||||
notBefore: string;
|
||||
notAfter: string;
|
||||
serialNumber: string;
|
||||
sans: string[];
|
||||
}>;
|
||||
httpProbe?: {
|
||||
httpStatus?: number;
|
||||
httpsStatus?: number;
|
||||
httpToHttpsRedirect: boolean;
|
||||
sslCertificate?: {
|
||||
issuer: string;
|
||||
subject: string;
|
||||
validFrom: string;
|
||||
validTo: string;
|
||||
protocol: string;
|
||||
sans: string[];
|
||||
};
|
||||
securityHeaders: {
|
||||
hsts: boolean;
|
||||
csp: boolean;
|
||||
xFrameOptions: string | null;
|
||||
xContentTypeOptions: boolean;
|
||||
};
|
||||
redirectChain: string[];
|
||||
};
|
||||
dnssec?: {
|
||||
enabled: boolean;
|
||||
valid: boolean;
|
||||
keyRecords: number;
|
||||
dsRecords: number;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user