Commit Graph

534 Commits

Author SHA1 Message Date
Mike Reeves e62bebeafe Update soup 2022-08-29 09:39:41 -04:00
Mike Reeves 30b9868de1 Update soup 2022-08-29 09:32:46 -04:00
weslambert f00d9074ff Allow local modification acceptance prompt to be skipped when passing 'skip-prompt' as a parameter value to check_local_mods() function 2022-08-19 16:07:14 -04:00
weslambert fbf0803906 Update verbiage around major Elasticsearch version and not requiring Elastalert index maintenance 2022-08-18 09:16:22 -04:00
weslambert 5deda45b66 Update elastalert_indices_check() function to only delete Elastalert indices if major Elasticsearch version is less than 8
Update elastalert_indices_check() function to only delete Elastalert indices if major Elasticsearch version is less than 8. Also clean up the output to only emit one notification regarding index deletion, and additional verbiage around function operation.
2022-08-18 09:11:38 -04:00
weslambert fd7a118664 Invoke check_local_mods() function earlier so we don't have to wait for Docker image downloads or OS updates before checking and potentially exiting SOUP 2022-08-08 08:58:19 -04:00
weslambert d7906945df Add extra set of brackets for comparison of integers 2022-08-08 08:24:38 -04:00
weslambert cb384ae024 Ensure check_local_mods() runs at the beginning of SOUP, in addition to the end, and also that it prompts (forces) the user to accept/review local modifications. 2022-08-05 11:25:33 -04:00
weslambert 340dbe8547 Check to see if Elastalert is enabled before trying to run 'so-elastalert-stop'. Also suppress error output for when so-elastalert container is not present. 2022-07-19 13:25:09 -04:00
Wes Lambert 5ceff52796 Move Elastalert indices check to function and call from beginning of soup and during pre-upgrade to 2.3.140 2022-07-19 14:54:39 +00:00
Wes Lambert f3a0ab0b2d Perform Elastalert index check twice 2022-07-19 14:48:19 +00:00
Wes Lambert 4a7c994b66 Revise Elastalert index check deletion logic 2022-07-19 14:31:45 +00:00
Mike Reeves 07b8785f3d Update soup 2022-07-19 10:23:10 -04:00
weslambert f5e10430ed Add forward slash to fix issue with missing query path 2022-07-18 09:07:13 -04:00
Doug Burks c67a58a5b1 change hyperlink for Elastic 8 issues 2022-07-13 12:40:03 -04:00
weslambert 513c7ae56c Add missing 'fi' to if/then for unsupported indices check 2022-07-13 09:13:28 -04:00
weslambert 8e92060c29 Ensure Elastalert indices are deleted before continuing with SOUP -- if they are not, generate a failure condition 2022-07-13 08:38:55 -04:00
weslambert d0a0ca8458 Update exit code for ES checks 2022-07-12 16:15:44 -04:00
weslambert 4502182b53 Typo - Ensure Elasticsearch version 6 indices are checked 2022-07-12 15:35:46 -04:00
weslambert 0fc6f7b022 Add check for Elasticsearch 6 indices 2022-07-12 15:34:24 -04:00
weslambert f77edaa5c9 Run so-kibana-space-defaults to re-establish the default enabled features since Fleet feature name changed 2022-07-11 14:41:23 -04:00
weslambert 4bbc901860 Restart Kibana in case it times out before being able to read in new role configuration 2022-07-07 17:19:02 -04:00
weslambert 85be2f4f99 Force so-user to sync roles to ensure so_kibana role change from superuser to kibana_system 2022-07-07 15:55:44 -04:00
Mike Reeves c819d3a558 Update soup 2022-07-06 16:36:57 -04:00
Mike Reeves c00d33632a Update soup 2022-07-06 16:23:02 -04:00
Mike Reeves 1589107b97 Move soup order 2022-07-06 08:59:21 -04:00
Mike Reeves f1d188a46d Update soup 2022-07-05 16:50:20 -04:00
Mike Reeves 5f0c3aa7ae Update soup 2022-07-05 16:49:20 -04:00
Mike Reeves c6fac28804 Update soup 2022-07-05 16:26:44 -04:00
Mike Reeves df0a774ffd Make soup enforce versions 2022-07-05 16:17:32 -04:00
m0duspwnens 8fccd4598a update saltstack.list for 3004.2 2022-06-27 16:23:01 -04:00
weslambert 959cec1845 Delete Elastalert indices before upgrading to Elastic 8 2022-06-14 11:40:11 -04:00
Mike Reeves 395eaa39b4 Update soup 2022-06-02 11:45:37 -04:00
Mike Reeves fce43cf390 soup for 130 2022-06-02 10:33:18 -04:00
Doug Burks 0eda9a3bd7 move thehive removal from up_to_2.3.120 to post_to_2.3.120 2022-04-15 15:45:01 -04:00
Josh Brower bd19da1878 Remove thehive entries from so-status 2022-04-15 12:21:56 -04:00
m0duspwnens 02c19da3c4 remove influxdb module patched state files when salt is upgraded 2022-04-14 15:00:14 -04:00
Mike Reeves 8408628b03 Stop thehive on soup 2022-04-12 13:54:08 -04:00
m0duspwnens d68b6e7c9a only start if exit code != 0 2022-04-11 16:03:00 -04:00
m0duspwnens d102ca298d move messages about starting services on soup failure before exit message 2022-04-11 16:01:36 -04:00
m0duspwnens 9914148441 more verbose 2022-04-11 15:51:11 -04:00
m0duspwnens 464772d7d3 start salt-master and salt-minion service is soup fails and exits 2022-04-11 15:43:09 -04:00
m0duspwnens 2a18059ad9 use quotes 2022-04-11 15:37:07 -04:00
m0duspwnens 01510c184a set_os and set_cron_service_name sooner 2022-04-11 15:36:02 -04:00
m0duspwnens 6ed8694008 dont need to pass -t 2022-04-11 15:11:57 -04:00
m0duspwnens 79dc2374e0 check that salt-master is running before requiring manager 2022-04-11 15:09:00 -04:00
m0duspwnens a2180a6721 ensure salt-master service is running before proceeding with soup 2022-04-11 15:01:41 -04:00
Mike Reeves a5313b330f Merge master into dev 2022-04-08 09:07:46 -04:00
m0duspwnens 08ac696f14 remove saltstack repo created by bootstrap-salt for ubuntu 2022-04-06 17:38:06 -04:00
m0duspwnens 833106775f update the centos repo for airgap prior to applying hotfix or standard soup run 2022-04-06 16:53:55 -04:00