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 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); }