Class: CspReport
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- CspReport
- Defined in:
- app/models/csp_report.rb
Overview
== Schema Information
Table name: csp_reports
Database name: primary
id :bigint not null, primary key
blocked_uri :string
disposition :string
document_uri :string
effective_directive :string
raw_browser :string
raw_report :jsonb not null
referrer :string
status_code :integer default(0), not null
violated_directive :string
created_at :datetime not null
updated_at :datetime not null
Indexes
index_csp_reports_on_blocked_uri (blocked_uri)
index_csp_reports_on_created_at (created_at)
index_csp_reports_on_effective_directive (effective_directive)
index_csp_reports_on_status_code (status_code)
index_csp_reports_on_violated_directive (violated_directive)
Method Summary
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation