Commit Graph

1039 Commits

Author SHA1 Message Date
Jonathan Martens c71bc19cea docs: formatting fix on delete keyword in mail section (#444) 2023-12-16 10:08:41 -05:00
Anael Mobilia 3bf0bea710 Fix typo on documentation (#443)
* Doc cleanup/improvement

* Fix typos

---------

Co-authored-by: Anael Mobilia <anael.mobilia@mydsomanager.com>
2023-12-16 10:08:06 -05:00
Sean Whalen 95954c5d87 Correct changelog 2023-10-13 10:35:58 -04:00
Sean Whalen 6120b8683d Update changelog 2023-10-13 10:29:42 -04:00
Sean Whalen 21d6f92fd4 Add PyPI download stats badge 2023-10-13 10:01:48 -04:00
jlownie a164fb8e04 Update usage.md (#436) 2023-10-13 09:53:28 -04:00
Sean Whalen 762d92f6d2 8.6.4
- Ignore SPF results in aggregate report records if the domain is not provided
2023-10-13 09:51:59 -04:00
Sean Whalen 1655b84cc2 8.6.3
- Add an error message instead of raising an exception when an aggregate report timespan is greater than 24 hours
2023-10-11 19:41:30 -04:00
Sean Whalen 0eaba079b9 8.6.2
- Use `zlib` instead of `Gzip` to decompress more `.gz` files, including the ones supplied by Mimecast (Based on #430 closes #429)
2023-10-11 17:49:46 -04:00
Sean Whalen 1de4a94c37 Merge branch 'master' of https://github.com/domainaware/parsedmarc 2023-10-11 17:36:39 -04:00
Sean Whalen 722ff79e23 Move senders out of the package
until the database is more complete
2023-10-11 17:36:13 -04:00
Anael Mobilia 68145b8b06 setup.py don't exist anymore (#434)
setup.py file was deleted on https://github.com/domainaware/parsedmarc/commit/de3002db8bf8b63a43635cd6d2b506d02eb139fd
2023-10-11 17:25:25 -04:00
Anael Mobilia 732547e622 Doc cleanup/improvement (#432)
Co-authored-by: Anael Mobilia <anael.mobilia@mydsomanager.com>
2023-10-11 17:24:50 -04:00
Anael Mobilia aaf269b11b Install latest elasticsearch for tests (#433) 2023-10-11 17:23:19 -04:00
Sean Whalen 2bee4fc591 Fix README typos 2023-09-05 21:17:04 -04:00
Sean Whalen 4d0974948d Update senders.sqlite 2023-09-05 21:10:12 -04:00
Sean Whalen 8b5834b00d Fix flake8 E721 2023-09-05 18:12:50 -04:00
Sean Whalen 31db7d2301 Add senders.sqlite 2023-09-05 15:15:30 -04:00
Sean Whalen 26027ef6b3 Add senders.sqlite 2023-09-05 15:14:11 -04:00
Sean Whalen 4ff44dcb0f Update dbip-country-lite.mmdb 2023-09-05 06:43:31 -04:00
Sean Whalen 557e2e0554 Code style fixes 2023-08-01 16:23:31 -04:00
Sean Whalen 6c84cfb7c4 Fix output in tests.py 2023-06-27 15:56:33 -04:00
Sean Whalen a4b0aabdfb Update CHANGELOG.md 2023-06-27 15:54:21 -04:00
andersnauman 51760181b0 Fix: Less error-prone code to minimize the risk of program crash (#417)
- Double check if org_name exist. Empty name will crash Elastissearch's 'exist' search
- Move try-statement to include open() to catch if files do not exist
- Enclose Elasticsearch's execute in a try-statement to catch any invalid searches when variables are empty/missing
2023-06-27 15:45:40 -04:00
Sean Whalen 89872d78ac Fix testing 2023-06-27 15:43:09 -04:00
Sean Whalen 477a45d19b Acutally bump the version to 8.6.1 2023-05-14 20:43:42 -04:00
Sean Whalen e5e7a6fe75 8.6.1
- Fix handling of non-domain organization names (PR #411 fixes issue #410)
- Ignore rua reports with a date range that is too long to be valid (PR #408 fixes issue #282)
2023-05-14 20:41:44 -04:00
Gaige B Paulsen 5a659ea578 fix: handling of text org_name without space #410 (#411) 2023-05-14 20:29:12 -04:00
Anael Mobilia d2d62488f7 Add contributors on copyright (#414)
Co-authored-by: Anael Mobilia <anael.mobilia@mydsomanager.com>
2023-05-14 18:07:35 -04:00
Anael Mobilia bf69ea8ccc Fix typos (#413)
Co-authored-by: Anael Mobilia <anael.mobilia@mydsomanager.com>
2023-05-14 18:07:07 -04:00
Michael Kliewe af1e299dd4 Fix issue #282: Detect large date ranges in aggregate reports and skip processing (#408) 2023-05-14 18:06:07 -04:00
Sean Whalen d426098b7e 8.6.0
- Replace publicsuffix2 with publicsuffixlist
2023-05-09 09:11:35 -04:00
Jed Laundry a06fdc586f Change publicsuffix2 to publicsuffixlist (#406)
* change to publicsuffixlist

* update publicsuffixlist (now auto-updating)

* Fix unused imports
2023-05-09 08:49:41 -04:00
Anael Mobilia 062d6ea821 Use a local network connection to elasticsearch (#407) 2023-05-09 08:48:17 -04:00
Sean Whalen b15e8d0aad Fix documentation headings 2023-05-03 18:25:27 -04:00
Sean Whalen bf102f78aa 8.5.0
- Add support for Azure Log Analytics (PR #394)
- Fix a bug in the Microsoft Graph integration that caused a crash when an inbox has 10+ folders (PR #398)
- Documentation fixes
2023-05-03 17:10:49 -04:00
Sean Whalen f6c0a4ecbc Update docs 2023-05-03 16:57:22 -04:00
Sean Whalen 044038a381 Fix mailing list diocumentation 2023-05-03 16:54:25 -04:00
Sean Whalen cd475255c5 Documentation cleanup 2023-05-03 16:44:15 -04:00
Ben Companjen 2b35b785c6 Split and Organise documentation files (#404)
* Set global TOC collapse to false

* Split documentation

I tried to split the index.md file into logical parts, not changing the contents.
I did add a space and change one HTTP URL to HTTPS.

---------

Co-authored-by: Sean Whalen <44679+seanthegeek@users.noreply.github.com>
2023-05-03 16:11:58 -04:00
Sean Whalen 634631e326 Code style fixes 2023-05-03 16:07:54 -04:00
rubeste a7280988eb Implemented Azure Log Analytics ingestion via Data Collection Rules (#394)
* Implemented Azure Log Analytics ingestion via Data Collection Rules

* Update loganalytics.py

* Update cli.py

* Update pyproject.toml

* Fixed config bug

Fixed a bug that causes the program to fail if you do not configure a Data stream.

* Fixed code format
2023-05-03 15:54:25 -04:00
Anael Mobilia 02e856a9bf From Elasticsearch 8.7, xpack security isn't on by default but is required (#395)
```
org.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.transport.ssl - [xpack.security.transport.ssl.enabled] is not set, but the following settings have been configured in elasticsearch.yml : [xpack.security.transport.ssl.keystore.secure_password,xpack.security.transport.ssl.truststore.secure_password]
```
2023-05-03 15:39:46 -04:00
rubeste 70a9d11adb Fixed Bug in graph.py (#398)
* Fixed Bug in graph.py

Fixed Bug regarding the finding of a specific folder.
This Bug caused parsedmarc to crash if it could not find the folder in one Ms Graph request. This is only an issue if your MailBox contains 10+ folders.
It was solved by adding the `$filter=displayName eq '{folder_name}'` param so it would immediatly find the folder.

* Fixed MS Graph Search bug

Fixed bug that causes only 10 messages to be read from MS Graph if batch size is defined as 0.
Fixed formatting

* prevented $top from being 0
2023-05-03 15:36:23 -04:00
Ben Companjen 9c86e2df49 Fix docstring indentations and grammar (#405)
In several docstrings incorrect indentation caused errors in the
rendered documentation.
I also changed a few words to correct the grammar.
2023-05-03 15:30:05 -04:00
Sean Whalen b75259c58c Merge branch 'master' of github.com:domainaware/parsedmarc 2023-01-21 10:09:39 -05:00
Sean Whalen 16318b9152 8.4.2
PR #386 closes issues #289 and #380

- Only initialize the syslog, S3 and Kafka clients once
2023-01-21 10:08:47 -05:00
kcyd 22a6d21362 initialize syslog, s3 and kafka clients only once (#386) 2023-01-21 10:02:05 -05:00
Sean Whalen b10cc06441 8.4.1
- Fix bug introduced in 8.3.1 that caused `No such file or directory` errors if output files didn't exist (PR #385 closes issues #358 and #382)
- Make the `--silent` CLI option only print errors.
  Add the `--warnings` options to also print warnings (PR#383)
2023-01-16 15:06:31 -05:00
Aleksandar Ristic a54cc3e6dd Add --warnings cli option; --silent now prints only errors (#383)
* Adding warnings argument; silent logs only errors.

* Fixing flake warning for trailing whitespace

* Change help for --warnings to match existing style
2023-01-16 14:45:27 -05:00