Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Joyce Quach <[email protected]>
  • Loading branch information
jtquach1 committed Nov 6, 2024
1 parent 483df2d commit b48e65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/hdf-converters/src/xccdf-results-mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, number> = new Map([
['critical', 0.9],
Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit b48e65a

Please sign in to comment.