Commit Graph

240 Commits (16a271340302b29a028f4732ef99a47dc9855750)

Author SHA1 Message Date
Andreas Ziegler 664503a54d chg: KEY/INDEX are synonyms in MySQL, use INDEX only 2016-07-05 04:42:29 +02:00
Andreas Ziegler c92058a0b5 chg: remove quotes from integers in MYSQL.sql 2016-07-04 15:50:53 +02:00
Andreas Ziegler 46b0dd1cb2 chg: use lowercase for int in whole MYSQL.sql 2016-07-04 15:49:20 +02:00
Andreas Ziegler fd5e463926 chg: remove duplicate spaces from MYSQL.sql 2016-07-04 15:49:15 +02:00
Steve Fossen 7a7b407a00 Organization UUID nullable
1. For older MISP there isn't UUID
2. UUID in out of order RelatedEvent processing compared to first Event from Organization
2016-06-12 21:16:39 -07:00
I-am-Sherlocked dec519f04f Change job_id to varchar to resolve #1180
As mentioned in #1180, every spot that task->job_id is being set:

app/Model/Task.php

app/Controller/TasksController.php

it's the returned value from CakeResque::enqueueAt which is the process_id (MD5).
And I think renaming the field to process_id might be more representative of what it is?
2016-06-03 13:46:39 -07:00
Iglocska b9884cf5b8 fix: Added the new db changes to the SQL files 2016-05-20 09:00:04 +02:00
I-am-Sherlocked ddde9657ca Missing DEFAULT value in certif_public 2016-05-11 15:38:05 -07:00
Steve Fossen 991e5c49c7 patch for smime
smime patch also needed in base mysql for new installs.
2016-05-05 08:49:41 -07:00
Iglocska a4e69c6e8d fix: Fix to an issue for new installations 2016-04-28 18:13:56 +02:00
Iglocska d4c393897e Removed an old unused field, fixes #1092
- thanks to @steventgoossensB for finding the obsolete field
2016-04-18 17:35:01 +02:00
Andras Iklody 32d0481877 Merge pull request #1078 from sfossen/patch-3
defaults for events table.
2016-04-14 08:51:17 +02:00
Andras Iklody ceb7a322f2 Merge pull request #1076 from sfossen/patch-1
default for roles perm_template
2016-04-14 08:51:11 +02:00
Andras Iklody 9cb437d1db Merge pull request #1081 from sfossen/patch-6
defaults for logs table.
2016-04-14 08:51:02 +02:00
Andras Iklody 8af50a938b Merge pull request #1077 from sfossen/patch-2
defaults for users tables.
2016-04-14 08:50:34 +02:00
Andras Iklody ae5735a9e2 Merge pull request #1080 from sfossen/patch-5
defaults for organisations table
2016-04-14 08:50:29 +02:00
Andras Iklody 2b305c9ea1 Merge pull request #1079 from sfossen/patch-4
defaults for jobs table
2016-04-14 08:50:16 +02:00
Andras Iklody 9a7950f65c Merge pull request #1082 from sfossen/patch-7
defaults for servers table.
2016-04-14 08:50:02 +02:00
Steve Fossen 00d79d7bbb revert the unsigned removal. 2016-04-12 14:22:08 -07:00
Steve Fossen a4f2e7a430 defaults for feeds table. 2016-04-12 13:34:48 -07:00
Steve Fossen 5a954cbac0 defaults for servers table. 2016-04-12 13:33:12 -07:00
Steve Fossen 7801a8ea6d defaults for logs table. 2016-04-12 13:31:58 -07:00
Steve Fossen 51e2faba1e defaults for organisations table 2016-04-12 13:30:08 -07:00
Steve Fossen c65c1ddfb6 defaults for jobs table 2016-04-12 13:28:33 -07:00
Steve Fossen 750cbd0b2c defaults for events table. 2016-04-12 13:26:52 -07:00
Steve Fossen 075bd9875c defaults for users tables. 2016-04-12 13:25:22 -07:00
Steve Fossen c2f4d45161 default for roles perm_template 2016-04-12 13:21:06 -07:00
Iglocska 89489eabeb error in the MYSQL.sql update 2016-03-31 01:16:37 +02:00
Iglocska 774663c3db MYSQL.sql updated 2016-03-31 01:09:04 +02:00
Iglocska 2e4da85219 Default reverted to have the feeds disabled 2016-03-14 14:15:20 +01:00
Iglocska 47ffaf65b8 Fix to the previous commit
- also enabling the test feed by default
2016-03-14 14:07:47 +01:00
Iglocska 2783916c2a Update to the MYSQL.sql file for the feeds 2016-03-14 13:59:01 +01:00
Iglocska 8c7e96a369 Restore missing tasks if needed and some updates to the install script
- If a task is missing then visiting the task index will automatically re-create it
- MYSQL.sql brought up to date, the upgrade scripts in the application shouldn't have to run on first login
2016-02-20 11:08:51 +01:00
Iglocska abb3340bff Reverted some contextual org fields to nullable 2016-01-06 21:10:57 +01:00
iglocska d4990d957a Fixed some issues with the index length of the value fields in the MYSQL.sql file, fies #793
- Also some additional issues resolved
2015-12-28 14:05:13 +01:00
iglocska fea225c409 Rework of the contributor field, some MYSQL.sql tweaks
- added indeces to the MYSQL.sql file
- contributors now looks for shadow attributes instead of log entries (should make the event view much faster and resolve some timeout issues on sync when the log is massive)
2015-12-27 19:00:35 +01:00
Raphaël Vinot 243e6284f1 Fix mysql install script 2015-12-16 15:04:04 +01:00
Iglocska 3a2df829a0 Default settings for roles altered 2015-12-15 10:07:11 +01:00
Iglocska 5ed1c27e43 Disable users
- users can now be disabled by an admin
- disabled users cannot login (via the UI or the API) and will be informed
- login attempts by disabled users are logged

