Commit Graph

979 Commits

Author SHA1 Message Date
Anael Mobilia bcf242b0ab Fix typo (#364) 2022-12-23 18:13:10 -05:00
Anael Mobilia 1380eed2b8 Doc - Update install documentation to Elasticsearch/Kibana 8 (#363)
* Update elasticsearch/kibana instructions

[From elastisearch notes](https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#heap-size-settings) : 
```
By default, Elasticsearch automatically sets the JVM heap size based on a node’s roles and total memory. We recommend the default sizing for most production environments.
```

* Update nginx conf to TLSv1.3 and IPv6

* Replace nginx proxy by native https server

Kibana now provide https web server, remove the nginx proxy part and directly use kibana

* Fix typo

* Add infos how to login to kibana

* Add interface details
2022-12-23 18:12:39 -05:00
Anael Mobilia 69c2c6bdb6 Add details on virtualenv / package installation (#361) 2022-12-23 18:10:35 -05:00
Anael Mobilia 7c349fe97e Add contrib component requirement on Debian (#360) 2022-12-23 18:09:52 -05:00
Sean Whalen 49f9d75413 Add publish-docs.sh 2022-10-04 18:45:57 -04:00
Sean Whalen b86365225e Merge remote-tracking branch 'refs/remotes/origin/master' 2022-10-04 18:43:17 -04:00
Sean Whalen dde79c9e26 8.3.2
- Improvements to the Microsoft Graph integration (PR #352)
2022-10-04 18:42:32 -04:00
Nathan Thorpe 79d99d0b2e Fix issue with MS Graph batch size, scopes, and exception logging improvements (#352)
* log the stack trace when handling an exception

* fix issue when batch size is not supplied, raise error on fetch_messages

* fix unused var

* initialize graph client with scopes,

* add check for status code
2022-10-04 18:11:01 -04:00
Pierce 126bab1c3b Fix screenshot in README.md (#353) 2022-10-04 18:09:42 -04:00
Sean Whalen 4a607420a7 Fix list formatting in docs 2022-09-10 15:16:02 -04:00
Sean Whalen be4c236d69 Use hatch when testing building packages 2022-09-10 14:43:15 -04:00
Sean Whalen 4376b12c93 Remove sstcheck from tests 2022-09-10 14:39:08 -04:00
Sean Whalen 12e591255c Fix tests 2022-09-10 14:32:43 -04:00
Sean Whalen 6ccc827e4c Fix Python tests in GitHub 2022-09-10 14:16:17 -04:00
Sean Whalen 132bcde655 Update vscode settings 2022-09-10 14:03:41 -04:00
Sean Whalen 6540577ad5 Convert docs to markdown 2022-09-10 12:53:47 -04:00
Sean Whalen 26f43b3315 Fix build 2022-09-09 17:50:51 -04:00
Sean Whalen 1e0fa9472c Fix build 2022-09-09 16:46:57 -04:00
Sean Whalen 475b89adb0 Fix build 2022-09-09 16:44:21 -04:00
Sean Whalen de3002db8b Fix Docker build 2022-09-09 16:36:03 -04:00
Sean Whalen d2da6f30af 8.3.1
- Handle unexpected xml parsing errors more gracefully
2022-09-09 16:22:43 -04:00
Sean Whalen 10e15d963b 8.3.1
- Handle unexpected xml parsing errors more gracefully
2022-09-09 16:22:28 -04:00
Dave Rawks 84a7386726 Handle unexpected xml parsing errors more gracefully (#349)
* updates `parse_aggregate_report_xml` to not raise an unhandled
  exception on parsing errors
* adds an empty xml file to the aggregate test samples
* adds test for coverage
* Resolves #348
2022-09-08 18:23:34 -04:00
Sean Whalen 9d739ccd65 PEP 8 code style fixes 2022-09-03 10:28:45 -04:00
Sean Whalen 4f53894ce1 PEP 8 code style fixes 2022-08-19 14:12:26 -04:00
Dominik Bermühler 1d1f9e84b0 Logging silenced if parsedmarc is used as Library (#344)
By default, libraries should not configure their logger to give the developer, who is using the library, the freedom to decide how log messages are logged. For this reason no handler other than the NullHandler or log level should be set by the library.

For more information about this topic see here: https://realpython.com/python-logging-source-code/#library-vs-application-logging-what-is-nullhandler
2022-08-19 13:54:52 -04:00
Justus Piater 11c151e818 replace dateparser with dateutil (#331)
fixes #298
2022-08-19 13:53:20 -04:00
Cody Cutrer d1da40bab7 add config option for setting check_timeout (#343) 2022-08-19 13:51:08 -04:00
Cody Cutrer 046a7885ea support custom port for gmail oauth2 local server (#341) 2022-08-19 13:50:18 -04:00
vk2muf bddc2adb9c Update Grafana-DMARC_Reports.json (#335) 2022-08-19 13:49:40 -04:00
Cody Cutrer 4e8c74599b append to output files if they already exist (#342)
* append to output files if they already exist

instead of overwriting them. fixes #226

* save output with each successive watch result

possible now that it appends to the output
2022-08-19 13:49:16 -04:00
Nathan Thorpe b15425f50e Add Graph credentials cache and fix issue with batch size (#334)
* implement token cache for Graph API

* fix case when username isn't defined (device code)

* add batch size when listing messages from Graph API

* fix string concat
2022-07-21 13:43:21 -04:00
Sean Whalen 315b99f95a Resolve Sphinx warnings 2022-06-20 10:46:54 -04:00
Sean Whalen f070ee95c3 Update build.sh to work with newer versions off rstcheck 2022-06-20 10:40:20 -04:00
Sean Whalen eda5726652 8.3.0 release
- Support MFA for Microsoft Graph (PR #320 closes issue #319)
- Add more options for S3 export (PR #328)
- Provide a helpful error message when the log file cannot be created (closes issue #317)
2022-06-20 10:32:50 -04:00
Sean Whalen 5ab649cf8c Code style fix 2022-06-20 10:22:25 -04:00
Sean Whalen ae8c587aed Provide a helpful error message when the log file cannot be created
Close issue #317
2022-06-20 10:15:35 -04:00
Sean Whalen 3850c7bdc4 Code style fix 2022-06-20 10:00:53 -04:00
William Desportes 9381381f40 CI improvements (#327)
* Add permissions on GitHub workflows tokens to avoid misuse and leak

* Bump docker actions

* Bump elasticsearch version
2022-06-20 09:49:43 -04:00
William Desportes a496b4e42a Fix documentation typos (#326)
Fixes: #325
2022-06-20 09:48:14 -04:00
William Desportes 9671a49166 Implement new settings for s3 (#328)
* Fix s3 path documented as an int

* Implement new settings for s3 storage
2022-06-20 09:47:29 -04:00
Sean Whalen 6354c9bce7 Close file object before raising exception
Hopefully resolves #321
2022-05-16 22:00:25 -04:00
Nathan Thorpe 9d05fe776a Add message about scoping shared mailboxes when using MSGraph ClientSecret auth (#322)
* Add message about scoping to shared mailboxes

* disable resolve entities in Xml Parser
2022-05-14 14:14:42 -04:00
Sean Whalen 0e6e6c31c0 Merge branch 'master' of https://github.com/domainaware/parsedmarc 2022-05-14 13:16:03 -04:00
Sean Whalen 31821bcfd9 Remove pypy guide until #321 is fixed 2022-05-14 13:16:00 -04:00
Nathan Thorpe 9bf4e75e0e Implement Device Code and Client Secret auth flow for MS Graph (#320)
* implement DeviceCode and ClientSecret auth flow for MS Graph

* update readme for MS Graph auth method additions

* add warning to msgraph config setup
2022-05-14 12:58:22 -04:00
Sean Whalen ed39c7d89e Update documentation 2022-05-13 17:11:05 -04:00
Sean Whalen 1b443b8843 Revert "Set default batch size at the config, not the function"
This reverts commit c5a624274c.
2022-05-13 10:40:32 -04:00
Sean Whalen c5a624274c Set default batch size at the config, not the function 2022-05-13 09:50:14 -04:00
Sean Whalen 4018e828e9 8.2.0 release
- Support non-standard, text-based forensic reports sent by some mail hosts
- Set forensic report version to `None` (`null` in JSON) if the report was in a non-standard format and/or is missing a version number
- The default value of the `mailbox` `batch_size` is now `10` (use `0` for no limit)
2022-05-10 21:01:41 -04:00