Commit Graph

91 Commits (a61caa3a6a541e6f9761ae99c033c7457050bc0b)

Author SHA1 Message Date
Luciano Righetti 07f6ce2f17 fix openapi errors, fix default organisation restricted_to_domain value 2021-06-03 18:26:42 +02:00
Luciano Righetti ba9e2c7fe4 fix restricted_to_domain reset when updating org, allow arrays via api. 2021-05-10 17:28:31 +02:00
Jakub Onderka ad1b373766 new: [log] Audit log 2021-05-03 13:44:44 +02:00
Alexandre Dulaunoy 5d5c77a0df
chg: [organisation] "International" typo fixed + Europe added
Notes TODO: Improve the selection using the region galaxy in addition to
country galaxy
2021-02-15 11:05:20 +01:00
Jakub Onderka 4d4b306b60 new: [internal] New model method find('column') 2020-12-23 10:42:05 +01:00
Jakub Onderka bf27358584 new: [security] Check org list when accessing distribution graph 2020-12-22 23:43:30 +01:00
Jakub Onderka 20053ea32c fix: [security] Do not leak org names when hide_organisation_index_from_users enabled 2020-12-10 23:01:08 +01:00
Jakub Onderka 5c55de44c7
Merge pull request #6693 from JakubOnderka/countries-order
fix: [UI] Sort countries by name
2020-12-04 22:37:42 +01:00
Jakub Onderka 82a1a38bb4 fix: [UI] Sort countries by name 2020-12-04 21:40:27 +01:00
Jakub Onderka 1381e6c0d4 chg: [shibb] Newly created org should be local 2020-12-04 20:40:26 +01:00
mokaddem f0bc398e60
Merge branch '2.4' of github.com:MISP/MISP into galaxy-cluster2.0 2020-11-16 14:59:17 +01:00
mokaddem 150b4cb7d1
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-11-09 10:07:43 +01:00
Jakub Onderka 7e0eed33a5 chg: [internal] Allow to fetch two orgs in one query 2020-11-09 08:05:01 +01:00
Jakub Onderka 813a475f4a chg: [internal] Allow to have empty nationality 2020-10-16 09:21:26 +02:00
Jakub Onderka a38afcea2a chg: [UI] Update country names 2020-10-16 09:21:26 +02:00
Jakub Onderka d57b559bd3 fix: [UI] Remove not used organisation landing page 2020-10-11 10:28:47 +02:00
mokaddem eb84b3344f
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-09-22 12:08:12 +02:00
Jakub Onderka 935437d1bc chg: [internal] Invalid message for UUID contains that UUID must be RFC 4122 compliant 2020-09-18 10:56:28 +02:00
Jakub Onderka 0e916bd364 chg: [internal] Ensure that UUID is always lowecase and real UUID 2020-09-08 10:47:28 +02:00
mokaddem 5c04b9a8c1
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-05-28 14:06:30 +02:00
mokaddem e0d73e099c
fix: [clusterRelations:relations_graph] Support of fallback `MISP`
Organisation and improved tooltip layout
2020-05-25 17:01:54 +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 dd1be03597
Merge branch '2.4' of github.com:MISP/MISP into galaxy-cluster2.0 2020-04-09 14:26:48 +02:00
iglocska 48cbfd7536
new: [registration] fall back to the e-mail domain if no org info is provided
- also, make the org info optional
2020-04-07 22:46:35 +02:00
iglocska 1b65bfb843
fix: [user registration] minor bug fixes 2020-04-07 14:47:25 +02:00
iglocska 4ebc0a7988
new: [inbox] system added
- user self-registration is the first use-case
- if the feature is enabled, users can unauthenticated send a registration request to MISP
  - request includes information on desired org and some privileges (sync / org admin / publisher)
- requests land in the inbox, admins can inspect the registration requests
  - they can accept/discard them individually or en masse
  - users will be notified of their credentials automatically
  - quick user creation if the user asks for an org that doesn't exist yet
