Commit Graph

871 Commits (56c5b9c40976f9ff41e8b3c478f328c2dec0e490)

Author SHA1 Message Date
Jakub Onderka b6116098c0 fix: [security] Throw exception if invalid data provided 2020-08-05 12:39:11 +02:00
Jakub Onderka 84527d5de4 fix: [internal] Check `allow_disabling_correlation` before correlation toggle 2020-08-04 12:23:41 +02:00
Jakub Onderka 67a9d612d5 fix: [security] ACL check when adding or removing tags 2020-08-04 12:23:41 +02:00
Jakub Onderka 5611374829 fix: [security] ACL check when editing multiple event attributes 2020-08-04 12:23:38 +02:00
Jakub Onderka db626cf741 fix: [security] Respect ACL when event edit 2020-08-04 12:21:42 +02:00
mokaddem 6b384e40b1
fix: [attributes] Do not override unlockedActions anymore 2020-07-31 10:07:19 +02:00
mokaddem 3d224cfdb8
Merge branch '2.4' of github.com:MISP/MISP into fix-mass-edit-form-with-post 2020-07-30 15:29:20 +02:00
mokaddem 5e593240ce
fix: [attributes:massEditForm] Invalid conditions fixed and performances improvements 2020-07-28 10:58:05 +02:00
mokaddem 16ab8e50c1
fix: [attributes:massEditForm] Check if event exists 2020-07-28 10:15:31 +02:00
Jakub Onderka d7f7bc725b chg: [internal] Faster loading sighting 2020-07-28 09:50:28 +02:00
Jakub Onderka fa222e76f1 chg: [internal] Small controller cleanup 2020-07-27 23:17:45 +02:00
mokaddem 8ee87fb754
chg: [attributes:massEditForm] Pass attributes ids to be edited via POST
Fix #5500
2020-07-27 12:10:53 +02:00
mokaddem cda56bdbd3
fix: [attribute:editableFields] Typo in variable name 2020-07-24 16:19:02 +02:00
mokaddem f02c3f47a5
fix: [attributes:edit] Correct error previsouly merged when importing
code
2020-07-24 14:35:57 +02:00
mokaddem f53ba3675e
chg: [AttributeTags:handleAttributeTags] More generic way to handle
capture and association
2020-07-24 14:30:41 +02:00
mokaddem 5b4cef3e6c
Merge branch 'feature/tags-deletion' into fix-update-tags-on-attribute-edit 2020-07-24 11:41:27 +02:00
mokaddem d3f9184f21
fix: [attribute:edit] Prevent the edition of system reserved fields 2020-07-23 11:15:01 +02:00
mokaddem b3dbecb318
Merge branch '2.4' of github.com:MISP/MISP into galaxy-cluster2.0 2020-07-14 16:25:04 +02:00
Jakub Onderka 39f3acba34 fix: [internal] Remove unused CidrComponent and CIDRTool classes 2020-07-14 10:29:32 +02:00
mokaddem 38da0d2461
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-07-07 07:39:43 +02:00
Jakub Onderka 8253fd8fc6 fix: [UI] Attribute category select 2020-07-05 09:32:08 +02:00
mokaddem f3a9481c61
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-07-01 16:22:55 +02:00
iglocska 54543eb866
fix: [returnAttributes] remap small cleanup
- no need to set xml as returnformat, it's the default based on the injected params
2020-06-29 21:14:26 +02:00
iglocska 3eee52c92f
fix: [security] deprecated function with lacking ACL removed
- replaced deprecated, sharing group unaware, broken function with one that follows the documentation of the deprecated endpoint
- keeping it alive until we purge the deprecated ones in the move to MISP 3/next whatever

