Problem/Motivation

The DbLog module's recent reports page can be filtered to messages from the reporting module, but shows limited info.
Pending dedicated storage for violation reports, provide a page that queries only violation reports from the dblog table if the module is enabled.

User interface changes

A new page available in the Reports section of the admin area.

Issue fork reporting-3549053

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

gapple created an issue. See original summary.

gapple’s picture

Type, Disposition, and Location are the properties that can be listed on any report regardless of type. Additional logic would be needed to parse out priority fields from CSP (e.g. violated directive), Permissions Policy (restricted feature), etc, to show in the list.

Report listing page screenshot

Since the report itself is serialized in the database field, it's not practical to add filtering options.

View can just link to the DB report page which shows the JSON in pretty-print format. A dedicated page could break out the fields from the body to display more nicely, and omit the fields which aren't helpful from the watchdog table (e.g. Watchdog's Location is always the reporting endpoint url, Severity and User are not necessary...)

  • gapple committed 295ac7e6 on 2.x
    Issue #3549053: Violation Report listing page
    
gapple’s picture

Status: Active » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.