You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REFACTOR: Removes report data from schema.BaseSchema in favor of models.Report
* Removes the `schemas` module.
* Adds a new `report_schemas` package.
* Adds three abstract classes for report schemas:
* `ReportSchema`: Base of all other schemas
* `GenericReportSchema`: Base of Out-of-Band Reporting API incident reports.
* `LegacyReportSchema`: Base for legacy incident reports.
* Adds a registry for report schemas.
* Adds modules to implement CSP and HPKP schemas in both contemporary and legacy arrangements.
* Adds a `fallback` module for Out-of-Band Reporting API incident reports that don't match any known schemas (preparation for #17).
* Updates other app components accordingly.
Closes#15
created_time=models.DateTimeField(auto_now_add=True, db_index=True, verbose_name="Submission Time", help_text="When the incident report was submitted.")
71
+
incident_time=models.DateTimeField(db_index=True, help_text="When the incident occurred.")
0 commit comments