2020-04-07 13:21:01 +02:00
mokaddem 04dcdebb1f
new: [galaxyCluster] Initial import of Galaxy2.0 codebase - WiP 2020-03-12 10:26:09 +01:00
mokaddem 437490872b
chg: [restSearch] Improved meta-search code
- Correctly returns nothing if search on metas does not return anything
- Renamed `orgc.sector` into `org.sector` while still being `orgc`
behind the hood
- Removed duplicated code
2019-11-08 11:37:43 +01:00
mokaddem 1b1a3f61f3
new: [event:restSearch] Support of Orgc meta searches 2019-11-06 11:04:16 +01:00
iglocska 5e1a26afa0
fix: [internal] orgs restricted to a domain displayed incorrectly
- afterfind messes up the keys by reusing the same var for an inner loop
2019-09-06 15:54:58 +02:00
iglocska 1c18319ff6
fix: [organisations] Trim the domain restrictions both on load and on save, fixes #5034 2019-08-22 10:42:00 +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 d98b20b73c
fix: [API] Empty 'restricted to domains' returns string instead of array, fixes #4928 2019-07-29 11:06:45 +02:00
Nikos Filippakis 9d59b10368 Publish events to Kafka
Signed-off-by: Nikos Filippakis <nikolaos.filippakis@cern.ch>
2019-03-18 15:53:22 +01:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +01:00
iglocska 0fabffd5ed fix: [internal] Organisation caching fixed for the event load 2018-10-01 14:48:43 +02:00
iglocska 759e465252 new: [internal] Organisation internal caching added 2018-09-30 22:29:59 +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 34c9c6ddeb fix: Changed United States -> United States of America in the org nationality list 2018-04-12 09:22:48 +02:00
iglocska 07bb645407 fix: Keep the original org name if merging an org into a newer copy with a number appended (such as _1111)
- no need to edit the resulting merge anymore
2018-02-16 17:14:32 +01:00
iglocska a0d7cececc new: Reowkred organisation merge workflow, #fixes 2931
- Organisation merge is now offered to the user by the edit page if a UUID was used to edit an organisation that is already in use
- Merging a local org with 1+ user(s) into an external organisation converts the target organisation into a local one
- Merging a local organisation with a logo into an organisation without one will move the current logo to over
  - caveat: this will only happen for organisations already using the new logo naming ([id].png as opposed to [name].png)
2018-02-16 16:34:12 +01:00
iglocska 9760f1144f new: New APIs to add/remove orgs and servers from sharing groups, fixes #2888
- added functions to manage the additions/removals of objects from sharing groups
- the following APIs are included:
  - /sharingGroups/addOrg/[sg_id]/[org_id]/[extend]
  - /sharingGroups/removeOrg/[sg_id]/[org_id]
  - /sharingGroups/addServer/[sg_id]/[server_id]/[all_orgs]
  - /sharingGroups/removeServer/[sg_id]/[server_id]

- All parameters are optional and can instead be passed as JSON objects such as:

  {
    "org_uuid": "55f6ea5e-2c60-40e5-964f-47a8950d210f",
    "sg_id": "49",
    "extend": 1
  }

- The API is extremely flexible with how to name objects, the following parameters are allowed:
  - Organisations:
    - org_id (The organisation's local instance ID)
    - org_uuid (The organisation's global UUID)
    - org_name (The organisation's identifier as known to the curent instance)
  - Server:
    - server_id (The server's local instance ID)
    - server_url (The URL of the server)
    - server_name (The local name of the server as assigned when adding the server)

The sharing groups can also be addressed by ID or UUID.
2018-02-02 08:46:14 +01:00
iglocska 05a89f5e87 Merge branch '2.4' into feature/tag_filter_rework 2017-11-30 22:28:35 +01:00
iglocska 4b16f6f2c1 fix: Trimp the org uuid upon entering it to avoid copy-pasta issues 2017-11-30 09:53:38 +01:00
iglocska 69423a8bcf new: Add restrictions for e-mail addresses to certain domains
TODO: tie it into the user edit action
2017-11-27 10:22:37 +01:00
iglocska 57857c3a32 new: Performance improvements for the pub-sub modules
- Only load and open connection to redis for the pub-sub connection once.
- Massive performance boost when the ZMQ functionality is enabled
2017-06-16 08:41:12 +02:00
iglocska 1e61074115 fix: Relaxed UUID4 requirement for UUID validation
- we shouldn't enforce anything beyond the basic format
2017-06-12 22:39:02 +02:00
iglocska bce780090f new: Added User and Organisation addition/change data to the ZMQ feed 2017-05-29 16:18:37 +02:00
iglocska 44df97b571 fix: Enforce the uuid creation on the UI 2017-04-06 15:07:33 +02:00
iglocska b900f18db6 fix: Enforce adding a UUID for external organisations too
- No need to support 2.3 any longer
2017-04-06 14:50:40 +02:00