Compare commits

...

92 Commits

Author SHA1 Message Date
Mike Reeves
3839e52401 Merge pull request #11374 from Security-Onion-Solutions/dev
2.3.270
2023-10-06 16:40:28 -04:00
Mike Reeves
b005a10a8e Merge pull request #11373 from Security-Onion-Solutions/2.3.270
2.3.270
2023-09-22 12:59:04 -04:00
Mike Reeves
752ff5917f 2.3.270 2023-09-22 12:45:46 -04:00
Mike Reeves
815e5d53a6 Merge pull request #11367 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update soup
2023-09-21 09:40:58 -04:00
Mike Reeves
a967db8152 Update soup 2023-09-21 09:38:05 -04:00
Jason Ertel
7835cb6a7a Merge pull request #11360 from Security-Onion-Solutions/jertel/vol
Jertel/vol
2023-09-20 08:29:43 -04:00
Jason Ertel
07b92eef9e vol sprawl 2023-09-19 17:22:42 -04:00
Jason Ertel
8855619453 vol sprawl 2023-09-19 12:52:28 -04:00
Doug Burks
7763218b71 Merge pull request #11287 from Security-Onion-Solutions/dougburks-patch-1
Update soup for 2.3.270
2023-09-11 09:08:21 -04:00
Doug Burks
29f12fac90 Update soup for 2.3.270 2023-09-11 09:05:19 -04:00
Doug Burks
1a9f8f0bc2 Merge pull request #11228 from Security-Onion-Solutions/master
Merge master to dev for updated 2.4 discussion template
2023-08-31 10:19:45 -04:00
Doug Burks
3e5f354d8b Merge pull request #11227 from Security-Onion-Solutions/dougburks-patch-1
Update 2-4.yml discussion template with additional fields for CPU, RAM, and storage
2023-08-31 10:16:55 -04:00
Doug Burks
a1b76d2cd3 Update 2-4.yml 2023-08-31 10:12:47 -04:00
weslambert
43e402fad4 Merge pull request #11187 from Security-Onion-Solutions/fix/kibana_migration_version
Remove migration version
2023-08-28 11:48:58 -04:00
weslambert
170b408feb Remove migration version 2023-08-28 11:26:35 -04:00
weslambert
e55725cca4 Merge pull request #11183 from Security-Onion-Solutions/feature/elastic_8_8_2
Elastic 8.8.2
2023-08-28 09:49:34 -04:00
weslambert
2b9f6b26d8 Elastic 8.8.2 2023-08-28 09:42:23 -04:00
weslambert
f10b67599e Elastic 8.8.2 2023-08-28 09:41:36 -04:00
Doug Burks
ea03613df3 Merge pull request #11103 from Security-Onion-Solutions/master
Merge 2.4 discussion template to dev
2023-08-18 16:21:45 -04:00
Doug Burks
8ffb6b9e1c Merge pull request #11102 from Security-Onion-Solutions/dougburks-patch-1
Create template for Github Discussions in the 2.4 Category
2023-08-18 16:19:04 -04:00
Doug Burks
ffadd4aa42 Create 2-4.yml 2023-08-18 16:13:31 -04:00
Mike Reeves
78ccea12b1 Merge pull request #10919 from Security-Onion-Solutions/master
Soup
2023-08-02 12:27:08 -04:00
Doug Burks
8bef5a84f7 Merge pull request #10916 from Security-Onion-Solutions/supersoup
Supersoup
2023-08-02 11:58:58 -04:00
Mike Reeves
679775a7d0 Add supersoup mode 2023-08-02 11:21:28 -04:00
Mike Reeves
3f5f93059e Add supersoup mode 2023-08-02 11:20:23 -04:00
Mike Reeves
d2ae8f81e1 Add supersoup mode 2023-08-02 10:49:51 -04:00
Mike Reeves
fcc369d4b9 Add supersoup mode 2023-08-02 10:46:54 -04:00
Mike Reeves
9bb28fd0b5 Add supersoup mode 2023-08-02 10:31:55 -04:00
Mike Reeves
93c5e6a9e8 Add supersoup mode 2023-08-02 09:49:14 -04:00
Mike Reeves
6a7e756a37 Add supersoup mode 2023-08-02 09:47:35 -04:00
Mike Reeves
f6b9dec2ae Add supersoup mode 2023-08-02 09:45:29 -04:00
Mike Reeves
37386057d9 Merge pull request #10622 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-06-20 14:52:03 -04:00
Mike Reeves
800945c3b6 Update VERSION 2023-06-20 14:50:29 -04:00
Mike Reeves
b56c0c5e64 Merge pull request #10621 from Security-Onion-Solutions/dev
2.3.260
2023-06-20 14:36:16 -04:00
Mike Reeves
01b986cd50 Merge pull request #10620 from Security-Onion-Solutions/2.3.260
2.3.260
2023-06-20 09:37:56 -04:00
Mike Reeves
3e862151f3 2.3.260 2023-06-20 09:18:30 -04:00
Doug Burks
15b3982930 Merge pull request #10610 from Security-Onion-Solutions/dougburks-patch-1
Update soup for 2.3.260
2023-06-16 13:10:42 -04:00
Doug Burks
3d687f0404 Update soup for 2.3.260 2023-06-16 12:55:52 -04:00
weslambert
e74c2fa1b0 Merge pull request #10605 from Security-Onion-Solutions/fix/analyzer_dependencies
Update dependencies
2023-06-16 07:51:50 -04:00
Wes
ffc91393e7 Update pulsedive dependencies 2023-06-15 22:14:41 +00:00
Wes
d0ab2db312 Update dependencies 2023-06-15 21:03:40 +00:00
weslambert
4906068c7f Merge pull request #10495 from Security-Onion-Solutions/foxtrot
Update requests and whoisit
2023-06-05 10:53:49 -04:00
Wes
ef8eece53b Update dependencies 2023-06-05 13:45:44 +00:00
weslambert
660a50c08d Update whoisit to 2.7.0 2023-06-03 08:53:02 -04:00
Wes
5d326a3c32 Update dependencies 2023-06-01 16:26:04 +00:00
weslambert
2a907d3de3 Update version to 2.3.260 2023-06-01 12:04:35 -04:00
weslambert
33134b1814 Update requests and whist 2023-06-01 12:03:58 -04:00
weslambert
b0962da758 Update version to 2.3.0-foxtrot 2023-05-31 08:50:51 -04:00
weslambert
8148fd9e56 Merge pull request #10434 from Security-Onion-Solutions/foxtrot
Strelka 0.23.05.22 - Remove ScanRuby scanner
2023-05-26 12:45:03 -04:00
weslambert
1ee332b55b Update version to 2.3.260 2023-05-26 08:31:11 -04:00
weslambert
873632ec4f Remove ScanRuby scanner 2023-05-25 17:23:44 -04:00
weslambert
f8068d7975 Update version to 2.3.0-foxtrot 2023-05-25 16:14:29 -04:00
weslambert
a79ebea5c3 Update version value to 2.3.250-foxtrot 2023-05-25 15:29:07 -04:00
weslambert
2fdc3874ca Update version to foxtrot 2023-05-25 14:35:52 -04:00
Mike Reeves
7f52c2015d Merge pull request #10408 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-05-22 15:25:05 -04:00
Mike Reeves
548e1e6937 Update VERSION 2023-05-22 15:23:52 -04:00
Mike Reeves
c949101d0f Merge pull request #10406 from Security-Onion-Solutions/dev
2.3.250
2023-05-22 15:14:23 -04:00
Mike Reeves
7c1f19b91f Merge pull request #10405 from Security-Onion-Solutions/2.3.250
2.3.250
2023-05-22 11:39:40 -04:00
Mike Reeves
598d6b025e 2.3.250 2023-05-22 11:37:13 -04:00
Jason Ertel
4d0d0714a5 Merge pull request #10401 from Security-Onion-Solutions/jertel/fixwhoisit
use the same requests version that's already packaged with the analyzer
2023-05-20 08:45:29 -04:00
Jason Ertel
cb0c078955 use the same requests version that's already packaged with the analyzer 2023-05-19 23:56:39 -04:00
Jason Ertel
aa426244bf Merge pull request #10394 from Security-Onion-Solutions/jertel/fixwhoisit
fix lib dependency issue with whoisit
2023-05-19 14:34:32 -04:00
Jason Ertel
97b2ae8d82 fix lib dependency issue with whoisit 2023-05-19 14:23:12 -04:00
Doug Burks
7047125759 Merge pull request #10386 from Security-Onion-Solutions/2.3/elastic-8.7.1
UPGRADE: Elastic 8.7.1 #10269
2023-05-18 15:27:10 -04:00
Doug Burks
43f73abd4d Update so-kibana-config-load 2023-05-18 15:18:27 -04:00
Doug Burks
51a8684850 Update config_saved_objects.ndjson 2023-05-18 15:17:36 -04:00
Doug Burks
b3c5239787 Merge pull request #10333 from Security-Onion-Solutions/dougburks-patch-1
Update soup for 2.3.250
2023-05-11 08:28:53 -04:00
Doug Burks
0f562279ee Update soup for 2.3.250 2023-05-11 07:26:58 -04:00
weslambert
834f45c0f2 Merge pull request #10286 from Security-Onion-Solutions/fix/strelka_ignore_yara_rules
Ignore "expl_outlook_cve_2023_23397.yar" and "gen_mal_3cx_compromise_mar23.yar" since they are causing problems with YARA compilation
2023-05-08 11:58:11 -04:00
weslambert
d4cf9efeca Merge pull request #10303 from Security-Onion-Solutions/fix/kibana_pivot_to_pcap_url
Surround _id field in double quotes to prevent errors associated with values beginning with a hyphen
2023-05-08 11:55:22 -04:00
Doug Burks
c620983b4a Merge pull request #10299 from Security-Onion-Solutions/dougburks-patch-1
FIX: Improve soup's local file modification logic #8972
2023-05-08 09:47:49 -04:00
Wes
ed19c139ea Surround _id field in double quotes to prevent errors associated with values beginning with a hyphen 2023-05-08 13:44:36 +00:00
Doug Burks
af85c6261b FIX: Improve soup's local file modification logic #8972 2023-05-08 09:41:26 -04:00
weslambert
e9f58269cd Ignore "expl_outlook_cve_2023_23397.yar" and "gen_mal_3cx_compromise_mar23.yar" since they are causing problems with YARA compilation 2023-05-04 16:13:59 -04:00
Jason Ertel
208c3d96e9 Merge pull request #10266 from Security-Onion-Solutions/jertel/aws
more detection improvements
2023-05-02 08:17:13 -04:00
Jason Ertel
1e888a5d9e more detection improvements 2023-05-02 07:56:11 -04:00
Jason Ertel
f7ae8d449e Merge pull request #10259 from Security-Onion-Solutions/jertel/simplifycd
simplify cloud detection
2023-05-01 11:33:26 -04:00
Jason Ertel
195274bb11 Merge branch 'dev' into jertel/simplifycd 2023-05-01 11:29:39 -04:00
Jason Ertel
a0ac1d2274 simplify cloud detection 2023-05-01 11:04:43 -04:00
Mike Reeves
3dd39c7f59 Merge pull request #10234 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update VERSION
2023-04-26 14:41:04 -04:00
Mike Reeves
ba846bbf35 Update VERSION 2023-04-26 14:39:31 -04:00
Mike Reeves
0baf8e9471 Merge pull request #10227 from Security-Onion-Solutions/dev
2.3.240
2023-04-26 14:31:56 -04:00
Mike Reeves
e30fec7af0 Merge pull request #10226 from Security-Onion-Solutions/2.3.240
2.3.240
2023-04-26 09:58:18 -04:00
Mike Reeves
884f5cd3a6 2.3.240 2023-04-26 09:55:19 -04:00
Jason Ertel
11babd2f1c Merge pull request #10221 from Security-Onion-Solutions/jertel/imdsv2to
timeout more quickly on aws imdsv2 detection
2023-04-26 07:59:13 -04:00
Jason Ertel
b440ab5c02 timeout more quickly on aws imdsv2 detection 2023-04-26 07:57:23 -04:00
Jason Ertel
91d667c3ad Merge pull request #10200 from Security-Onion-Solutions/jertel/imdsv2_23
Detect cloud install on forced imdsv2 instances
2023-04-25 09:46:39 -04:00
Jason Ertel
f04c01b28c Merge pull request #10204 from Security-Onion-Solutions/jertel/2.3.240_soup
soup update for 2.3.240
2023-04-25 09:46:28 -04:00
Jason Ertel
71ab8ddf1d soup update for 2.3.240 2023-04-25 09:42:14 -04:00
Jason Ertel
f1f79d55dc Detect cloud install on forced imdsv2 instances 2023-04-24 16:26:23 -04:00
Mike Reeves
db1bd16758 Merge pull request #10142 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-04-17 10:56:59 -04:00
Mike Reeves
ef73834d58 Update VERSION 2023-04-17 10:55:38 -04:00
145 changed files with 358 additions and 35 deletions

