liuch / dmarc-srg

A php parser, viewer and summary report generator for incoming DMARC reports.
GNU General Public License v3.0
218 stars 32 forks source link

Filter report entries #40

Closed smeinecke closed 1 year ago

smeinecke commented 1 year ago

Right now its only possible to filter the report list by status of SPF + DKIM, but not entries inside of the report itself.

Additional it would help if there is some kind of "show only failed validation" checkbox to filter all reports + listings to only show invalid entries.

liuch commented 1 year ago

I don't quite understand you. Which entries do you mean? Could you give me some examples?

smeinecke commented 1 year ago

In "list display settings" I can filter by "DKIM result" and "SPF result":

grafik

which changes output of the "Report List", but when I click on a report, so its opened as overlay, all records are listed even if I set a filter prevously.

liuch commented 1 year ago

Oh. You want to filter records inside the report you have chosen, did I understand you correctly? But why? Are there many records in your reports?

smeinecke commented 1 year ago

grafik Uhm.. yes ;) (last count is amount of records inside ONE report)

liuch commented 1 year ago

Is it the number of records not messages? It's a lot then. In this case, report records filtering can be useful. But the number of messages doesn't matter here, because they can all be inside one record. Usually I have 3-5 records in google reports.

smeinecke commented 1 year ago

You're right, it's the number of messages. But yes, I have just in this report 132 records: grafik

liuch commented 1 year ago

Okay, now I understand your need. I'll think about the best way to do it.

liuch commented 1 year ago

Could you take a look at this: https://github.com/liuch/dmarc-srg/commit/812ed8350a3eb5d780aaa7965766d90c28be2f79 ? It is not everything you asked for, but something.

liuch commented 1 year ago

Please note that the filter settings are saved until the tab is closed.