Compare commits

...

85 Commits

Author SHA1 Message Date
Mike Reeves
d5d2b5fbc7 Merge pull request #11879 from Security-Onion-Solutions/dev
2.3.280
2023-11-28 15:21:56 -05:00
Mike Reeves
84d6fcb752 Merge pull request #11878 from Security-Onion-Solutions/2.3.280
2.3.280
2023-11-28 15:00:34 -05:00
Mike Reeves
de9e9a2716 2.3.280 2023-11-28 14:58:25 -05:00
Josh Patterson
cec6cff19d Merge pull request #11874 from Security-Onion-Solutions/23souphs
so-nginx watch managerssl to restart if changed
2023-11-27 12:48:06 -05:00
m0duspwnens
7311d6480c so-nginx watch managerssl to restart if changed 2023-11-27 12:15:09 -05:00
Josh Patterson
f967c8e362 Merge pull request #11873 from Security-Onion-Solutions/23souphs
enable highstate after starting minion
2023-11-27 11:12:45 -05:00
m0duspwnens
cfad6414d2 enable highstate after starting minion 2023-11-27 11:10:39 -05:00
Josh Patterson
0fdaed9cf7 Merge pull request #11864 from Security-Onion-Solutions/import/suriinterface
suricata interface None if so-import
2023-11-22 10:42:43 -05:00
m0duspwnens
1dc88781f1 suricata interface None if so-import 2023-11-22 10:11:34 -05:00
Mike Reeves
0cfb8b0816 Merge pull request #11834 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update signing_policies.conf
2023-11-20 15:59:21 -05:00
Mike Reeves
c0968d3843 Update signing_policies.conf 2023-11-20 15:57:29 -05:00
Mike Reeves
3b133e87cd Merge pull request #11831 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update signing_policies.conf
2023-11-20 15:19:42 -05:00
Mike Reeves
fee9b61ce9 Update soup 2023-11-20 15:14:25 -05:00
Mike Reeves
57612c69fe Update signing_policies.conf 2023-11-20 15:11:50 -05:00
Mike Reeves
94accb0e8c Update signing_policies.conf 2023-11-20 15:09:13 -05:00
Josh Patterson
3b8d1d470e Merge pull request #11798 from Security-Onion-Solutions/m0duspwnens-patch-1
Update soup
2023-11-15 15:23:46 -05:00
Josh Patterson
c624a44b0e Update soup
add quote
2023-11-15 15:19:54 -05:00
weslambert
bc509a0aa9 Merge pull request #11772 from Security-Onion-Solutions/upgrade/elastic_8_10_4
Elastic 8.10.4
2023-11-13 09:36:49 -05:00
Doug Burks
ee0ef3217f Merge pull request #11771 from Security-Onion-Solutions/dougburks-patch-1
Add EOL warning to README.md
2023-11-13 09:18:50 -05:00
weslambert
18e319cbe3 Elastic 8.10.4 2023-11-13 09:17:33 -05:00
Doug Burks
3316e1261d Add EOL warning to README.md 2023-11-13 09:16:25 -05:00
weslambert
b7cf44466c Elastic 8.10.4 2023-11-13 09:16:23 -05:00
Mike Reeves
e321aa52a5 Merge pull request #11749 from Security-Onion-Solutions/TOoSmOotH-patch-6
Update soup
2023-11-09 10:49:34 -05:00
Mike Reeves
07df045e79 Update soup 2023-11-09 10:38:53 -05:00
Mike Reeves
7b11ddb032 Update soup 2023-11-09 10:25:16 -05:00
Jorge Reyes
ac4428940e Merge pull request #11561 from Security-Onion-Solutions/2.3/zeek6
Zeek 6 upgrade
2023-10-23 09:25:21 -04:00
reyesj2
a9457d5f53 Remove external community-id replaced with Zeek 6 built in community-id.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2023-10-17 16:02:16 -04:00
Jason Ertel
3672701dde Merge pull request #11506 from Security-Onion-Solutions/jertel-patch-1
Update VERSION
2023-10-11 09:26:32 -04:00
Jason Ertel
07ed2cb3da Update VERSION 2023-10-10 21:35:48 -04:00
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
146 changed files with 363 additions and 39 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

@@ -2,6 +2,20 @@
Security Onion 2.3 is here!
## End Of Life Warning
Security Onion 2.3 reaches End Of Life (EOL) on April 6, 2024:
https://blog.securityonion.net/2023/10/6-month-eol-notice-for-security-onion-23.html
For new installations, please see the 2.4 branch of this repo:
https://github.com/Security-Onion-Solutions/securityonion/tree/2.4/main
If you have an existing 2.3 installation and would like to migrate to 2.4, please see:
https://docs.securityonion.net/en/2.4/appendix.html
## Screenshots
Alerts

View File

