interfaces/ts/data/domainsnapshot.ts

32 lines
845 B
TypeScript
Raw Normal View History

2023-04-03 12:41:09 +00:00
import * as plugins from '../ul-interfaces.plugins.js';
2023-04-19 19:48:16 +00:00
import { ILinkSnapshot } from './linksnapshot.js';
2023-04-03 12:41:09 +00:00
export interface IDomainSnapshot {
2023-04-10 12:09:21 +00:00
registration: {
isRegistered: boolean;
2023-04-17 11:56:55 +00:00
updatedDate: number;
createdDate: number;
2023-04-17 11:54:47 +00:00
expiryDate: number;
2023-04-10 12:09:21 +00:00
};
2023-04-19 19:48:16 +00:00
delegation: plugins.tsclass.network.IDomainDelegation;
2023-04-10 12:04:13 +00:00
phishingFlags: {
listName: string;
}[];
2023-04-19 18:40:21 +00:00
recordScans: {
identifier: string;
nameservers: string[];
aRecords: plugins.tsclass.network.IDnsRecord[];
aaaaRecords: plugins.tsclass.network.IDnsRecord[];
txtRecords: plugins.tsclass.network.IDnsRecord[];
mxRecords: plugins.tsclass.network.IDnsRecord[];
specialRecords: {
dmarc: plugins.tsclass.network.IDnsRecord[];
}
2023-04-19 19:48:16 +00:00
}[];
linkSnapshots: ILinkSnapshot[];
2023-04-03 12:41:09 +00:00
whoisServers: {
serverUrl: string;
content: string;
}[];
2023-04-17 11:48:32 +00:00
}