- Thanks to Jakub Onderka for reporting it!
2020-06-29 21:09:47 +02:00
mokaddem d14ce7de70
fix: [security] Insufficient ACL checks in the attachment downloader fixed
- Thanks to Jakub Onderka for reporting it
2020-06-29 14:10:23 +02:00
mokaddem c6557b58b9
chg: [galaxyCluster] Replaced `galaxyCluster->find` by its ACL-aware
counterpart where applicable - WiP
2020-06-17 15:01:23 +02:00
mokaddem 5c04b9a8c1
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-05-28 14:06:30 +02:00
Golbark c244c5c21a fix: allow_disabling_correlation not taken into account 2020-05-15 09:05:50 +02:00
mokaddem fcf5f7ffbd
fix: [attributes:edit] Do not required the distribution anymore 2020-05-07 13:34:00 +02:00
mokaddem 43d95e2212
fix: [attributes:add] Do not required the distribution anymore 2020-05-07 12:37:32 +02:00
iglocska e2bbece354
Merge branch '2.4' of github.com:MISP/MISP into 5802 2020-04-30 08:30:01 +02:00
mokaddem 720aa4a7db
Merge remote-tracking branch 'origin/2.4' into feature/tags-deletion 2020-04-29 09:00:31 +02:00
iglocska 30eeb4e39c
fix: [ACL] a private function was missing the __ causing the ACL checker to return it as an unmapped accessible function 2020-04-28 17:46:38 +02:00
iglocska a1810a313c
chg: [small changes] improve double loading of models
- some minor changes to improve performance slightly
- some i18n additions (weren't present before the PR either)
2020-04-28 15:42:58 +02:00
iglocska 1c3dc3fe51
Merge branch '2.4' into 5272 2020-04-28 15:31:17 +02:00
mokaddem f29474325d
fix: [attribute:edit] Prevent save for invalid sharing_groups ids 2020-04-20 09:49:12 +02:00
mokaddem a99c96adcf
fix: [attribute:add] Prevent save for invalid sharing_groups ids 2020-04-20 09:43:53 +02:00
mokaddem dd1be03597
Merge branch '2.4' of github.com:MISP/MISP into galaxy-cluster2.0 2020-04-09 14:26:48 +02:00
iglocska 150b5f7338
fix: [search] Fixed the UUID / ID searches on the attribute scope, fixes #5636 2020-04-01 23:14:29 +02:00
mokaddem 9b33476eed
new: [attributes:massEdit] Possibility to create proposals instead of
edit
2020-03-27 10:43:00 +01:00
mokaddem 04dcdebb1f
new: [galaxyCluster] Initial import of Galaxy2.0 codebase - WiP 2020-03-12 10:26:09 +01:00
mokaddem 8d11600e2b
chg: [tag] Support of untagging in Object's Attribute and other fixes
- deleted: 0 is correctly handled
- stopped usage of `editAttribute` from Attribute Controller
2020-02-27 11:17:21 +01:00
Tom King bee49f7028 Merge remote-tracking branch 'upstream/2.4' into feature/tags_deletion 2020-02-13 16:17:03 +00:00
Jakub Onderka ed6bb367e3 chg: [UI] Disable Advanced extraction button if it is not installed 2020-01-26 18:56:41 +01:00
Jakub Onderka 19808f2397 chg: [internal] Refactored AttributesController:add_attachment 2020-01-26 18:56:41 +01:00
mokaddem d16369f4b3
Merge branch '2.4' of github.com:MISP/MISP into pr-view_picutre 2020-01-24 10:42:35 +01:00
mokaddem 1e49cc6aab
fix: [attribute:search] Unset filtering rules on *_seen if unset 2020-01-23 14:14:14 +01:00
mokaddem 2a5112cc1e
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-final 2020-01-17 09:20:49 +01:00
mokaddem 7a33b90b59
fix: [attribute:quickEdit] Escalate the timestamp refresh to the Object 2020-01-16 11:08:41 +01:00
mokaddem 5c97c5da53
fix: [Attribute:editTag] Correctly escalate the timestamp refresh to the
Object
2020-01-16 11:02:56 +01:00
Tom King 0a4fbc80c5 Merge branch '2.4' into feature/tags_deletion 2020-01-14 10:03:44 +00:00
mokaddem be8d4048a0
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-final 2019-12-16 15:05:05 +01:00
Andras Iklody 4eb83ec245
Merge pull request #5341 from JakubOnderka/patch-68
chg: [internal] Faster loading list of attributes
2019-12-16 14:13:20 +01:00
mokaddem 7797aeed94
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-final
Not a simple merge. Needed to fix forms and simplified how
form_seen_input works
2019-12-16 13:36:01 +01:00
iglocska 28a2be67fc
chg: [UI] clown solutions 2019-12-10 11:35:23 +01:00
iglocska 838cbed729
Merge branch 'add_attribute_fix' into add_attribute 2019-12-10 10:50:17 +01:00
chrisr3d 478939b305
chg: [add attribute view] Controller changes for adding attribute 2019-12-10 09:28:54 +01:00
Will 997fc309a1
fix: (#5277) remove out of scope var causing weird behavior when adding an invalid attribute 2019-12-06 16:34:52 -07:00
mokaddem a1fdea754d
Merge branch 'zoidberg-timeline' into zoidberg-final 2019-12-06 15:40:51 +01:00
iglocska 1c5afa49ed
new: [refactor] Massive internal refactor and cleanup of deprecated APIs
- new centralised restSearch function in AppController as entry point via all controllers
- new component handling restSearch related support functions, such as parameter mapping
- hollowed out all deprecated export functions on the event/attribute controller
  - replaced with a new functionality that remaps them to restSearch
  - all functionality should be maintained with all additional advantages introduced with restsearch
- additional cleanup (some unused functions removed)
2019-11-29 10:11:30 +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 846b1989c8
fix: [API] fixed notice errors for compact() in PHP 7.3+ 2019-11-18 15:58:06 +01:00
mokaddem fde4073b1f
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-11-13 14:08:59 +01:00
mokaddem 5a38a33f9d
fix: [attribute:massTagging] Check for POST data in `post` code path.
Fix #5359
2019-11-13 14:07:50 +01:00
iglocska 7d7af8eb65
fix: [tagging] Events will be unpublished when a local tag is removed #5363 2019-11-13 14:07:12 +01:00
iglocska 11ee95aeb3
new: [API] Added attribute_timestamp flag to attributes/restSearch
Explanation of the 4 timestamp filters:
timestamp: Filters on attribute AND event timestamp
event_timestamp: Filters on event timestamp
attribute_timestamp: Filters on attribute timestamp
publish_timestamp: Filters on event.publish_timestamp
2019-11-11 14:43:47 +01:00
mokaddem f58770a90a
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-timeline 2019-11-05 13:51:03 +01:00
mokaddem be8f6f0bb0
fix: [Tag:exclusive] Code clean up 2019-11-04 15:46:53 +01:00
mokaddem c291ebfdee
chg: [attribute:addTag] Added support of `exclusive` at Attribute level 2019-11-04 15:12:55 +01:00
Jakub Onderka 6ed7126843
fix: [internal] Remove dead code from AttributesController 2019-10-20 20:32:00 +02:00
Jakub Onderka 0e3a3b3c6a
chg: [internal] Faster loading list of attributes 2019-10-20 14:03:35 +02:00
Jakub Onderka 3d81f769bb new: [UI] Show thumbnails at List Attributes view 2019-10-12 09:52:59 +02:00
Jakub Onderka b6627de944 fix: [internal] AttributesController::viewPicture can be used just for fetching images 2019-10-12 09:35:47 +02:00
Jakub Onderka 0ab8c5b48e chg: [internal] Remove unused code from AttributesController::index 2019-10-10 07:36:38 +02:00
mokaddem 015ec7d989
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-timeline 2019-10-08 14:12:38 +02:00
Pierre-Jean Grenier 79453652d6 fix: [AttributesController] Fix issues related to undefined variables 2019-10-04 15:34:18 +02:00
chrisr3d 461763e5e7
fix: [hover enrichment] Fixed variable name that caused issues with hover enrichment for more than 1 module called on 1 single attribute 2019-10-04 14:42:46 +02:00
mokaddem b44b369eec
Merge remote-tracking branch 'origin/2.4' into zoidberg-timeline 2019-10-02 14:35:00 +02:00
mokaddem bb3cf85776
Merge branch '2.4' into zoidberg-timeline 2019-10-02 11:23:04 +02:00
Antoine Cailliau 297be2ab31 Fixes #5244.
AttributeController->addTag was searching for attribute id
without flattening.
2019-10-01 09:43:29 +00:00
iglocska 13ce0e099a
fix: [UI] Loading of local tags fixed via the UI, fixes #5197
- over-zealous ACL removed local tags for non sync users
- UI only functionality, no need for the restriction at al
2019-09-20 15:59:20 +02:00
iglocska 4d0d538ba0
fix: [API] hard delete passable via different methods to /attributes/delete than just ordered URL parameters 2019-09-13 15:18:39 +02:00
iglocska 0f4613ebd3
fix: [internal] Fix post check for attribute delete function via the API 2019-09-13 15:13:09 +02:00
mokaddem 515f0572df
chg: [decaying] Added alias `score` to override on-the-fly the treshold
of a model
2019-09-06 14:55:12 +02:00
mokaddem 893dd617c8
chg: [attribute:restSearch] New paramter `includeFullModel` to attach
full model information
2019-09-06 11:32:54 +02:00
mokaddem cd5c9f7d1d
Merge remote-tracking branch 'origin/2.4' into decaying 2019-08-20 15:00:38 +02:00
iglocska bbd881d4f7
fix: [API] removed testing exception 2019-08-14 14:38:02 +02:00
iglocska 0a9219411f
fix: [API] Swapped error messages' content from "don't" to "do not" to avoid weird sanitisation artifacts coming from the exception handler 2019-08-14 14:33:20 +02:00
iglocska 0fd2466878
fix: [API] error message 2019-08-14 14:27:51 +02:00
iglocska 20a250ec6f
fix: [API] Attribute edit fixed 2019-08-14 14:24:41 +02:00
iglocska d7733102fe
Revert "Revert "fix: Fix error messages""
This reverts commit a12ea04a4c.
2019-08-14 14:17:58 +02:00
iglocska a12ea04a4c
Revert "fix: Fix error messages"
This reverts commit d501c56e5f.
2019-08-14 13:58:00 +02:00
Pierre-Jean Grenier d501c56e5f fix: Fix error messages 2019-08-14 13:31:32 +02:00
mokaddem 05fe5e18e8
chg: [decaying] Allow for model parameteres override 2019-08-14 10:48:13 +02:00
mokaddem 6ba45b27f8
Merge remote-tracking branch 'origin/2.4' into decaying 2019-08-13 16:32:58 +02:00
iglocska 14685c45fb
fix: [API] Further fixes to /attributes/add 2019-08-06 16:33:16 +02:00
iglocska edf0657a1d
fix: [API] Fixes to the new attribute add 2019-08-06 16:01:09 +02:00
iglocska 786d53d30b
new: [API] Attribute add rework - WIP
- handle attribute creation in a unified manner via captureAttributes
2019-08-06 15:55:16 +02:00
iglocska dcaebb8cc4
fix: [API] Consistency in returned attribute fields when modifying it 2019-08-05 15:31:43 +02:00
iglocska e5cfd152cf
fix: [local tags] Host org non admin users should be able to tag data owned by others, partially fixes #4925 2019-08-02 16:53:30 +02:00
iglocska 7003faa00c
new: [API] new parameters added to attributes/restSearch to include additional context, fixes #4935, fixes #4940, affects MISP/PyMISP#415
- includeSightings: include sightings for all attributes returned
- includeCorrelations: include the correlations to other attributes (includes a light-weight event object with each attribute)
2019-08-02 13:41:20 +02:00
iglocska 5d90a8ffc7
fix: [API] /attriutes/index fixed for non admin users 2019-08-01 11:12:59 +02:00
iglocska b83ac37ff4
new: [API] Allow adding tags via /attributes/add directly 2019-07-30 12:03:49 +02:00
mokaddem 791ef0d21c
chg: [decaying:rest] Renamed `decayed` into `excludeDecayed` for better
usability
2019-07-25 16:21:12 +02:00
mokaddem 28f080e581
new: [decaying:rest] Filtering out of decayed attributes 2019-07-25 16:13:42 +02:00
mokaddem e4cc20b054
new: [decaying] Partial API support - WiP 2019-07-25 15:45:33 +02:00
Bechkalo Evgeny 76d58e6e53 fix: some PostgreSQL issues
Closes: #3066, #3067
Fixes issues:
- wrong boolean and smallint conversion;
- postgresql table and field naming (field 1_event_id is wrong name for
field for example);
- postgresql grouping (you cannot select columns without grouping them);
- wrong checkbox rendering without keyword.
2019-07-23 11:17:56 +03:00
mokaddem e50f624894
fix: [tag:local] Allow users (with correct authorization) to detach
tags
2019-07-19 15:28:13 +02:00
chrisr3d 991337bd8d Merge branch '2.4' of https://github.com/MISP/MISP into 2.4 2019-07-12 10:46:08 +02:00
chrisr3d 5d39ec7144
fix: [hover enrichement] Fixed index in attribute
- Depending on the format of attribute passed to
  the function
2019-07-12 10:44:20 +02:00
mokaddem e1fef56c7f
chg: [attribute:edit] reverted useless line of code 2019-07-11 10:11:48 +02:00
mokaddem 2c57c1138e
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-timeline 2019-07-11 09:59:57 +02:00
iglocska ed401d88be
fix: [API] delete http requests properly accepted by some /delete endpoints 2019-07-10 11:57:21 +02:00
iglocska 2a059f7b31
new: [tags] Local tags feature added
- Create tags locally if you are a host org user that allows in-place tagging for sync / export filtering
- Events are NOT modified using these tags
- Local tags always get stripped before syncing
- Local tags allow host org users to violate the ownership model of MISP
- galaxies, attack matries also included

- some sync fixes
2019-07-08 11:39:41 +02:00
mokaddem 344f322a7d
chg: [attribute:restSearch] Added filtering conditions for first_seen
and last_seen
2019-07-04 13:51:36 +02:00
mokaddem d2b42b95ed
Merge branch '2.4' of github.com:MISP/MISP into zoidberg-timeline 2019-07-02 15:52:35 +02:00
mokaddem 0e209b610d fix: [attribute:*-seen] Force seconds to be integers and allows editForm
for *-seen fields
2019-06-13 15:12:59 +02:00
chrisr3d b7b4002fc7 Merge branch '2.4' of https://github.com/MISP/MISP into rework_modules 2019-06-13 14:16:39 +02:00
mokaddem e7f3d0d9df new: [timeline/*-seen] Initial import of the timeline code from the
zoidberg branch
2019-06-13 09:16:34 +02:00
mokaddem b3849655e0 fix: [attributes] Correctly pass the user object and renamed delete function 2019-06-12 11:56:42 +02:00
mokaddem fe4740abd9 fix: [object:fromAttributes] SYNC support for older instances
(duplicate attributes and their contexts)
2019-06-06 15:11:34 +02:00
chrisr3d 543dc04d7a Merge branch '2.4' of https://github.com/MISP/MISP into rework_modules 2019-05-23 14:45:07 +02:00
iglocska 02a3a9a384
new: [API] Added object_relation as a filter for both the event/attribute restSearch functions 2019-05-23 07:56:23 +02:00
chrisr3d 11da6855ce Merge branch '2.4' of https://github.com/MISP/MISP into rework_modules 2019-05-10 16:22:51 +02:00
iglocska 5ee6013dff fix: [API] Some fixes for the restsearch -> attack export 2019-05-10 14:41:50 +02:00
iglocska e899eb8b9d new: [ATT&CK] Added new export system for restsearch for ATT&CK
- Return the ATT&CK matrix data as HTML via the API
- Directly viewable via the REST client

- Greetings from the ATT&CK workshop @ Eurocontrol
2019-05-10 14:25:38 +02:00
iglocska 5c9332072f new: [API] Added includeWarninglistHits to the attribute search API 2019-05-09 17:25:39 +02:00
frpet 8cd4dceaf6 rpz: add missing rpz policy actions
Fix: Add two new policy actions added to RPZexport previously
2019-05-09 11:01:51 +02:00
frpet 38a64e0ba9 rpz: action policy rename (to Local-Data)
Rename action policy "walled-garden" to "Local-Data" as per the IETF draft (and other documentation for RPZ)
2019-05-08 15:54:34 +02:00
chrisr3d 34092b599f Merge branch '2.4' of https://github.com/MISP/MISP into rework_modules 2019-05-02 11:57:29 +02:00
4ekin 14feb57e2f fix: Typos in controllers 2019-04-29 16:12:55 +03:00
chrisr3d babcf776a3
wip: [hover enrichment] Passing new modules results to the hover enrichment view 2019-04-15 17:16:00 +02:00
mokaddem 352dc9c1a5 new: [thumbnail] Thumbnail are now saved on the disk, greatly improving
performance when viewing an event
2019-04-09 12:57:21 +02:00
iglocska 11856261ef fix: [bug] Fixed broken multi-attribute tagger 2019-04-08 15:16:33 +02:00
iglocska 76d14c00cb Merge branch 'thumbnail' into 2.4 2019-03-29 20:29:37 +01:00
iglocska b656448bc1 fix: [bug] Fixed a bug that caused attributes not to save via the UI 2019-03-25 13:30:31 +01:00
iglocska b519230f28 fix: [API] fixed adding malware-samples unencrypted with the encrypt key set, fixes #4355 2019-03-24 22:30:41 +01:00
iglocska f3d2b1d15a new: [tagging] Stop pre-populating forms for tagging / attaching of galaxies
- avoids any potential CSRF issues, the form is fetched just in time for the submission
2019-03-20 11:21:40 +01:00
mokaddem 2ac6d2434e chg: [viewPicture] Echo base64decoded data with GIF image type as php-gd does not support
animated gif.
2019-03-18 10:31:09 +01:00
mokaddem 7c40de3036 chg: [Attribute] Implemented Iglocska review
- Do not pass image data to the view anymore
- Improved conditions
- Added light support of gif
2019-03-18 09:59:54 +01:00
mokaddem 57f8a46129 chg: [viewPicture] Adaptative behavior if php-gd not loaded 2019-03-15 12:18:45 +01:00
mokaddem 1c367231b7 chg: cleanup 2 2019-03-13 16:15:52 +01:00
mokaddem 92af9e44b1 chg: clean-up 2019-03-13 16:14:14 +01:00
mokaddem 89191c6818 new: [Attribute] Added possibility to view and resize images. Added
php-gd dependency!
2019-03-13 15:58:28 +01:00
mokaddem 07002c7389 chg: [Attribute] Image thumbnail and view image 2019-03-13 13:58:37 +01:00
chrisr3d bacb4ecab5
wip: [hover enrichment] Started changing hover enrichment as well
- As for enrichment modules, it does not change
  the support of the current modules, and should
  not interfere with them either
2019-03-11 23:47:03 +01:00
Steve Clement f1f70ca996
Merge pull request #3827 from MISP/fix3819
Allow getting object attribute via rest query. fix #3819
2019-03-03 08:51:38 +05:30
mokaddem 3f292458ec chg: [attribute row] to_ids flag edition is done with a checkbox +
prompt.

Previously, was a select.
2019-02-26 16:24:01 +01:00
iglocska 3afc8cc304 fix: [API] Attribute edit error response fixes, #4221 2019-02-26 14:09:41 +01:00
mokaddem 3c8fdb2615 fix: typo parameter 2019-02-25 15:33:15 +01:00
wagena 8b9436d3fe Merge branch '2.4' into update-hover-ui 2019-02-20 09:06:36 -08:00
iglocska c754e3b967 new: [API] restsearch returns more information about the export system used via headers 2019-02-18 14:33:43 +01:00
wagena a3b6aa0ef6 chg: update hover UI
- add some logic to choose better hover placement
- make hover hide on outside click, to allow using the scrollbar to view
full hover
- add an icon in the hover tooltip to turn it into a popup
- move popup close button to better position
- group attributes for each module in hover UI
- prevent duplicate enrichment api queries once the first one is done
2019-02-13 08:19:57 -10:00
mokaddem 03639adaa7 fix: [massEdit] UI bug in the synonyms 2019-02-13 10:22:11 +01:00
iglocska 0d8bc39278 fix: [restsearch] CSV special parameters added to the URL parameters 2019-02-01 15:21:11 +01:00
iglocska 714a5a4141 chg: [restsearch] Improvements to the restSearch APIs to function better with URL parameters
- fixed returnFormat for events/restSearch
- added page and limit to the list of parameters
2019-02-01 07:56:56 +01:00
mokaddem 52e0bb9dae fix: [Tagging] Tagging an element with multiple tag collection works as
expected.

Previously, it would only add the latest tag collection
2019-01-29 14:51:04 +01:00
iglocska c8d2c66a79 fix: [api] attirbutes/restSearch forced json format by mistake, fixes #4064 2019-01-29 11:12:25 +01:00
mokaddem b95afe4ea4 chg: [generic_picker] Improved the way option templates/data are passed
to the view (now done by JS only)
2019-01-28 14:47:49 +01:00
iglocska 00aff33769 fix: [restsearch] Added returnformat to URL parameters
- attributes/restSearch was additionally missing the published filter
2019-01-26 10:16:33 +01:00
mokaddem 1a2edf05b1 chg: [generic_picker] all view using the generic_picker now use the
generic_picker view elements - WIP
2019-01-22 16:02:01 +01:00
mokaddem 9357674c1f fix: [generic_picker] avoid having option's name as an array key 2019-01-18 15:03:24 +01:00
iglocska 32cc726006 chg: [cleanup] Removal of duplicate code 2019-01-18 11:56:36 +01:00
mokaddem 8a710ea367 Merge branch '2.4' into UISelector 2019-01-17 14:54:15 +01:00
mokaddem 4c6dd1d483 fix: [MassEdit] Prevent undefined clusters/tags if unset + enforce
attribute perms
2019-01-16 16:27:25 +01:00
mokaddem 0855152874 new/fix: [MassEdit] Allow addition/deletion of tags and clusters on selected
attributes + Lots of usage bug fixes
2019-01-16 16:00:34 +01:00
iglocska 2cbf4e37dd fix: [UI] notice error fixed for tag filters in attributes/search 2019-01-16 14:13:00 +01:00
chkp-aliaksandrt 4ec95ee47d
Fix of tagged attributes search, displaying tag name instead of numeric Tag ID
Closes #3977
2019-01-16 14:58:27 +03:00
iglocska 05e7d7159a fix: [attribute search] Trigger the result screen instead of the search form if the tags parameter is provided via the URL in a GET request 2019-01-15 23:29:43 +01:00
mokaddem bbdbd3b184 chg: [tagging] WIP - bulk tagging via generic picker on tag level 2019-01-09 14:19:14 +01:00
iglocska 515bf89766 fix: [tag collections] Fixed several bugs linking to the wrong tag collection when attaching them to an event/attribute 2019-01-01 19:20:49 +01:00
iglocska 8f9c6c1be6 Merge branch '2.4' into tag_collections 2019-01-01 17:38:32 +01:00
iglocska 760dbed37d new: [tag collections] First feature complete minimal version of the tag collection system 2019-01-01 16:38:57 +01:00
Dawid Czarnecki 534d5e24a6 Fix disabling correlations for single attributes 2018-12-18 13:34:48 +01:00
iglocska 47c9f6114e fix: [API] Attribute tags could be added by 3rd parties via the API
- fixed
2018-12-11 11:36:40 +01:00
Sami Mokaddem 3e8b96a13d fix: [attachement] prevent creation of empty event 2018-12-07 15:01:37 +01:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +01:00
iglocska 5220dcec72 new: [API] Various enhancements and fixes to the APIs
- Added result count to restsearch API via the x-result-count header
- Added the includeProposals parameter to the attribute level restsearch
- Readability of events controller improved
- Fixed a bug blocking malware samples from being added using /events/add when the encrypt=1 flag was set for raw sample inclusion
2018-11-23 13:44:19 +01:00
iglocska 4cd3811142 new: Various fixes to the reporting of validation errors for saving attributes
- view the failed/succeeded saves in batch imports, fixes #3866
- fixed a bug that inserted junk into the flash messages, fixes #3863
- fixed a bug that removed all but the last entry in a failed batch import #3865
2018-11-13 11:48:12 +01:00
iglocska d27b599515 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2018-11-12 12:03:29 +01:00
iglocska cfe934fb93 new: [search] Rework of the UI attribute search complete 2018-11-12 11:59:56 +01:00
iglocska 6acd4aeed2 chg: [search] Further progress on the attribute search UI 2018-11-10 19:05:58 +01:00
iglocska 7706bfa8ea fix: [API] better handling of trying to edit an attribute without permissions to do so 2018-11-07 15:22:00 +01:00
iglocska 31fbb30349 new: [enrichment] clickable popup changes
- new persistent flag passed to misp modules to differentiate it from hovering
- various UI changes
2018-11-07 11:26:08 +01:00
iglocska 493e7bbd36 new: [attribute search] Rework of the UI version of the search to unify the functionalities with the event view 2018-11-03 12:49:29 +01:00
mokaddem 34af3bc1cb allow getting object attribute via rest query. fix #3819 2018-10-31 09:31:57 +01:00
iglocska 6f9551e202 fix: [internal] Unneeded model initialisation for getDefaultAttachments_dir() 2018-10-18 20:10:11 +02:00
iglocska 24d84c8388 fix: [search] Multiple lines didn't correctly get parsed as separate values in the attribute search 2018-10-11 18:23:04 +02:00
iglocska 158d0580b3 new: [API] Added a new export that simply hashes all values with a requested hash format 2018-10-09 11:21:35 +02:00
iglocska 3fd070a996 new: [search] Search refactored completely to use restsearch. Still needs some minor changes 2018-10-04 22:24:35 +02:00
iglocska 88944cb792 new: [API] attributes/restSearch has received CSV as a new export format
- added hook to modify parameters based on the export's internal settings
2018-10-03 08:02:07 +02:00
iglocska bef609607a fix: [api] close the file after reading it 2018-09-29 23:42:21 +02:00
iglocska 7624149224 fix: [cleanup] Some cleanup and fixes to invalid exception invocations 2018-09-28 15:48:00 +02:00
iglocska 3f37a6a71f fix: [API] handle invalid export module calls gracefully 2018-09-28 15:41:52 +02:00
iglocska 0216c9ea33 new: [API] Rework of the restSearch APIs
- peformance tuning
  - removed some redundant looping
  - internal memory profiling for attributes/restSearch
  - saving the intermediary results to file instead of keeping it all in memory to reduce the memory footprint
- added the searchall parameter
- fixed the ignore parameter
- added the event_timestamp parameter
- added manual pagination to the attribute level restsearch (limit, page)
2018-09-28 09:21:29 +02:00
iglocska f3e6761440 fix: [API] added catcher for include_event_uuid via /attributes/restSearch
- affects #3695
2018-09-19 12:32:11 +02:00
iglocska 51b3ef61dd new: [API] Added the includeEventTags parameter to the /attributes/restSearch API
- appends all event level tags to each attribute
2018-09-09 16:49:59 +02:00
iglocska 1b4e566937 new: [API] Tied the RPZ export into the restsearch APIs
- also, made the export modules aware of the exhaustive parameter list
2018-09-08 23:45:08 +02:00
iglocska 289b13be88 new: [API] set default behaviour to require to_ids and published set to 1 to be included in exports
- doesn't affect MISP json and xml formats
2018-09-06 00:20:03 +02:00
iglocska 7e5be5f37b fix: [API] using "download" as a returnformat via the URL breaks the restSearch API
- we have to keep it as a legacy option and map it to json
2018-09-05 14:27:34 +02:00