@@ -1,18 +1,18 @@
### 2.3.250-20230519 ISO image built on 2023/05/19
### 2.3.280-20231128 ISO image built on 2023/11/28
### Download and Verify
2.3.250-20230519 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.3.250-20230519.iso
2.3.280-20231128 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.3.280-20231128.iso
MD5: EBECF635FB8CFDDD5C0559D01C14E215
SHA1: 1C2BD45D080D6D99FD84C120827EA39817FCB078
SHA256: 748E9740077BCCAFDC67D15BA2D6A4B0539A29E4527715973E5BDDE5DCF565AD
MD5: 0BC68BD73547B7E2FBA6F53BEC174590
SHA1: 1D33C565D37772FE7A3C3FE3ECB05FC1AC1EBFF1
SHA256: ADBD9DC9E1B266B18E0FDBDF084073EF926C565041858060D283CDAEF021EE11
Signature for ISO image:
https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.250-20230519.iso.sig
https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.280-20231128.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.250-20230519.iso.sig
wget https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.280-20231128.iso.sig
```
Download the ISO image:
```
wget https://download.securityonion.net/file/securityonion/securityonion-2.3.250-20230519.iso
wget https://download.securityonion.net/file/securityonion/securityonion-2.3.280-20231128.iso
```
Verify the downloaded ISO image using the signature file:
```
gpg --verify securityonion-2.3.250-20230519.iso.sig securityonion-2.3.250-20230519.iso
gpg --verify securityonion-2.3.280-20231128.iso.sig securityonion-2.3.280-20231128.iso
```
The output should show "Good signature" and the Primary key fingerprint should match what's shown below:
```
gpg: Signature made Sat 20 May 2023 09:16:02 AM EDT using RSA key ID FE507013
gpg: Signature made Mon 27 Nov 2023 05:09:34 PM EST 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.250
2.3.280

View File

@@ -42,12 +42,13 @@ zeek:
- frameworks/files/hash-all-files
- frameworks/files/detect-MHR
- policy/frameworks/notice/extend-email/hostnames
- policy/frameworks/notice/community-id
- policy/protocols/conn/community-id-logging
- ja3
- hassh
- intel
- cve-2020-0601
- securityonion/bpfconf
- securityonion/communityid
- securityonion/file-extraction
- oui-logging
- icsnpp-modbus

View File

@@ -37,7 +37,7 @@ x509_signing_policies:
- ST: Utah
- L: Salt Lake City
- basicConstraints: "critical CA:false"
- keyUsage: "critical keyEncipherment"
- keyUsage: "critical keyEncipherment, digitalSignature"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- extendedKeyUsage: serverAuth

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
@@ -557,6 +578,9 @@ preupgrade_changes() {
[[ "$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
[[ "$INSTALLEDVERSION" == 2.3.270 ]] && up_to_2.3.280
true
}
@@ -587,6 +611,9 @@ postupgrade_changes() {
[[ "$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
[[ "$POSTVERSION" == 2.3.270 ]] && post_to_2.3.280
true
}
@@ -735,6 +762,29 @@ post_to_2.3.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
}
post_to_2.3.280() {
salt-call state.apply ca queue=True
stop_salt_minion
mv /etc/pki/managerssl.crt /etc/pki/managerssl.crt.old
mv /etc/pki/managerssl.key /etc/pki/managerssl.key.old
systemctl_func "start" "salt-minion"
enable_highstate
POSTVERSION=2.3.280
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e
@@ -1090,6 +1140,21 @@ up_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
}
up_to_2.3.280() {
echo "Upgrading to 2.3.280"
INSTALLEDVERSION=2.3.280
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then
@@ -1673,8 +1738,12 @@ if [[ -z $UNATTENDED ]]; then
SOUP - Security Onion UPdater
**WARNING** Security Onion 2.3 reaches End Of Life (EOL) on April 6, 2024.
Please make plans to migrate to Security Onion 2.4:
https://blog.securityonion.net/2023/10/6-month-eol-notice-for-security-onion-23.html
Please review the following for more information about the update process and recent updates:
https://docs.securityonion.net/soup
https://docs.securityonion.net/en/2.3/soup.html
https://blog.securityonion.net
EOF

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.7.1" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d " $i ")
RESPONSE=$({{ ELASTICCURL }} -X PUT "localhost:5601/api/saved_objects/config/8.10.4" -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.7.1","id": "8.7.1","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.10.4","id": "8.10.4","references": [],"type": "config","updated_at": "2021-10-10T10:10:10.105Z","version": "WzI5NzUsMl0="}

View File

@@ -118,6 +118,10 @@ so-nginx:
- watch:
- file: nginxconf
- file: nginxconfdir
{% if grains.role in ['so-manager', 'so-managersearch', 'so-eval', 'so-standalone', 'so-import', 'so-fleet'] %}
- x509: managerssl_key
- x509: managerssl_crt
{% endif %}
- require:
- file: nginxconf
{% if grains.role in ['so-manager', 'so-managersearch', 'so-eval', 'so-standalone', 'so-import', 'so-fleet'] %}

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

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