- Jan 31, 2019
-
-
Jan Mach authored
The database migrations for IDEA event database *mentat_events* are now implemented. I have moved this issue to the next release, because there is code already merged in the current development branch that depended performing the migrations on target system. It was a choice of either removing that commit, or going forward with implementation. I have decided to implement it immediately, because this issue is blocking many more features. The implementation is again based on Alembic tool, which is already being used for migrations on mentat_main metadata database. It is however separatelly configured instance, merging both instances into single one would require considerably more amount of research and work. I have also updated accordingly manual pages regarding installation and upgrading. Very important bit of information was stamping the database with latest migration revision after clean installation. (Redmine issue: #4230)
-
- Jan 21, 2019
-
-
Jan Mach authored
Certain key categories (IPs, abuses, ...) in pie chart dataset tables have associated context search actions that provide user with ability to quickly search different parts of the application. (Redmine issue: #4321)
-
- Jan 16, 2019
-
-
Jan Mach authored
Various secondary statistics like counts, minimums, maximums and sums were pre-calculated together with regular statistics. These operations do not make sense anymore from multiple point of views: - They are not used during chart generation anymore, because these values are calculated by JavaScript code. - They do not make sense during merging statistical data, because they produce incorrect results anyway (for example without knowing the exact omitted values it is not possible to calculate the counts, averages, minimums etc.). (Redmine issue: #4321)
-
- Dec 20, 2018
-
- Dec 19, 2018
-
- Oct 12, 2018
-
-
Jan Mach authored
The handle attribute was designed to allow unauthenticated access to reports by knowing the secret token. This however turned out to be redundant, because the report label already contains random component, so it can not be guessed and can therefore be used as access token. (Redmine issue: #4242)
-
Jan Mach authored
- Oct 11, 2018
-
-
Lukas Hutak authored
Newly added cache allows multiple instances of Enricher module to share results of PassiveDNS queries. As a result, it leads to fewer queries and faster processing of IDEA messages.
-
Lukas Hutak authored
Cache service behaves like a dictionary with automatic record expriration. The same cache can be shared by multiple indepented processes at time.
-
- Oct 03, 2018
-
-
Created more IDEA message validation rules for validation instance of mentat-inspector.py to detect more errors. (Redmine issue: #3387)
-
- Sep 25, 2018
-
- Sep 21, 2018
-
-
Jan Mach authored
(Redmine issue: #4307)
-
- Sep 20, 2018
-
-
Jan Mach authored
It was possible for the reporter to attach files of any size to the report. The MTA then complained for the message being too big and refused to mail it. Now it is possible for each group co configure maximal attachment size limit (defaults to 10MB). Attachment files exceeding this limit will not be added to the report and user will be informed in the email text to download it from the server. (Redmine issue: #4232)
-
Jan Mach authored
With future improvements of database schema there must be a mechanism for performing database migrations. Problem is we have two databases, one accesed via SQLAlchemy and the second directly via Psycopg2. I have selected to use Flask-Migrate plugin built on top of Alembic to perform metadata database migrations. (Redmine issue: #4230)
-
- Sep 18, 2018
-
-
Jan Mach authored
(Redmine issue: #3387)
-
- Sep 17, 2018
-
-
Lukas Hutak authored
* Created a new base class for PassiveDNS connectors with record caching support * Modified EML connector to be based on the new base class * Added a new connector for PassiveDNS provided by CESNET z.s.p.o. * Added a new plugin for CESNET PassiveDNS API
-
- Aug 13, 2018
-
-
Jan Mach authored
Based on the feedback from users it is much more usefull to display timestamps in event report sections in format that can be copied and directly used in third party systems instead of adjusting the localized display. New Jinja2 function was implemented to provide this new feature in report templates.
- Aug 09, 2018
-
-
Lukas Hutak authored
The plugin performs PassiveDNS lookup of all Source IP addresses in an IDEA message using "The Email Laundry" API. For each IP address it tries to find known domains within a specified time period and enriches the IDEA message.
-
- Aug 02, 2018
-
- Jul 30, 2018
-
- Jul 27, 2018
-
-
Jan Mach authored
Feature: Added event reporting statistics to mentat-informant.py and done big overhaul of the whole module. The mentat-informant.py module was redesigned to the liking of mentat-reporter.py module in terms of configuration options and general code design. The event reporting statistics section was added to the report emails to inform recipients, well, about event reporting statistics. (Redmine issue: #3377)
- Jul 25, 2018
-
-
Jan Mach authored
* Tweaked report templates: made Count column more narrow, aligned Count title to right to correspond with column value. * Fixed translation typo. * Fixed displaying report messages in web interface (message content must be escaped first to display characters like < and >. (Redmine issue: #3378)
-
- Jul 24, 2018
-
- Jul 20, 2018
-
-
Jan Mach authored
* Enhanced data model for reporting settings to contain timezone selection for generated reports. * Changed data model for reporting settings to allow Null values for many of the settings. In this case system default will be used. * Updated utility class for configuring reporting settings to enable use of new features mentioned above. * Updated utility class for configuring reporting settings to enable enforcing most of the values by administrator launching the reporting script. * Implemented new base form radio field that accepts empty option as valid. This enables implementing for example three state choices like True, False, None, which is great for some reporting settings. * Updated all Hawat views for working with reporting settings to use new features. * Enhanced reporter template built-in features, mainly for working with timezones. * Changed default reporter templates to output dates in chosen timezone. * Translated all new features to czech localization. The main result of this commit is, that each group can configure in which timezone it wants to have the dates in the report to be displayed. (Redmine issue: #3378)
-
- Jul 18, 2018
-
-
Jan Mach authored
(Redmine issue: #3387)
-
- Jul 17, 2018
-
- Jul 13, 2018
-