Commit Graph

53 Commits (4be80d39a80d4375dc80a45e43d8e67db0125793)

Author SHA1 Message Date
Jakub Onderka 7b0ebfae5c chg: [internal] PHP 7.4 is required, so we can remove hacks for older versions vol. 2 2024-01-14 17:35:25 +01:00
iglocska 03ccdbac70
fix: [restsearch] granular correlation parameter fixes 2023-10-06 15:32:48 +02:00
iglocska a3c728674f
chg: [event restsearch] exposed includeGranularCorrelations
- and also made it visible in the JSON output
2023-10-05 17:05:22 +02:00
Jakub Onderka 53c37bd66d fix: [api] Remove user_id from extensionEvents JSON export 2022-10-26 09:16:27 +02:00
Jakub Onderka bb9567f671 new: [UI] Allow to upload MISP event by pasting data to textarea 2022-05-29 16:21:25 +02:00
Jakub Onderka e6202e8078 fixup! new: [test] JSONConverterToolTest 2022-03-26 13:57:24 +01:00
iglocska cd3efdf225
chg: [JSONconvertertool] include cryptographic key 2022-03-13 15:12:05 +01:00
Jakub Onderka f9eeeed4fe chg: [internal] Make JSONConverterTool method static 2021-12-14 22:35:50 +01:00
Jakub Onderka 4cba4b3337 chg: [internal] Optimise JSONConverterTool 2021-10-18 09:04:06 +02:00
Jakub Onderka 439ec5cceb fix: [internal] Code cleanup 2021-08-23 17:03:44 +02:00
Jakub Onderka ed10d2089e chg: [internal] Generate event to TmpFile 2021-01-21 19:43:27 +01:00
Jakub Onderka 791dc9deab new: [internal] JSON stream convert 2020-11-17 19:28:59 +01:00
Jakub Onderka 2bbff9fb70 chg: [internal] Slightly optimise JSONConverterTool 2020-10-23 15:47:54 +02:00
mokaddem aba72c2a56
chg: [eventReport] Generic improvements and light integration with
fetchEvent and sync support
2020-09-17 15:06:55 +02:00
mokaddem 5b4cef3e6c
Merge branch 'feature/tags-deletion' into fix-update-tags-on-attribute-edit 2020-07-24 11:41:27 +02:00
iglocska 5ccf914278
fix: [json converter] fixed an issue if an expected key was not found
- was only accessible due to another bug, but it's more graceful either way
2020-05-06 09:30:26 +02:00
mokaddem 720aa4a7db
Merge remote-tracking branch 'origin/2.4' into feature/tags-deletion 2020-04-29 09:00:31 +02:00
iglocska 4bfcc3211b
new: [API] object level restSearch added
still WiP
2020-02-29 08:57:32 +01:00
Tom King 34c5570692 new: Allow for attribute tag deletion via Event or Attribute edit. Clean and return the attribute tags on response from editing an attribute, update code to remove legacy 2019-11-26 12:27:15 +00:00
iglocska c28314076b
fix: [API] massive performance boost for large events with many correlations
- the logic of the JSON converter was heavy and unnecesary
2019-10-04 12:26:49 +02:00
iglocska 57a6460d81 chg: [internal] JSONConverterTool's support for the deprecated showorg flag removed 2018-09-03 17:53:51 +02:00
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
iglocska c6fe2db137 fix: Added sightings to object attributes in the JSON output, fixes #3007 2018-03-07 13:03:01 +01:00
iglocska 10bd1f69c4 new: Allow requesting of misp standard format for the export modules
- just set the `require_standard_format` to true in the moduleinfo disctionary
2018-02-21 11:42:30 +01:00
iglocska 68f4833893 new: First version of the zmq reimplementation 2017-10-27 09:10:46 +02:00
iglocska df5daae664 chg: Further work on the objects
- view events with objects via the API
- Further improvements to adding objects
2017-07-02 22:42:44 +02:00
iglocska 926a16310c fix: meta field in galaxy cluster should be a dict even if empty in the JSON output, fixes #2280 2017-06-22 23:06:45 +02:00
iglocska 6d33845701 fix: Fixed a typo in the previous commit 2017-04-07 16:56:55 +02:00
iglocska dadd9b3c81 fix: remove sharing groups from json output if empty 2017-04-07 16:51:37 +02:00
iglocska 3b6807ef72 new: Rework of the restsearch APIs
- allows for alternate download types (supported for now: openioc)
- major refactor of the openioc export
- refactor of the CIDR tool
2017-03-31 19:27:34 +02:00
iglocska 7146652059 Merge branch '2.4' into feature/attribute-tagging 2016-12-26 23:30:21 +01:00
Iglocska 8f220378ce new: First RC of MISP galaxies 1.0 2016-12-06 15:52:20 +01:00
Andreas Ziegler 0e3fc2192e fix: export attributetags as Tag elements (like eventtags) 2016-09-29 16:53:04 +02:00
Iglocska 9b7191f878 fix: Don't show the org restriction of a tag in the event view JSON 2016-09-27 09:38:32 +02:00
Andreas Ziegler 25e52a6786 chg: remove some references to variables 2016-09-15 17:08:58 +02:00
Iglocska 01695e326a new: Added the metadata flag to the event restsearch API
- allows fetching metadata only without including attributes/proposals
2016-09-12 12:09:19 +02:00
Iglocska a129c34de0 fix: removed some useless loops, fixes #1231 2016-06-10 16:17:31 +02:00
Andreas Ziegler 1d06f25b38 chg: add newline character before EOF to non-minified (text-)files 2016-06-06 10:09:55 +02:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Andreas Ziegler 898ea1d97c remove whitespace (space/tab) from empty lines 2016-06-04 01:08:16 +02:00
Iglocska f4b7c101e5 chg: Attribute search download also offered as JSON, fixes #1035
- also added some convenience functions for JSON/XML collections in the appropriate export tools
- can start reusing them in other functionalities
2016-05-02 10:31:40 +02:00
Iglocska 968fb75165 Pretty print event JSONs 2016-04-18 10:06:16 +02:00
Iglocska 3c98d3fa9b JSON structure inconsistencies and bug, fixes #1065 2016-04-08 16:47:22 +02:00
iglocska 627f9abbd6 Fix to several issues with the sync and and an issue preventing the editing of events, fixes #788, fixes #784 2015-12-24 15:22:05 +01:00
Iglocska d433618c71 Also, enabled the filtering on pull
Merge branch 'master' into 2.4-beta

