Commit Graph

180 Commits (d5ce838ddca4f95b6c303b64b53b70b0b1bc28da)

Author SHA1 Message Date
Christophe Vandeplas d5ce838ddc
Feature/api log and pin ip (#8965)
* fix: [sightings] don't be case insensitive on code side

* chg: [AuthKey] store IPs used to connect and show them

* chg: [AuthKey] db change

* fix: [AuthKeys] prevent race condition with double IPs

* chg: [git] exclude DebugKit plugin from git

* fix: [AuthKey] integrate mokaddem's remarks

* chg: [authkey] One-click IP as only allowed IP

* chg: [authkey] pin IP on view page

---------
2023-03-29 09:18:47 +08:00
iglocska f551639a96
new: [indexTable] added 3 new simple elements
- custom_element -> loop the data through an element set via element_path
- model -> for the various log indeces, format the log entry's model entry as MODEL #MODEL_ID
- time -> loop the data through the time helper's time() function
2022-12-24 06:27:01 +01:00
iglocska 6703d82ad0
chg: [indexTable] added option for the generic Field to set a default value, if the referenced value is empty
- via the key 'empty'
2022-12-24 06:25:43 +01:00
iglocska 8574067e03
fix: [index actions] urlencode the parameter values, otherwise certain functionalities passing for example tag names around won't work
- fixes #8820
2022-12-22 14:28:23 +01:00
Jakub Onderka 511d2aa0db fix: [UI] Galaxy cluster distribution levels 2022-12-15 10:05:13 -05:00
iglocska b6a2c854a4
new: [session killswitch] added endpoint to kill existing sessions for a user
- required for integration in MeliCERTes II
2022-12-01 14:07:48 +01:00
Jakub Onderka 6ca21f36e3 fix: [UI] Undefined variable 2022-10-25 16:48:42 +02:00
Jakub Onderka 9e0a2546ff fix: [UI] Undefined index 2022-10-25 14:28:09 +02:00
Jakub Onderka d71f1310e5 new: [acl] Move disabling correlation checking to Acl component 2022-10-24 09:32:23 +02:00
Jakub Onderka c8f7b4f256 fix: [acl] Remove duplicate acl definition 2022-10-24 09:32:23 +02:00
Jakub Onderka 4f54488bc0 new: [acl] CanModifyTag method in AclHelper 2022-10-24 09:32:23 +02:00
Jakub Onderka 1eaa3b9d99 fix: [templates] Use $hostOrgUser variable 2022-10-22 14:35:41 +02:00
Jakub Onderka 63f9fde67a chg: [UI] Cleanup code for widgets 2022-10-20 13:36:26 +02:00
Jakub Onderka 5553eeba98 new: [UI] Show warning if user don't have permission to use API 2022-10-07 15:21:10 +02:00
iglocska 45653e9cd7
fix: [undefined variable] in the workflow index 2022-08-04 11:24:30 +02:00
iglocska f9a3270770
fix: [UI] small fix for the workflow trigger checkbox 2022-08-04 11:23:35 +02:00
Sami Mokaddem 49575533ad
Merge remote-tracking branch 'origin/develop' into feature-workflows-2 2022-08-04 10:08:56 +02:00
iglocska a04f3964e7
new: [correlation rework] round 2
- long list of fixes
- update scripts
- correlation engine management interface
- recorrelation/truncation tools
- various performance tunings and bug fixes
2022-08-03 15:44:27 +02:00
Sami Mokaddem 151d23a8c2
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-08-01 09:59:44 +02:00
iglocska 3ce754d595
Merge branch 'develop' into new_correlations 2022-07-31 23:58:40 +02:00
iglocska 3a4289d631
new: [correlation] engine rewrite
- allow for multiple concurrent engines
  - default: similar behaviour as before, ACL enforced
  - No ACL: for endpoint misps, disable the enforcement of ACL for correlations altogether

- rework:
  - correlation entries are fully indexed reference tables
  - values are now stored separately
  - built in protection against overcorrelating values (defaults to 20 max)
  - 1 way correlations to cut the size in half
  - unsigned IDs to double the ID space
  - loads of performance improvements
  - fix to the broken event index with correlation counts enabled

- UI improvements
  - search for values from the correlation column directly (in case there are non-correlating versions of the same value)
  - added correlations to the attribute search/index

- TODO:
  - upgrade scripts
2022-07-31 23:48:38 +02:00
Sami Mokaddem ba68a93f86
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-07-27 14:18:54 +02:00
Sami Mokaddem c8ed5f84f1
fix: [genericElement:boolean] Correctly encode sync rules for popover usage 2022-07-27 14:18:29 +02:00
Sami Mokaddem ed59e09161
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-07-21 13:21:14 +02:00
Luciano Righetti dc4236ef9b
new: add LightPaginator when total page count is not needed/to expensive 2022-07-20 15:56:30 +02:00
Sami Mokaddem b46c4c7ec5
chg: [workflows:index] UI tweak 2022-06-24 13:42:06 +02:00
Sami Mokaddem 574deccac8
new: [workflow] Added toggling module state 2022-06-17 09:20:27 +02:00
Sami Mokaddem d8f8225b9e
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows 2022-05-30 14:37:36 +02:00
Jakub Onderka 08f0ed4be1 fix: [UI] Attribute value in attribute index 2022-05-24 12:07:45 +02:00
Jakub Onderka d911b750db chg: [UI] User index boolean colors 2022-05-22 22:10:16 +02:00
Jakub Onderka 970aedcbf2 fix: [UI] Show just actions according user to permission 2022-05-22 19:51:40 +02:00
Sami Mokaddem ce9b823cbb
chg: [workflows:trigger] Added support of execution order for blocking triggers 2022-05-19 12:02:35 +02:00
Jakub Onderka 781de7dd6a chg: [internal] Do not use uniqid() and openssl_random_pseudo_bytes() methods 2022-05-15 13:04:32 +02:00
Jakub Onderka 9c5bc7ead9 chg: [UI] Disable correlation checkbox for non correlating types 2022-05-08 13:08:36 +02:00
Jakub Onderka 0bb267b181 fix: [UI] Attribute search input description 2022-04-26 15:57:21 +02:00
Sami Mokaddem ddd41560e0
chg: [events:index] Quick search in event index for different scopes
Allow to change the scope of the quick search for filtering an index. It's a compromise between a time consuming full text search and the user experience.
2022-04-21 09:53:56 +02:00
Jakub Onderka 62d055d360 chg: [JS] Int should be int 2022-04-18 19:54:13 +02:00
Jakub Onderka f280866b53 chg: [UI] Event ID is not required 2022-04-18 19:54:13 +02:00
Jakub Onderka 5e35c7052a
Merge pull request #8276 from JakubOnderka/fix-undefined-index-vol2
fix: [UI] Undefined index: perm_site_admin
2022-04-13 17:23:45 +02:00
Jakub Onderka 003fee8f6c fix: [UI] Undefined index: perm_site_admin 2022-04-13 15:02:11 +02:00
Jakub Onderka c8ed71bf40 fix: [UI] Mark checkbox as disabled when user has no permission 2022-04-11 13:57:25 +02:00
Jakub Onderka 38fc903501 chg: [UI] Open modal without onclick vol. 2 2022-03-20 14:55:58 +01:00
iglocska 18f2b54a6c
fix: [JSON field] fixes
- do not sanitise data that is to be json encoded
- decode json if a simple string is used
2022-03-02 02:12:18 +01:00
Jakub Onderka af234a006c chg: [internal] AppController cleanup 2021-11-07 14:38:39 +01:00
Jakub Onderka 268b071427 fix: [UI] Feed hits 2021-10-29 14:14:37 +02:00
Jakub Onderka c1d69b7b69 fix: [UI] Add link to full attribute 2021-10-29 13:59:47 +02:00
Jakub Onderka 4f31876890 fix: [UI] Broken tag attaching 2021-10-18 18:01:57 +02:00
iglocska 0d82df3e4c
Merge branch 'attribute_index' into develop 2021-10-12 16:13:03 +02:00
iglocska cb20a9e1d9
fix: [attribute index] fixed attribute tag widget
- notice errors due to missing variables in the closure
2021-10-12 16:12:15 +02:00
iglocska c7493a5e0d
fix: [attribute index] fix galaxy widget for the attribute index
- notice errors when logged in as a user
2021-10-12 15:57:53 +02:00