From efbdfb7cb6441aea585da989587321436cc1a2c8 Mon Sep 17 00:00:00 2001 From: Joyce Quach Date: Wed, 25 Sep 2024 14:02:33 -0400 Subject: [PATCH] Fix eslint error and warning Signed-off-by: Joyce Quach --- libs/hdf-converters/index.ts | 2 +- libs/hdf-converters/src/neuvector-mapper.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/libs/hdf-converters/index.ts b/libs/hdf-converters/index.ts index 09b0448ec0..ef8d41093e 100644 --- a/libs/hdf-converters/index.ts +++ b/libs/hdf-converters/index.ts @@ -44,4 +44,4 @@ export * from './src/utils/compliance'; export * from './src/utils/fingerprinting'; export * from './src/veracode-mapper'; export * from './src/xccdf-results-mapper'; -export * from './src/zap-mapper'; \ No newline at end of file +export * from './src/zap-mapper'; diff --git a/libs/hdf-converters/src/neuvector-mapper.ts b/libs/hdf-converters/src/neuvector-mapper.ts index ee88d53a48..4d7c0c66a3 100644 --- a/libs/hdf-converters/src/neuvector-mapper.ts +++ b/libs/hdf-converters/src/neuvector-mapper.ts @@ -121,13 +121,6 @@ export type NeuvectorScanJson = { error_message: string; }; -enum DockerSecurityBenchCheckResult { - Pass = 'PASS', - Warn = 'WARN', - Note = 'NOTE', - Info = 'INFO' -} - const CWE_NIST_MAPPING = new CweNistMapping(); function cweTags(description: string): string[] | undefined {