Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.80 #13255

Merged
merged 292 commits into from
Jun 25, 2024
Merged

2.4.80 #13255

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
e9e61ea
Merge remote-tracking branch 'origin/2.4/dev' into kaffytaffy
m0duspwnens Apr 10, 2024
d3bd56b
disable logstash and redis if kafka enabled
m0duspwnens Apr 10, 2024
af53dcd
Remove references to kafkanode
reyesj2 Apr 11, 2024
ca7253a
Run kafka-clusterid script when pillar values are missing
reyesj2 Apr 11, 2024
6b28dc7
Update annotation for global.pipeline
reyesj2 Apr 11, 2024
3955587
Use global.pipeline for redis / kafka states
reyesj2 Apr 11, 2024
f514e5e
add kafka to receiver
m0duspwnens Apr 11, 2024
a54a72c
move kafka_cluster_id to kafka:cluster_id
m0duspwnens Apr 12, 2024
0ed9894
create kratos local pillar dirs during setup
m0duspwnens Apr 12, 2024
fbd3cff
Make global.pipeline use GLOBALMERGED value
reyesj2 Apr 12, 2024
af29ae1
Merge kaffytaffy
reyesj2 Apr 12, 2024
04ddcd5
add receiver managersearch and standalone to kafka.nodes pillar
m0duspwnens Apr 12, 2024
d73ba7d
order kafka pillar assignment
m0duspwnens Apr 12, 2024
a6ff92b
Note to remove so-kafka-clusterid. Update soup and setup to generate …
reyesj2 Apr 12, 2024
911ee57
Typo
reyesj2 Apr 12, 2024
fcfbb1e
Merge kaffytaffy
reyesj2 Apr 12, 2024
c014508
need /opt/so/conf/ca/cacerts on receiver for kafka to run
m0duspwnens Apr 12, 2024
bb983d4
just broker as default process
m0duspwnens Apr 12, 2024
de6ea29
update default process.role to broker only
reyesj2 Apr 12, 2024
eedea2c
Merge remote-tracking branch 'remotes/origin/kaffytaffy' into reyesj2…
reyesj2 Apr 12, 2024
c4994a2
restart salt minion if a manager and signing policies change
m0duspwnens Apr 15, 2024
4b79623
watch pillar files for changes and do something
m0duspwnens Apr 16, 2024
665b719
Update Kafka nodeid
reyesj2 Apr 17, 2024
4caa6a1
watch a pillar in files and take action
m0duspwnens Apr 17, 2024
506bbd3
more comments, better logging
m0duspwnens Apr 18, 2024
610dd2c
improve it
m0duspwnens Apr 18, 2024
5cc358d
Update map files to handle empty kafka:nodes pillar
reyesj2 Apr 18, 2024
1f6eb9c
match keys better. go through files reverse first found is prio
m0duspwnens Apr 18, 2024
fe81ffa
Variables no longer used. Replaced by map file
reyesj2 Apr 18, 2024
746128e
update so-kafka-clusterid
reyesj2 Apr 18, 2024
4ac04a1
add kafkapass soc annotation
reyesj2 Apr 18, 2024
6c5e057
logging changes. ensure salt master has pillarWatch engine
m0duspwnens Apr 19, 2024
25d63f7
Setup kafka reactor for managing kafka controllers globally
reyesj2 Apr 22, 2024
5a401af
Update kafka process_x_roles annotation
reyesj2 Apr 22, 2024
685b80e
Merge remote-tracking branch 'remotes/origin/kaffytaffy' into reyesj2…
reyesj2 Apr 22, 2024
aa0c589
Update kafka managed node pillar template to include its process.role
reyesj2 Apr 23, 2024
36573d6
Update kafka cert permissions
reyesj2 Apr 23, 2024
29c964c
Set kafka.nodes state to run first to populate kafka.nodes pillar
reyesj2 Apr 29, 2024
086ebe1
Split kafka defaults between broker / controller
reyesj2 Apr 29, 2024
529c8d7
Remove salt reactor for Kafka
reyesj2 Apr 29, 2024
fd9a914
Use SOC UI to configure list of KRaft (Kafka) controllers for cluster
reyesj2 Apr 29, 2024
11055b1
Rename kafkapass -> kafka_pass
reyesj2 Apr 29, 2024
529bc01
Add missing configuration for nodes running Kafka broker role only
reyesj2 Apr 29, 2024
a6e8b25
Add Kafka connectivity between manager - > receiver nodes.
reyesj2 Apr 29, 2024
9c83a52
Add Kafka output to elastic-fleet setup. Includes separating topics b…
reyesj2 Apr 30, 2024
fcc4050
Add id to grid-kafka fleet output policy
reyesj2 Apr 30, 2024
bb49944
Setup elastic fleet rollover from logstash -> kafka output policy
reyesj2 Apr 30, 2024
cef9bb1
Dynamically create Kafka topics based on event.module from elastic ag…
reyesj2 May 1, 2024
eb12496
Update soup for Kafka
reyesj2 May 1, 2024
63f3e23
soup typo
reyesj2 May 1, 2024
6b60e85
Make kafka configuration changes prior to 2.4.70 upgrade
reyesj2 May 1, 2024
84abfa6
Remove check for existing value since Kafka pillar is made empty on u…
reyesj2 May 1, 2024
de0af58
Write out Kafka pillar path
reyesj2 May 1, 2024
3efdb4e
Reconfigure logstash Kafka input
reyesj2 May 1, 2024
e164d15
Generate different Kafka certs for different SO nodetypes
reyesj2 May 1, 2024
58ebbfb
Add kafka state to standalone highstate
reyesj2 May 1, 2024
47ced60
Create new Kafka output policy using salt
reyesj2 May 1, 2024
de9f642
Automatically switch between Kafka output policy and logstash output …
reyesj2 May 2, 2024
f663ef8
Setup Kafka to use PKCS12 and remove need for converting to JKS
reyesj2 May 2, 2024
093cbc5
Reconfigure Kafka defaults
reyesj2 May 2, 2024
e960ae6
Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2/kafka
reyesj2 May 2, 2024
dff609d
Add basic read-only metric collection from Kafka
reyesj2 May 8, 2024
eca2a4a
Logstash consumer threads should match topic partition count
reyesj2 May 8, 2024
2ad87bf
merge 2.4/dev
reyesj2 May 8, 2024
91f8b1f
Set default replication factor back to Kafka default
reyesj2 May 22, 2024
b1beb61
Logstash should be disabled when Kafka is enabled except when a minio…
reyesj2 May 22, 2024
382cd24
Small changes needed for using new Kafka docker image + added Kafka l…
reyesj2 May 22, 2024
b5f656a
dont render pillar each time so-tcpreplay runs
m0duspwnens May 23, 2024
fcb6a47
Remove redis.sh telegraf script when Kafka is global pipeline
reyesj2 May 27, 2024
15a0b95
Add jolokia metrics for influxdb dashboard
reyesj2 May 28, 2024
47efcfd
Add basic Kafka metrics to 'Security Onion Performance' influxdb dash…
reyesj2 May 28, 2024
1c1a1a1
Remove unneeded jolokia aggregate metrics to reduce data ingested to …
reyesj2 May 28, 2024
0d7c331
only show specific fields when hovering over Kafka influxdb panels
reyesj2 May 28, 2024
77b5aa4
Correct dashboard name
reyesj2 May 28, 2024
5909707
Revert "Remove unneeded jolokia aggregate metrics to reduce data inge…
reyesj2 May 28, 2024
876d860
elastic agent should be able to communicate over 9092 for sending log…
reyesj2 May 29, 2024
d9ec556
Update some annotations and defaults
reyesj2 May 29, 2024
386be4e
WIP: Manage Kafka nodes pillar role value
reyesj2 May 29, 2024
62bdb26
Update VERSION
TOoSmOotH May 29, 2024
12762e0
Merge pull request #13093 from Security-Onion-Solutions/TOoSmOotH-pat…
TOoSmOotH May 29, 2024
949cea9
Update pillarWatch config for global.pipeline
reyesj2 May 30, 2024
1fd5165
Merge remote-tracking branch 'origin/2.4/dev' into reyesj2/kafka
reyesj2 May 30, 2024
55c5ea5
Add template for Suricata alerts
weslambert May 30, 2024
e831354
Add Suricata alerts setting for configuration
weslambert May 30, 2024
48713a4
revert version for soup test before 2.4.80 pipeline unpaused
reyesj2 May 30, 2024
2c635bc
Set index for Suricata alerts
weslambert May 30, 2024
7702f05
upgrade salt 3006.8. soup for 2.4.80
m0duspwnens May 30, 2024
dbb99d0
Remove bad config
reyesj2 May 30, 2024
00b5a5c
Revert "revert version for soup test before 2.4.80 pipeline unpaused"
reyesj2 May 30, 2024
debf093
Merge remote-tracking branch 'origin/2.4/dev' into salt3006.8
m0duspwnens May 30, 2024
5d9c0dd
Merge pull request #13101 from Security-Onion-Solutions/fix/separate_…
weslambert May 30, 2024
fb8929e
Merge pull request #13103 from Security-Onion-Solutions/salt3006.8
m0duspwnens May 30, 2024
6e70268
Merge remote-tracking branch 'origin/2.4/dev' into sotcprp
m0duspwnens May 30, 2024
85c269e
Added TemplateDetections To Detection ClientParams
coreyogburn May 30, 2024
37a928b
Merge pull request #13107 from Security-Onion-Solutions/cogburn/detec…
coreyogburn May 30, 2024
e3ea477
Update kafka nodes pillar before running highstate with pillarwatch e…
reyesj2 May 31, 2024
f396247
Add index templates and lifecycle policies
weslambert May 31, 2024
a8c231a
Add component templates
weslambert May 31, 2024
75bdc92
Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2/kafka
reyesj2 May 31, 2024
1a832fa
Move soup kafka needfuls to up_to_2.4.80
reyesj2 May 31, 2024
964fef1
Merge pull request #13117 from Security-Onion-Solutions/fix/items_and…
weslambert May 31, 2024
2e85a28
Remove so-kafka-clusterid script, created during soup
reyesj2 Jun 2, 2024
c88b731
revert to 3006.6
m0duspwnens Jun 3, 2024
ef3a524
Merge pull request #13129 from Security-Onion-Solutions/salt3006.8
m0duspwnens Jun 3, 2024
d9c58d9
update receiver pillar access
reyesj2 Jun 4, 2024
c0b2cf7
add the curlys
m0duspwnens Jun 4, 2024
56a1653
Merge pull request #13134 from Security-Onion-Solutions/sotcprp
m0duspwnens Jun 4, 2024
fb1d4fd
update license
reyesj2 Jun 4, 2024
3b0339a
create kafka.id from kafka {partition}-{offset}-{timestamp} for track…
reyesj2 Jun 4, 2024
a2467d0
move so-tcpreplay to sensor state
m0duspwnens Jun 5, 2024
66f8084
Merge remote-tracking branch 'origin/2.4/dev' into sotcprp
m0duspwnens Jun 5, 2024
ff5773c
move so-tcpreplay back to common. return empty string if no sensor.in…
m0duspwnens Jun 5, 2024
f6a8a21
remove space
m0duspwnens Jun 5, 2024
33a2c5d
Merge pull request #13141 from Security-Onion-Solutions/sotcprp
m0duspwnens Jun 5, 2024
4581a46
Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2/kafka
reyesj2 Jun 6, 2024
c472326
Remove unused kafka reactor
reyesj2 Jun 6, 2024
ccd6b39
add final msg queue for soup.
m0duspwnens Jun 6, 2024
6920b77
fix msg
m0duspwnens Jun 6, 2024
5600fed
add ability to retrieve yaml values via so-yaml.py; improve so-minion…
jertel Jun 6, 2024
6d31cd2
Merge pull request #13150 from Security-Onion-Solutions/jertel/yaml
jertel Jun 6, 2024
73ebf52
Merge remote-tracking branch 'origin/2.4/dev' into soupmsgq
m0duspwnens Jun 6, 2024
a39c88c
add set to troubleshoot failure
m0duspwnens Jun 6, 2024
e85c3e5
SOC Proxy Setting
coreyogburn Jun 5, 2024
42818a9
Remove proxy from SOC defaults
coreyogburn Jun 6, 2024
f37f5ba
Update soc_suricata.yaml
TOoSmOotH Jun 6, 2024
d5cfef9
Merge pull request #13156 from Security-Onion-Solutions/TOoSmOotH-pat…
TOoSmOotH Jun 6, 2024
f35f6bd
Merge pull request #13154 from Security-Onion-Solutions/cogburn/soc-p…
coreyogburn Jun 6, 2024
d3b81ba
check for phases with so-yaml, remove if exists
m0duspwnens Jun 6, 2024
d39c8fa
format output
m0duspwnens Jun 7, 2024
f5cc355
fix output alignment
m0duspwnens Jun 7, 2024
fa06372
RootCA and InsecureSkipVerify
coreyogburn Jun 6, 2024
5d3fd3d
AdditionalCA and InsecureSkipVerify
coreyogburn Jun 7, 2024
ee696be
Remove rootCA and insecureSkipVerify from SOC defaults
coreyogburn Jun 7, 2024
dbc56ff
Update defaults.yaml
TOoSmOotH Jun 7, 2024
fb07ff6
Merge pull request #13164 from Security-Onion-Solutions/cogburn/tls-o…
coreyogburn Jun 7, 2024
4057238
Update defaults.yaml
TOoSmOotH Jun 7, 2024
657995d
Merge pull request #13165 from Security-Onion-Solutions/TOoSmOotH-pat…
TOoSmOotH Jun 7, 2024
0139e18
additional description
m0duspwnens Jun 7, 2024
f2f688b
Update soup
jertel Jun 7, 2024
95fe11c
Merge pull request #13162 from Security-Onion-Solutions/soupmsgq
m0duspwnens Jun 7, 2024
f96b82b
gracefully handle missing parent key
jertel Jun 8, 2024
dea786a
Merge pull request #13170 from Security-Onion-Solutions/jertel/yaml
jertel Jun 8, 2024
f1638fa
correct placement of error check override
jertel Jun 8, 2024
7ad6baf
Merge pull request #13171 from Security-Onion-Solutions/jertel/yaml
jertel Jun 8, 2024
284c1be
Update Kafka controller(s) via SOC UI
reyesj2 Jun 10, 2024
824f852
merge 2.4/dev
reyesj2 Jun 10, 2024
adeab10
upgrade docker and containerd.io for oracle
m0duspwnens Jun 10, 2024
c6d0a17
docker upgrade debian 12
m0duspwnens Jun 10, 2024
dbd9873
upgrade docker for jammy
m0duspwnens Jun 10, 2024
0b1e3b2
upgrade docker for focal
m0duspwnens Jun 10, 2024
4b481bd
add epoch to docker for oracle
m0duspwnens Jun 11, 2024
08d2a62
Add new bind - suricata all.rules
defensivedepth Jun 11, 2024
08557ae
kafka.id field should only be present when metadata for kafka exists
reyesj2 Jun 11, 2024
03335cc
Merge pull request #13182 from Security-Onion-Solutions/dockerup
m0duspwnens Jun 11, 2024
ca7b89c
Added Kafka reset to SOC UI. Incase of changing an active broker to a…
reyesj2 Jun 11, 2024
a81e4c3
remove dash(-) from kafka.id
reyesj2 Jun 11, 2024
628893f
remove redundant 'kafka_' from annotations & defaults
reyesj2 Jun 11, 2024
e90557d
Merge pull request #13179 from Security-Onion-Solutions/2.4/fixintegr…
defensivedepth Jun 11, 2024
d5ef0e5
Fix unnecessary escaping
coreyogburn Jun 11, 2024
c38f48c
remove this \n
m0duspwnens Jun 12, 2024
092f716
Merge pull request #13189 from Security-Onion-Solutions/soupmsgq
m0duspwnens Jun 12, 2024
b7eebad
Update Kafka self reset & add initial Kafka wrapper scripts to build out
reyesj2 Jun 12, 2024
dd40962
Revert a whiptail menu change. Kafka is not an install option
reyesj2 Jun 12, 2024
b56d497
Revert a so-setup change. Kafka is not an installable option
reyesj2 Jun 12, 2024
83412b8
Renamed Kafka pillar
reyesj2 Jun 12, 2024
e8106be
Append '-securityonion' to all Security Onion related Kafka topics. A…
reyesj2 Jun 12, 2024
2bc53f9
Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2/kafka
reyesj2 Jun 12, 2024
fac96e0
Merge pull request #13183 from Security-Onion-Solutions/cogburn/clean…
coreyogburn Jun 12, 2024
f372b09
Use kafka:password for kafka certs
reyesj2 Jun 12, 2024
9c31622
telegraft should only include jolokia config when Kafka is set as the…
reyesj2 Jun 12, 2024
70721af
Update DOWNLOAD_AND_VERIFY_ISO.md
dougburks Jun 12, 2024
6340ebb
Merge pull request #13197 from Security-Onion-Solutions/dougburks-pat…
dougburks Jun 12, 2024
80b1d51
wrong location for global.pipeline check
reyesj2 Jun 13, 2024
9ac7e05
Merge pull request #13190 from Security-Onion-Solutions/reyesj2/kafka
reyesj2 Jun 13, 2024
19bfd5b
fix kafka nodeid assignment to increment correctly
reyesj2 Jun 13, 2024
816a1d4
Generate kafka-logstash cert on standalone,manager,managersearch in a…
reyesj2 Jun 13, 2024
9b5c1c0
Merge pull request #13200 from Security-Onion-Solutions/kafka/fix
reyesj2 Jun 13, 2024
8f8ece2
Only comment out so-kafka from so-status when it exists & only run en…
reyesj2 Jun 13, 2024
b91c608
Merge pull request #13204 from Security-Onion-Solutions/kaffix
reyesj2 Jun 13, 2024
484717d
initial support for custom suricata urls and local rulesets
defensivedepth Jun 14, 2024
c1abc7a
Update description
defensivedepth Jun 14, 2024
68302e1
add to defaults and tweaks
defensivedepth Jun 14, 2024
4bcb4b5
removed unneeded import
defensivedepth Jun 14, 2024
8363877
move to custom rules
defensivedepth Jun 14, 2024
b7ac599
set to empty
defensivedepth Jun 14, 2024
c89f1c9
remove multiline
defensivedepth Jun 14, 2024
af11879
Merge pull request #13205 from Security-Onion-Solutions/2.4/customsur…
defensivedepth Jun 14, 2024
8080e05
on fresh install kafka nodes pillar may not have populated. Avoiding …
reyesj2 Jun 14, 2024
a0030b2
add additional retries to elasticfleet scripts
reyesj2 Jun 14, 2024
7556587
Update rule templates
defensivedepth Jun 14, 2024
7af94c1
Change spelling
defensivedepth Jun 14, 2024
c540a4f
Merge pull request #13208 from Security-Onion-Solutions/2.4/ruletempl…
defensivedepth Jun 14, 2024
ce45a59
Merge pull request #13207 from Security-Onion-Solutions/kaffix
jertel Jun 14, 2024
4e50dab
refix typos
reyesj2 Jun 15, 2024
0b1175b
kafka logstash input plugin handle empty brokers list
reyesj2 Jun 15, 2024
4d1f2c2
fix kafka elastic fleet output policy setup
reyesj2 Jun 15, 2024
6caf87d
Merge pull request #13209 from Security-Onion-Solutions/kfix
jertel Jun 15, 2024
b584c8e
FEATURE: Add more links and descriptions to SOC MOTD #13216
dougburks Jun 17, 2024
3bface1
FEATURE: Add more links and descriptions to SOC MOTD #13216
dougburks Jun 17, 2024
6f13fa5
FEATURE: Add more links and descriptions to SOC MOTD #13216
dougburks Jun 17, 2024
93ced09
FEATURE: Add more links and descriptions to SOC MOTD #13216
dougburks Jun 17, 2024
076da64
Merge pull request #13217 from Security-Onion-Solutions/dougburks-pat…
dougburks Jun 17, 2024
2afc947
suppress fleet policy update in soup
reyesj2 Jun 17, 2024
c03096e
Merge pull request #13221 from Security-Onion-Solutions/reyesj2/ksoup
reyesj2 Jun 17, 2024
35da340
update profile
reyesj2 Jun 17, 2024
521ccca
Update defaults
defensivedepth Jun 18, 2024
3fbab7c
Merge pull request #13223 from Security-Onion-Solutions/2.4/timeout
defensivedepth Jun 18, 2024
73473d6
Merge pull request #13222 from Security-Onion-Solutions/reyesj2-patch-3
reyesj2 Jun 18, 2024
de18bf0
FEATURE: Add new Process actions #13226
dougburks Jun 18, 2024
5f6a985
Merge pull request #13227 from Security-Onion-Solutions/dougburks-pat…
dougburks Jun 18, 2024
911d6dc
update kafka output policy only on eligible grid types
reyesj2 Jun 18, 2024
a2bb220
fix x509 mine_function
m0duspwnens Jun 18, 2024
95d6c93
Merge pull request #13231 from Security-Onion-Solutions/kfeval
reyesj2 Jun 18, 2024
6be97f1
Merge pull request #13233 from Security-Onion-Solutions/minefunc
m0duspwnens Jun 18, 2024
268dcbe
update receiver node allowed states
reyesj2 Jun 18, 2024
ba3a6cb
Merge pull request #13234 from Security-Onion-Solutions/reyesj2-patch-4
reyesj2 Jun 18, 2024
ea02a2b
Added license presets to defaults.yaml file
mc-wright Jun 18, 2024
bc2b3b7
Merge pull request #13236 from Security-Onion-Solutions/mwright/licen…
mc-wright Jun 18, 2024
07b9011
Update defaults.yaml to put Process actions in logical order
dougburks Jun 20, 2024
ae0e994
Merge pull request #13239 from Security-Onion-Solutions/dougburks-pat…
dougburks Jun 20, 2024
73acfbf
update kafka annotations
reyesj2 Jun 20, 2024
2eea671
more precise wording in kafka annotation
reyesj2 Jun 20, 2024
8781419
Merge pull request #13242 from Security-Onion-Solutions/annotupd
reyesj2 Jun 20, 2024
aae1b69
Update soc_manager.yaml
TOoSmOotH Jun 21, 2024
f1dc22a
Merge pull request #13244 from Security-Onion-Solutions/TOoSmOotH-pat…
TOoSmOotH Jun 21, 2024
70c001e
Update so-repo-sync
TOoSmOotH Jun 21, 2024
c5ce710
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
ff4679e
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
b84521c
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
6a9d78f
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
0295b8d
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
77dedc5
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
9577c3f
Make soup use reposync from the repo
TOoSmOotH Jun 21, 2024
bf91030
Add option for detections without license
weslambert Jun 21, 2024
6141c7a
Merge pull request #13246 from Security-Onion-Solutions/fix/detection…
weslambert Jun 21, 2024
9fce85c
Merge pull request #13245 from Security-Onion-Solutions/proxysoup
TOoSmOotH Jun 21, 2024
c332cd7
remove import/heavynode artifact caused by kafka cert not existing bu…
reyesj2 Jun 24, 2024
ea771ed
update firewall
reyesj2 Jun 24, 2024
680e848
Re-add manager sbin_jinja file recurse
reyesj2 Jun 24, 2024
9a0bad8
Merge pull request #13251 from Security-Onion-Solutions/kafkaflt
reyesj2 Jun 24, 2024
cb727bf
remove unused sbin_jinja from kafka config
reyesj2 Jun 24, 2024
81ce762
delete commented block
reyesj2 Jun 24, 2024
93378e9
Merge pull request #13253 from Security-Onion-Solutions/kafkaflt
reyesj2 Jun 24, 2024
af5e7cd
2.4.80
TOoSmOotH Jun 24, 2024
d34605a
Update DOWNLOAD_AND_VERIFY_ISO.md
TOoSmOotH Jun 25, 2024
d4107dc
Merge pull request #13254 from Security-Onion-Solutions/2.4.80
TOoSmOotH Jun 25, 2024
81b4c4e
Merge branch '2.4/main' of github.com:Security-Onion-Solutions/securi…
TOoSmOotH Jun 25, 2024
156176c
Merge pull request #13256 from Security-Onion-Solutions/fixmain
TOoSmOotH Jun 25, 2024
caec424
Update .gitleaks.toml
TOoSmOotH Jun 25, 2024
51bb483
Merge pull request #13259 from Security-Onion-Solutions/TOoSmOotH-pat…
TOoSmOotH Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/.gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ secretGroup = 4