Conflicts:
	VERSION.json
	app/Controller/EventsController.php
	app/Lib/Tools/XMLConverterTool.php
	app/Model/Event.php
	app/Model/Server.php
2015-12-03 00:27:56 +01:00
iglocska 268c7683a0 Rework of the event add/edit
- allows for saving an event even if an attribute fails
  - logs attributes that fail validation

- same for edit

- add_misp_export updated with the above in mind
2015-12-01 15:39:12 +01:00
Iglocska 5dbbe84069 Merge branch 'master' into 2.4-beta
Conflicts:
	VERSION.json
	app/Controller/EventsController.php
	app/Controller/ShadowAttributesController.php
	app/Model/Event.php
	app/View/Elements/side_menu.ctp
2015-11-30 09:37:22 +01:00
iglocska 9eb5680ee8 Reimplementation of the Add XML feature
- called Add MISP export now
- can be an XML / JSON file
- result browser with explanations of failures

- REST XML/JSON add/edit of events returns errors instead of the partially succeeding event
2015-11-30 02:28:07 +01:00
iglocska ef1d3949e7 Merge branch 'master' into feature/sg
Conflicts:
	VERSION.json
	app/Controller/ShadowAttributesController.php
	app/Lib/Tools/JSONConverterTool.php
	app/Lib/Tools/XMLConverterTool.php
	app/Model/User.php
	app/View/Elements/eventattribute.ctp
2015-10-22 09:59:00 +02:00
Iglocska 7fab2ce2be Added the attribute relations to the XML / JSON output, fixes #687 2015-10-15 17:39:17 +02:00