Module: ActiveRecord::DataClassification::Report

Defined in:
lib/active_record/data_classification/report.rb

Constant Summary collapse

REPORT_COLUNMS =
[
  "Server Type",
  "Table",
  "Column",
  "Type",
  "Sensitivity",
  "Clone Handling",
  "Models",
  "Sensitivity Source",
].freeze

Class Method Summary collapse

Class Method Details

.generateObject



20
21
22
23
24
25
26
27
# File 'lib/active_record/data_classification/report.rb', line 20

def generate
  load_all_models
  assert_all_tables

  models = DataClassification::ModelSpace.models

  generate_csv(models)
end