mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge branch '2.4/dev' of github.com:Security-Onion-Solutions/securityonion into 2.4/dev
This commit is contained in:
2
.github/.gitleaks.toml
vendored
2
.github/.gitleaks.toml
vendored
@@ -536,7 +536,7 @@ secretGroup = 4
|
|||||||
|
|
||||||
[allowlist]
|
[allowlist]
|
||||||
description = "global allow lists"
|
description = "global allow lists"
|
||||||
regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}''', '''RPM-GPG-KEY.*''', '''.*:.*StrelkaHexDump.*''', '''.*:.*PLACEHOLDER.*''']
|
regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}''', '''RPM-GPG-KEY.*''', '''.*:.*StrelkaHexDump.*''', '''.*:.*PLACEHOLDER.*''', '''ssl_.*password''']
|
||||||
paths = [
|
paths = [
|
||||||
'''gitleaks.toml''',
|
'''gitleaks.toml''',
|
||||||
'''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''',
|
'''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''',
|
||||||
|
|||||||
@@ -385,6 +385,7 @@ preupgrade_changes() {
|
|||||||
[[ "$INSTALLEDVERSION" == 2.4.50 ]] && up_to_2.4.60
|
[[ "$INSTALLEDVERSION" == 2.4.50 ]] && up_to_2.4.60
|
||||||
[[ "$INSTALLEDVERSION" == 2.4.60 ]] && up_to_2.4.70
|
[[ "$INSTALLEDVERSION" == 2.4.60 ]] && up_to_2.4.70
|
||||||
[[ "$INSTALLEDVERSION" == 2.4.70 ]] && up_to_2.4.80
|
[[ "$INSTALLEDVERSION" == 2.4.70 ]] && up_to_2.4.80
|
||||||
|
[[ "$INSTALLEDVERSION" == 2.4.80 ]] && up_to_2.4.90
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -403,6 +404,7 @@ postupgrade_changes() {
|
|||||||
[[ "$POSTVERSION" == 2.4.50 ]] && post_to_2.4.60
|
[[ "$POSTVERSION" == 2.4.50 ]] && post_to_2.4.60
|
||||||
[[ "$POSTVERSION" == 2.4.60 ]] && post_to_2.4.70
|
[[ "$POSTVERSION" == 2.4.60 ]] && post_to_2.4.70
|
||||||
[[ "$POSTVERSION" == 2.4.70 ]] && post_to_2.4.80
|
[[ "$POSTVERSION" == 2.4.70 ]] && post_to_2.4.80
|
||||||
|
[[ "$POSTVERSION" == 2.4.80 ]] && post_to_2.4.90
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -482,6 +484,11 @@ post_to_2.4.80() {
|
|||||||
POSTVERSION=2.4.80
|
POSTVERSION=2.4.80
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_to_2.4.90() {
|
||||||
|
echo "Nothing to apply"
|
||||||
|
POSTVERSION=2.4.90
|
||||||
|
}
|
||||||
|
|
||||||
repo_sync() {
|
repo_sync() {
|
||||||
echo "Sync the local repo."
|
echo "Sync the local repo."
|
||||||
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
|
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
|
||||||
@@ -650,6 +657,11 @@ up_to_2.4.80() {
|
|||||||
INSTALLEDVERSION=2.4.80
|
INSTALLEDVERSION=2.4.80
|
||||||
}
|
}
|
||||||
|
|
||||||
|
up_to_2.4.90() {
|
||||||
|
echo "Nothing to apply"
|
||||||
|
INSTALLEDVERSION=2.4.90
|
||||||
|
}
|
||||||
|
|
||||||
add_detection_test_pillars() {
|
add_detection_test_pillars() {
|
||||||
if [[ -n "$SOUP_INTERNAL_TESTING" ]]; then
|
if [[ -n "$SOUP_INTERNAL_TESTING" ]]; then
|
||||||
echo "Adding detection pillar values for automated testing"
|
echo "Adding detection pillar values for automated testing"
|
||||||
|
|||||||
Reference in New Issue
Block a user