- also added the expiration field for later use
2015-12-09 23:47:19 +01:00
iglocska 3784209cf5 First bash at Taxonomies
What works:
- added submodules for taxonomies
- added import tool for taxonomies
- added models and convenience functions for taxonomies

- site admins can update taxonomy libraries
- list taxonomies / view indvidual ones (with all resolved tags)
- create tags manually if a taxonomy is enabled
- view related tags / events quickly from the Taxonomy view

What doesn't work:
- Users still cannot choose a tag from taxonomy lists (this will be the main functionality)
- Feature cannot be disabled
2015-11-24 03:27:14 +01:00
iglocska 5b9624e96e Added the publisher role to the default role set 2015-11-14 11:09:02 +01:00
Iglocska 7a686a2718 Merge branch 'master' into 2.4-beta
Also, reworked a lot of remaining distribution checks not handled by the main fetch methods

Conflicts:
	VERSION.json
	app/Controller/AttributesController.php
	app/Controller/ShadowAttributesController.php
	app/View/ShadowAttributes/add.ctp
	app/View/ShadowAttributes/edit.ctp
2015-10-30 13:39:12 +01:00
Iglocska 044996bdb5 New feature: Proposal to delete attribute, fixes #315
- Users can now propose a deletion to an attribute
  - also tied into the mass accept mechanism
  - new UI elements to go along with this

- Code refactoring for category list retrievals
  - Until now, several methods got the list of categories from the validation code
  - Was awkward with a fake empty element that had to be removed
  - altered the validation code to read the categoryDefinitions array instead
2015-10-16 23:49:04 +02:00
Iglocska 6e5b9a5ac5 Cleanup and fixes to the memberslist 2015-08-31 03:08:49 +02:00
Iglocska 704880ce59 Merge branch 'master' into feature/sg
Conflicts:
	VERSION.json
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
	app/Model/Attribute.php
	app/Model/Event.php
	app/Model/Server.php
2015-08-30 13:29:05 +02:00
nullprobe 305a1dbe70 Update MYSQL.sql
Unnecessary comma makes the import fail.
2015-08-26 14:57:06 +02:00
Iglocska 556688069a Resolved an issue that can lead to duplicate events showing up in MISP
- UUID uniqueness was previously not enforced
- changed the MYSQL.sql file to reflect the changes
- Added upgrade admin tool to remove duplicate events and make the database changes required
- Tweaked the tool for the attribute uuid fix so that it cannot created duplicate keys