210
.github/DISCUSSION_TEMPLATE/2-4.yml vendored Normal file
View File

@@ -0,0 +1,210 @@
body:
- type: markdown
attributes:
value: >
⚠️ This category is solely for conversations related to Security Onion 2.4 ⚠️
- type: dropdown
attributes:
label: Version
description: Which version of Security Onion 2.4.x are you asking about?
options:
-
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.4.10
- 2.4.20
- 2.4.30
- 2.4.40
- 2.4.50
- 2.4.60
- 2.4.70
- 2.4.80
- 2.4.90
- 2.4.100
- Other (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Installation Method
description: How did you install Security Onion?
options:
-
- Security Onion ISO image
- Network installation on Red Hat derivative like Oracle, Rocky, Alma, etc.
- Network installation on Ubuntu
- Network installation on Debian
- Other (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Description
description: >
Is this discussion about installation, configuration, upgrading, or other?
options:
-
- installation
- configuration
- upgrading
- other (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Installation Type
description: >
When you installed, did you choose Import, Eval, Standalone, Distributed, or something else?
options:
-
- Import
- Eval
- Standalone
- Distributed
- other (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Location
description: >
Is this deployment in the cloud, on-prem with Internet access, or airgap?
options:
-
- cloud
- on-prem with Internet access
- airgap
- other (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Hardware Specs
description: >
Does your hardware meet or exceed the minimum requirements for your installation type as shown at https://docs.securityonion.net/en/2.4/hardware.html?
options:
-
- Meets minimum requirements
- Exceeds minimum requirements
- Does not meet minimum requirements
- other (please provide detail below)
validations:
required: true
- type: input
attributes:
label: CPU
description: How many CPU cores do you have?
validations:
required: true
- type: input
attributes:
label: RAM
description: How much RAM do you have?
validations:
required: true
- type: input
attributes:
label: Storage for /
description: How much storage do you have for the / partition?
validations:
required: true
- type: input
attributes:
label: Storage for /nsm
description: How much storage do you have for the /nsm partition?
validations:
required: true
- type: dropdown
attributes:
label: Network Traffic Collection
description: >
Are you collecting network traffic from a tap or span port?
options:
-
- tap
- span port
- other (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Network Traffic Speeds
description: >
How much network traffic are you monitoring?
options:
-
- Less than 1Gbps
- 1Gbps to 10Gbps
- more than 10Gbps
validations:
required: true
- type: dropdown
attributes:
label: Status
description: >
Does SOC Grid show all services on all nodes as running OK?
options:
-
- Yes, all services on all nodes are running OK
- No, one or more services are failed (please provide detail below)
validations:
required: true
- type: dropdown
attributes:
label: Salt Status
description: >
Do you get any failures when you run "sudo salt-call state.highstate"?
options:
-
- Yes, there are salt failures (please provide detail below)
- No, there are no failures
validations:
required: true
- type: dropdown
attributes:
label: Logs
description: >
Are there any additional clues in /opt/so/log/?
options:
-
- Yes, there are additional clues in /opt/so/log/ (please provide detail below)
- No, there are no additional clues
validations:
required: true
- type: textarea
attributes:
label: Detail
description: Please read the placeholder and then provide detailed information to help us help you.
placeholder: >-
STOP! Please read these guidelines in their entirety before typing!
Community Support is considered best effort and there are no guarantees and no SLAs. If you need private, priority, or enterprise support, please consider purchasing support from Security Onion Solutions.
Please review the Github Community Guidelines (see link on the right side of the page).
Please be patient, courteous, and respectful. Disrespectful messages can result in being banned.
Before posting for help, check the Help, FAQ, and other sections of the documentation (https://docs.securityonion.net/) to see if your question has already been answered there.
Please do not tag an individual in a discussion unless that individual has already volunteered to help you in that discussion.
When creating your discussion, please put a relevant and descriptive title in the Title field and avoid generic titles like Help. When copying text from your Security Onion deployment to the discussion, please copy as plain text when possible rather than taking a screenshot of the text. This allows others to search for and find your text.
Avoid typing in ALL CAPS as this looks like YELLING!
If you need to include a large section of output, please do so as an attached file or Github gist rather than including the output directly in the reply itself.
If you attach files, please make sure they are plain text format. No Word docs or PDFs please.
validations:
required: true
- type: checkboxes
attributes:
label: Guidelines
options:
- label: I have read the above statement and can confirm my post is relevant to Security Onion 2.4.
required: true

View File

@@ -1,18 +1,18 @@
### 2.3.230-20230417 ISO image built on 2023/04/17
### 2.3.270-20231006 ISO image built on 2023/10/06
### Download and Verify
2.3.230-20230417 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.3.230-20230417.iso
2.3.270-20231006 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.3.270-20231006.iso
MD5: EBE7E5407AF9AF6F1ADCB9A8E011729B
SHA1: EC101F5C633D368205F5B756F063308A0BE0466E
SHA256: CBB9BE490AB44BCC2C8CAB8AAE65288BE130B43927DFA4DFBDD9D95B3564D65F
MD5: 3FC7A37EA402A5F0C6609D7431387575
SHA1: 979851603E431EE9670A1576E5DCCD838CEDA294
SHA256: 34F72EDEA9A62E1545347A31DEDEDD099D824466EC52B8674ACC7DB6D7E8B943
Signature for ISO image:
https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.230-20230417.iso.sig
https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.270-20231006.iso.sig
Signing key:
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS
@@ -26,22 +26,22 @@ wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/ma
Download the signature file for the ISO:
```
wget https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.230-20230417.iso.sig
wget https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.270-20231006.iso.sig
```
Download the ISO image:
```
wget https://download.securityonion.net/file/securityonion/securityonion-2.3.230-20230417.iso
wget https://download.securityonion.net/file/securityonion/securityonion-2.3.270-20231006.iso
```
Verify the downloaded ISO image using the signature file:
```
gpg --verify securityonion-2.3.230-20230417.iso.sig securityonion-2.3.230-20230417.iso
gpg --verify securityonion-2.3.270-20231006.iso.sig securityonion-2.3.270-20231006.iso
```
The output should show "Good signature" and the Primary key fingerprint should match what's shown below:
```
gpg: Signature made Fri 14 Apr 2023 11:12:57 AM EDT using RSA key ID FE507013
gpg: Signature made Thu 21 Sep 2023 10:43:13 AM EDT using RSA key ID FE507013
gpg: Good signature from "Security Onion Solutions, LLC <info@securityonionsolutions.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.

View File

@@ -1 +1 @@
2.3.230
2.3.270

View File

@@ -17,9 +17,30 @@
. /usr/sbin/so-common
INSTALLEDVERSION=$(cat /etc/soversion)
if [[ $INSTALLEDVERSION == "2.4.4" ]]; then
echo "Initiating supersoup mode"
mkdir -p /tmp/supersoup
cd /tmp/supersoup
echo "Updating soup..."
wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2.4/main/salt/manager/tools/sbin/soup
cp soup /opt/so/saltstack/default/salt/manager/tools/sbin
echo "Updating soup..."
salt-call state.apply manager
echo "Please run soup a second time."
exit 0
fi
if [ "$INSTALLEDVERSION" = '2.4.3' ] || [ "$INSTALLEDVERSION" = '2.4.2' ] || [ "$INSTALLEDVERSION" = '2.4.1' ] || [ "$INSTALLEDVERSION" = '2.4.0' ]; then
echo "soup is not supported on $INSTALLEDVERSION. Please install the latest 2.4 release."
exit 1
fi
UPDATE_DIR=/tmp/sogh/securityonion
DEFAULT_SALT_DIR=/opt/so/saltstack/default
INSTALLEDVERSION=$(cat /etc/soversion)
POSTVERSION=$INSTALLEDVERSION
INSTALLEDSALTVERSION=$(salt --versions-report | grep Salt: | awk '{print $2}')
BATCHSIZE=5
@@ -212,7 +233,7 @@ check_local_mods() {
if [[ -f $default_file ]]; then
file_diff=$(diff "$default_file" "$local_file" )
if [[ ! " ${local_ignore_arr[*]} " =~ " ${local_file} " ]]; then
if [[ $(echo "$file_diff" | grep -c "^<") -gt 0 ]]; then
if [[ $(echo "$file_diff" | grep -Ec "^[<>]") -gt 0 ]]; then
local_mod_arr+=( "$local_file" )
fi
fi
@@ -555,6 +576,10 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.200 ]] && up_to_2.3.210
[[ "$INSTALLEDVERSION" == 2.3.210 ]] && up_to_2.3.220
[[ "$INSTALLEDVERSION" == 2.3.220 ]] && up_to_2.3.230
[[ "$INSTALLEDVERSION" == 2.3.230 ]] && up_to_2.3.240
[[ "$INSTALLEDVERSION" == 2.3.240 ]] && up_to_2.3.250
[[ "$INSTALLEDVERSION" == 2.3.250 ]] && up_to_2.3.260
[[ "$INSTALLEDVERSION" == 2.3.260 ]] && up_to_2.3.270
true
}
@@ -583,6 +608,10 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.200 ]] && post_to_2.3.210
[[ "$POSTVERSION" == 2.3.210 ]] && post_to_2.3.220
[[ "$POSTVERSION" == 2.3.220 ]] && post_to_2.3.230
[[ "$POSTVERSION" == 2.3.230 ]] && post_to_2.3.240
[[ "$POSTVERSION" == 2.3.240 ]] && post_to_2.3.250
[[ "$POSTVERSION" == 2.3.250 ]] && post_to_2.3.260
[[ "$POSTVERSION" == 2.3.260 ]] && post_to_2.3.270
true
}
@@ -721,6 +750,28 @@ post_to_2.3.230() {
POSTVERSION=2.3.230
}
post_to_2.3.240() {
echo "Nothing to do for .240"
POSTVERSION=2.3.240
}
post_to_2.3.250() {
echo "Nothing to do for .250"
POSTVERSION=2.3.250
}
post_to_2.3.260() {
echo "Nothing to do for .260"
POSTVERSION=2.3.260
}
post_to_2.3.270() {
echo "Pruning unused docker volumes on all nodes - This process will run in the background."
salt --async \* cmd.run "docker volume prune -f"
POSTVERSION=2.3.270
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e
@@ -1066,6 +1117,26 @@ up_to_2.3.230() {
INSTALLEDVERSION=2.3.230
}
up_to_2.3.240() {
echo "Upgrading to 2.3.240"
INSTALLEDVERSION=2.3.240
}
up_to_2.3.250() {
echo "Upgrading to 2.3.250"
INSTALLEDVERSION=2.3.250
}
up_to_2.3.260() {
echo "Upgrading to 2.3.260"
INSTALLEDVERSION=2.3.260
}
up_to_2.3.270() {
echo "Upgrading to 2.3.270"
INSTALLEDVERSION=2.3.270
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then

View File

@@ -59,7 +59,7 @@ update() {
IFS=$'\r\n' GLOBIGNORE='*' command eval 'LINES=($(cat $1))'
for i in "${LINES[@]}"; do
RESPONSE=$({{ ELASTICCURL }} -X PUT "localhost:5601/api/saved_objects/config/8.6.2" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d " $i ")
RESPONSE=$({{ ELASTICCURL }} -X PUT "localhost:5601/api/saved_objects/config/8.8.2" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d " $i ")
echo $RESPONSE; if [[ "$RESPONSE" != *"\"success\":true"* ]] && [[ "$RESPONSE" != *"updated_at"* ]] ; then RETURN_CODE=1;fi
done

View File

@@ -1 +1 @@
{"attributes": {"buildNum": 39457,"defaultIndex": "2289a0c0-6970-11ea-a0cd-ffa0f6a1bc29","defaultRoute": "/app/dashboards#/view/a8411b30-6d03-11ea-b301-3d6c35840645","discover:sampleSize": 100,"theme:darkMode": true,"timepicker:timeDefaults": "{\n \"from\": \"now-24h\",\n \"to\": \"now\"\n}"},"coreMigrationVersion": "8.6.2","id": "8.6.2","migrationVersion": {"config": "7.13.0"},"references": [],"type": "config","updated_at": "2021-10-10T10:10:10.105Z","version": "WzI5NzUsMl0="}
{"attributes": {"buildNum": 39457,"defaultIndex": "2289a0c0-6970-11ea-a0cd-ffa0f6a1bc29","defaultRoute": "/app/dashboards#/view/a8411b30-6d03-11ea-b301-3d6c35840645","discover:sampleSize": 100,"theme:darkMode": true,"timepicker:timeDefaults": "{\n \"from\": \"now-24h\",\n \"to\": \"now\"\n}"},"coreMigrationVersion": "8.8.2","id": "8.8.2","references": [],"type": "config","updated_at": "2021-10-10T10:10:10.105Z","version": "WzI5NzUsMl0="}

File diff suppressed because one or more lines are too long

View File

@@ -84,6 +84,14 @@ playbook_password_none:
{% else %}
playbookfilesdir:
file.directory:
- name: /opt/so/conf/playbook/redmine-files
- dir_mode: 775
- user: 939
- group: 939
- makedirs: True
so-playbook:
docker_container.running:
- image: {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-playbook:{{ VERSION }}
@@ -91,6 +99,7 @@ so-playbook:
- name: so-playbook
- binds:
- /opt/so/log/playbook:/playbook/log:rw
- /opt/so/conf/playbook/redmine-files:/usr/src/redmine/files:rw
- environment:
- REDMINE_DB_MYSQL={{ MANAGERIP }}
- REDMINE_DB_DATABASE=playbook

View File

@@ -52,6 +52,13 @@ redisconf:
- group: 939
- template: jinja
redisdatadir:
file.directory:
- name: /nsm/redis/data
- user: 939
- group: 939
- makedirs: True
so-redis:
docker_container.running:
- image: {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-redis:{{ VERSION }}
@@ -64,6 +71,7 @@ so-redis:
- /opt/so/log/redis:/var/log/redis:rw
- /opt/so/conf/redis/etc/redis.conf:/usr/local/etc/redis/redis.conf:ro
- /opt/so/conf/redis/working:/redis:rw
- /nsm/redis/data:/data:rw
- /etc/pki/redis.crt:/certs/redis.crt:ro
- /etc/pki/redis.key:/certs/redis.key:ro
{% if grains['role'] in ['so-manager', 'so-helix', 'so-managersearch', 'so-standalone', 'so-import'] %}

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
python-whois>=0.7.3

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

View File

@@ -1,2 +1,2 @@
requests>=2.27.1
requests>=2.31.0
pyyaml>=6.0

Some files were not shown because too many files have changed in this diff Show More