public MaturityBasicReportData GetAssessmentInformation() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); MaturityBasicReportData data = new MaturityBasicReportData(); data.information = reportsDataManager.GetInformation(); return(data); }
public MaturityBasicReportData GetDeficiencyList() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); MaturityBasicReportData data = new MaturityBasicReportData(); data.DeficiencesList = reportsDataManager.getMaturityDeficiences("ACET"); data.information = reportsDataManager.GetInformation(); return(data); }
public MaturityBasicReportData GetCommentsMarked(string maturity) { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); MaturityBasicReportData data = new MaturityBasicReportData(); data.Comments = reportsDataManager.getCommentsList(maturity); data.MarkedForReviewList = reportsDataManager.getMarkedForReviewList(maturity); data.information = reportsDataManager.GetInformation(); return(data); }
public BasicReportData GetDiscoveries() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); BasicReportData data = new BasicReportData(); data.information = reportsDataManager.GetInformation(); data.Individuals = reportsDataManager.GetFindingIndividuals(); return(data); }
public BasicReportData GetExecutive() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); BasicReportData data = new BasicReportData(); data.information = reportsDataManager.GetInformation(); data.top5Categories = reportsDataManager.GetTop5Categories(); data.top5Questions = reportsDataManager.GetTop5Questions(); return(data); }
public BasicReportData GetAltList() { int assessmentId = Auth.AssessmentForUser(); // var assessment = var reportsDataManager = new ReportsDataManager(assessmentId); var data = new BasicReportData(); data.QuestionsWithAltJust = reportsDataManager.GetQuestionsWithAlternateJustification(); data.MaturityQuestionsWithAlt = reportsDataManager.GetAlternatesList(); data.information = reportsDataManager.GetInformation(); return(data); }
public MaturityReportData GetSiteSummaryCMMCReport() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); MaturityReportData data = new MaturityReportData(); data.MaturityModels = reportsDataManager.GetMaturityModelData(); data.information = reportsDataManager.GetInformation(); //data.StatementsAndReferences = reportsDataManager.GetStatementsAndReferences(); data.AnalyzeMaturityData(); return(data); }
public MaturityReportData GetCMMCReport() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); MaturityReportData data = new MaturityReportData(); data.AnalyzeMaturityData(); data.MaturityModels = reportsDataManager.GetMaturityModelData(); data.information = reportsDataManager.GetInformation(); data.AnalyzeMaturityData(); return(data); }
public BasicReportData getSecurityPlan() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); BasicReportData data = new BasicReportData(); data.ControlList = reportsDataManager.GetControls(); data.genSalTable = reportsDataManager.GetGenSals(); data.information = reportsDataManager.GetInformation(); data.salTable = reportsDataManager.GetSals(); data.nistTypes = reportsDataManager.GetNistInfoTypes(); data.nistSalTable = reportsDataManager.GetNistSals(); return(data); }
public IHttpActionResult GetDeficiencyList([FromUri] string maturity) { try { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); MaturityBasicReportData data = new MaturityBasicReportData(); data.DeficiencesList = reportsDataManager.getMaturityDeficiences(maturity); data.information = reportsDataManager.GetInformation(); return(Ok(data)); } catch (Exception ex) { return(Ok()); } }
public BasicReportData getSiteSummary() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); BasicReportData data = new BasicReportData(); data.genSalTable = reportsDataManager.GetGenSals(); data.information = reportsDataManager.GetInformation(); data.salTable = reportsDataManager.GetSals(); data.nistTypes = reportsDataManager.GetNistInfoTypes(); data.nistSalTable = reportsDataManager.GetNistSals(); data.DocumentLibraryTable = reportsDataManager.GetDocumentLibrary(); data.RankedQuestionsTable = reportsDataManager.GetRankedQuestions(); data.QuestionsWithCommentsTable = reportsDataManager.getQuestionsWithCommentsOrMarkedForReview(); data.QuestionsWithAlternateJustifi = reportsDataManager.GetQuestionsWithAlternateJustification(); return(data); }
public BasicReportData GetDetail() { int assessmentId = Auth.AssessmentForUser(); ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId); BasicReportData data = new BasicReportData(); data.genSalTable = reportsDataManager.GetGenSals(); data.information = reportsDataManager.GetInformation(); data.salTable = reportsDataManager.GetSals(); data.nistTypes = reportsDataManager.GetNistInfoTypes(); data.nistSalTable = reportsDataManager.GetNistSals(); data.DocumentLibraryTable = reportsDataManager.GetDocumentLibrary(); data.RankedQuestionsTable = reportsDataManager.GetRankedQuestions(); data.QuestionsWithComments = reportsDataManager.GetQuestionsWithComments(); data.QuestionsMarkedForReview = reportsDataManager.GetQuestionsMarkedForReview(); data.QuestionsWithAlternateJustifi = reportsDataManager.GetQuestionsWithAlternateJustification(); data.StandardsQuestions = reportsDataManager.GetQuestionsForEachStandard(); data.ComponentQuestions = reportsDataManager.GetComponentQuestions(); return(data); }