- some minor fixes, such as automatically removing eventTag objects on event deletion
2015-08-25 10:32:26 +02:00
Iglocska ad21d5c35a Further work on the Sharing Groups 2015-08-03 14:12:20 +02:00
Iglocska da3e35952a Duplicate field removed in MYSQL.sql 2015-07-29 16:36:30 +02:00
Iglocska 9e547cae70 Updated MYSQL.sql 2015-07-22 17:19:23 +02:00
Iglocska 2b0a1e5c4e Fixed an issue with log entries being truncated (Requires administrator action!)
- added a new entry to the admin tools (Administartion -> Administrative tools)
- converts title and change columns in the logs table to text from varchar(255)
2015-06-05 15:24:26 +02:00
Iglocska c9d1badaa3 Organization field in Servers too short to fit valid organisation identifiers, fixes #436
- updated the MYSQL.sql file for future MISP installations
- added admin script to do the update from the web interface
2015-03-17 00:06:59 +01:00
iglocska 71d36b9c64 Several issues fixed
- MYSQL.sql file now correctly includes the task entries
- GenerateCorrelation admin task is now a background job
- Organisation of events pulled now get the org in the server object as the owner instead of the one who initiates the pull
- Small fix to wrapping text in the pivot graph
2014-11-27 14:47:13 +01:00
iglocska 2a4141ec07 Reverted switch to InnoDB for the events table for now, fixes #292
- fulltext indexes are not supported on mysql < 5.6 for innodb, and the default version for the current ubuntu distribution seems to be 5.5 still

Might revisit this in the future
2014-10-15 08:52:31 +02:00
iglocska 04b02e25e3 Typo fail fixed 2014-10-07 23:44:50 +02:00
iglocska d45d5d39fc Documentation changes
- also added the default templates
2014-10-07 23:21:48 +02:00
iglocska 25e2a4e44f Change db engine to InnoDB 2014-10-01 15:19:03 +02:00
Christophe Vandeplas 836d105e34 Updated documentation for new release 2014-09-29 19:23:40 +02:00
iglocska aeb7faf0fd MYSQL file left off 2014-08-14 15:09:59 +02:00
iglocska d3d578d622 Update to the main MYSQL.sql file 2014-07-19 15:48:42 +02:00
iglocska bfdd2ee571 Update for the MYSQL scripts for the new features 2014-07-19 15:46:52 +02:00
iglocska b312f94145 Fixed some incorrect values in the MYSQL.sql file 2014-02-13 09:04:27 +01:00
iglocska 4b8c4f4e4a New upgrade scripts and more
- MYSQL.sql updated
- upgrade_2.2.sql updated

- List of active proposals for you and your organisation now shows the org logos of the contributing organisations
2014-02-05 17:06:49 +01:00
iglocska 065f40fdf6 Some changes from master branch
- regexp default list
- GFI improvements (removed a lot of junk imports, distribution taken from the event)
2014-01-13 12:47:43 +01:00
iglocska 1c997992d8 Revert "Merge branch 'master' into develop"
This reverts commit fbe2eddc7a, reversing
changes made to b59965b971.
2013-12-20 11:17:41 +01:00
iglocska fbe2eddc7a Merge branch 'master' into develop
Conflicts:
	INSTALL/MYSQL.sql
	app/Controller/EventsController.php
	app/Model/Attribute.php
2013-12-20 11:02:21 +01:00
iglocska e0dd74a7ba Update to the GFI import
- fixed an issue where a blacklisted value added through uloadattachments would break the import

- fixed the distribution level of attributes created by the GFI import always being your org only

- removed registry attributes that do not contain a malware sample or a dropped file in the value

- fixed a set of regular expressions dealing with the sanitisation of user names that would fail on user names consisting of more than one word

