Skip to content

Commit

Permalink
Merge pull request #4440 from cisagov/feature/cmmc-target-poam
Browse files Browse the repository at this point in the history
Disable export POAM link if target level 1
  • Loading branch information
LaddieZeigler authored Feb 14, 2025
2 parents 8d6047d + cc5f9de commit b18387e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,15 @@ export class ReportListComponent implements OnInit {
}

/**
* If this is a CMMC assessment, check the score for Level 1.
* If this is a CMMC assessment and the target level is
* higher than Level 1, check the score for Level 1.
*/
setCmmcLevelAchievement() {
const a = this.assessSvc.assessment;

const cmmcModels = ['CMMC', 'CMMC2', 'CMMC2F'];
if (cmmcModels.indexOf(this.assessSvc.assessment.maturityModel?.modelName) >= 0) {
if (a.maturityModel?.maturityTargetLevel > 1 &&
cmmcModels.indexOf(a.maturityModel?.modelName) >= 0) {
this.maturitySvc.getCmmcScores().subscribe((scores: any) => {
this.cmmcLevel1Achieved = scores.level1Score == scores.level1MaxScore;
});
Expand Down
2 changes: 1 addition & 1 deletion CSETWebNg/src/app/services/authentication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class AuthenticationService {

},
(error) => {
console.warn('Error getting stand-alone status. Assuming non-stand-alone mode.');
console.warn('Error getting stand-alone status. Assuming Enterprise configuration.');
this.isLocal = false;
}
);
Expand Down
2 changes: 1 addition & 1 deletion CSETWebNg/src/assets/i18n/reports/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
},
"4": {
"title": "Export POAM to Excel",
"desc": "This report generates a Plan of Action and Milestones (POA&M) template which includes a list of unmet practices eligible for remediation. This POA&M will exclude any CMMC practices that are ineligible for inclusion per CMMC ruling. It is available for assessments that have achieved Level 1 or above."
"desc": "This report generates a Plan of Action and Milestones (POA&M) template which includes a list of unmet practices eligible for remediation. This POA&M will exclude any CMMC practices that are ineligible for inclusion per CMMC ruling. It is available for assessments that are targeting a Level 2 or 3 and have achieved Level 1."
}
},
"rra": {
Expand Down
2 changes: 1 addition & 1 deletion CSETWebNg/src/assets/i18n/reports/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"4": {
"title": "Exportar POAM a Excel",
"desc": "Este informe genera una plantilla de Plan de acción e hitos (POA&M) que incluye una lista de prácticas no cumplidas que pueden remediarse. Este POA&M excluirá cualquier práctica de CMMC que no sea elegible para su inclusión según la resolución de CMMC. Está disponible para evaluaciones que hayan alcanzado el Nivel 1 o superior."
"desc": "Este informe genera una plantilla de Plan de acción e hitos (POA&M) que incluye una lista de prácticas no cumplidas que pueden remediarse. Este POA&M excluirá cualquier práctica de CMMC que no sea elegible para su inclusión según la resolución de CMMC. Está disponible para evaluaciones que apuntan a un Nivel 2 o 3 y han alcanzado el Nivel 1."
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion CSETWebNg/src/assets/i18n/reports/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"4": {
"title": "Експорт POAM в Excel",
"desc": "У цьому звіті створюється шаблон плану дій і основних етапів (POA&M), який містить список недотриманих практик, які підлягають виправленню. Це POA&M виключатиме будь-які практики CMMC, які не підлягають включенню відповідно до рішення CMMC. Він доступний для оцінювання, яке досягло рівня 1 або вище."
"desc": "У цьому звіті створюється шаблон плану дій і основних етапів (POA&M), який містить список недотриманих практик, які підлягають виправленню. Це POA&M виключатиме будь-які практики CMMC, які не підлягають включенню відповідно до рішення CMMC. Він доступний для оцінювання, яке націлено на рівень 2 або 3 і досягло рівня 1."
}
}
},
Expand Down

0 comments on commit b18387e

Please sign in to comment.