import { Container } from 'inversify' ; import { BaseTelemetryProperties , ContextAwareLogger } from 'logger' ; import { ProcessEntryPointBase } from 'service-library' ; import { Runner } from './runner/runner' ; export class WebApiScanRunnerEntryPoint extends ProcessEntryPointBase { protected getTelemetryBaseProperties ( ) { return { source : 'webApiScanRunner' } ; } protected async runCustomAction ( container ) { const logger = container . get ( ContextAwareLogger ) ; await logger . setup ( ) ; const runner = container . get < Runner > ( Runner ) ; await runner . run ( ) ; } }