UNPKG

n8n

Version:

n8n Workflow Automation Tool

21 lines (20 loc) 1.26 kB
import { LicenseState, Logger } from '@n8n/backend-common'; import type { ExecutionRedaction, ExecutionRedactionOptions, RedactableExecution } from '../../../executions/execution-redaction'; import { EventService } from '../../../events/event.service'; import { WorkflowFinderService } from '../../../workflows/workflow-finder.service'; import { FullItemRedactionStrategy } from './strategies/full-item-redaction.strategy'; export declare class ExecutionRedactionService implements ExecutionRedaction { private readonly logger; private readonly licenseState; private readonly workflowFinderService; private readonly eventService; private readonly fullItemRedactionStrategy; constructor(logger: Logger, licenseState: LicenseState, workflowFinderService: WorkflowFinderService, eventService: EventService, fullItemRedactionStrategy: FullItemRedactionStrategy); init(): Promise<void>; processExecution(execution: RedactableExecution, options: ExecutionRedactionOptions): Promise<RedactableExecution>; processExecutions(executions: RedactableExecution[], options: ExecutionRedactionOptions): Promise<void>; private buildPipeline; private hasDynamicCredentials; private policyAllowsReveal; private resolvePolicy; }