Commit Graph

14946 Commits (2b2c93b766f9ac05e7bfc5d47de3b005ffe3be8a)

Author SHA1 Message Date
Richard van den Berg 1611b50828 new: [misp-wipe] Add option to enable notice and warninglists 2020-04-23 18:10:39 +02:00
mokaddem 5034c1c798
chg: [event:timeline] Prevent item selection while in the sighting
context
2020-04-23 10:18:34 +02:00
mokaddem 93bd5eddba
chg: [event:timeline] Added Sightings visualisation 2020-04-23 10:08:34 +02:00
mokaddem 6bff239740
chg: [user:registration] Added audit log 2020-04-22 10:04:07 +02:00
mokaddem 46a940acb8
chg: [user:acceptRegistration] Added fail message 2020-04-22 09:44:13 +02:00
mokaddem 56f69fb2ea
chg: [user:acceptRegistration] Default to instance's default role if
role_id not passed
2020-04-22 09:41:13 +02:00
mokaddem 47be5e75fe
chg: [user:regitration] Accept/Discard registration accept UUID as
parameter
2020-04-22 09:19:27 +02:00
mokaddem 86238031cf
fix: [user:registration] Default undefined message to empty string 2020-04-22 08:51:15 +02:00
mokaddem b3256c8e1a
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-21 10:37:25 +02:00
mokaddem d2ecdaee53
chg: bumped db_schema.json 2020-04-21 10:37:03 +02:00
iglocska d73546cb4c
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-21 08:10:43 +02:00
iglocska 45e42ca84f
new: [privacy] filter added for the authkeys in the admin section to make giving trainings easier 2020-04-21 08:09:26 +02:00
chrisr3d ed05a130f2 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-20 22:03:03 +02:00
chrisr3d 6b669cc60d
fix: [stix2 export] Fixed STIX JSON Encoder import
- With the latest update it is no longer part of
  stix2.base but stix2.v20.base by default, so we
  need to import it from stix2.base manually
2020-04-20 22:01:05 +02:00
Andras Iklody 68adcfe471
Merge pull request #5255 from JakubOnderka/patch-46
fix: [internal] Remove already removed git modules
2020-04-20 12:55:47 +02:00
Golbark 93ba84fd02 Hook into native authentication flow instead of beforefilter
which prevents any after-auth bypass and rely on framework
session management.
2020-04-20 12:24:47 +02:00
Golbark 3436bc6ae5 Merge branch '2.4' into email-otp-implementation
Conflicts:
	app/Model/Server.php
2020-04-20 12:16:25 +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 e9dc28fda7
chg: [sharingGroup:capture] Prevent capture of SG in some specific
cases - Need more testing

Should fix #5784
2020-04-20 08:51:01 +02:00
iglocska aed771ef4a
fix: [feed index] Converted to static tags to skip erroneous add tag buttons 2020-04-18 14:52:09 +02:00
chrisr3d 1310e367a0 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-18 05:00:45 +02:00
chrisr3d 16d9c37901
add: [stixtest] Scripts to get a visual evaluation of the STIX2 export & import
- We get the initial MISP event, we export it in
  STIX2 format, and use the import script on this
  file to compare the initial MISP event with the
  one created with the STIX2 import
- Since the export to STIX2 and import from STIX2
  are lossy, we do not expect the results to be
  perfect, but the enumeration of the differences
  confirm what we already know as lost in the
  full process, so we can see what is not going as
  expected
- The API key could be gathered from MISP, but
  these small testing scripts were first intended
  to be standalone, and are only for testing
  purposes
2020-04-18 04:50:12 +02:00
mokaddem 549028c7af
fix: [event:view] Restored disabled_correlation toggle 2020-04-17 14:59:25 +02:00
iglocska cff666f44a
Merge branch 'feed_index' into 2.4 2020-04-17 14:24:26 +02:00
iglocska 59ab1c144c
chg: [ACL] updated 2020-04-17 14:23:54 +02:00
iglocska 078bf123a1
chg: [ACL] added the feed data reload 2020-04-17 14:23:34 +02:00
iglocska 2d63f68fc1
new: [feeds] index refactor and new features
- added the ability to select an orgc ID for CSV/freetext feeds
  - all events created from this feed will carry the selected orgc_id

- Refactored the index fully
  - using the factories
  - better warnings against the dangerous new feed each pull setting
  - event index search added
  - several settings cleaned up / made more clear

- auto reload of default feed configuration disabled, fixes #2542, fixes #5789
  - added a button / endpoint to handle that instead to allow for the deleted default feeds to stay deleted
