-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13576 from Security-Onion-Solutions/2.4/dev
2.4.100
- Loading branch information
Showing
68 changed files
with
2,487 additions
and
1,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
### 2.4.90-20240729 ISO image released on 2024/07/29 | ||
### 2.4.100-20240829 ISO image released on 2024/08/29 | ||
|
||
|
||
### Download and Verify | ||
|
||
2.4.90-20240729 ISO image: | ||
https://download.securityonion.net/file/securityonion/securityonion-2.4.90-20240729.iso | ||
2.4.100-20240829 ISO image: | ||
https://download.securityonion.net/file/securityonion/securityonion-2.4.100-20240829.iso | ||
|
||
MD5: 9A7714F5922EE555F08675D25E6237D5 | ||
SHA1: D3B331452627DB716906BA9F3922574DFA3852DC | ||
SHA256: 5B0CE32543944DBC50C4E906857384211E1BE83EF409619778F18FC62017E0E0 | ||
MD5: 377586C143FABD662DB414DEA49D46B7 | ||
SHA1: 69D4B94522789AF47075A9FF1354B069679AC366 | ||
SHA256: 52FBA5C8762B8DCF2945AD2837B3A19E63ADCC209AB510D7FD0F86AE713AA153 | ||
|
||
Signature for ISO image: | ||
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.90-20240729.iso.sig | ||
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.100-20240829.iso.sig | ||
|
||
Signing key: | ||
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2.4/main/KEYS | ||
|
@@ -25,22 +25,22 @@ wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2. | |
|
||
Download the signature file for the ISO: | ||
``` | ||
wget https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.90-20240729.iso.sig | ||
wget https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.100-20240829.iso.sig | ||
``` | ||
|
||
Download the ISO image: | ||
``` | ||
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.90-20240729.iso | ||
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.100-20240829.iso | ||
``` | ||
|
||
Verify the downloaded ISO image using the signature file: | ||
``` | ||
gpg --verify securityonion-2.4.90-20240729.iso.sig securityonion-2.4.90-20240729.iso | ||
gpg --verify securityonion-2.4.100-20240829.iso.sig securityonion-2.4.100-20240829.iso | ||
``` | ||
|
||
The output should show "Good signature" and the Primary key fingerprint should match what's shown below: | ||
``` | ||
gpg: Signature made Thu 25 Jul 2024 06:51:11 PM EDT using RSA key ID FE507013 | ||
gpg: Signature made Thu 29 Aug 2024 12:02:55 PM EDT using RSA key ID FE507013 | ||
gpg: Good signature from "Security Onion Solutions, LLC <[email protected]>" | ||
gpg: WARNING: This key is not certified with a trusted signature! | ||
gpg: There is no indication that the signature belongs to the owner. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.4.90 | ||
2.4.100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
salt/elasticfleet/files/integrations-dynamic/fleet-server/fleet-server.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"package": { | ||
"name": "fleet_server", | ||
"version": "" | ||
}, | ||
"name": "fleet_server-1", | ||
"namespace": "default", | ||
"policy_id": "FleetServer_hostname", | ||
"vars": {}, | ||
"inputs": { | ||
"fleet_server-fleet-server": { | ||
"enabled": true, | ||
"vars": { | ||
"custom": "server.ssl.supported_protocols: [\"TLSv1.2\", \"TLSv1.3\"]\nserver.ssl.cipher_suites: [ \"ECDHE-RSA-AES-128-GCM-SHA256\", \"ECDHE-RSA-AES-256-GCM-SHA384\", \"ECDHE-RSA-AES-128-CBC-SHA\", \"ECDHE-RSA-AES-256-CBC-SHA\", \"RSA-AES-128-GCM-SHA256\", \"RSA-AES-256-GCM-SHA384\"]" | ||
}, | ||
"streams": {} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
salt/elasticfleet/tools/sbin/so-elastic-fleet-integration-policy-elastic-fleet-server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one | ||
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at | ||
# https://securityonion.net/license; you may not use this file except in compliance with the | ||
# Elastic License 2.0. | ||
|
||
. /usr/sbin/so-elastic-fleet-common | ||
|
||
# Get all the fleet policies | ||
json_output=$(curl -s -K /opt/so/conf/elasticsearch/curl.config -L -X GET "localhost:5601/api/fleet/agent_policies" -H 'kbn-xsrf: true') | ||
|
||
# Extract the IDs that start with "FleetServer_" | ||
POLICY=$(echo "$json_output" | jq -r '.items[] | select(.id | startswith("FleetServer_")) | .id') | ||
|
||
# Iterate over each ID in the POLICY variable | ||
for POLICYNAME in $POLICY; do | ||
printf "\nUpdating Policy: $POLICYNAME\n" | ||
|
||
# First get the Integration ID | ||
INTEGRATION_ID=$(/usr/sbin/so-elastic-fleet-agent-policy-view "$POLICYNAME" | jq -r '.item.package_policies[] | select(.package.name == "fleet_server") | .id') | ||
|
||
# Modify the default integration policy to update the policy_id and an with the correct naming | ||
UPDATED_INTEGRATION_POLICY=$(jq --arg policy_id "$POLICYNAME" --arg name "fleet_server-$POLICYNAME" ' | ||
.policy_id = $policy_id | | ||
.name = $name' /opt/so/conf/elastic-fleet/integrations/fleet-server/fleet-server.json) | ||
|
||
# Now update the integration policy using the modified JSON | ||
elastic_fleet_integration_update "$INTEGRATION_ID" "$UPDATED_INTEGRATION_POLICY" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.