[allowlist]
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 = [
'''gitleaks.toml''',
'''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''',
Expand Down
24 changes: 13 additions & 11 deletions DOWNLOAD_AND_VERIFY_ISO.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
### 2.4.70-20240529 ISO image released on 2024/05/29
### 2.4.80-20240624 ISO image released on 2024/06/25


### Download and Verify

2.4.70-20240529 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.4.70-20240529.iso
2.4.80-20240624 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.4.80-20240624.iso

MD5: 8FCCF31C2470D1ABA380AF196B611DEC
SHA1: EE5E8F8C14819E7A1FE423E6920531A97F39600B
SHA256: EF5E781D50D50660F452ADC54FD4911296ECBECED7879FA8E04687337CA89BEC
MD5: 139F9762E926F9CB3C4A9528A3752C31
SHA1: BC6CA2C5F4ABC1A04E83A5CF8FFA6A53B1583CC9
SHA256: 70E90845C84FFA30AD6CF21504634F57C273E7996CA72F7250428DDBAAC5B1BD

Signature for ISO image:
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.70-20240529.iso.sig
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.80-20240624.iso.sig

Signing key:
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2.4/main/KEYS
Expand All @@ -25,27 +25,29 @@ 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.70-20240529.iso.sig
wget https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.80-20240624.iso.sig
```

Download the ISO image:
```
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.70-20240529.iso
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.80-20240624.iso
```

Verify the downloaded ISO image using the signature file:
```
gpg --verify securityonion-2.4.70-20240529.iso.sig securityonion-2.4.70-20240529.iso
gpg --verify securityonion-2.4.80-20240624.iso.sig securityonion-2.4.80-20240624.iso
```

The output should show "Good signature" and the Primary key fingerprint should match what's shown below:
```
gpg: Signature made Wed 29 May 2024 11:40:59 AM EDT using RSA key ID FE507013
gpg: Signature made Mon 24 Jun 2024 02:42:03 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.
Primary key fingerprint: C804 A93D 36BE 0C73 3EA1 9644 7C10 60B7 FE50 7013
```

If it fails to verify, try downloading again. If it still fails to verify, try downloading from another computer or another network.

Once you've verified the ISO image, you're ready to proceed to our Installation guide:
https://docs.securityonion.net/en/2.4/installation.html
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.70
2.4.80
2 changes: 1 addition & 1 deletion files/firewall/assigned_hostgroups.local.map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ role:
receiver:
standalone:
searchnode:
sensor:
sensor:
2 changes: 2 additions & 0 deletions pillar/kafka/nodes.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
kafka:
nodes:
11 changes: 11 additions & 0 deletions pillar/top.sls
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ base:
- backup.adv_backup
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
- kafka.nodes
- kafka.soc_kafka
- kafka.adv_kafka
- stig.soc_stig

'*_sensor':
Expand Down Expand Up @@ -176,6 +179,9 @@ base:
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
- stig.soc_stig
- kafka.nodes
- kafka.soc_kafka
- kafka.adv_kafka

'*_heavynode':
- elasticsearch.auth
Expand Down Expand Up @@ -220,6 +226,7 @@ base:
- minions.adv_{{ grains.id }}
- stig.soc_stig
- soc.license
- kafka.nodes

'*_receiver':
- logstash.nodes
Expand All @@ -232,6 +239,10 @@ base:
- redis.adv_redis
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
- kafka.nodes
- kafka.soc_kafka
- kafka.adv_kafka
- soc.license

'*_import':
- secrets
Expand Down
14 changes: 9 additions & 5 deletions pyci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ TARGET_DIR=${1:-.}

PATH=$PATH:/usr/local/bin

if ! which pytest &> /dev/null || ! which flake8 &> /dev/null ; then
echo "Missing dependencies. Consider running the following command:"
echo " python -m pip install flake8 pytest pytest-cov"
if [ ! -d .venv ]; then
python -m venv .venv
fi

source .venv/bin/activate

if ! pip install flake8 pytest pytest-cov pyyaml; then
echo "Unable to install dependencies."
exit 1
fi

pip install pytest pytest-cov
flake8 "$TARGET_DIR" "--config=${HOME_DIR}/pytest.ini"
python3 -m pytest "--cov-config=${HOME_DIR}/pytest.ini" "--cov=$TARGET_DIR" --doctest-modules --cov-report=term --cov-fail-under=100 "$TARGET_DIR"
python3 -m pytest "--cov-config=${HOME_DIR}/pytest.ini" "--cov=$TARGET_DIR" --doctest-modules --cov-report=term --cov-fail-under=100 "$TARGET_DIR"
14 changes: 10 additions & 4 deletions salt/allowed_states.map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
'utility',
'schedule',
'docker_clean',
'stig'
'stig',
'kafka'
],
'so-managersearch': [
'salt.master',
Expand All @@ -125,7 +126,8 @@
'utility',
'schedule',
'docker_clean',
'stig'
'stig',
'kafka'
],
'so-searchnode': [
'ssl',
Expand Down Expand Up @@ -159,7 +161,8 @@
'schedule',
'tcpreplay',
'docker_clean',
'stig'
'stig',
'kafka'
],
'so-sensor': [
'ssl',
Expand Down Expand Up @@ -190,7 +193,10 @@
'telegraf',
'firewall',
'schedule',
'docker_clean'
'docker_clean',
'kafka',
'elasticsearch.ca',
'stig'
],
'so-desktop': [
'ssl',
Expand Down
17 changes: 14 additions & 3 deletions salt/ca/files/signing_policies.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
mine_functions:
x509.get_pem_entries: [/etc/pki/ca.crt]

x509_signing_policies:
filebeat:
- minions: '*'
Expand Down Expand Up @@ -70,3 +67,17 @@ x509_signing_policies:
- authorityKeyIdentifier: keyid,issuer:always
- days_valid: 820
- copypath: /etc/pki/issued_certs/
kafka:
- minions: '*'
- signing_private_key: /etc/pki/ca.key
- signing_cert: /etc/pki/ca.crt
- C: US
- ST: Utah
- L: Salt Lake City
- basicConstraints: "critical CA:false"
- keyUsage: "digitalSignature, keyEncipherment"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- extendedKeyUsage: "serverAuth, clientAuth"
- days_valid: 820
- copypath: /etc/pki/issued_certs/
13 changes: 13 additions & 0 deletions salt/common/soup_scripts.sls
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ copy_so-yaml_manager_tools_sbin:
- force: True
- preserve: True

copy_so-repo-sync_manager_tools_sbin:
file.copy:
- name: /opt/so/saltstack/default/salt/manager/tools/sbin/so-repo-sync
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-repo-sync
- preserve: True

# This section is used to put the new script in place so that it can be called during soup.
# It is faster than calling the states that normally manage them to put them in place.
copy_so-common_sbin:
Expand Down Expand Up @@ -94,6 +100,13 @@ copy_so-yaml_sbin:
- force: True
- preserve: True

copy_so-repo-sync_sbin:
file.copy:
- name: /usr/sbin/so-repo-sync
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-repo-sync
- force: True
- preserve: True

{% else %}
fix_23_soup_sbin:
cmd.run:
Expand Down
5 changes: 5 additions & 0 deletions salt/common/tools/sbin/so-common
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if ! echo "$PATH" | grep -q "/usr/sbin"; then
export PATH="$PATH:/usr/sbin"
fi

# See if a proxy is set. If so use it.
if [ -f /etc/profile.d/so-proxy.sh ]; then
. /etc/profile.d/so-proxy.sh
fi

# Define a banner to separate sections
banner="========================================================================="

Expand Down
3 changes: 2 additions & 1 deletion salt/common/tools/sbin/so-image-common
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ container_list() {
"so-idh"
"so-idstools"
"so-influxdb"
"so-kafka"
"so-kibana"
"so-kratos"
"so-logstash"
Expand All @@ -64,7 +65,7 @@ container_list() {
"so-strelka-manager"
"so-suricata"
"so-telegraf"
"so-zeek"
"so-zeek"
)
else
TRUSTED_CONTAINERS=(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
. /usr/sbin/so-common
. /usr/sbin/so-image-common

REPLAYIFACE=${REPLAYIFACE:-$(lookup_pillar interface sensor)}
REPLAYIFACE=${REPLAYIFACE:-"{{salt['pillar.get']('sensor:interface', '')}}"}
REPLAYSPEED=${REPLAYSPEED:-10}

mkdir -p /opt/so/samples
Expand Down
9 changes: 9 additions & 0 deletions salt/docker/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,12 @@ docker:
custom_bind_mounts: []
extra_hosts: []
extra_env: []
'so-kafka':
final_octet: 88
port_bindings:
- 0.0.0.0:9092:9092
- 0.0.0.0:9093:9093
- 0.0.0.0:8778:8778
custom_bind_mounts: []
extra_hosts: []
extra_env: []
32 changes: 16 additions & 16 deletions salt/docker/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,41 @@ dockergroup:
dockerheldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.6.21-1
- docker-ce: 5:24.0.3-1~debian.12~bookworm
- docker-ce-cli: 5:24.0.3-1~debian.12~bookworm
- docker-ce-rootless-extras: 5:24.0.3-1~debian.12~bookworm
- containerd.io: 1.6.33-1
- docker-ce: 5:26.1.4-1~debian.12~bookworm
- docker-ce-cli: 5:26.1.4-1~debian.12~bookworm
- docker-ce-rootless-extras: 5:26.1.4-1~debian.12~bookworm
- hold: True
- update_holds: True
{% elif grains.oscodename == 'jammy' %}
dockerheldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.6.21-1
- docker-ce: 5:24.0.2-1~ubuntu.22.04~jammy
- docker-ce-cli: 5:24.0.2-1~ubuntu.22.04~jammy
- docker-ce-rootless-extras: 5:24.0.2-1~ubuntu.22.04~jammy
- containerd.io: 1.6.33-1
- docker-ce: 5:26.1.4-1~ubuntu.22.04~jammy
- docker-ce-cli: 5:26.1.4-1~ubuntu.22.04~jammy
- docker-ce-rootless-extras: 5:26.1.4-1~ubuntu.22.04~jammy
- hold: True
- update_holds: True
{% else %}
dockerheldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.4.9-1
- docker-ce: 5:20.10.8~3-0~ubuntu-focal
- docker-ce-cli: 5:20.10.5~3-0~ubuntu-focal
- docker-ce-rootless-extras: 5:20.10.5~3-0~ubuntu-focal
- containerd.io: 1.6.33-1
- docker-ce: 5:26.1.4-1~ubuntu.20.04~focal
- docker-ce-cli: 5:26.1.4-1~ubuntu.20.04~focal
- docker-ce-rootless-extras: 5:26.1.4-1~ubuntu.20.04~focal
- hold: True
- update_holds: True
{% endif %}
{% else %}
dockerheldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.6.21-3.1.el9
- docker-ce: 24.0.4-1.el9
- docker-ce-cli: 24.0.4-1.el9
- docker-ce-rootless-extras: 24.0.4-1.el9
- containerd.io: 1.6.33-3.1.el9
- docker-ce: 3:26.1.4-1.el9
- docker-ce-cli: 1:26.1.4-1.el9
- docker-ce-rootless-extras: 26.1.4-1.el9
- hold: True
- update_holds: True
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions salt/docker/soc_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@ docker:
multiline: True
forcedType: "[]string"
so-zeek: *dockerOptions
so-kafka: *dockerOptions
16 changes: 12 additions & 4 deletions salt/elasticfleet/enabled.sls
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,36 @@ wait_for_elasticsearch_elasticfleet:
so-elastic-fleet-auto-configure-logstash-outputs:
cmd.run:
- name: /usr/sbin/so-elastic-fleet-outputs-update
- retry: True
- retry:
attempts: 4
interval: 30
{% endif %}

# If enabled, automatically update Fleet Server URLs & ES Connection
{% if ELASTICFLEETMERGED.config.server.enable_auto_configuration and grains.role not in ['so-fleet'] %}
so-elastic-fleet-auto-configure-server-urls:
cmd.run:
- name: /usr/sbin/so-elastic-fleet-urls-update
- retry: True
- retry:
attempts: 4
interval: 30
{% endif %}

# Automatically update Fleet Server Elasticsearch URLs & Agent Artifact URLs
{% if grains.role not in ['so-fleet'] %}
so-elastic-fleet-auto-configure-elasticsearch-urls:
cmd.run:
- name: /usr/sbin/so-elastic-fleet-es-url-update
- retry: True
- retry:
attempts: 4
interval: 30

so-elastic-fleet-auto-configure-artifact-urls:
cmd.run:
- name: /usr/sbin/so-elastic-fleet-artifacts-url-update
- retry: True
- retry:
attempts: 4
interval: 30

{% endif %}

Expand Down
Loading
Loading