Example #1
0
        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);
        }