UNPKG

n8n

Version:

n8n Workflow Automation Tool

15 lines (14 loc) 842 B
import { LoadNodesAndCredentials } from '../../LoadNodesAndCredentials'; import type { WorkflowEntity } from '../../databases/entities/WorkflowEntity'; import type { Risk, RiskReporter } from '../../security-audit/types'; import { CommunityPackagesService } from '../../services/communityPackages.service'; import { GlobalConfig } from '@n8n/config'; export declare class NodesRiskReporter implements RiskReporter { private readonly loadNodesAndCredentials; private readonly communityPackagesService; private readonly globalConfig; constructor(loadNodesAndCredentials: LoadNodesAndCredentials, communityPackagesService: CommunityPackagesService, globalConfig: GlobalConfig); report(workflows: WorkflowEntity[]): Promise<Risk.StandardReport | null>; private getCommunityNodeDetails; private getCustomNodeDetails; }