Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable export POAM link if target level 1 #4440

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading