Commit Graph

963 Commits (b604203f2f027b84ac0619f92a43ed4851ef472b)

Author SHA1 Message Date
iglocska 71d36b9c64 Several issues fixed
- MYSQL.sql file now correctly includes the task entries
- GenerateCorrelation admin task is now a background job
- Organisation of events pulled now get the org in the server object as the owner instead of the one who initiates the pull
- Small fix to wrapping text in the pivot graph
2014-11-27 14:47:13 +01:00
iglocska dc98d6f1d3 Some freetext import tweaks, fixes #330, fixes #334
- freetext import now optionally allows setting the comment field
- removing rows in the freetext import result redirects to the event view if all rows are gone
2014-11-25 15:56:32 +01:00
iglocska 7c6000ec21 Incorrect flash message on successfu freetext import fixed, fixes #322 2014-11-25 13:40:24 +01:00
iglocska 2c7b7415b9 Improvements to the attribute search
- case insensitivity
- tag searches

also, generatecorrelation is now a background job
2014-11-20 10:40:24 +01:00
iglocska aa492066d8 Diagnostics check fails on PGP check if the server's key is a sign only key 2014-11-14 13:12:40 +01:00
iglocska 9b935d14ce Added flag to mimic the quickfilter of the event view to the API
- search on any sub-string match in the event info, orgc, attribute value, attribute comment via the API
2014-11-03 09:55:44 +01:00
iglocska 7fcbca5a7d Quick filter tool, some further tweaks to the filters
- quick filter on the event index
- finds events with a sub-string match on event info, orgc, attribute value, attribute comment
2014-10-31 14:44:10 +01:00
iglocska 6fba4308af Added new functionality to the filters
- users can now search on attributes
- attribute search returns any event that has a a sub-string match on the entered attribute
- can also be used to negate (e.g: don't show me any events that have a sub-string match on any of its attributes)
2014-10-30 15:07:57 +01:00
iglocska a98dd9b489 Fix to the STIX export fixes #311 and a temporary fix to an OpenIOC import issue
- STIX export had 2 issues as pointed out by RichieB2B:
    - Incorrect name assigned to incidents due to copy-pasta fail
    - Historyitems incorrectly handled

- For the OpenIOC import:
    - Mapping DnsEntryItem/Host to hostname
    - Mapping of hostnames to Network activity failed due to incorrect capitalistion
    - Temporarily removed the ignore function on certain indicators. Ignoring an element in an AND-ed branch happens without a pruning of the element IDs
2014-10-30 10:30:55 +01:00
iglocska 4568589044 File management added and various small changes
- Important! Logo images have now moved to a different location! Make sure that you update your settings!
- Site admins can now manage the uploaded image files and the terms of use file via the server settings interface
- add, link, delete files directly from the interface
2014-10-29 15:20:30 +01:00
iglocska 15fa296fdb Update to the terms and conditions
- use terms file as before if nothing else specified
- specify a file in the app/files/terms directory via the server settings tool
- specify whether to show it inline or create a download link for users instead
- by default everything is the same as before, except that the MISP installation path is no longer exposed by a non-existing terms file
2014-10-28 15:11:40 +01:00
iglocska 035dfc8b12 Made the version check exclusive to the diagnostics tab 2014-10-27 17:21:57 +01:00
iglocska 6d73409b90 Version check tool added
- check the latest tag on github and compare it to the local version
- from here on all hotfix, minor, major releases should be tagged apropriately.
2014-10-27 16:03:43 +01:00
iglocska d0b441132b Fix to the capitalisation in the user index filter and fix to the scripts tmp folder not being created on git clone 2014-10-24 14:17:58 +02:00
iglocska b7da6019f1 Further work on the manual, fix to the user filter 2014-10-23 14:09:50 +02:00
iglocska def146b7a5 Merge branch 'hotfix-2.3.10' 2014-10-22 13:17:22 +02:00
iglocska c8cc55b243 Fix to the filters 2014-10-21 10:29:14 +02:00
iglocska 2ed9c18068 Fix to the filters 2014-10-21 10:27:55 +02:00
iglocska e6e72e7f29 Fix to the filter 2014-10-21 10:10:36 +02:00
iglocska 504527d36b Fixes to the proposal ajax mechanism for newer cakephp versions 2014-10-15 15:39:28 +02:00
iglocska de4ec4885a Fix to the previous patch 2014-10-13 13:51:27 +02:00
iglocska 1abfe6120d Fixes issues with the event filters
- tags not filtered correctly
- status bar showing current filters now shows actual strings for tags / analysis / distribution / threat level instead of the IDs
2014-10-13 13:47:58 +02:00
iglocska c2a4a993ba Incorrect script tmp directory checked in the health tool 2014-10-07 15:55:40 +02:00
iglocska 45cb52ca3f Cleanup of the worker health tool 2014-09-26 14:28:52 +02:00
iglocska e6bf73761e UI redesign of the template and worker health
- UI of templates a bit clearer
- Worker health tool added to the server settings tool
2014-09-24 15:35:25 +02:00
iglocska eac25e3d3a Added the option to take ownership of an event uploaded via the Add MISP XML button
- server setting has to be enabled to allow for this
- can cause issues if the event gets synchronised with an instance that has a different creator organisation for the same event
- it is recommended not to use this, but in some cases it can be very helpful - the setting for it in the configuration is called MISP.take_ownership_xml_import
2014-09-15 12:30:26 +02:00
iglocska fa367febfa Download of the settings/diagnostics results implemented
- Should help with trouble shooting, administrators can now download a json file containing all the settings and issues shown by the tool.
2014-09-11 11:30:32 +02:00
iglocska 1058e418b9 Added the new server settings to the menues 2014-09-11 10:07:06 +02:00
iglocska 34cc73b21a Several changes for the diagnostic tool
- Added extra diagnostic tools
2014-09-10 16:55:34 +02:00
iglocska b178358f2a Default config.php added 2014-09-10 11:48:48 +02:00
iglocska 2521106254 Reworked the server settings for boolean settings and settings that have a few options as values.
- Toggles instead of free-text
2014-09-10 10:37:58 +02:00
iglocska 79127902b7 Cleanup, MISP health tool
- cleanup of a lot of deprecated settings
- tool to help assess and alter issues with the instance settings
- new mechanism to store settings
2014-09-10 09:43:22 +02:00
iglocska 5a993dc120 Changes to the exports, fixes #285
- XML export was slow, replaced SimpleXML with a simple script that outputs XML for massive performance gains
- New option in bootstrap to allow the cached XML export to also include the attachments
- CSV caching slightly rearranged, it's much more memory efficient now
- Some fixes to relatedevent orgs being shown even if showorg is disabled
- Added a new site admin action to generate several 3k events for load testing (slow)
2014-09-02 15:56:28 +02:00
iglocska 6206cdc619 Some minor changes to the event index
- Tags are now fully shown on the event index
- can be enabled via bootstrap (the Configure::write setting is in the bootstrap.default.php file)
- shorthand distribution names
- narrowed some of the fields down
2014-08-28 16:29:30 +02:00
iglocska 83369da25a Several fixes including compatibility with the STIX to_xml() performance fix
- STIX export performance greatly improved thanks to 84ce8d8be6376797053668d68e1b863713f008dd
- some junk removed
- fixed some minor pagination issues on the event view
- site admin dummy event creator now has target-* type attributes
2014-08-28 14:27:45 +02:00
iglocska 6874846ea4 Merge branch 'hotfix-2.2.38' into develop 2014-08-28 10:17:51 +02:00
iglocska e5806906ed Fixed authored date format, closes #283 2014-08-28 10:17:00 +02:00
iglocska 617f5a7add Import from OpenIOC now includes the original file as an attachment, fixes #157 2014-08-22 10:30:29 +02:00
iglocska be00fbebff Publishing now immediately sets the event to published. A failed push will keep the event published, but it will note that it failed in the jobs / flash message. 2014-08-21 16:53:03 +02:00
iglocska 7e2b8ceb85 Show the number of events for each tag in the tag index 2014-08-20 14:55:10 +02:00
iglocska 08b2db6895 Small permission change 2014-08-20 10:10:31 +02:00
iglocska 0fd92e6f50 Index filtering made more generic, added to users 2014-08-20 10:06:43 +02:00
iglocska 4e613bb049 Added the option to export the event info field with each attribute in the csv exports 2014-08-19 10:33:10 +02:00
iglocska e7dc801088 Merge branch 'develop' of https://github.com/MISP/MISP into develop 2014-08-19 08:44:39 +02:00
iglocska c535b940ab Merge branch 'feature/proposalfix' into develop 2014-08-19 08:43:24 +02:00
iglocska 7ec4457802 Typo causing the pushed proposals to have an incorrect "old_id" field 2014-08-18 15:51:01 +02:00
iglocska 2b85d1861d Publish button now loads a popover similar to the attribute delete buttons 2014-08-18 15:05:56 +02:00
iglocska 03e43e9824 Failed e-mails don't break the proposal creation any longer 2014-08-18 13:30:18 +02:00
iglocska 25c708f78a Small tweak to the contributor field
- no need for a LIKE in the comparison, should make it slightly faster
2014-08-15 12:36:45 +02:00
iglocska 63cebad0b7 Merge branch 'hotfix-2.2.36' into develop
Conflicts:
	app/Controller/AppController.php
2014-08-14 17:29:21 +02:00
iglocska 1e6c9e662f Fixes authentication issues for some exports
- some exports did not allow users to authenticate via passing the auth key through the header
2014-08-14 17:26:40 +02:00
iglocska 22c1552bcc SQL scripts, some UI chnages
MYSQL.sql and upgrade_2.3.sql updated
Fixed incorrect proposal counts showing up due to attributes that are flagged for deletion also being counted
Added some extra fields to the view proposal view to make it more useful
2014-08-14 14:45:21 +02:00
iglocska 483827af15 Same as the previous commit, only for the freetext import tool 2014-08-14 14:14:06 +02:00
iglocska 35ba6321dc Various improvements with the way events are unpublished after changes
- UI improvements, events appear unpublished after ajax queries that alter attributes
- Events get unpublished by the attribute replace tool and template population as they should
2014-08-14 14:08:55 +02:00
iglocska bd6b206ac5 Further work on the sync
- changed the pull implementation for proposals
2014-08-14 11:33:33 +02:00
iglocska bde4ad074d Permission fix to the event filters
Users could only choose their own organisation in the org filter due to an overly restrictive filtering of the available options. Relaxed to all organisations that have an event that is visible to the user.
2014-08-13 10:19:00 +02:00
iglocska 97358a405e Proposal package now correctly saved on the far end 2014-08-12 18:05:26 +02:00
iglocska 9799c1d9dd More work on the sync fix 2014-08-12 17:25:09 +02:00
iglocska 6bca13b3e5 Further work on the sync fixes 2014-08-12 15:35:32 +02:00
iglocska 8b16f0cf18 Push now also only does a differential push
- send uuids of events to be pushed together with timestamps to the other instance
- other instance removes events that are already up to date or locally created from the array
- sends the remaining uuids back
- first instance initiates the push of events that were not filtered out
2014-08-12 11:54:00 +02:00
iglocska e6c28fe69a Futher work on the proposal sync 2014-08-11 16:40:09 +02:00
iglocska 1bbf678f70 Further changes 2014-08-11 16:26:49 +02:00
iglocska 99c04afa85 First round of fixes 2014-08-11 15:11:57 +02:00
iglocska 559b39ceb5 Reworking of the event filtering 2014-08-08 15:28:37 +02:00
iglocska 8e987bee67 Made thread title clickable in event discussions fixes #270 2014-08-06 14:37:19 +02:00
iglocska 90a5832638 Performance 2014-08-06 13:40:23 +02:00
iglocska de9affda91 Small performance improvement
The contributor field in the event view is evaluated based on proposal log entries from the log table affecting the current event. In order to improve performance, the LIKE check for the event ID is moved to the last argument in order to avoid parsing rows that could be ignored by the other arguments quicker.
2014-08-06 11:16:27 +02:00
iglocska 3da49c964b Fixed broken AJAX queries in MISP as a result to changes in cakephp 2.4.8+
A change in cakephp version 2.4.8+ has resulted in ajax form submitions breaking. Reason for this was a change in the SecurityComponent taking the url specified in the form into account when generating the CSRF tokens.

This is now fixed by embedding the correct url in the ajax forms.
2014-08-06 10:02:52 +02:00
iglocska 83d5e191fc Updates to the STIX export 2014-08-04 18:07:15 +02:00
iglocska 23bc4127bf Merge branch 'feature/stix_export' into develop 2014-08-01 15:29:49 +02:00
iglocska 2915be5020 Download stix xml / json result 2014-08-01 15:22:39 +02:00
iglocska 167e5e43a3 First version of the STIX export implementation
- currently to_xml() has performance issues, if it's not resolved fast, it would be a good idea to move the export to the background workers

- some UI changes
2014-08-01 14:14:20 +02:00
iglocska c64d6a8c93 same org / site admin restriction on freetext importer added 2014-07-19 16:25:43 +02:00
iglocska 61d2fe54ff Start of the stix export tool 2014-07-19 16:24:25 +02:00
iglocska ab5b9a9dae Several features finished
- first version of templating system complete
- first version of freetext importer complete
- first version of mass attribute replace tool complete

- some UI changes
2014-07-19 15:09:37 +02:00
iglocska 893ef5a129 Freetext import tool
Added freetext import tool
2014-07-10 17:02:19 +02:00
iglocska 029ef252a2 Some fixes to the templating
- resolved bugs with permissions
- fixed the broken mass delete tool
- Fixed an issue with the type not being chosen correctly for file type attributes when created through the templating tool
2014-07-08 11:31:23 +02:00
iglocska 45d826a252 First version of the templating feature complete
- still needs some refinement, but it's feature-complete
2014-07-02 16:20:19 +02:00
iglocska 9bede8e1b4 Further work on the templates 2014-06-25 09:56:33 +02:00
iglocska a4a987e027 More work on the templates
- Templates can now be created and populated
- Users can populate an event using a template (still needs work)
- File type elements are not yet implemented
2014-06-19 08:44:35 +02:00
iglocska 7b3f578025 Further work on the templating system 2014-06-12 13:59:54 +02:00
iglocska f4e5c22865 Work on the templating system
- create a basic template
- add text elements to the template
- rearrange elements
2014-06-10 15:18:49 +02:00
iglocska 7f2df6503e Fix to an incorrect check for privileges in the event deletion 2014-06-06 10:45:53 +02:00
iglocska 19b4a2ae37 Fixes to several ajax related issues
- malware samples / attachments couldn't be downloaded
- links weren't actually links

- deleting an attribute / shadowattribute now opens a custom confirmation dialogue. This is also where the CSRF tokens are generated for the post request to execute the delete, resulting in a faster event view load
2014-05-09 23:12:51 +02:00
iglocska ef07046739 Fix to several permission issues 2014-05-07 17:16:19 +02:00
iglocska be9196c339 Merge branch 'hotfix-2.2.30' into develop 2014-05-06 17:11:40 +02:00
iglocska 83315ac70a Attributes not edited correctly when pushing an edit through REST api if the event came from a manual export
- fixed
2014-05-06 17:10:30 +02:00
iglocska aca5225a06 Merge branch 'hotfix-2.2.29' into develop 2014-05-06 16:02:11 +02:00
iglocska d56ca766e8 Fixed a copy paste fail in the previos commit 2014-05-06 16:01:31 +02:00
iglocska 35ba964354 Merge branch 'hotfix-2.2.29' into develop 2014-05-06 15:23:24 +02:00
iglocska 5f5369e930 Better feedback from edits to events failing via REST api.
- also, site admins can edit events regardless of who the orgc is via the REST api.
2014-05-06 15:21:52 +02:00
iglocska 62987fc667 Merge branch 'hotfix-2.2.27' into develop 2014-05-06 08:53:43 +02:00
iglocska 8f3fc159fb Events directly exported from MISP and imported to another instance failed on edit, fixes #259
- Events exported were enclosed in a <response> tag, which the sync automatically filters out, but a manual export and import would fail on edits

- added a conditional that removes the <response> tag if an event is encapsulated in a request to the edit method
2014-05-06 08:51:29 +02:00
iglocska de36f83677 Merge branch 'hotfix-2.2.25' into develop 2014-05-05 12:14:01 +02:00
iglocska 04e7220936 Fixed an issue with an incorrect timestamp comparison for attributes, allowing the update of an attribute with an older version 2014-05-05 12:12:02 +02:00
iglocska ea5b4c4468 Fix to site admins not being allowed to edit attributes 2014-05-05 10:13:40 +02:00
iglocska 291892be05 Merge branch 'develop' into features/ajaxification
Conflicts:
	app/View/Elements/img.ctp
2014-05-05 09:56:42 +02:00
iglocska 8dc797dc39 Clearer disctinction between proposals that belong to an attribute and proposals to an event 2014-05-02 15:19:15 +02:00
iglocska 14976bd7bb Ajaxification of the event page done also, replaced histogram in memberslist
- AJAX requests now also respond with a small message at the bottom of the page, notifying the user of the result
- The following actions work now on the event page via ajax:

1. Add / remove tags
2. quick edit any attribute field if eligible
3. quickly create a proposal of any attribute field if not eligible to edit
4. popover attribute creation (also works with batch add)
5. popover proposal creation (also works with batch add)
6. delete attributes
7. accept/discard proposals
8. mass edit / delete attributes

Also, replaced the old memberslist, with a small lightweight css/js based one.
2014-05-02 14:29:15 +02:00
iglocska 4b31c3c497 Merge branch 'hotfix-2.2.24' into develop 2014-04-30 11:01:05 +02:00