2020-04-17 14:17:54 +02:00
iglocska cdea7aab4a
new: [IndexTable] improvements all around
- several new field types added (target event, caching)
- several updated with new features and functionalities
- tied into the new data path collector among other changes
2020-04-17 14:15:58 +02:00
iglocska 5905884c8f
fix: [ajaxTags] resolved not set searchURL string 2020-04-17 14:15:03 +02:00
iglocska cf6d82aa3a
fix: [observer datasource] fixed for the QueryTool 2020-04-17 14:14:33 +02:00
iglocska 10ab82f830
new: [UI Helper] DataPathCollector helper added
- helps the index factory fields retrieve data from the currently processed object based on a set of paths
2020-04-17 14:13:15 +02:00
mokaddem 3547a8a888
fix: [correlations] Update correlations on Attribute or Event
`distribution` change
2020-04-17 11:29:09 +02:00
mokaddem c9481b2314
fix: [event:fetchEvent] Block viewing Objects/Attributes if the user
does not belong to the sharing_group

Even if these elements belong to the user. Similar explanation than for 7cd2175
2020-04-17 11:26:22 +02:00
mokaddem 7cd21755dd
fix: [event:fetchEvent] Block viewing the event if user does not belong
to the sharing_group

Even if the event belongs to the user. This scenario can happen if a
remote sync is badly configured where the remote sync user have
site_admin right, thus allowing the user to see the event even though
he is not part of the SG
2020-04-17 11:22:15 +02:00
iglocska 2a94c98814
chg: [misp-objects] bump 2020-04-17 06:28:13 +02:00
iglocska a59975de83
chg: [objects] bump 2020-04-17 06:07:29 +02:00
chrisr3d 9ca3fafca4
chg: [stix2] Bumped latest STIX2 python library version 2020-04-15 18:04:58 +02:00
Alexandre Dulaunoy b5eb75bb80
chg: [misp-objects] updated to the latest version 2020-04-15 14:48:14 +02:00
iglocska ec93389669
fix: [internal] Added a setting to skip positive attribute level filters on the event scope
- when running a large MISP community, it is bound to happen that your instance will be used as the back-end for internal tooling
- often these tools are configured to fetch aggressively, often with heavy consequences on the server load
- some filter that serves mostly edge-case lookups can mistakenly lead to heavy server load for no good reason

We have identified attribute level positive filters on the event scope to be such a filter and made them optionally toggle-able
via the MISP.attribute_fitlers_block_only flag. Turning the setting on will remove all event level filters such as "type" from
being viable filter candidates unless used to block the inclusion of attribute types. Some examples:

"type": {"OR": ["ip-dst", "ip-src", "hostname", "domain"]} would normally return ANY event that has at least one of the listed
attribute types. This is the behaviour that can now be disabled.

"type": {"NOT": ["iban", "cc-number"]} would normally remove any attributes with the given types from the list of returned
events. This functionality is NOT affected by the toggle.
2020-04-15 06:21:15 +02:00
iglocska 5d5b7a79ac
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-14 18:01:53 +02:00
iglocska 7991016039
fix: [API] event index queries refactored
- fixed ID lookups to be more graceful (IN() instead of OR-d statements)
- removed default sorting which is the default anyway but introduces a massive overhead
2020-04-14 18:00:43 +02:00
chrisr3d 61950e01f7 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-14 15:59:32 +02:00
chrisr3d 94526fecc8
fix: [stix1 import] Fixed object name handling causing errors in some cases
- With a wrong object name, the correct function
  was not reached, reaching some unexpected errors
2020-04-14 15:57:26 +02:00
iglocska 659e38f6c9
fix: [database] made MySQLObserver php < 7.2 compliant 2020-04-14 15:37:55 +02:00
iglocska e75828a34b
fix: [database] bruteforce check relaxed for datasource 2020-04-14 15:18:25 +02:00
iglocska 3fa5c3f370
fix: [database] added missing file 2020-04-14 15:17:15 +02:00
iglocska bd8854e5ae
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-14 15:05:28 +02:00
iglocska 4ded5a73c4
new: [database] New MySQL data source added for debugging
- MySQLObserver datasource added - prepends all queries with the requested controller/action and user ID for better debugging
2020-04-14 15:04:33 +02:00
mokaddem 7615497cfa
chg: [widgets:multiline] Allow to ctrl+click on labels to hide the
others
2020-04-14 12:15:47 +02:00