import { HttpClient } from '../../core/http-client'; import { FileFeedResult, DomainFeedResult, URLFeedResult, ThreatActorFeedResult, AttackerCountryFeedResult, VictimCountryFeedResult, CampaignTagFeedResult } from './types'; export { FeedFileHash, FeedSimilarFile, FeedRelatedFile, FeedContactedIP, FeedContactedDomain, FeedContactedURL, FeedIoCRelation, FeedAPTIoCIndicator, FeedCampaignIndicatorFile, FeedCampaignIndicatorIP, FeedCampaignIndicatorDomain, FeedCampaignIndicatorURL, FeedCampaignIndicatorsStatistics, FeedCampaignDetailedIndicators, FeedCampaignDetail, FeedThreatActorWithCampaigns, FeedAPTCampaignStatistics, FileFeedItem, FileFeedResult, FeedResolvedIP, FeedDomainIoCRelation, DomainFeedItem, DomainFeedResult, FeedSimpleThreatActor, URLFeedContentData, URLFeedItem, URLFeedResult, ThreatActorFeedCampaign, ThreatActorFeedResult, AttackerCountryFeedCampaign, AttackerCountryFeedResult, VictimCountryFeedCampaign, VictimCountryFeedResult, CampaignTagFeedCampaign, CampaignTagFeedResult, } from './types'; /** * Feed Module * Provides threat intelligence feeds by date */ export declare class Feed { private readonly fileFeed; private readonly domainFeed; private readonly urlFeed; private readonly campaignFeed; constructor(httpClient: HttpClient); /** * Get file feed for a specific date * * Returns malicious file information collected at the specified date/time. * Feed data is returned as line-by-line JSON (NDJSON format). * * @param date - Date in one of the following formats: * - YYYY-MM-DD HH (e.g., "2024-04-09 11") * - YYYYMMDDHH (e.g., "2024040911") * - YYYY-MM-DD HH:mm (e.g., "2024-04-09 11:30") * - YYYYMMDDHHmm (e.g., "202404091130") * * @example * ```typescript * const result = await client.feed.getFileFeed('2024-04-09 11'); * result.items.forEach((file) => { * console.log(file.hash.sha256, file.detect); * }); * ``` */ getFileFeed(date: string): Promise; /** * Get domain feed for a specific date * * Returns malicious domain information collected at the specified date/time. * * @param date - Date in YYYY-MM-DD HH, YYYYMMDDHH, YYYY-MM-DD HH:mm, or YYYYMMDDHHmm format * * @example * ```typescript * const result = await client.feed.getDomainFeed('2024-04-09 11'); * result.items.forEach((domain) => { * console.log(domain.domain, domain.detect); * console.log(domain.iocRelation.resolvedIPs); * }); * ``` */ getDomainFeed(date: string): Promise; /** * Get URL feed for a specific date * * Returns malicious URL information collected at the specified date/time. * Includes information about the file downloaded from each malicious URL. * * @param date - Date in YYYY-MM-DD HH, YYYYMMDDHH, YYYY-MM-DD HH:mm, or YYYYMMDDHHmm format * * @example * ```typescript * const result = await client.feed.getURLFeed('2024-04-09 11'); * result.items.forEach((url) => { * console.log(url.detectionUrl); * console.log(url.contentsSha256); * console.log(url.contentsData.detect); * console.log(url.contentsData.attackTechniques); * }); * ``` */ getURLFeed(date: string): Promise; /** * Get threat actor campaign feed for a specific date * * Returns campaign information associated with a specific threat actor. * * @param actorName - Threat actor name or MITRE ATT&CK Group ID (G-ID) * @param date - Date in YYYY-MM-DD HH, YYYYMMDDHH, YYYY-MM-DD HH:mm, or YYYYMMDDHHmm format * * @example * ```typescript * // By threat actor name * const result = await client.feed.getThreatActorFeed('Lazarus Group', '2024-04-09 11'); * * // By MITRE ATT&CK Group ID * const result2 = await client.feed.getThreatActorFeed('G0032', '2024-04-09 11'); * * result.items.forEach((campaign) => { * console.log(campaign.ctxId); * console.log(campaign.threatActors); * console.log(campaign.indicators); * }); * ``` */ getThreatActorFeed(actorName: string, date: string): Promise; /** * Get attacker country campaign feed for a specific date * * Returns campaign information associated with threat actors from a specific country. * * @param countryCode - Country name or country code (e.g., "CN", "KP", "RU") * @param date - Date in YYYY-MM-DD HH, YYYYMMDDHH, YYYY-MM-DD HH:mm, or YYYYMMDDHHmm format * * @example * ```typescript * const result = await client.feed.getAttackerCountryFeed('KP', '2024-04-09 11'); * result.items.forEach((campaign) => { * console.log(campaign.ctxId); * console.log(campaign.threatActors); * console.log(campaign.victims); * }); * ``` */ getAttackerCountryFeed(countryCode: string, date: string): Promise; /** * Get victim country campaign feed for a specific date * * Returns campaign information targeting a specific victim country. * * @param countryCode - Country name or country code (e.g., "US", "KR", "JP") * @param date - Date in YYYY-MM-DD HH, YYYYMMDDHH, YYYY-MM-DD HH:mm, or YYYYMMDDHHmm format * * @example * ```typescript * const result = await client.feed.getVictimCountryFeed('KR', '2024-04-09 11'); * result.items.forEach((campaign) => { * console.log(campaign.ctxId); * console.log(campaign.victims.countries); * console.log(campaign.indicators); * }); * ``` */ getVictimCountryFeed(countryCode: string, date: string): Promise; /** * Get campaign tag feed for a specific date * * Returns campaign information associated with a specific tag. * * @param tag - Campaign tag (e.g., "ransomware", "trojan", "apt") * @param date - Date in YYYY-MM-DD HH, YYYYMMDDHH, YYYY-MM-DD HH:mm, or YYYYMMDDHHmm format * * @example * ```typescript * const result = await client.feed.getCampaignTagFeed('ransomware', '2024-04-09 11'); * result.items.forEach((campaign) => { * console.log(campaign.ctxId); * console.log(campaign.tags); * console.log(campaign.threatFamilies); * }); * ``` */ getCampaignTagFeed(tag: string, date: string): Promise; } //# sourceMappingURL=index.d.ts.map