From b48e65a41c1872206b4900fa899ff562c6924def Mon Sep 17 00:00:00 2001 From: Joyce Quach Date: Wed, 6 Nov 2024 16:30:46 -0500 Subject: [PATCH] Fix typo Signed-off-by: Joyce Quach --- libs/hdf-converters/src/xccdf-results-mapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/hdf-converters/src/xccdf-results-mapper.ts b/libs/hdf-converters/src/xccdf-results-mapper.ts index cd1ab2754..4bb3057da 100644 --- a/libs/hdf-converters/src/xccdf-results-mapper.ts +++ b/libs/hdf-converters/src/xccdf-results-mapper.ts @@ -11,7 +11,7 @@ import { } from './base-converter'; import {conditionallyProvideAttribute} from './utils/global'; import {DEFAULT_STATIC_CODE_ANALYSIS_NIST_TAGS} from './mappings/CciNistMappingData'; -import {NIST2CCI} from './mappings/CciNistMapping'; +import {CCI2NIST} from './mappings/CciNistMapping'; const IMPACT_MAPPING: Map = new Map([ ['critical', 0.9], @@ -147,7 +147,7 @@ function extractCci(input: IIdent | IIdent[]): string[] { } function nistTag(input: IIdent | IIdent[]): string[] { - return NIST2CCI(extractCci(input), DEFAULT_STATIC_CODE_ANALYSIS_NIST_TAGS); + return CCI2NIST(extractCci(input), DEFAULT_STATIC_CODE_ANALYSIS_NIST_TAGS); } /**