Export compliance framework report - backend

Add backend capability for exporting report data for the new compliance framework report.

Design: #385303[01_-_No_selection__buttons_disabled.png]

Frontend: Exporting compliance Framework report (#387912 - closed) • SAM FIGUEROA • 16.0 • On track

Implementation Plan

  • Create controller ee/app/controllers/groups/security/compliance_framework_reports_controller.rb
  • Controller will trigger a worker that sends an email ee/app/workers/namespaces/security/famework_export_mailer_worker.rb
  • Worker relays CSV creation to a service then uses a mailer class to send the CSV as an attachment
  • Create service to generate CSV for frameworks ee/app/services/namespaces/security/frameworks_export_service.rb
  • Create mailer to send attached framework export ee/app/mailers/emails/compliance_frameworks.rb
  • Add mailer class to notify ee/app/mailers/ee/notify.rb
Edited by SAM FIGUEROA