- added a few regular expressions
2013-12-18 16:31:42 +01:00
Alexandru Ciobanu f36cc43955 replace Risk with ThreatLevel [skip ci]
- Event.risk has been replaced by Event.threat_level_id.
      all functionality remains the same and users should not see
      any difference.
      ENUM() used for Event.risk is vendor specific and requires
      too many hacks to play nicely with bake.
    - Added default schema file, SQL dumps should be avoided since
      they make updating/upgrading a pain.
    - Removed old unused schemas
2013-11-17 17:54:15 +01:00
iglocska df40448be0 post merge changes
- some changes to remove strict messages caused by an update to cakephp

- added missing changes to the sql files - all changes from the merge are reflected in ROLECHANGE.sql, import that to upgrade your instance!
2013-11-06 10:35:51 +01:00
iglocska 0009957b21 Update to the MYSQL.sql file to reflect the 'locked' changed 2013-08-12 17:36:11 +02:00
Christophe Vandeplas 3ff797c14b fixes #133 2013-07-12 10:18:48 +02:00
Christophe Vandeplas 5eff27b5c0 'type' same size in regexp than in attribute 2013-07-11 13:12:37 +02:00
iglocska 7b022d815b MYSQL.sql change left off from regexp changes 2013-07-11 10:41:14 +02:00
iglocska 7e6f73a776 Removal of the blacklist
- Since regexp can be used to blacklist things, there's no need to have
two separate features that accomplish the same thing

- Add a regexp named /1.1.1.1/ with nothing as replacement and it will
behave the same as adding a blacklist for 1.1.1.1 in the old system.
2013-07-05 14:34:32 +02:00
Christophe Vandeplas 12e36671bc consistency in MYSQL database file 2013-06-24 12:36:52 +02:00
Christophe Vandeplas 70cdc621e5 unify db schema 2013-06-24 11:46:37 +02:00
iglocska 37af0fdc03 First update to the SQL scripts 2013-06-20 16:32:23 +02:00
Christophe Vandeplas 3363936689 fix MYSQL missing ; 2013-06-12 14:56:47 +03:00
iglocska 96234bbbcc new sql changes 2013-06-10 17:40:12 +02:00
Christophe Vandeplas 38897d9af3 create default admin user automatically 2013-06-04 13:06:57 +02:00
Christophe Vandeplas 69251490ef Merge branch 'feature/gui' of https://github.com/MISP/MISP into
feature/gui

Conflicts:
	app/View/Logs/admin_index.ctp
	app/View/Logs/admin_search.ctp
	app/View/Users/memberslist.ctp
2013-05-31 17:50:00 +02:00
Christophe Vandeplas 62a3da46f2 removed useless hop_count 2013-05-22 08:18:34 +02:00
Iglocska e67e199c96 Update to the mysql.sql file
- aros setup from earlier versions was still included. Removed.
2013-05-08 16:31:35 +02:00
Andras Iklody 9a3ae39967 db changes for the integrated ownership
- updated the MYSQL.sql file,
	- tables aros, acos, aros_acos removed and shadow_attributes added
2013-04-26 08:50:52 +02:00
Christophe Vandeplas 23742c543c rewrote fetching of the related events 2013-04-22 15:04:27 +02:00
Christophe Vandeplas bc3921eece new logic to generate correlation, relates to issue #95 . Updated DB
schema !
2013-04-22 10:59:55 +02:00
iglocska d634d4ea47 Update to the targets of contact emails and more
- The original creator of an event will also get contacted by contact org
  if he/she has the contactalerts turned off.

- error in the SQL permissions of normal users and org admins - they
  weren't able to modify/delete events of their own organisation that they
  themselves didn't create
2013-03-13 16:45:40 +01:00
iglocska c86a90dd9f Upgrades to the installation and upgrade process
- Instructions updated

- SQL scripts tidied up of incorrect junk (from export)

- upgrade scripts finish gracefully
2013-03-13 11:42:24 +01:00
deresz 29191bdde1 Merge branch 'develop' of /home/git/cydefsig into develop 2013-03-01 09:42:28 +01:00
Christophe Vandeplas a1d51d4dfa updated structure of the documentation 2013-02-15 08:20:14 +01:00