Skip to content

Commit

Permalink
Fix broken imports
Browse files Browse the repository at this point in the history
Signed-off-by: Joyce Quach <[email protected]>
  • Loading branch information
jtquach1 committed Jan 15, 2025
1 parent 5a5035b commit a1c0ea5
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@
</template>

<script lang="ts">
import {
CCI_TO_DEFINITION,
CCI_TO_NIST
} from '@mitre/hdf-converters/src/mappings/CciNistMappingData';
import {CCI_DESCRIPTIONS} from '@/utilities/cci_util';
import {ChecklistVuln} from '@mitre/hdf-converters';
import {Component, Prop, Vue} from 'vue-property-decorator';
import {is_control, NistControl, parse_nist} from 'inspecjs';
Expand All @@ -128,7 +125,7 @@ export default class ChecklistRuleInfoBody extends Vue {
@Prop({type: Object, required: true}) readonly selectedRule!: ChecklistVuln;
nistTag(cci: string): string {
return CCI_TO_NIST[cci];
return CCI_DESCRIPTIONS[cci].nist.slice(-1)[0];
}
nistUrl(cci: string): string {
Expand Down Expand Up @@ -185,7 +182,7 @@ export default class ChecklistRuleInfoBody extends Vue {
}
cciDescription(cci: string): string {
return CCI_TO_DEFINITION[cci];
return CCI_DESCRIPTIONS[cci].def;
}
miscDataPresent() {
Expand Down

0 comments on commit a1c0ea5

Please sign in to comment.