Compare commits

...

4024 Commits

Author SHA1 Message Date
Mike Reeves 84c5fa6a58 Merge pull request #12353 from Security-Onion-Solutions/2.4/dev
2.4.50
2024-02-20 10:04:01 -05:00
Mike Reeves 5c96e30087 Merge pull request #12383 from Security-Onion-Solutions/2.4.50
2.4.50
2024-02-20 09:50:09 -05:00
Mike Reeves 18b4fcca75 2.4.50 2024-02-20 09:47:05 -05:00
Josh Patterson 0765320839 Merge pull request #12360 from Security-Onion-Solutions/2450soup
`2450soup
2024-02-14 14:37:28 -05:00
m0duspwnens a2b17d2348 move jinja to top 2024-02-14 14:27:41 -05:00
m0duspwnens c1f467a068 handle airgap 2024-02-14 14:22:18 -05:00
m0duspwnens 7d5932ee5e Merge remote-tracking branch 'origin/2.4/dev' into 2450soup 2024-02-14 13:29:39 -05:00
m0duspwnens 79e98e508f pass in UPDATE_DIR as a pillar 2024-02-14 13:28:12 -05:00
Josh Patterson cf6266a92b Merge pull request #12354 from Security-Onion-Solutions/2450soup
modify soup to update soup scripts using salt
2024-02-13 16:23:57 -05:00
m0duspwnens 2e9fa2438b add back comment 2024-02-13 16:19:50 -05:00
m0duspwnens 00f2374582 fix path for so-firewall 2024-02-13 15:43:02 -05:00
m0duspwnens 468eedfaeb add soup script update retru 2024-02-13 15:30:24 -05:00
m0duspwnens 88786e8342 use file.copy to preserve perms 2024-02-13 15:05:09 -05:00
m0duspwnens 141fd49f02 use rsync 2024-02-13 14:27:22 -05:00
m0duspwnens 7112337c85 fix copy 2024-02-13 13:52:14 -05:00
m0duspwnens d6ac7a3286 fix the jinja 2024-02-13 13:31:34 -05:00
m0duspwnens 9175a73456 dont need $ for vars 2024-02-13 13:08:09 -05:00
Doug Burks 14209ad99d Merge pull request #12355 from Security-Onion-Solutions/dougburks-patch-1
Add table columns to process dashboard in defaults.yaml
2024-02-13 12:59:34 -05:00
m0duspwnens 1bde002f20 update case 2024-02-13 12:51:53 -05:00
Doug Burks 0741ae370a Update defaults.yaml 2024-02-13 12:51:26 -05:00
m0duspwnens d7f853b5b2 comment out script copy in soup 2024-02-13 12:50:22 -05:00
m0duspwnens 5c9b1ab38b copy with cp 2024-02-13 12:48:31 -05:00
m0duspwnens b713771494 add back common soup_scripts state 2024-02-13 12:30:36 -05:00
Doug Burks 8060751a66 Add table columns to process dashboard in defaults.yaml 2024-02-13 12:24:33 -05:00
m0duspwnens c1258f9a92 Merge remote-tracking branch 'origin/2.4/dev' into 2450soup 2024-02-13 11:09:24 -05:00
m0duspwnens 92634724c4 move rm 2024-02-13 11:09:08 -05:00
m0duspwnens 3efaba1104 modify soup to update soup scripts without using salt 2024-02-13 11:04:26 -05:00
Doug Burks d072d431b3 Merge pull request #12350 from Security-Onion-Solutions/feature/process-ancestry-action
FEATURE: Add new SOC action to show process ancestry #12345
2024-02-13 08:51:38 -05:00
Doug Burks 0ad39a7e32 FEATURE: Add new SOC action to show process ancestry #12345 2024-02-12 19:18:29 -05:00
Doug Burks 20d2f3b97e Update Sublime action in defaults.yaml to use i18n 2024-02-12 19:13:32 -05:00
Josh Brower 64726a2785 Merge pull request #12349 from Security-Onion-Solutions/2.4/conflictingfix
Fix conflicting id
2024-02-12 19:07:07 -05:00
Josh Brower ccb14485a3 Fix conflicting id 2024-02-12 19:06:19 -05:00
Mike Reeves e713b4c660 Merge pull request #12346 from Security-Onion-Solutions/reyesj2-patch-1
Remove unused file
2024-02-12 16:07:31 -05:00
Mike Reeves 2db5f4dd41 Merge pull request #12308 from petiepooo/feat-es-ownfs
FEATURE: Check for mountpoint during Elastic size limit calculations
2024-02-12 16:03:36 -05:00
Mike Reeves f91cb5b81f Merge pull request #12290 from petiepooo/fix-remove-intca-symlink
fix: also remove intca symlink
2024-02-12 12:33:13 -05:00
Jorge Reyes 4b697b2406 Remove unused file 2024-02-12 09:28:48 -05:00
Josh Brower c04f5a3f0f Merge pull request #12268 from Security-Onion-Solutions/feature/fleet-artifacts
Feature/fleet artifacts
2024-02-12 08:58:14 -05:00
Josh Brower b1de6abc17 Merge pull request #12343 from Security-Onion-Solutions/fix/anothercheck
Wait for ES to be ready
2024-02-12 08:58:05 -05:00
Josh Brower cc0f25a4f7 Wait for ES to be ready 2024-02-11 13:30:20 -05:00
Josh Brower eafb5cf15e Change to file_root 2024-02-11 13:18:20 -05:00
Jorge Reyes 2b2aa30ac1 Merge pull request #12332 from Security-Onion-Solutions/reyesj2/sod-putty
Add putty to SOD
2024-02-10 20:41:03 -05:00
Josh Brower 66ac36a944 Update soup 2024-02-10 11:07:26 -05:00
Josh Brower feabb7c51f Merge remote-tracking branch 'origin/2.4/dev' into feature/fleet-artifacts 2024-02-10 10:57:46 -05:00
Josh Patterson 94b6e781bb Merge pull request #12337 from Security-Onion-Solutions/salt3006.6v2
Salt3006.6v2
2024-02-09 15:45:39 -05:00
m0duspwnens 304ae49251 fix source 2024-02-09 12:41:23 -05:00
m0duspwnens 213ac822a8 create dir and chown 2024-02-09 10:54:07 -05:00
m0duspwnens 2143881c0b specify *.rules 2024-02-09 10:22:25 -05:00
m0duspwnens 5903ae596c move suricata rules to /opt/so/rules/nids/suri 2024-02-09 09:47:23 -05:00
Josh Brower 0c423c9329 Merge pull request #12333 from Security-Onion-Solutions/fix/shell
Fixup shell
2024-02-09 09:31:47 -05:00
Josh Brower 654602bf80 Fixup shell 2024-02-09 09:30:18 -05:00
reyesj2 3c9d6da1d8 add putty to sod packages.sls
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-02-08 22:05:37 -05:00
Josh Brower 683abf0179 Rework naming 2024-02-08 13:24:25 -05:00
Josh Brower 8d0e8789bd Use salt file roots 2024-02-08 09:54:51 -05:00
Josh Brower 503a09f150 Merge remote-tracking branch 'origin/2.4/dev' into feature/fleet-artifacts 2024-02-08 09:45:21 -05:00
Josh Patterson f02f61c6dd Merge pull request #12325 from Security-Onion-Solutions/salt3006.6
Salt3006.6
2024-02-07 16:33:56 -05:00
Doug Burks 8c5dafa058 Merge pull request #12324 from Security-Onion-Solutions/feature/dashboards-communityid-firewall
FEATURE: Add new dashboards for community_id and firewall auth #12323
2024-02-07 16:15:21 -05:00
Doug Burks d3d2305f00 FEATURE: Add new dashboards for community_id and firewall auth #12323 2024-02-07 16:08:27 -05:00
m0duspwnens 6534f392a9 update backup filename 2024-02-07 14:25:28 -05:00
m0duspwnens 478fb6261e Merge remote-tracking branch 'origin/2.4/dev' into salt3006.6 2024-02-07 14:15:11 -05:00
m0duspwnens e42e07b245 update salt mine after salt-master restarts 2024-02-07 13:05:45 -05:00
m0duspwnens f97d0f2f36 add /opt/so/rules/ to files_roots 2024-02-07 09:25:56 -05:00
m0duspwnens 24fd3ef8cc uopdate error message 2024-02-06 16:22:13 -05:00
m0duspwnens b3f6153667 update so-yaml tests 2024-02-06 16:15:54 -05:00
Doug Burks d800d59304 Merge pull request #12316 from Security-Onion-Solutions/feature/improve-soc-actions
FEATURE: Improve Correlate and Hunt actions on SOC Actions menu #12315
2024-02-06 15:46:31 -05:00
Doug Burks 7106095128 FEATURE: Improve Correlate and Hunt actions on SOC Actions menu #12315 2024-02-06 15:39:23 -05:00
m0duspwnens 9d62ade32e update so-yaml tests 2024-02-06 11:14:27 -05:00
m0duspwnens 2643ae08a7 add append to list 2024-02-05 17:54:30 -05:00
Pete cf83d1cb86 feat: use mountpoint for Elastic log limit
Instead of just existence, this checks if the directories are separate mountpoints when determining disk size and log_size_limit calculations.

It also sets the percentage to 80 if /nsm/elasticsearch is a separate mountpoint.  This allows for better disk utilization on server configurations where /nsm is based on large slow HDDs for increased PCAP retention but /nsm/elasticsearch is based on SSDs for faster Elasticsearch performance.
2024-02-02 12:25:16 -05:00
Pete 7a29b3a529 call salt before stopping salt services
salt-call does not work when the salt-master is not running.  If these calls are to succeed, they should occur before the salt services are stopped.
2024-02-02 08:45:01 -05:00
m0duspwnens 61ee41e431 Merge remote-tracking branch 'origin/2.4/dev' into salt3006.6 2024-02-01 11:07:06 -05:00
m0duspwnens 0d5db58c86 upgrade salt3006.6 2024-02-01 10:32:41 -05:00
Josh Brower 3d478b92b2 Merge pull request #12294 from Security-Onion-Solutions/jppffa
Jppffa
2024-02-01 09:47:18 -05:00
Josh Brower e090518b59 Refactor script 2024-02-01 09:46:53 -05:00
weslambert 91c1e595ef Merge pull request #12297 from Security-Onion-Solutions/feature/pipeline_config_ui
Manage custom Elasticsearch and Logstash pipelines in UI
2024-02-01 09:18:30 -05:00
Wes 1818e134ca Change numbers for Logstash 2024-02-01 14:01:55 +00:00
Wes 182667bafb Change numbers for Elasticsearch 2024-02-01 13:59:23 +00:00
Wes 136097f981 Custom Logstash pipeline annotations 2024-01-31 21:47:09 +00:00
Wes bc502cc065 Custom Elasticserach pipeline annotations 2024-01-31 21:46:33 +00:00
m0duspwnens ae32ac40c2 add fleet node nginx to docker annotations 2024-01-31 16:28:45 -05:00
m0duspwnens 2f03248612 use different nginx defaults for so-fleet node hosting artifacts 2024-01-31 16:25:09 -05:00
Mike Reeves a094d1007b Merge pull request #12293 from Security-Onion-Solutions/TOoSmOotH-patch-3
fix salt lock for airgap version mismatches
2024-01-31 16:21:16 -05:00
Mike Reeves 341ff5b564 Update so-functions 2024-01-31 16:18:51 -05:00
Josh Brower 0fe96bfc2d switch to symlink 2024-01-31 16:17:40 -05:00
Wes 4672a5b8eb Custom pipeline configuration in UI 2024-01-31 20:18:17 +00:00
Wes 1853dc398b Custom pipeline configuration 2024-01-31 20:17:33 +00:00
Wes bc75be9402 Custom pipelines in UI 2024-01-31 20:16:48 +00:00
Wes cd4bd6460a Custom pipelines 2024-01-31 20:16:18 +00:00
Pete 1192dbd530 also remove intca symlink
The symlink is created in init.sls; it should be removed here.
2024-01-31 09:01:56 -05:00
Jorge Reyes 4dd0b4a4fd Merge pull request #12283 from Security-Onion-Solutions/reyesj2-patch-6
Remove remediate from initial oscap scan
2024-01-30 15:56:13 -05:00
reyesj2 b5ffa186fb Remove remediate from initial oscap scan
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-30 15:54:23 -05:00
Josh Brower 0d08bb0a91 Finalize script 2024-01-29 11:37:28 -05:00
Jorge Reyes cb5e111a00 Merge pull request #12267 from Security-Onion-Solutions/reyesj2-patch-6
Update soup
2024-01-29 10:22:35 -05:00
reyesj2 7c08b348aa Add comment for soup update w/ STIGs enabled
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-29 10:16:34 -05:00
Josh Brower afa98fa147 update artifacts URL automatically 2024-01-28 14:20:52 -05:00
Josh Brower 1847e5c3c0 Enable nginx on Fleet Node 2024-01-28 11:37:18 -05:00
Josh Brower cfc33b1a34 Sync Elastic Agent Artifacts 2024-01-28 10:12:25 -05:00
weslambert dc5ea89255 Merge pull request #12260 from Security-Onion-Solutions/fix/endpoint_diagnostic
Add template for endpoint.diagnostic.collection
2024-01-26 16:13:30 -05:00
reyesj2 c4301d7cc1 Soup script update locations
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-26 15:51:06 -05:00
reyesj2 91c7b8144d soup logic
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-26 15:43:42 -05:00
reyesj2 2e026b637d Update soup to retry modified salt command on failure to update soup scripts.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-26 11:36:33 -05:00
reyesj2 cd6e387bcb remove --local from soup common.soup_scripts update.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-25 16:15:53 -05:00
Wes 12ab6338db Add diagnostic 2024-01-25 20:16:52 +00:00
weslambert cd54d4becb Fix indent 2024-01-25 13:57:02 -05:00
weslambert 5f1c76f6ec endpoint.diagnostic.collection 2024-01-25 09:46:25 -05:00
weslambert d2d70d1c5b Merge pull request #12250 from Security-Onion-Solutions/fix/scan_pe_flags
Fix PE Flags
2024-01-24 14:29:23 -05:00
Jason Ertel e53030feef Merge pull request #12248 from Security-Onion-Solutions/jertel/pfeat
standardize feature names
2024-01-24 12:12:16 -05:00
Jason Ertel 9f17bd2255 lks/fps 2024-01-24 11:17:32 -05:00
Wes 8426aad56d Text mapping for scan.pe.flags 2024-01-24 15:10:42 +00:00
Wes d23d367058 Make scan.pe.flags a string 2024-01-24 15:08:38 +00:00
weslambert cbdaf2e9a1 Merge pull request #12242 from Security-Onion-Solutions/upgrade/strelka_0.24.01.18
Fix quote
2024-01-23 14:02:35 -05:00
weslambert 4d7af21dd5 Fix quote 2024-01-23 13:55:37 -05:00
weslambert 8348506acc Merge pull request #12240 from Security-Onion-Solutions/upgrade/strelka_0.24.01.18
UPGRADE: Strelka 0.24.01.18
2024-01-23 13:50:15 -05:00
weslambert 1698d95efe Use PLACEHOLDER for key values 2024-01-23 13:45:26 -05:00
weslambert b1052ddcce Merge pull request #12241 from Security-Onion-Solutions/fix/leak_test
Exclude specific Strelka key values
2024-01-23 13:43:18 -05:00
weslambert 0cb36bb0aa Exclude StrelkaHexDump and PLACEHOLDER values 2024-01-23 13:39:59 -05:00
weslambert 0ccdfcb07c Exclude only offset_meta_key 2024-01-23 13:11:43 -05:00
weslambert 63ba97306c Exclude Strelka defaults 2024-01-23 13:05:58 -05:00
weslambert 72319e33db Avoid leak test triggering 2024-01-23 12:38:09 -05:00
weslambert 34bb37e415 Merge pull request #12227 from Security-Onion-Solutions/feature/rita_logs
RITA Logs
2024-01-23 12:32:32 -05:00
Wes 3bcb0bc132 Update defaults 2024-01-23 17:18:54 +00:00
Jorge Reyes d25a2d4c30 Merge pull request #12230 from Security-Onion-Solutions/reyesj2-patch-sl
Handle non-zero
2024-01-23 08:31:48 -05:00
reyesj2 350b0df3bf Handle non-zero
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-22 22:48:15 -05:00
Wes 5542db0aac Leave package version null 2024-01-22 21:07:46 +00:00
Wes b08db3e05a Add RITA policy 2024-01-22 20:16:43 +00:00
Wes 80a3942245 Rename RITA pipelines 2024-01-22 20:15:48 +00:00
weslambert de6151fbe2 Merge pull request #12221 from Security-Onion-Solutions/feature/additional_integrations_4
Additional integrations #4 - Part 1
2024-01-19 17:32:37 -05:00
Wes 7118cc8dee Add additional integration SOC configuration 2024-01-19 22:04:07 +00:00
Wes 05aa8b013a Add additional integration to templates 2024-01-19 22:02:39 +00:00
Wes d0457cb61e Add additional integrations to defaults 2024-01-19 22:00:38 +00:00
Jorge Reyes c2b44985c7 Merge pull request #12220 from Security-Onion-Solutions/reyesj2-patch-sl
Disable stigs setting/verifying umask is set to 077. Known issue with …
2024-01-19 16:06:10 -05:00
reyesj2 8f8c250ed3 Disable stigs setting/verifing umask is set to 077. Known issue with running SOUP
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-19 16:04:21 -05:00
Mike Reeves 6db32885eb Merge pull request #12216 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update suricata.common
2024-01-19 13:56:48 -05:00
Mike Reeves efe8cfda95 Update suricata.common 2024-01-19 13:39:28 -05:00
Mike Reeves 08486e279c Update suricata.common 2024-01-19 13:36:43 -05:00
Jorge Reyes 40d0411441 Merge pull request #12214 from Security-Onion-Solutions/reyesj2-patch-sl
Add stig pillar dir during soup
2024-01-19 10:55:13 -05:00
reyesj2 2b6927da82 Add stig pillar dir during soup
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-19 09:55:23 -05:00
Jorge Reyes 0786806f8f Merge pull request #12213 from Security-Onion-Solutions/reyesj2-patch-sl
Update soup
2024-01-19 08:59:34 -05:00
reyesj2 ca4f2f1dd6 Add creation of additional pillars to soup for stig state
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-19 08:31:20 -05:00
Jorge Reyes 97e2721754 Merge pull request #12208 from Security-Onion-Solutions/reyesj2-patch-sl 2024-01-18 16:53:14 -05:00
reyesj2 07602076f1 Update telegraf script
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-18 16:48:16 -05:00
reyesj2 caf4036dbf Update features check
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-18 16:06:53 -05:00
Jorge Reyes 4a898619a6 Merge pull request #12206 from Security-Onion-Solutions/reyesj2-patch-sl
Remove need for stig script
2024-01-18 12:49:28 -05:00
reyesj2 65d46ea27d Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2-patch-sl 2024-01-18 12:24:35 -05:00
reyesj2 67445de4ee Remove need for stig script
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-18 12:24:01 -05:00
Jorge Reyes 6a8bf0b953 Merge pull request #12202 from Security-Onion-Solutions/reyesj2-patch-sl
Add stig state
2024-01-18 09:25:21 -05:00
weslambert 33d74098bd Merge pull request #12201 from Security-Onion-Solutions/fix/suricata_ike
Add Suricata IKE pipeline
2024-01-17 16:50:19 -05:00
reyesj2 3173f9a26f Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2-patch-sl 2024-01-17 16:28:13 -05:00
reyesj2 df921892a3 Remove post scan from remediate log.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-17 16:23:20 -05:00
reyesj2 739feb25a4 Add telegraf script to import featuresdetected
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-17 15:55:00 -05:00
reyesj2 4e6924610d Add additional status checks to so-common-status-check for telegraf
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-17 15:37:52 -05:00
Mike Reeves 880f2a3e1b Merge pull request #12197 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2024-01-17 14:19:30 -05:00
Mike Reeves 958c827fd5 Update VERSION 2024-01-17 14:18:37 -05:00
Mike Reeves aa294a7f41 Merge pull request #12195 from Security-Onion-Solutions/2.4/dev
2.4.40
2024-01-17 14:04:27 -05:00
Mike Reeves 049d0b53c2 Merge pull request #12194 from Security-Onion-Solutions/2.4.40
2.4.40
2024-01-17 12:02:14 -05:00
Mike Reeves dff6d299a1 2.4.40 2024-01-17 11:59:27 -05:00
Wes e70ce50912 Change description 2024-01-17 14:06:16 +00:00
Jason Ertel 38965ccab5 Merge pull request #12192 from Security-Onion-Solutions/needsrestarted
Needsrestarted
2024-01-16 18:49:22 -05:00
m0duspwnens eeb249e00d look for needs_restarted file 2024-01-16 17:22:09 -05:00
m0duspwnens dff06cb085 changes for telegraf os.sh 2024-01-16 17:03:36 -05:00
m0duspwnens 8c1d1c95db check needs_restarting rework 2024-01-16 17:02:27 -05:00
Wes f6590ac0bf Remove Suricata IKEv2 pipeline 2024-01-16 18:10:00 +00:00
Wes ea64ce92d3 Add Suricata IKE pipeline 2024-01-16 18:09:46 +00:00
Wes 8a92b023b2 Add interface name 2024-01-16 18:09:16 +00:00
reyesj2 6cf0b365e6 Modify yum.conf.jinja to include localpkg_gpgcheck rather than modifying it with so-stig
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-15 21:30:31 -05:00
reyesj2 4bffd8e27c Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2-patch-sl 2024-01-15 21:19:37 -05:00
reyesj2 a73d78300a Add initial stig state
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2024-01-15 21:17:17 -05:00
weslambert 790f5171a6 Merge pull request #12176 from Security-Onion-Solutions/fix/otx_pulses_template
FIX: OTX pulses template
2024-01-12 16:55:58 -05:00
weslambert 252c51dafb Change order of names 2024-01-12 16:45:18 -05:00
weslambert a07e6e1058 OTX pulses 2024-01-12 16:43:33 -05:00
weslambert 3f9678056d OTX pulses template 2024-01-12 16:42:32 -05:00
weslambert c895b6a274 Merge pull request #12173 from Security-Onion-Solutions/fix/endpoint_metrics_templates
Add endpoint metrics templates
2024-01-12 11:26:09 -05:00
Wes 418f41c7e4 Add SOC configuration for metrics 2024-01-12 15:03:18 +00:00
weslambert 05679e79fc Merge pull request #12171 from Security-Onion-Solutions/2.4/dev
Merge 2.4 dev
2024-01-12 08:50:15 -05:00
Josh Brower af3aa53612 Merge pull request #12170 from Security-Onion-Solutions/fix/nav
Remove old nav layers
2024-01-12 08:48:29 -05:00
Wes 5eae349938 Add endpoint metrics templates 2024-01-12 13:47:35 +00:00
Josh Brower 2f8ce33cf7 formatting 2024-01-12 08:47:09 -05:00
Josh Brower 61b2a76a09 Remove old nav layers-rev2 2024-01-12 08:46:23 -05:00
Josh Brower b89b7cab59 Remove old nav layers 2024-01-12 08:37:32 -05:00
weslambert 71c5e34e03 Merge pull request #12164 from Security-Onion-Solutions/fix/optional_integration_pillar_merge
Make sure optional integration pillar values are merged with defaults
2024-01-11 16:14:46 -05:00
weslambert 880300d644 Move ELASTICFLEETMERGED import under allowed states 2024-01-11 14:58:21 -05:00
weslambert f5b59cacec Move ELASTICFLEETMERGED import 2024-01-11 14:56:01 -05:00
weslambert ea5097f1b4 Add back curly brace 2024-01-11 14:51:01 -05:00
weslambert cc66daba1a Make sure optional integration pillar values are merged with defaults 2024-01-11 14:49:39 -05:00
Josh Brower ea54aafa86 Merge pull request #12161 from Security-Onion-Solutions/fix/kibana-restart
Check Kibana API not Web
2024-01-11 12:32:19 -05:00
Josh Brower 03f140161c Check Kibana API not Web 2024-01-11 12:30:23 -05:00
weslambert 7bdc306ad4 Merge pull request #12160 from Security-Onion-Solutions/feature/additional_integrations_3
Additional Supported Integrations #3
2024-01-11 12:26:14 -05:00
weslambert 5e1e685ce0 Exclude Cisco failed_attempts pipeline 2024-01-11 10:52:30 -05:00
Wes c89d674a92 Add settings for integrations 2024-01-11 14:18:06 +00:00
Wes 9b1ddcacb4 Add additional templates for integrations 2024-01-11 14:00:09 +00:00
Wes 5703023008 Add additional packages 2024-01-11 13:59:38 +00:00
Josh Brower 59fe9a0587 Merge pull request #12156 from Security-Onion-Solutions/fix/navigator
Upgrade Navigator and fix Playbook layer
2024-01-11 08:48:34 -05:00
Josh Brower b8e555e913 Upgrade Navigator and fix Playbook layer 2024-01-10 21:16:59 -05:00
Mike Reeves 16b15c786b Merge pull request #12155 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update soup
2024-01-10 14:44:51 -05:00
Mike Reeves 3e13ea5c7a Update soup 2024-01-10 14:36:49 -05:00
Josh Brower 9159eab9fd Merge pull request #12151 from Security-Onion-Solutions/fix/so-playbook-reset
Fix reinstall & reset stability
2024-01-10 14:23:53 -05:00
Mike Reeves 0519812866 Merge pull request #12154 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update so-functions
2024-01-10 14:21:49 -05:00
Mike Reeves fc2f02c0a0 Update so-functions 2024-01-10 14:19:47 -05:00
Mike Reeves 1e3a00a833 Update so-functions 2024-01-10 14:16:55 -05:00
Josh Brower f21f0a9a96 Replace sed for so-yaml 2024-01-10 11:15:51 -05:00
Josh Brower 6ff764e6a1 refactor for reinstall stability 2024-01-10 10:22:50 -05:00
Jason Ertel f5568995ac Merge pull request #12149 from Security-Onion-Solutions/jertel/logs
exempt transient license check errors
2024-01-10 09:12:46 -05:00
Jason Ertel 47eea80d03 exempt transient license check errors 2024-01-10 09:07:17 -05:00
Josh Patterson 0b919ff0fa Merge pull request #12144 from Security-Onion-Solutions/salt3006.5
Salt3006.5
2024-01-09 12:09:36 -05:00
m0duspwnens c9f2038990 remove outdated comment 2024-01-09 11:36:44 -05:00
Josh Brower bf05efa59f Merge pull request #12141 from Security-Onion-Solutions/fix/fleet-reset
Fix/fleet reset
2024-01-09 10:38:07 -05:00
Josh Brower b058bc8c05 Move to non-destructive 2024-01-09 10:22:43 -05:00
Josh Brower 7ddda03ee9 Merge pull request #12138 from Security-Onion-Solutions/fix/fim
Fix/fim
2024-01-09 08:26:55 -05:00
Josh Brower 5513e74807 comma 2024-01-09 08:12:33 -05:00
Josh Brower 31ee365a91 Fixup FIM events 2024-01-09 08:11:05 -05:00
m0duspwnens f46ac6b9d7 Merge remote-tracking branch 'origin/2.4/dev' into salt3006.5 2024-01-08 14:02:02 -05:00
m0duspwnens 31f314504e salt 3006.5 2024-01-08 14:01:40 -05:00
Mike Reeves 0d76ddd49f Merge pull request #12120 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update so-raid-status for SM based appliances
2024-01-05 10:27:21 -05:00
Mike Reeves b0447a9af5 Update so-raid-status for SM based appliances 2024-01-05 09:28:04 -05:00
Josh Patterson ef6eafeff1 Merge pull request #12118 from Security-Onion-Solutions/startupstates
enable startup_states: highstate on managers during setup and not wit…
2024-01-04 17:37:27 -05:00
m0duspwnens ccfdafea0a enable startup_states: highstate on managers during setup and not with salt 2024-01-04 16:24:48 -05:00
Josh Patterson 93cdac592e Merge pull request #12116 from Security-Onion-Solutions/issue/12033
Issue/12033
2024-01-04 09:54:29 -05:00
m0duspwnens 2eaf0e812a declare NEW_LIST outside jinja logic 2024-01-03 16:49:28 -05:00
Jorge Reyes cab7c9d573 Merge pull request #12109 from Security-Onion-Solutions/reyesj2-patch-1
Add brasero to packages list for SOD
2024-01-03 14:45:07 -05:00
Jorge Reyes 8c792a8cfa Add brasero to packages list for SOD 2024-01-03 12:17:57 -05:00
m0duspwnens c091a0845c allow user to disable elastic agent sending to manager 2024-01-03 11:48:16 -05:00
Mike Reeves cf23723c54 Merge pull request #12102 from Security-Onion-Solutions/2.4/main
2.4/main
2024-01-02 11:18:07 -05:00
Mike Reeves 30bc02178a Merge pull request #12100 from Security-Onion-Solutions/mkrtemp
2.4.30 hotfix
2024-01-02 11:16:13 -05:00
Mike Reeves 84e8013e46 Update DOWNLOAD_AND_VERIFY_ISO.md 2024-01-02 10:31:14 -05:00
Mike Reeves 80ec4cecec Merge pull request #12099 from Security-Onion-Solutions/2.4.30hf5
2.4.30 hotfix
2024-01-02 10:29:45 -05:00
Mike Reeves 82482d309a Update DOWNLOAD_AND_VERIFY_ISO.md 2024-01-02 10:09:13 -05:00
Mike Reeves d437a2856a 2.4.30 hotfix 2024-01-02 09:48:45 -05:00
Josh Patterson f0b44ad56c Merge pull request #12095 from Security-Onion-Solutions/startupstates
Change salt-minion startup_states
2024-01-02 09:18:21 -05:00
Jason Ertel cffc3353bc Merge pull request #12090 from Security-Onion-Solutions/jertel/lasths
show last highstate date/time on grid metrics screen; expose maxUploa…
2023-12-29 14:51:09 -05:00
Jason Ertel e075d07f5c show last highstate date/time on grid metrics screen; expose maxUploadSize and staleMetricsMs settings on config screen 2023-12-29 11:38:42 -05:00
Jason Ertel fe8f57c43b Merge pull request #12071 from Security-Onion-Solutions/jertel/influxerr
exclude transient influxdb error
2023-12-22 07:22:45 -05:00
Jason Ertel 3456de3a30 exclude transient influxdb error 2023-12-22 07:16:45 -05:00
Jason Ertel 14767dd8b5 Merge pull request #12067 from Security-Onion-Solutions/jertel/fixcurator
only run the file.absent state if there are files to delete
2023-12-21 09:41:46 -05:00
Jason Ertel 8189f46a03 only run the file.absent state if there are files to delete 2023-12-21 09:36:47 -05:00
weslambert cfb5c1c9d2 Merge pull request #12063 from Security-Onion-Solutions/fix/curator_log_check
Ignore Curator logs
2023-12-20 17:47:17 -05:00
weslambert 244968ce23 Remove unnecessary blank lines 2023-12-20 17:30:15 -05:00
weslambert 65f89b22b2 Ignore Curator logs 2023-12-20 17:28:55 -05:00
weslambert 7684aadb87 Merge pull request #12062 from Security-Onion-Solutions/fix/curator_remove
Curator Remove Changes
2023-12-20 15:16:47 -05:00
Wes 188744357f Remove post since function doesn't exist 2023-12-20 19:14:14 +00:00
Wes 4baf4657f6 Curator cleanup 2023-12-20 19:10:22 +00:00
Wes 1006710226 Change Curator disable config 2023-12-20 18:26:27 +00:00
weslambert cd661027a6 Remove post for 2.4.40 2023-12-20 12:23:20 -05:00
m0duspwnens 28fdf15304 remove comment 2023-12-19 16:37:32 -05:00
Mike Reeves 90edf7e8f1 Merge pull request #12053 from Security-Onion-Solutions/2.4/main
2.4/main
2023-12-19 14:40:21 -05:00
Mike Reeves 552e4c0d1c Merge pull request #12050 from Security-Onion-Solutions/hotfix/2.4.30
Hotfix/2.4.30
2023-12-19 14:37:35 -05:00
weslambert ba2c51bee2 Merge pull request #12052 from Security-Onion-Solutions/fix/analyzer_images
Fix analyzer images
2023-12-19 14:30:19 -05:00
m0duspwnens 7b9ac7ae6d remove checkin_at_boot function 2023-12-19 14:05:19 -05:00
Wes 62708ac97d Add new image 2023-12-19 18:58:17 +00:00
Wes f8fdc6d14e Remove old image 2023-12-19 18:57:54 +00:00
Mike Reeves 72fbf386eb Merge pull request #12051 from Security-Onion-Solutions/jertel/hotfixm
Jertel/hotfixm
2023-12-19 13:48:21 -05:00
Wes 15773bae34 Fix analyzer image links 2023-12-19 18:42:59 +00:00
Jason Ertel ce8a774129 Merge branch '2.4/main' into jertel/hotfixm 2023-12-19 13:42:13 -05:00
Wes c06de33318 Test EchoTrail image 2023-12-19 18:36:55 +00:00
Wes 41dc9df7cd Add images for analyzers 2023-12-19 18:35:10 +00:00
Mike Reeves cb956fb399 Merge pull request #12049 from Security-Onion-Solutions/2.4.30hf4
2.4.30 hotfix
2023-12-19 13:10:51 -05:00
Mike Reeves 5c34cdd943 2.4.30 hotfix 2023-12-19 13:07:25 -05:00
Doug Burks 5e8613f38b Merge pull request #12048 from Security-Onion-Solutions/2.4/improve-filterlog-parser
FIX: Update dashboard and hunt query for firewall logs #12021
2023-12-19 12:57:37 -05:00
weslambert 69472e70b4 Merge pull request #12003 from HoangLongVu/2.4/dev
2.4/dev Analyzers for Threatfox, MalwareBazaar, Echotrail, Elasticsearch
2023-12-19 12:09:16 -05:00
m0duspwnens 090f3a3e02 only run if in file 2023-12-19 12:08:17 -05:00
Wes 85242651b2 Add Sublime image to assets and change link 2023-12-19 15:49:57 +00:00
Jason Ertel 80cd9920b2 Merge pull request #12047 from Security-Onion-Solutions/jertel/eslogerror
exclude log false positives
2023-12-19 10:49:42 -05:00
Jason Ertel ca21e32d83 log false positives 2023-12-19 10:47:39 -05:00
Wes 6ab12ceec4 Add Elasticsearch image to assets and change link 2023-12-19 15:46:02 +00:00
Wes bfcf7d4668 Add EchoTrail image to assets and change link 2023-12-19 15:42:23 +00:00
Wes 4a23832267 Don't require advanced options for required values 2023-12-19 15:14:33 +00:00
m0duspwnens b3be999aea dont enable startup_states during setup. use salt to add it 2023-12-19 09:00:32 -05:00
Doug Burks ab5de4c104 update soc defaults.yaml 2023-12-19 07:27:07 -05:00
Wes 614589153b Update Malwarebazaar test and comply with flake8 2023-12-19 02:57:35 +00:00
Ryan Hoang 5e715036fb Update malwarebazaar_test.py 2023-12-18 19:54:14 -05:00
Ryan Hoang 748a67314f Update malwarebazaar_test.py 2023-12-18 19:27:13 -05:00
Ryan Hoang a561f8c783 Update malwarebazaar_test.py Removed Whitespace 2023-12-18 19:18:26 -05:00
Elijah Gibson fb5ee6b9e9 Flake8 linting + isInJson tail recursion update 2023-12-18 15:58:16 -05:00
Elijah Gibson 7d6f8d922b Update malwarebazaar_test.py
Flake8 linting
2023-12-18 15:57:41 -05:00
Elijah Gibson f86adf8053 Merge branch 'Security-Onion-Solutions:2.4/dev' into 2.4/dev 2023-12-18 15:57:00 -05:00
Wes 8f6b1a07b7 Don't use soup for removing Curator files 2023-12-18 20:54:24 +00:00
Wes 6c92672566 Remove Curator configuration and scripts 2023-12-18 20:53:56 +00:00
Wes aba5893965 Add disabled state for Curator 2023-12-18 20:50:49 +00:00
Josh Patterson 866c9988a0 Merge pull request #12037 from Security-Onion-Solutions/fix/receiver
Fix receivers
https://github.com/Security-Onion-Solutions/securityonion/issues/12038
2023-12-18 13:56:33 -05:00
Josh Patterson f032ff40a2 Merge branch '2.4/dev' into fix/receiver 2023-12-18 13:55:23 -05:00
Semphorin 03421c1bcd added isInJson tests 2023-12-18 13:54:38 -05:00
Doug Burks 4d8661d2e0 FIX: Update dashboard and hunt query for firewall logs #12021 2023-12-18 13:38:04 -05:00
Doug Burks 6a1073b616 FIX: Update dashboard and hunt query for firewall logs #12021 2023-12-18 12:57:40 -05:00
Wes 6a4e05d60f Remove control characters 2023-12-15 20:53:51 +00:00
Wes 981f3642a0 Update tests 2023-12-15 20:53:19 +00:00
m0duspwnens 33a9ac5701 use logstash nodes for logstash extra_hosts 2023-12-15 15:42:49 -05:00
Wes 020472085b ThreatFox test 2023-12-15 15:16:44 +00:00
Wes 8aaeee20b9 Fix import 2023-12-15 14:40:25 +00:00
Wes e32de6893b Remove control characters 2023-12-15 14:27:27 +00:00
Wes f05eb742dd Fix patch 2023-12-15 14:26:33 +00:00
Wes cd3a661dd6 Set malwarebazaar.py to be executable 2023-12-15 14:17:33 +00:00
weslambert 55c957170d Reduce complexity 2023-12-15 09:00:31 -05:00
Jackson d41daa37f1 malwarebazaar 2023-12-15 03:00:43 -05:00
Jackson b59896bb47 ThreatFox and EchoTrail 2023-12-15 02:47:54 -05:00
Jackson c59a6516fc fix Elasticsearch lint 2023-12-15 02:34:45 -05:00
Doug Burks 88684a6c19 Merge pull request #12023 from Security-Onion-Solutions/2.4/fix-firewall-queries
FIX: Update dashboard and hunt query for firewall logs #12021
2023-12-14 14:56:42 -05:00
weslambert d0d671a828 Merge pull request #12020 from Security-Onion-Solutions/fix/integration_force
Add force option to integrations
2023-12-14 13:44:32 -05:00
Doug Burks 8779fb8cbc Update defaults.yaml 2023-12-14 13:30:52 -05:00
Doug Burks 042e5ae9f0 https://github.com/Security-Onion-Solutions/securityonion/issues/12021 2023-12-14 12:46:28 -05:00
Josh Patterson 45f50cc121 Merge pull request #12019 from Security-Onion-Solutions/fix/extrahosts
fix extra_hosts
2023-12-14 12:03:07 -05:00
Wes 22fcccef1c Add force option 2023-12-14 16:53:19 +00:00
Jackson 977081b6e7 update Readme.md 2023-12-14 10:37:04 -05:00
m0duspwnens 3dbf97944d fix extra_hosts. https://github.com/Security-Onion-Solutions/securityonion/issues/12015 2023-12-14 10:26:29 -05:00
m0duspwnens 03b2a7d2de change 9805 pipeline to send to self. fix extra_hosts for logstash 2023-12-14 10:01:03 -05:00
Jason Ertel 395da2cca0 Merge pull request #12012 from Security-Onion-Solutions/jertel/eslogerror
more log false alarms
2023-12-14 08:59:12 -05:00
Jason Ertel 997d323763 more log false alarms 2023-12-14 08:55:18 -05:00
Elijah Gibson d5edf57ccb Update elasticsearch.py 2023-12-13 23:04:44 -05:00
Elijah Gibson 94b9089b79 Update elasticsearch.json 2023-12-13 23:03:42 -05:00
Jackson 81e4fe78e7 pushing everything at once 2023-12-13 13:45:48 -05:00
weslambert 5d3f2298b6 Merge pull request #12000 from Security-Onion-Solutions/feature/additional_integrations
Additional Integrations #2
2023-12-13 13:23:34 -05:00
Doug Burks b17e4006a1 Merge pull request #12001 from Security-Onion-Solutions/2.4/update-clear-scripts
FIX: Update clear scripts #11991
2023-12-13 12:01:11 -05:00
weslambert 8cf5d9c1a6 Annotations 2023-12-13 11:55:40 -05:00
weslambert cdac2bfa16 Add Anomali, Cybersixgill, Snort, and ThreatQuotient 2023-12-13 11:03:25 -05:00
weslambert b0a69d30c9 Add Anomali, Cybersixgill, Snort, and ThreatQuotient packages 2023-12-13 10:44:03 -05:00
Jason Ertel 196d59869a Merge pull request #11998 from Security-Onion-Solutions/kilo
upgrade cla action
2023-12-13 10:18:39 -05:00
Jason Ertel c0ab8f24e9 upgrade cla action 2023-12-13 10:10:51 -05:00
Jason Ertel bd26a52227 upgrade cla action 2023-12-13 10:10:23 -05:00
Jason Ertel 03279732b7 upgrade cla action 2023-12-13 10:09:36 -05:00
Doug Burks 2c4d0a0d71 Update so-elastic-fleet-reset 2023-12-12 16:37:50 -05:00
Doug Burks d49d13289e Update so-elastic-clear 2023-12-12 16:37:06 -05:00
Doug Burks aaf60bea87 Update so-nsm-clear 2023-12-12 16:30:17 -05:00
weslambert e95932f28c Merge pull request #11990 from Security-Onion-Solutions/fix/remove_curator
Remove Curator
2023-12-12 12:31:16 -05:00
Wes bbe091fa14 Fix accidental change 2023-12-12 15:08:47 +00:00
Wes 54c3167b10 Delete data streams when necessary 2023-12-12 05:25:50 +00:00
Wes b1721b6467 Fix directory 2023-12-11 21:43:25 +00:00
Jason Ertel 214404265a Merge pull request #11981 from Security-Onion-Solutions/jertel/importlogs
fix import stats
2023-12-11 14:54:29 -05:00
Jason Ertel 25c39540c8 fix import stats 2023-12-11 14:48:46 -05:00
Wes f7373ed79c Stop Curator, remove scripts and status 2023-12-11 19:20:52 +00:00
Wes d203aec44a Remove Curator 2023-12-08 19:37:06 +00:00
Jason Ertel be8ed1e1d8 Merge pull request #11970 from Security-Onion-Solutions/jertel/hfm
grid page enhancements
2023-12-08 09:56:39 -05:00
Jason Ertel a732985351 grid page enhancements 2023-12-08 08:38:42 -05:00
Jason Ertel 98947f3906 grid page enhancements 2023-12-08 08:37:42 -05:00
weslambert b80d7fd610 Merge pull request #11967 from Security-Onion-Solutions/fix/close_remove
Remove Curator close configuration
2023-12-07 15:05:38 -05:00
Wes 849e9e14ad Change soup to remove delete actions and run post_to_2.4.40 2023-12-07 16:49:44 +00:00
Wes 0ebc8c7beb Change path 2023-12-07 15:17:51 +00:00
Wes e0801282eb Remove files 2023-12-07 14:07:26 +00:00
Wes bdf4b2c68d Remove settings 2023-12-07 14:03:45 +00:00
Wes e49fc0dd27 Remove more settings 2023-12-07 14:03:09 +00:00
Wes f52da4a933 Remove close settings and cron 2023-12-07 13:58:39 +00:00
Wes f38758a9c7 Remove close scripts 2023-12-07 13:52:25 +00:00
Wes 1ac3a2d2f1 Remove delete files and allow deletion of indices managed by ILM 2023-12-07 13:51:24 +00:00
Wes 965ced94c4 Remove close files 2023-12-07 13:48:08 +00:00
Doug Burks bc3634b13d Merge pull request #11960 from Security-Onion-Solutions/2.4/fix-config-links
FIX: Documentation links under SOC - Administration - Configuration need updating #11828
2023-12-06 16:04:11 -05:00
Doug Burks 5c50060857 add description for soc_patch.yaml 2023-12-06 15:51:00 -05:00
Doug Burks 00fa75869b add description for http_x_skin 2023-12-06 15:44:36 -05:00
Doug Burks ab0e6f9bec update broken help links in SOC Config 2023-12-06 14:35:51 -05:00
Doug Burks 213cdb479d Update soc_manager.yaml 2023-12-06 14:19:15 -05:00
Mike Reeves 8da96e93c8 Merge pull request #11957 from Security-Onion-Solutions/mergeback
Merge Main into Dev
2023-12-06 13:40:30 -05:00
Mike Reeves 0160cae7d7 Merge branch '2.4/dev' into mergeback 2023-12-06 13:38:53 -05:00
Mike Reeves d7bf52de76 Merge pull request #11918 from Security-Onion-Solutions/hotfix/2.4.30
Hotfix/2.4.30
2023-12-06 13:31:33 -05:00
weslambert fea5a3026d Merge pull request #11955 from Security-Onion-Solutions/fix/sublime_analyzer_documentation
Sublime Analyzer Documentation
2023-12-06 13:27:03 -05:00
weslambert 7f21bee0d4 Add README 2023-12-06 13:14:17 -05:00
weslambert ade3a46a9a Add LocalFile link 2023-12-06 12:58:44 -05:00
weslambert e6a2e49d37 Add Sublime Platform 2023-12-06 12:57:59 -05:00
weslambert 1438913f6a Merge pull request #11954 from Security-Onion-Solutions/fix/sublime_analyzer_indentation
Fix indentation for rule_results
2023-12-06 12:50:44 -05:00
Wes 51fa4922b9 Fix indentation for rule_results 2023-12-06 17:37:07 +00:00
Mike Reeves b878728882 Merge pull request #11951 from Security-Onion-Solutions/2.4.30hf3
2.4.30 hotfix
2023-12-06 08:36:13 -05:00
Mike Reeves 386e9214fc 2.4.30 hotfix 2023-12-06 08:34:46 -05:00
weslambert 4becf3e20f Merge pull request #11950 from Security-Onion-Solutions/fix/eml_observable
Add eml observable type
2023-12-06 08:30:27 -05:00
weslambert 0334ef9677 Add eml observable type 2023-12-05 19:10:16 -05:00
weslambert 0537e1b3f6 Merge pull request #11945 from Security-Onion-Solutions/feature/sublime_platform_analyzer
Sublime Platform Analyzer
2023-12-05 16:51:03 -05:00
Wes 6fff05b444 Remove pytest.ini 2023-12-05 20:14:17 +00:00
Wes 01a37df7fc Add extra line 2023-12-05 20:02:12 +00:00
Wes b3e78c9cc3 Update live flow option 2023-12-05 19:55:23 +00:00
Wes d871b61150 Change author 2023-12-05 18:36:25 +00:00
Wes b2536a64d8 Remove extra space 2023-12-05 18:33:00 +00:00
Wes 3d1eecfad6 Add Sublime Platform analyzer 2023-12-05 18:31:50 +00:00
Mike Reeves 8eaa07a186 Merge pull request #11942 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update soup
2023-12-05 11:26:42 -05:00
Mike Reeves 9446b750c0 Update soup 2023-12-05 11:25:25 -05:00
Mike Reeves fdd4173632 Update soup 2023-12-05 11:20:56 -05:00
Mike Reeves b7227e15eb Merge pull request #11939 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update soup
2023-12-05 10:26:56 -05:00
Mike Reeves 90d9e5b927 Update soup 2023-12-05 10:24:31 -05:00
Mike Reeves 802bf9ce27 Merge pull request #11931 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update soup
2023-12-04 14:00:40 -05:00
Mike Reeves 0b6ba6d2f2 Update soup 2023-12-04 13:51:12 -05:00
Mike Reeves 55a8b1064d Update soup 2023-12-04 13:36:04 -05:00
Josh Patterson 11a3e12e94 Merge pull request #11929 from Security-Onion-Solutions/hf_soup
avoid exiting salt when ca state applied in post for 2.4.30
2023-12-04 11:46:27 -05:00
m0duspwnens 38868af08a avoid exiting salt when ca state applied in post for 2.4.30 2023-12-04 10:11:38 -05:00
Josh Patterson ace5dff351 Merge pull request #11923 from Security-Onion-Solutions/hf_soup
move wait_for_salt_minion for hotfix
2023-12-01 15:37:35 -05:00
m0duspwnens 265cde5296 move wait_for_salt_minion for hotfix 2023-12-01 15:31:15 -05:00
weslambert 55052c4811 Merge pull request #11919 from Security-Onion-Solutions/fix/remove_curator_changes
Remove Curator Changes
2023-12-01 11:15:23 -05:00
Wes e36044e164 Remove close changes 2023-12-01 16:10:56 +00:00
Wes 6fa4a69753 Remove action changes 2023-12-01 16:10:07 +00:00
Doug Burks 4fc3c852a1 Merge pull request #11890 from chateaulav/chateaulav-import-evtx-logs-11889
Update import-evtx-logs.json
2023-11-30 13:57:59 -05:00
weslambert 32b03f514e Merge pull request #11907 from Security-Onion-Solutions/fix/curator_close
Curator close fixes
2023-11-30 11:05:49 -05:00
Wes a605c5c62c Ensure indices managed by ILM can be managed by Curator 2023-11-29 22:13:20 +00:00
Wes 2368e8b793 Fix action file names 2023-11-29 22:06:11 +00:00
weslambert 317b6cb614 Merge pull request #11902 from Security-Onion-Solutions/fix/hotfix_version
Update HOTFIX
2023-11-29 17:03:59 -05:00
weslambert a6d20bdc71 Update HOTFIX 2023-11-29 17:01:29 -05:00
Doug Burks 93fb10de86 Merge pull request #11897 from Security-Onion-Solutions/2.4/nids-rule-reference
FIX: Update NIDS rule.reference in common.nids pipeline #11846
2023-11-29 12:19:12 -05:00
weslambert 1a4d009b7f Merge pull request #11896 from Security-Onion-Solutions/feature/elastic_certificate_fingerprints
Add certificate fingerprints
2023-11-29 12:07:50 -05:00
weslambert 9d63a47792 Certificate hash 2023-11-29 12:01:43 -05:00
weslambert 7001e90667 Client and server fingerprints 2023-11-29 12:00:46 -05:00
weslambert a0573212c0 Merge pull request #11891 from Security-Onion-Solutions/fix/elastic_ignore_analyzer
Ignore analyzer log
2023-11-29 10:05:01 -05:00
weslambert 5f79644aef Ignore analyzer log 2023-11-29 10:02:13 -05:00
Doug Burks 0603e96c08 FIX: Update NIDS rule.reference in common.nids pipeline #11846 2023-11-29 09:46:11 -05:00
Jonathan Race ece3c367b5 Update import-evtx-logs.json
version updates to match 2.4 release pipelines
2023-11-29 09:20:37 -05:00
Jason Ertel 8953ffcc49 Merge pull request #11855 from Security-Onion-Solutions/jertel/hfm
Jertel/hfm
2023-11-21 16:43:28 -05:00
Jason Ertel 9ee3423b32 Merge branch '2.4/dev' into jertel/hfm 2023-11-21 16:42:50 -05:00
Jason Ertel 7d759a99fe remove hotfix 2023-11-21 16:40:54 -05:00
Mike Reeves d3802c1668 Merge pull request #11854 from Security-Onion-Solutions/hotfix/2.4.30
Hotfix/2.4.30
2023-11-21 16:39:40 -05:00
Mike Reeves 874618d512 Merge pull request #11853 from Security-Onion-Solutions/2.4.30hf2
2.4.30 hotfix
2023-11-21 14:32:53 -05:00
Mike Reeves fa9032b323 2.4.30 hotfix 2023-11-21 14:28:23 -05:00
Mike Reeves 17942676c6 Merge pull request #11844 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update soup
2023-11-21 10:32:24 -05:00
Mike Reeves 458c6de39d Update soup 2023-11-21 10:30:21 -05:00
Mike Reeves a39f696a34 Merge pull request #11843 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update soup
2023-11-21 10:19:21 -05:00
Mike Reeves 9aa193af3b Update soup 2023-11-21 10:18:02 -05:00
Mike Reeves 3f1f256748 Merge pull request #11842 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update HOTFIX
2023-11-21 10:01:13 -05:00
Mike Reeves c78ea0183f Update HOTFIX 2023-11-21 09:59:51 -05:00
Mike Reeves e9417dd437 Merge pull request #11841 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update soup
2023-11-21 09:56:45 -05:00
Mike Reeves 14b5aa476e Update soup 2023-11-21 09:55:44 -05:00
Jason Ertel 861e850f9a Merge pull request #11835 from Security-Onion-Solutions/jertel/yaml
add support for nested keys
2023-11-20 16:33:17 -05:00
Jason Ertel 6356a0bf95 add support for nested keys 2023-11-20 16:18:30 -05:00
Jason Ertel f31e288005 Merge pull request #11832 from Security-Onion-Solutions/jertel/hfm
Merge hoftix back to 2.4/dev
2023-11-20 15:32:40 -05:00
Jason Ertel b2ea7138f3 remove hotfix 2023-11-20 15:28:56 -05:00
Jason Ertel f29a91ea4c Merge branch '2.4/main' into jertel/hfm 2023-11-20 15:28:27 -05:00
Mike Reeves 4b0033c60a Merge pull request #11827 from Security-Onion-Solutions/hotfix/2.4.30
Hotfix 2.4.30
2023-11-20 15:26:16 -05:00
Mike Reeves c20004c210 Merge pull request #11826 from Security-Onion-Solutions/2.4.30hf
2.4.30 hotfix
2023-11-20 11:35:11 -05:00
Mike Reeves 45dc1ce036 2.4.30 hotfix 2023-11-20 11:32:21 -05:00
Jason Ertel 0cc10fbf80 Merge pull request #11823 from Security-Onion-Solutions/jertel/igwarn
ignore libwbclient upgrade warning
2023-11-19 19:46:19 -05:00
Jason Ertel e71ee97717 ignore libwbclient upgrade warning 2023-11-19 19:03:23 -05:00
Mike Reeves 77d0a7277a Merge pull request #11818 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update soup
2023-11-17 17:07:54 -05:00
Mike Reeves 2ae87de409 Merge branch 'hotfix/2.4.30' into TOoSmOotH-patch-2 2023-11-17 17:05:11 -05:00
Josh Brower a69a65c44f Merge pull request #11819 from Security-Onion-Solutions/hftesting
Remove state file
2023-11-17 16:54:08 -05:00
Mike Reeves d89beefc8c Update soup 2023-11-17 16:53:11 -05:00
Josh Brower 9c371fc374 Remove state file 2023-11-17 16:52:34 -05:00
Mike Reeves 4fb9cce41c Update signing_policies.conf 2023-11-17 16:38:50 -05:00
Mike Reeves e226efa799 Update soup 2023-11-17 16:35:12 -05:00
Josh Brower 82a41894f3 Merge pull request #11817 from Security-Onion-Solutions/hftesting
Hftesting
2023-11-17 13:12:06 -05:00
Josh Brower 7aadc3851f Remove state file 2023-11-17 13:08:15 -05:00
Josh Brower ca1498fca1 Dont update Defend Integration 2023-11-17 12:19:22 -05:00
Josh Brower 15fc4f2655 Merge pull request #11815 from Security-Onion-Solutions/hftesting
use updated code
2023-11-17 11:23:45 -05:00
Josh Brower 089a111ae8 use updated code 2023-11-17 11:20:13 -05:00
Josh Brower 33bd04b797 Merge pull request #11811 from Security-Onion-Solutions/hftesting
Move API check logic
2023-11-17 06:02:26 -05:00
Josh Brower 5920a14478 Move API check logic 2023-11-16 20:34:01 -05:00
Jason Ertel 67f116daed Merge pull request #11809 from Security-Onion-Solutions/jertel/srtmp
improve timing of responses
2023-11-16 16:00:27 -05:00
Jason Ertel c09e8f0d71 improve timing of responses 2023-11-16 15:58:48 -05:00
Jason Ertel de99cda766 improve timing of responses 2023-11-16 15:51:17 -05:00
Josh Brower 3ede19a106 Merge pull request #11808 from Security-Onion-Solutions/2.4/defendhotfix2
Update HOTFIX
2023-11-16 15:25:24 -05:00
weslambert b6e2df45c7 Update HOTFIX 2023-11-16 14:48:00 -05:00
Josh Brower af98c8e2da Merge pull request #11805 from Security-Onion-Solutions/2.4/defendhotfix2
.30 hotfix
2023-11-16 11:42:49 -05:00
Josh Brower 6b8e48c973 Remove highstate 2023-11-16 11:41:20 -05:00
Josh Brower 109ee55d8c Add to pre for .30 soup 2023-11-16 11:37:38 -05:00
Josh Brower ff8cd194f1 Make sure kibana API is up 2023-11-16 11:21:34 -05:00
Josh Brower d5dd0d88ed .30 hotfix 2023-11-16 10:58:23 -05:00
weslambert 46c5bf40e0 Merge pull request #11804 from Security-Onion-Solutions/fix/kibana_corrupt_integration
Discard corrupt integration
2023-11-16 10:49:39 -05:00
Wes 3ed7b36865 Discard corrupt integration 2023-11-16 15:45:38 +00:00
Jason Ertel 85649da2cb Merge pull request #11792 from Security-Onion-Solutions/jertel/auto
avoid startup error
2023-11-14 15:42:26 -05:00
Jason Ertel f7fa4d05fb avoid startup error 2023-11-14 15:40:52 -05:00
Doug Burks 96b456cd76 Merge pull request #11785 from Security-Onion-Solutions/dougburks-patch-1
FIX: SOC Hunt HTTP EXE query #11784
2023-11-14 10:03:46 -05:00
Doug Burks 4666b993e5 Update defaults.yaml 2023-11-14 09:58:45 -05:00
Mike Reeves 4fa6b265a0 Merge pull request #11778 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-11-13 15:38:53 -05:00
Mike Reeves 567e19e5d7 Update VERSION 2023-11-13 15:38:23 -05:00
Mike Reeves f036623d55 Merge pull request #11777 from Security-Onion-Solutions/2.4/dev
2.4.30
2023-11-13 15:27:24 -05:00
Mike Reeves 1204ce96f3 Merge pull request #11776 from Security-Onion-Solutions/2.4.30
2.4.30
2023-11-13 13:13:29 -05:00
Mike Reeves bc178a9784 2.4.30 2023-11-13 13:11:49 -05:00
Mike Reeves c338daabce Merge pull request #11769 from Security-Onion-Solutions/TOoSmOotH-patch-7
Update soup
2023-11-13 08:51:40 -05:00
Mike Reeves fe7af49a82 Update soup 2023-11-13 08:37:46 -05:00
weslambert aeb09b16db Merge pull request #11760 from Security-Onion-Solutions/fix/elastic_packages
Add Elastic Agent package and upgrade packages when elasticfleet.packages list changes
2023-11-10 10:20:17 -05:00
weslambert 583ec5176e Add package check 2023-11-10 10:15:52 -05:00
weslambert 4bb1dabb89 Add elastic_agent 2023-11-10 10:14:59 -05:00
Josh Brower 89c3d45abe Merge pull request #11751 from Security-Onion-Solutions/2.4/fleetresetfix2
Remove unneeded datastreams
2023-11-09 15:04:02 -05:00
Josh Brower 551f7831de Add more clarity to message 2023-11-09 15:01:56 -05:00
Josh Brower 193c9d202e Remove unneeded datastreams 2023-11-09 14:30:00 -05:00
Josh Brower b5912fc1e4 Merge pull request #11750 from Security-Onion-Solutions/2.4/defendpolicy
Upgrade Defend Integration policy
2023-11-09 12:48:57 -05:00
Josh Brower 33f538b73e Upgrade Defend Integration policy 2023-11-09 11:52:06 -05:00
Josh Brower d3ea5def69 Merge pull request #11747 from Security-Onion-Solutions/2.4/resetscriptfix
remove state file
2023-11-09 09:12:52 -05:00
Josh Brower d1b6ef411b remove state file 2023-11-09 09:01:57 -05:00
Jason Ertel 8ca825b9a1 Merge pull request #11745 from Security-Onion-Solutions/jertel/yaml
re-add source pkgs from accidental commit
2023-11-09 07:19:22 -05:00
Jason Ertel 209e237d0d re-add source pkgs from accidental commit 2023-11-09 00:34:52 -05:00
Jason Ertel 325dceb01b Merge pull request #11743 from Security-Onion-Solutions/fix/elastic_template_check
Additional fixes for index template check
2023-11-09 00:15:14 -05:00
weslambert 02baa18502 Add metrics 2023-11-08 22:41:24 -05:00
Jason Ertel 268dc03131 Merge pull request #11742 from Security-Onion-Solutions/jertel/yaml
add yaml helper script; refactor python testing
2023-11-08 21:06:04 -05:00
weslambert e39edab00d Exclude osquery and display failed name 2023-11-08 20:55:08 -05:00
weslambert acb6e84248 Don't load index template if component template doesn't exist 2023-11-08 20:34:08 -05:00
Jason Ertel 9231c8d2f2 replace reset sed with new script 2023-11-08 19:17:32 -05:00
Jason Ertel bc044fa2d5 more coverage 2023-11-08 18:42:06 -05:00
Jason Ertel 84b815c2ef add yaml helper script; refactor python testing 2023-11-08 18:30:05 -05:00
Jason Ertel 1ab44a40d3 add yaml helper script; refactor python testing 2023-11-08 18:29:06 -05:00
Jason Ertel 9317e51f20 add yaml helper script; refactor python testing 2023-11-08 18:26:37 -05:00
Jason Ertel 33a8ef1568 add yaml helper script; refactor python testing 2023-11-08 18:24:23 -05:00
Josh Patterson 01e846ba22 Merge pull request #11741 from Security-Onion-Solutions/issue/11738
remove comments from BPFs
2023-11-08 15:25:02 -05:00
weslambert 9df3a8fc18 Merge pull request #11740 from Security-Onion-Solutions/fix/elastic_templates
Remove template files
2023-11-08 15:20:01 -05:00
weslambert 36098e6314 Remove template files 2023-11-08 14:32:58 -05:00
Jason Ertel 32079a7bce Merge pull request #11734 from Security-Onion-Solutions/fix/elastic_scripts
Improve error handling and add retry logic
2023-11-08 12:19:00 -05:00
Jason Ertel 3701c1d847 ignore retry logging 2023-11-08 11:50:56 -05:00
m0duspwnens f46aef1611 remove comments from BPFs 2023-11-08 11:23:19 -05:00
Jason Ertel d256be3eb3 allow template loads to partially succeed only on the initial attempt 2023-11-08 10:32:11 -05:00
Wes 653fda124f Check expected with retry 2023-11-08 13:02:17 +00:00
Wes b46e86c39b Extend index template loading to 60 attempts and a total of ~5 minutes 2023-11-08 02:29:09 +00:00
Wes de9f9549af Extend template loading to 24 attempts and a total of ~2 minutes 2023-11-07 23:55:03 +00:00
weslambert 749e22e4b9 Fix if statement 2023-11-07 17:29:38 -05:00
weslambert 69ec1987af Fix if statement 2023-11-07 17:28:37 -05:00
Wes 570624da7e Remove RETURN_CODE 2023-11-07 21:09:29 +00:00
Wes 7772657b4b Remove RETURN_CODE 2023-11-07 21:06:35 +00:00
Jason Ertel 6d97667634 Merge branch '2.4/dev' into kilo 2023-11-07 15:59:52 -05:00
Wes 1676c84f9c Use the retry function so-elasticsearch-query 2023-11-07 19:56:50 +00:00
Jason Ertel e665899e4d Merge pull request #11735 from Security-Onion-Solutions/fix/elastic_agent_template
Change pipeline to 1.13.1
2023-11-07 14:11:47 -05:00
weslambert 1dcca0bfd3 Change pipeline to 1.13.1 2023-11-07 12:17:51 -05:00
Wes 0b4a246ddb State file changes and retry logic 2023-11-07 16:44:42 +00:00
weslambert f97dc70fcb Merge pull request #11732 from Security-Onion-Solutions/fix/elastic_agent_template
Change pipeline to 1.8.0
2023-11-07 09:08:25 -05:00
weslambert cce80eb2fb Change pipeline to 1.8.0 2023-11-07 09:02:48 -05:00
Jason Ertel 2f95512199 Merge branch '2.4/dev' into kilo 2023-11-06 11:27:58 -05:00
Jason Ertel b008661b6b Merge pull request #11726 from Security-Onion-Solutions/jertel/auto
improve verbosity of setup logs
2023-11-06 11:27:33 -05:00
Jason Ertel b99c7ce76e improve verbosity of setup logs 2023-11-06 11:22:35 -05:00
Wes c30a0d5b5b Better error handling and state file management 2023-11-06 14:29:01 +00:00
Wes 74eda68d84 Exit if unable to communicate with Elasticsearch 2023-11-06 13:16:35 +00:00
Josh Brower ef1dfc3152 Merge pull request #11722 from Security-Onion-Solutions/2.4/packageupgrade
Set execute permissions
2023-11-06 08:06:13 -05:00
Josh Brower f6cd35e143 Set execute permissions 2023-11-06 08:03:31 -05:00
Jason Ertel d010af9a24 Merge pull request #11718 from Security-Onion-Solutions/jertel/auto
disregard false positives
2023-11-04 16:32:02 -04:00
Jason Ertel 7a0b21647f disregard false positives 2023-11-04 10:05:37 -04:00
Josh Patterson 610374816d Merge pull request #11714 from Security-Onion-Solutions/change/so-minion
apply es and soc states to manager if new search or hn are added
2023-11-03 16:43:16 -04:00
Josh Brower 3ff74948d8 Merge pull request #11713 from Security-Onion-Solutions/2.4/agentupdate
Upgrade Elastic Agent
2023-11-03 15:23:55 -04:00
Josh Brower 0086c24729 Upgrade Elastic Agent 2023-11-03 15:21:06 -04:00
m0duspwnens 9d2b84818f apply es and soc states to manager if new search or hn are added 2023-11-03 15:00:13 -04:00
Mike Reeves b74aa32deb Merge pull request #11712 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update soc_elasticsearch.yaml
2023-11-03 11:33:00 -04:00
Mike Reeves 3d8663db66 Update soc_elasticsearch.yaml 2023-11-03 11:29:45 -04:00
Josh Brower 65978a340f Merge pull request #11710 from Security-Onion-Solutions/2.4/navlayerfix
exit 0
2023-11-03 11:07:10 -04:00
Josh Brower a8b0e41dbe exit 0 2023-11-03 11:04:52 -04:00
Jason Ertel 1bc4b44be7 Merge pull request #11709 from Security-Onion-Solutions/jertel/auto
ignore malformed open canary log lines
2023-11-03 09:17:23 -04:00
Jason Ertel 1a3d4a2051 ignore malformed open canary log lines 2023-11-03 09:14:26 -04:00
Josh Brower 9d639df882 Merge pull request #11708 from Security-Onion-Solutions/2.4/metadatafix2
Dont overwrite metadata
2023-11-03 08:47:48 -04:00
Josh Brower 8c7767b381 Dont overwrite metadata 2023-11-03 08:41:33 -04:00
weslambert 96582add5e Merge pull request #11704 from Security-Onion-Solutions/feature/integrations_checkpoint_vsphere
Checkpoint and VSphere Integrations
2023-11-02 17:17:03 -04:00
Wes 5bfef3f527 Add checkpoint and vsphere templates 2023-11-02 21:10:01 +00:00
Wes 3875970dc5 Add checkpoint and vsphere packages 2023-11-02 21:09:37 +00:00
Jason Ertel 7aa4f28524 Merge pull request #11702 from Security-Onion-Solutions/jertel/auto
ignore connectivity problems to docker containers during startup
2023-11-02 16:48:09 -04:00
Jason Ertel 96fdfb3829 ignore connectivity problems to docker containers during startup 2023-11-02 16:46:41 -04:00
weslambert ac593e4632 Merge pull request #11701 from Security-Onion-Solutions/fix/elastic_templates_common
Don't source so-elastic-fleet-common if not there
2023-11-02 16:43:27 -04:00
weslambert 51e7861757 Don't source so-elastic-fleet-common if not there 2023-11-02 16:41:34 -04:00
Jason Ertel 6332df04d1 Merge pull request #11695 from Security-Onion-Solutions/jertel/auto
Jertel/auto
2023-11-02 13:07:09 -04:00
Jason Ertel 32701b5941 more log bypass 2023-11-02 12:50:12 -04:00
Josh Brower 0dec6693dc Merge pull request #11678 from Security-Onion-Solutions/2.4/fleetreset
Add Elastic Fleet reset script
2023-11-02 11:33:58 -04:00
Jason Ertel 41a6ab5b4f Merge pull request #11691 from Security-Onion-Solutions/jertel/auto
more log bypass
2023-11-02 10:41:17 -04:00
Jason Ertel e18e0fd69a more log bypass 2023-11-02 10:39:14 -04:00
Josh Brower 2c0e287f8c Fix name 2023-11-02 10:34:24 -04:00
Josh Patterson 9a76cfe3d3 Merge pull request #11690 from Security-Onion-Solutions/upgrade/salt3006.3v2
fix UPGRADECOMMAND used for distrib salt upgrade. remove unneeded vars
2023-11-02 10:28:29 -04:00
m0duspwnens 6c4dc7cc09 fix UPGRADECOMMAND used for distrib salt upgrade. remove unneeded vars 2023-11-02 10:23:03 -04:00
Josh Brower 5388b92865 Refactor & cleanup 2023-11-02 10:20:32 -04:00
Jason Ertel f932444101 Merge pull request #11689 from Security-Onion-Solutions/jertel/auto
more log bypass
2023-11-02 10:02:13 -04:00
Jason Ertel 1d2518310d more log bypass 2023-11-02 09:59:45 -04:00
weslambert e10f043b1c Merge pull request #11688 from Security-Onion-Solutions/fix/integrations_roles
Add eval and import roles
2023-11-02 09:58:40 -04:00
weslambert 65735fc4d3 Add eval and import roles 2023-11-02 09:54:01 -04:00
Jason Ertel b7f516fca4 Merge pull request #11687 from Security-Onion-Solutions/jertel/auto
adjust log filter to include all hosts
2023-11-02 09:24:08 -04:00
Jason Ertel c8d8997119 adjust log filter to include all hosts 2023-11-02 09:21:57 -04:00
Josh Brower c230cf4eb7 Formatting 2023-11-01 17:00:32 -04:00
Josh Brower 344dd7d61f Add Elastic Fleet reset script 2023-11-01 16:50:20 -04:00
Mike Reeves cd8949d26b Merge pull request #11677 from Security-Onion-Solutions/lowram
Allow 16GB of memory
2023-11-01 16:38:40 -04:00
weslambert f9e2940181 Merge pull request #11676 from Security-Onion-Solutions/feature/sublime_platform_integration
Sublime Platform Integration
2023-11-01 16:13:57 -04:00
Wes f33079f1e3 Make settings global 2023-11-01 20:09:56 +00:00
Mike Reeves e6a0838e4c Add memory restrictions 2023-11-01 15:26:24 -04:00
Mike Reeves cc93976db9 Add memory restrictions 2023-11-01 15:17:23 -04:00
Mike Reeves b3b67acf07 Add memory restrictions 2023-11-01 15:11:54 -04:00
Josh Patterson 64926941dc Merge pull request #11674 from Security-Onion-Solutions/foxtrot
Foxtrot
2023-11-01 15:03:30 -04:00
Wes c32935e2e6 Remove optional integration from configuration if not enabled 2023-11-01 17:02:43 +00:00
Mike Reeves 4f98beaf9e Merge pull request #11671 from Security-Onion-Solutions/TOoSmOotH-patch-4
Remove legacy pillar info
2023-11-01 13:00:34 -04:00
Wes 655c88cd09 Make sure enabled_nodes is populated 2023-11-01 16:47:51 +00:00
Mike Reeves f62e02a477 Delete pillar/thresholding/pillar.example 2023-11-01 10:42:29 -04:00
Mike Reeves 2b3e405b2d Delete pillar/thresholding/pillar.usage 2023-11-01 10:41:40 -04:00
Josh Patterson 59328d3909 Merge pull request #11670 from Security-Onion-Solutions/fix/soupagrepo
Fix/soupagrepo
2023-11-01 10:36:17 -04:00
m0duspwnens 4d7b1095b7 Merge remote-tracking branch 'origin/2.4/dev' into fix/soupagrepo 2023-11-01 10:31:59 -04:00
m0duspwnens 338146fedd fix repo update during soup for airgap 2023-11-01 10:19:56 -04:00
Wes bca1194a46 Sublime SOC Action 2023-11-01 14:01:55 +00:00
Wes a0926b7b87 Load optional integrations 2023-11-01 13:59:24 +00:00
Wes 44e45843bf Change optional integration Fleet configuration 2023-11-01 13:52:38 +00:00
Wes 9701d0ac20 Optional integration Fleet configuration 2023-11-01 13:47:20 +00:00
Wes 23ee9c2bb0 Sublime Platform integration 2023-11-01 13:41:40 +00:00
Wes 51247be6b9 Sublime Platform integration defaults 2023-11-01 13:37:52 +00:00
Wes 4dc64400c5 Support document_id 2023-11-01 13:36:32 +00:00
Wes ae45d40eca Add Sublime Platform ingest pipeline 2023-11-01 13:34:30 +00:00
Mike Reeves ebf982bf86 Merge pull request #11666 from Security-Onion-Solutions/TOoSmOotH-patch-3
Remove unused scripts and functions
2023-10-31 15:18:23 -04:00
Mike Reeves d07cfdd3fe Update so-functions 2023-10-31 13:10:55 -04:00
Mike Reeves 497294c363 Delete salt/common/tools/sbin/so-zeek-logs 2023-10-31 12:57:10 -04:00
Mike Reeves cc3a69683c Delete salt/manager/tools/sbin/so-allow-view 2023-10-31 12:55:47 -04:00
Mike Reeves 0c98bd96c7 Delete salt/idstools/tools/sbin/so-rule
UI does this now
2023-10-31 12:52:00 -04:00
Jason Ertel a6d456e108 Merge pull request #11665 from Security-Onion-Solutions/jertel/auto
ignore specific Suricata errors
2023-10-31 11:20:28 -04:00
Jason Ertel c420e198fb ignore specific Suricata errors 2023-10-31 11:18:39 -04:00
weslambert 5a85003952 Merge pull request #11664 from Security-Onion-Solutions/fix/elastic_import
Add import roles
2023-10-31 10:47:13 -04:00
weslambert c354924b68 Add import roles 2023-10-31 10:05:29 -04:00
Jason Ertel db0d687b87 Merge pull request #11661 from Security-Onion-Solutions/fix/elastic_eval_roles
Add roles for eval mode
2023-10-30 22:01:22 -04:00
weslambert ed6473a34b Add roles for eval mode 2023-10-30 20:41:49 -04:00
Josh Patterson 1b99d5081a Merge pull request #11659 from Security-Onion-Solutions/issue/11457
ensure networkminer is latest version
2023-10-30 16:20:36 -04:00
m0duspwnens 07e51121ba ensure networkminer is latest version 2023-10-30 16:11:36 -04:00
weslambert 9a1e95cd09 Merge pull request #11648 from Security-Onion-Solutions/fix/ilm_remove_policy
Remove ILM policies for Cases and OSQuery manager indices
2023-10-27 17:28:59 -04:00
weslambert 76dd6f07ab Remove policy for OSQuery manager indices 2023-10-27 17:26:33 -04:00
weslambert c955f9210a Remove policy for Cases indices 2023-10-27 17:24:27 -04:00
Josh Patterson d35483aa02 Merge pull request #11647 from Security-Onion-Solutions/upgrade/salt3006.3v2
Upgrade/salt3006.3v2
2023-10-27 14:37:16 -04:00
Jorge Reyes a9284b35a2 Merge pull request #11644 from Security-Onion-Solutions/bravo
UPGRADE: influxdb 2.7.1 & telegraf 1.28.2
2023-10-27 12:16:48 -04:00
Jason Ertel 58cab35a4c Merge pull request #11643 from Security-Onion-Solutions/kilo
oidc
2023-10-27 11:21:20 -04:00
Jason Ertel 6d7243038c switch back to kilo version 2023-10-27 11:20:49 -04:00
Jason Ertel 3a83c52660 minor updates 2023-10-27 11:20:05 -04:00
Jason Ertel d42b5ef901 remove unused url props to avoid kratos complaining about invalid urls when they're blank 2023-10-27 11:18:56 -04:00
m0duspwnens 2b511cef77 Merge branch 'upgrade/salt3006.3' into upgrade/salt3006.3v2 2023-10-27 10:58:09 -04:00
Josh Patterson 4bbcc5002a Revert "Revert "Upgrade/salt3006.3""
This reverts commit c41e19ad0b.
2023-10-27 10:56:45 -04:00
Mike Reeves f1dbea6e2d Merge pull request #11623 from Security-Onion-Solutions/warmui
Warm Node UI Changes
2023-10-27 10:36:23 -04:00
Mike Reeves 25f1a0251f Annotation changes for warm node 2023-10-27 09:08:07 -04:00
Mike Reeves 87494f64c7 Annotation changes for warm node 2023-10-27 09:06:12 -04:00
Mike Reeves ce1858fe05 Annotation changes for warm node 2023-10-27 09:02:39 -04:00
Mike Reeves 9fc3a73035 Annotation changes for warm node 2023-10-27 08:58:08 -04:00
Josh Brower 0d52efafa8 Merge pull request #11637 from Security-Onion-Solutions/2.4/kibanauser
2.4/kibanauser
2023-10-27 08:43:12 -04:00
defensivedepth 3b63ef149a Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/kibanauser 2023-10-27 07:50:58 -04:00
defensivedepth cc3ee43192 Make dirs as needed 2023-10-27 07:49:34 -04:00
Mike Reeves b37e38e3c3 Update defaults.yaml 2023-10-26 16:03:58 -04:00
Jorge Reyes 25982b79ab Merge pull request #11633 from Security-Onion-Solutions/reyesj2/influxdb_config
UPGRADE: Influxdb 2.7.1 & telegraf 1.28.2
2023-10-26 14:37:09 -04:00
Jason Ertel cb9d72ebd7 switch back to kilo version 2023-10-26 14:19:59 -04:00
m0duspwnens 7e8f3b753f add minion name to log, update comment 2023-10-26 13:19:04 -04:00
reyesj2 47373adad2 Specify config.yaml in config_path. Otherwise when no influxd.bolt exists influxdb will fail to read the config file and won't create a new db.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2023-10-26 13:15:40 -04:00
m0duspwnens 6891a95254 remove wait_for_salt_minion from so-functions 2023-10-26 13:02:39 -04:00
Mike Reeves 2e0100fd35 Update defaults.yaml 2023-10-26 12:37:55 -04:00
Jason Ertel a969c319f5 Merge pull request #11631 from Security-Onion-Solutions/kilo
oidc
2023-10-26 12:30:06 -04:00
Jason Ertel 4942f83d4f adjust version to match target branch 2023-10-26 11:45:39 -04:00
Josh Brower 6f4566c23e Merge pull request #11609 from Security-Onion-Solutions/2.4/kibanauser
Add kibana curl config
2023-10-26 10:42:32 -04:00
Wes 891ea997e7 Add lifecycle policies and warm settings 2023-10-26 12:25:37 +00:00
Mike Reeves 01810a782c Annotation changes for warm node 2023-10-25 16:46:30 -04:00
Mike Reeves 6d6292714f Annotation changes for warm node 2023-10-25 16:21:47 -04:00
Mike Reeves 88fb7d06e6 Annotation changes for warm node 2023-10-25 16:20:28 -04:00
Josh Patterson 39abe19cfd Update config.map.jinja 2023-10-25 16:17:06 -04:00
Josh Patterson 807b40019f Update soc_elasticsearch.yaml 2023-10-25 16:16:48 -04:00
Josh Patterson 5f168a33ed Update defaults.yaml 2023-10-25 16:16:01 -04:00
Mike Reeves d1170cb69f Update soc_elasticsearch.yaml 2023-10-25 16:05:20 -04:00
m0duspwnens 19fdc9319b fix role update 2023-10-25 15:58:26 -04:00
Mike Reeves dc53b49f15 Update soup 2023-10-25 15:53:39 -04:00
Josh Patterson af4b34801f Update defaults.yaml 2023-10-25 15:48:27 -04:00
Josh Patterson 1ae8896a05 Update config.map.jinja 2023-10-25 15:47:40 -04:00
Mike Reeves 6fb0c5dbfe Annotation changes for warm node 2023-10-25 15:37:36 -04:00
Mike Reeves 58bf6d3eff Merge branch '2.4/dev' of github.com:Security-Onion-Solutions/securityonion into warmui 2023-10-25 15:37:14 -04:00
Mike Reeves a887551dad Annotation changes for warm node 2023-10-25 15:22:47 -04:00
Jason Ertel b20177b0ef Merge branch '2.4/dev' into kilo 2023-10-25 15:19:57 -04:00
defensivedepth 1e710a22ce Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/kibanauser 2023-10-25 11:33:38 -04:00
Josh Patterson d562445686 Merge pull request #11619 from Security-Onion-Solutions/revert-11612-upgrade/salt3006.3
Revert "Upgrade/salt3006.3"
2023-10-25 11:28:14 -04:00
Josh Patterson c41e19ad0b Revert "Upgrade/salt3006.3" 2023-10-25 11:01:13 -04:00
m0duspwnens a3e6b1ee1d change generate_ssl wait_for_salt_minion 2023-10-25 09:26:36 -04:00
Jason Ertel a28cc274ba Merge branch '2.4/dev' into kilo 2023-10-25 09:04:36 -04:00
Jason Ertel a66006c8a6 minor updates 2023-10-25 09:04:23 -04:00
defensivedepth 3ad480453a Rename to remove dupe 2023-10-25 07:20:07 -04:00
Josh Patterson 205748e992 Merge pull request #11613 from Security-Onion-Solutions/issue/11610
fix issue/11610
2023-10-24 18:16:44 -04:00
m0duspwnens dfe707ab64 fix issue/11610 2023-10-24 17:26:39 -04:00
Josh Patterson 308e5ea505 Merge pull request #11612 from Security-Onion-Solutions/upgrade/salt3006.3
Upgrade/salt3006.3
2023-10-24 16:45:12 -04:00
m0duspwnens 3e343bff84 fix line to log properly 2023-10-24 16:40:51 -04:00
m0duspwnens 1d6e32fbab dont exit if salt isnt running 2023-10-24 15:08:50 -04:00
defensivedepth 310a6b4f27 Add kibana curl config 2023-10-24 14:21:01 -04:00
m0duspwnens 180ba3a958 if deb fam, stop salt-master and salt-minion after salt upgrade 2023-10-24 13:24:52 -04:00
m0duspwnens 6d3465626e if deb fam, stop salt-master and salt-minion after salt upgrade 2023-10-24 12:52:25 -04:00
m0duspwnens fab91edd2d Merge remote-tracking branch 'origin/2.4/dev' into upgrade/salt3006.3 2023-10-24 09:41:23 -04:00
m0duspwnens 752390be2e merge with dev, fix confict 2023-10-24 09:40:09 -04:00
Mike Reeves 02639d3bc5 Merge pull request #11606 from Security-Onion-Solutions/TOoSmOotH-patch-2
Enable http2 for Suricata
2023-10-24 09:23:07 -04:00
Mike Reeves 4a3fc06a4d Enable http2 for Suricata 2023-10-24 09:18:10 -04:00
weslambert 0c2b3f3c62 Merge pull request #11600 from Security-Onion-Solutions/fix/suricata_pkt_src
Parse pkt_src for Suricata logs
2023-10-23 15:51:30 -04:00
weslambert 660020cc76 Parse pkt_src for Suricata logs 2023-10-23 15:45:41 -04:00
Jorge Reyes b59a95b72f Merge pull request #11594 from Security-Onion-Solutions/fix/playbookrule
FIX: Add -watch to soctopus saltstate for file SOCtopus.conf. Makes contai…
2023-10-23 11:51:53 -04:00
reyesj2 030a667d26 Add -watch to soctopus saltstate for file SOCtopus.conf. Makes container restart @ highstate if file is updated.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2023-10-23 11:47:14 -04:00
Josh Patterson a40760e601 Merge pull request #11592 from Security-Onion-Solutions/minechanges
Minechanges
2023-10-23 10:37:05 -04:00
m0duspwnens dc3ca99c12 ask the minion if it can see itself in the mine 2023-10-20 17:16:33 -04:00
m0duspwnens 7e3aa11a73 check mine is populated with ip before telling node to highstate 2023-10-20 16:27:20 -04:00
m0duspwnens c409339446 change post setup highstate cron to 5 minutes since accepting minion runs a highstate 2023-10-20 13:46:24 -04:00
m0duspwnens c588bf4395 update mine and highstate minion when added 2023-10-20 13:43:12 -04:00
m0duspwnens 6d77b1e4c3 continue loop if minion not in mine 2023-10-20 13:41:53 -04:00
m0duspwnens 99662c999f log operation and minion target 2023-10-20 13:41:24 -04:00
m0duspwnens ef2b89f5bf fix attempts logic 2023-10-20 13:40:40 -04:00
Josh Patterson 2878f82754 Merge pull request #11582 from Security-Onion-Solutions/minechanges
handle a minion not being in the mine data return
2023-10-20 10:07:44 -04:00
m0duspwnens 2e16250c93 handle a minion not being in the mine data return 2023-10-20 10:00:39 -04:00
m0duspwnens f03bbdbc09 Merge remote-tracking branch 'origin/2.4/dev' into upgrade/salt3006.3 2023-10-19 17:01:12 -04:00
m0duspwnens dbfccdfff8 fix logging when using wait_for_minion 2023-10-19 16:53:03 -04:00
m0duspwnens dfcbbfd157 update call to wait_for_salt_minion with new options in so-functions 2023-10-19 15:58:50 -04:00
m0duspwnens 37e803917e have soup wait_for_salt_minion() before running any highstate 2023-10-19 15:58:10 -04:00
m0duspwnens 66ee074795 add wait_for_salt_minion to so-common 2023-10-19 15:57:24 -04:00
m0duspwnens 90bde94371 handle debian family salt upgrade for soup 2023-10-19 13:46:48 -04:00
m0duspwnens 84f8e1cc92 debian family upgrade salt without -r flag 2023-10-19 13:46:07 -04:00
m0duspwnens e3830fa286 all more os to set_os in so-common 2023-10-19 13:43:03 -04:00
m0duspwnens 13a5c8baa7 remove extra || 2023-10-19 11:19:51 -04:00
m0duspwnens c5610edd83 handle salt for r9 and c9 2023-10-19 11:12:20 -04:00
weslambert 5119e6c45a Merge pull request #11570 from Security-Onion-Solutions/feature/additional_integrations
Additional integrations
2023-10-19 09:30:40 -04:00
m0duspwnens 02e22c87e8 Merge remote-tracking branch 'origin/2.4/dev' into upgrade/salt3006.3 2023-10-19 09:15:31 -04:00
Mike Reeves 0772926992 Merge pull request #11573 from Security-Onion-Solutions/minechanges 2023-10-18 19:45:23 -04:00
m0duspwnens b2bb92d413 remove extra space 2023-10-18 19:38:19 -04:00
Mike Reeves 19bebe44aa Merge pull request #11572 from Security-Onion-Solutions/minechanges 2023-10-18 19:37:34 -04:00
m0duspwnens f30a652e19 add back redirects 2023-10-18 19:31:45 -04:00
m0duspwnens ff18b1f074 remove redirect 2023-10-18 18:45:14 -04:00
m0duspwnens 9eb682bc40 generate_ca after salt-master and salt-minion states run 2023-10-18 18:37:35 -04:00
Wes c135f886a9 Remove Carbon Black Cloud integration 2023-10-18 20:41:34 +00:00
Wes 28b7a24cc1 Add templates for integrations 2023-10-18 20:36:04 +00:00
m0duspwnens a52ee063e5 use generate_ca and generate_ssl functions and move them up 2023-10-18 16:35:33 -04:00
Wes 767a54c91b Add pkgs 2023-10-18 20:07:26 +00:00
m0duspwnens ac28e1b967 verify crt and key differently in checkmine 2023-10-18 15:53:12 -04:00
Jorge Reyes 5e10a0d9e2 Merge pull request #11568 from Security-Onion-Solutions/2.4/zeek6
Add back plugin-tds/ plugin-profinet. Using patched versions for Zeek 6
2023-10-18 15:39:30 -04:00
reyesj2 dd28dc6ddd Add back plugin-tds/ plugin-profinet. Using patched versions for Zeek 6
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2023-10-18 15:30:32 -04:00
m0duspwnens e58c1e189c use x509 instead of file for onchanges 2023-10-18 15:10:17 -04:00
m0duspwnens 1c1b23c328 fix mine update for ca 2023-10-18 15:07:18 -04:00
m0duspwnens 2206cdb0fa change soup comment 2023-10-18 15:04:39 -04:00
m0duspwnens 1999db0bb3 apply ca state early in setup 2023-10-18 15:02:22 -04:00
m0duspwnens c3cde61202 docker service watches and requires the intca 2023-10-18 15:01:26 -04:00
m0duspwnens 8e68f96316 check that the manager has a ca in the mine and that it is valid 2023-10-18 13:59:15 -04:00
m0duspwnens 138aa9c554 update the mine with the ca when it is created or changed 2023-10-18 13:54:14 -04:00
weslambert f0e380870d Merge pull request #11567 from Security-Onion-Solutions/fix/mhr_docs
Add note regarding DNS resolver
2023-10-18 13:46:25 -04:00
weslambert 34717fb65e Add note regarding DNS resolver 2023-10-18 13:44:09 -04:00
Josh Patterson d81dfb99d0 Merge pull request #11563 from Security-Onion-Solutions/minechanges
Minechanges
2023-10-17 17:36:46 -04:00
m0duspwnens fb9a0ab8b6 endif not fi in jinja 2023-10-17 17:33:53 -04:00
m0duspwnens 928fb23e96 only add node to pillar if returned ip from mine 2023-10-17 17:28:28 -04:00
m0duspwnens d9862aefcf handle mine.p not being present. only check if mine_ip exists, dont compare to alived ip 2023-10-17 17:09:52 -04:00
m0duspwnens 496b97d706 handle the mine file not being present before checking the size 2023-10-17 15:42:42 -04:00
weslambert 830b5b9a21 Merge pull request #11560 from Security-Onion-Solutions/foxtrot
Elastic 8.10.4
2023-10-17 13:47:21 -04:00
weslambert 06e731c762 Update VERSION 2023-10-17 13:33:12 -04:00
weslambert be2a829524 Elastic 8.10.4 2023-10-17 10:49:03 -04:00
weslambert 8cab242ad0 Elastic 8.10.4 2023-10-17 10:48:31 -04:00
weslambert 99054a2687 Elastic 8.10.4 2023-10-17 10:47:26 -04:00
weslambert adcb7840bd Elastic 8.10.3 2023-10-17 10:38:20 -04:00
weslambert 8db6fef92d Elastic 8.10.3 2023-10-17 10:35:36 -04:00
weslambert 24329e3731 Update config_saved_objects.ndjson 2023-10-17 10:34:38 -04:00
weslambert 1db88bdbb5 Update so-common 2023-10-17 10:33:39 -04:00
weslambert 7c2cdb78e9 Update VERSION 2023-10-17 10:31:53 -04:00
Josh Patterson e858a1211e Merge pull request #11558 from Security-Onion-Solutions/excludelogfp
mark suricata 7 log line as fp fo so-log-check
2023-10-17 10:02:21 -04:00
m0duspwnens 01cb0fccb6 mark suricata 7 log line as fp fo so-log-check 2023-10-17 10:01:11 -04:00
Josh Patterson 86394dab01 Merge pull request #11555 from Security-Onion-Solutions/minechanges
Minechanges
2023-10-16 17:32:16 -04:00
m0duspwnens 53fcafea50 redo how we check if salt-master is ready and accessible 2023-10-16 16:31:43 -04:00
Jorge Reyes 574a81da7f Merge pull request #11554 from Security-Onion-Solutions/2.4/zeek6
Zeek 6 upgrade
2023-10-16 15:52:48 -04:00
reyesj2 ed693a7ae6 Remove commented lines in defaults.yaml to avoid UI issues.
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2023-10-16 15:48:51 -04:00
reyesj2 e5c936e8cf Replace external zeek-community-id with builtin community-id. Disable plugin-tds + plugin-profinet. Not updated for Zeek 6.x
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
2023-10-16 15:18:26 -04:00
m0duspwnens 9f3a9dfab0 reorder salt.master state 2023-10-16 15:00:53 -04:00
m0duspwnens c0030bc513 dont need to restart minion service when just adding sleep delay on service start 2023-10-16 15:00:07 -04:00
m0duspwnens a637b0e61b apply salt.master and minion state early in setup to prevent the services from restarting later in setup 2023-10-16 14:58:58 -04:00
Jason Ertel 2f0e673ec3 Merge pull request #11552 from Security-Onion-Solutions/jertel/auto
only add heavynodes to remoteHostUrls
2023-10-16 13:10:10 -04:00
Jason Ertel 84c39b5de7 only add heavynodes to remoteHostUrls 2023-10-16 13:01:13 -04:00
m0duspwnens 07902d17cc display container dl status during soup 2023-10-16 11:20:19 -04:00
m0duspwnens 1a7761c531 display container dl status during soup 2023-10-16 11:00:31 -04:00
m0duspwnens 2773da5a12 run the checkmine engine under master instead of minion 2023-10-16 10:34:45 -04:00
m0duspwnens e23b3a62f3 default interval of 60s 2023-10-13 16:24:11 -04:00
m0duspwnens 57684efddf checkmine looks for 1 byte file and verify mine ip is correct 2023-10-13 16:23:16 -04:00
m0duspwnens 1641aa111b add checkmine back 2023-10-13 13:46:31 -04:00
Jason Ertel ca2530e07f Merge pull request #11535 from Security-Onion-Solutions/jertel/auto
avoid rebooting when testing deb installs
2023-10-12 16:30:24 -04:00
Mike Reeves 104b53c6ec Merge pull request #11534 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update HOTFIX
2023-10-12 16:20:37 -04:00
Mike Reeves 6c5f8e4e2d Update HOTFIX 2023-10-12 16:19:59 -04:00
Mike Reeves b8d586addd Merge pull request #11533 from Security-Onion-Solutions/2.4/main
2.4/main
2023-10-12 16:19:29 -04:00
Mike Reeves 1b5cd4f53a Merge pull request #11532 from Security-Onion-Solutions/hotfix/2.4.20
Hotfix 2.4.20
2023-10-12 16:16:49 -04:00
m0duspwnens d2002a5158 add additional comments 2023-10-12 15:58:33 -04:00
m0duspwnens 5250292e95 only allow stable install type. require -r to be used 2023-10-12 15:54:22 -04:00
Mike Reeves acc6715f90 Merge pull request #11531 from Security-Onion-Solutions/2.4.20hf
2.4.20 hotfix
2023-10-12 15:52:44 -04:00
Mike Reeves b6af59d9b0 2.4.20 hotfix 2023-10-12 15:47:53 -04:00
Jason Ertel 49a651fd72 adjust var name 2023-10-12 15:43:22 -04:00
m0duspwnens 2d688331df handle version install for stable and onedir install type 2023-10-12 15:32:04 -04:00
m0duspwnens b12c4a96e9 remove files 2023-10-12 15:11:25 -04:00
m0duspwnens 6dd06c0fe9 change install_centos_onedir to install version provided from command line 2023-10-12 15:07:47 -04:00
Jason Ertel 17ae9b3349 avoid reboot during testing 2023-10-12 13:54:07 -04:00
m0duspwnens 8dc163f074 use script from develop branch 2023-10-12 13:09:07 -04:00
Josh Brower 8ce70e1f18 Merge pull request #11525 from Security-Onion-Solutions/hotfixfunctions
Apply named state
2023-10-12 11:05:32 -04:00
defensivedepth 98eab906af Apply named state 2023-10-12 11:00:24 -04:00
Josh Brower d558f20715 Merge pull request #11524 from Security-Onion-Solutions/hotfixfunctions
Apply state correctly
2023-10-12 10:56:43 -04:00
defensivedepth 967138cdff Apply state correctly 2023-10-12 10:54:26 -04:00
Josh Brower c76ac717f2 Merge pull request #11522 from Security-Onion-Solutions/hotfixfunctions
Add hotfix changes
2023-10-12 09:52:55 -04:00
defensivedepth a671ac387a Add hotfix changes 2023-10-12 09:45:20 -04:00
m0duspwnens ab4c5acd0c update bootstrap-salt.sh with stable branch 2023-10-12 09:28:07 -04:00
defensivedepth 1043315e6b Manage Elastic Defend Integration manually 2023-10-12 09:22:26 -04:00
m0duspwnens d357864d69 fix upgrade_salt function for oel 2023-10-11 15:32:11 -04:00
Jason Ertel 44b855dd93 merge 2.4/dev 2023-10-11 13:35:16 -04:00
m0duspwnens 2094b4f688 upgrade to salt 3006.3 2023-10-11 09:04:36 -04:00
Josh Patterson 5252482fe3 Merge pull request #11503 from Security-Onion-Solutions/minechanges
Minechanges
2023-10-10 16:33:17 -04:00
m0duspwnens abeebc7bc4 Merge remote-tracking branch 'origin/2.4/dev' into minechanges 2023-10-10 13:13:55 -04:00
m0duspwnens 4193130ed0 reduce salt mine interval to 25 minutes 2023-10-10 13:07:12 -04:00
m0duspwnens 89467adf9c batch the salt mine update 2023-10-10 13:05:43 -04:00
m0duspwnens a283e7ea0b remove checkmine salt engine 2023-10-10 13:00:54 -04:00
Mike Reeves a54479d603 Merge pull request #11497 from Security-Onion-Solutions/TOoSmOotH-patch-9
Update VERSION
2023-10-10 11:07:51 -04:00
Mike Reeves 49ebbf3232 Update VERSION 2023-10-10 11:05:39 -04:00
m0duspwnens 05da5c039c Merge remote-tracking branch 'origin/2.4/dev' into minechanges 2023-10-10 11:02:19 -04:00
Josh Patterson f3d0248ec5 Merge pull request #11496 from Security-Onion-Solutions/fix/ping
accept icmp on input chain
2023-10-10 10:59:05 -04:00
m0duspwnens 4dc24b22c7 accept icmp on input chain 2023-10-10 10:51:59 -04:00
Mike Reeves fc0e3c0124 Merge pull request #11476 from Security-Onion-Solutions/2.4/dev
2.4.20
2023-10-06 16:45:11 -04:00
Mike Reeves 32c1d6f95c Merge pull request #11475 from Security-Onion-Solutions/2.4.20
2.4.20
2023-10-05 11:41:55 -04:00
Mike Reeves c25aed9a2b Update DOWNLOAD_AND_VERIFY_ISO.md 2023-10-05 11:37:49 -04:00
Mike Reeves d79e27774c 2.4.20 2023-10-05 11:27:48 -04:00
Mike Reeves 194178a250 Merge pull request #11465 from Security-Onion-Solutions/fix/pkgs
Fix/pkgs
2023-10-03 10:17:37 -04:00
m0duspwnens d78b55873d remove mariadb-devel 2023-10-03 10:15:28 -04:00
Mike Reeves f3ba28062b Remove MySQL 2023-10-03 10:05:56 -04:00
m0duspwnens 2434ce14d3 remove removing mariadb-devel 2023-10-03 10:01:07 -04:00
m0duspwnens 66be04e78a remove mariadb 2023-10-03 09:53:40 -04:00
Jason Ertel 62e9472f1a Merge pull request #11464 from Security-Onion-Solutions/jertel/lc
exclude known issues
2023-10-03 09:46:18 -04:00
Jason Ertel c699c2fe2a exclude known issues 2023-10-03 09:43:29 -04:00
Mike Reeves a35889ebdc Merge pull request #11461 from Security-Onion-Solutions/fix/pkgs 2023-10-02 17:38:38 -04:00
m0duspwnens 8995752c27 let openssl-devel be installed with mariadb 2023-10-02 16:17:26 -04:00
m0duspwnens 57e76232ec openssl pkgs in own state 2023-10-02 15:48:53 -04:00
m0duspwnens d7a14d9e00 update holds 2023-10-02 15:08:22 -04:00
m0duspwnens 6b90961e87 openssl-libs 2023-10-02 14:26:28 -04:00
m0duspwnens 6547afe6c0 dont hold openssl-devel 2023-10-02 13:35:00 -04:00
m0duspwnens 3a5c6ee43a install version lock before we try to hold pkgs 2023-10-02 12:09:13 -04:00
m0duspwnens 0f08d5d640 install openssl version 1:3.0.7-16.0.1.el9_2 2023-10-02 11:43:03 -04:00
m0duspwnens f85dd910a3 hold openssl from update during setup 2023-10-02 11:13:08 -04:00
m0duspwnens c1ab8952eb hold openssl-devel 2023-10-02 10:59:51 -04:00
m0duspwnens dfe399291f hold openssl-libs 2023-10-02 10:54:41 -04:00
m0duspwnens 70a36bafa5 remove - 2023-10-02 10:38:54 -04:00
m0duspwnens 381d95e032 Merge remote-tracking branch 'origin/2.4/dev' into fix/pkgs 2023-10-02 10:37:12 -04:00
m0duspwnens cd8a74290b hold openssl version 2023-10-02 10:36:17 -04:00
Jason Ertel d91eaa9ae5 Merge pull request #11448 from Security-Onion-Solutions/jertel/lc
fix exclusion
2023-09-30 18:16:23 -04:00
Jason Ertel 8c7933cd60 fix exclusion 2023-09-30 18:11:29 -04:00
Jason Ertel 88f461042d Merge pull request #11442 from Security-Onion-Solutions/jertel/lc
more known errors
2023-09-29 21:43:51 -04:00
Jason Ertel ea085c5ff6 more known errors 2023-09-29 21:38:13 -04:00
m0duspwnens 39ea1d317d add comment 2023-09-29 17:12:14 -04:00
m0duspwnens 827ed7b273 run salt.mine_function state locally and provide pillar info to it 2023-09-29 17:08:42 -04:00
m0duspwnens 8690304dff change how mine_functions.conf is managed during setup 2023-09-29 16:17:19 -04:00
m0duspwnens 1e327c143c Merge remote-tracking branch 'origin/2.4/dev' into minechanges 2023-09-29 15:11:06 -04:00
Jason Ertel 19232124f2 Merge pull request #11441 from Security-Onion-Solutions/jertel/lc
exclude oom error from cmd line
2023-09-29 14:21:05 -04:00
Jason Ertel e8b67da08b exclude oom error from cmd line 2023-09-29 14:20:20 -04:00
Jason Ertel b5d19bd561 Merge pull request #11440 from Security-Onion-Solutions/jertel/lc
exclude logstash errors
2023-09-29 14:13:34 -04:00
m0duspwnens ad01be66ea remove checkmine engine. add x509.get_pem_entries to managers mine_functions. simplify mine update during soup 2023-09-29 14:09:04 -04:00
Jason Ertel d546d52069 exclude logstash 2023-09-29 14:08:44 -04:00
Josh Patterson 13cc8c4258 Merge pull request #11437 from Security-Onion-Solutions/telegraf/redis
remove redis from eval
2023-09-29 11:12:24 -04:00
m0duspwnens 9d3f6059ee remove redis from eval 2023-09-29 11:10:08 -04:00
Jason Ertel 43855b8ca2 Merge pull request #11436 from Security-Onion-Solutions/jertel/lc
exclude all playbook logs
2023-09-29 11:04:48 -04:00
Jason Ertel ec3cc7a854 exclude all playbook logs 2023-09-29 10:49:36 -04:00
Mike Reeves 63be7ef6ca Merge pull request #11432 from Security-Onion-Solutions/TOoSmOotH-patch-8
Update defaults.yaml
2023-09-28 19:48:14 -04:00
Mike Reeves b8aad7f5e6 Update defaults.yaml 2023-09-28 19:44:49 -04:00
weslambert c02e491609 Merge pull request #11430 from Security-Onion-Solutions/fix/elastic_packages
Upgrade packages and load integrations when packages change
2023-09-28 14:10:39 -04:00
Wes 670cd19051 Exclude package upgrade script 2023-09-28 18:04:07 +00:00
Wes 8c44481ee1 Load templates after package changes 2023-09-28 17:57:31 +00:00
Mike Reeves a8c94a891b Merge pull request #11426 from Security-Onion-Solutions/TOoSmOotH-patch-7
Fix Yara crontab
2023-09-28 13:09:11 -04:00
Mike Reeves ff35946050 Fix manager cron logic 2023-09-28 13:06:21 -04:00
Mike Reeves 95d32cb076 Fix manager cron logic 2023-09-28 12:49:46 -04:00
Wes 018186ccbd Upgrade packages and load integrations when packages change 2023-09-28 16:43:56 +00:00
Mike Reeves 5040df7551 Fix manager cron logic 2023-09-28 12:32:40 -04:00
Jason Ertel c3604f6e80 Merge pull request #11422 from Security-Onion-Solutions/jertel/lc
exclude known issues
2023-09-28 11:47:13 -04:00
Mike Reeves 7a21b7903d Fix manager cron logic 2023-09-28 11:46:43 -04:00
Mike Reeves a77a53f20b Update init.sls 2023-09-28 11:10:17 -04:00
Mike Reeves ee45fc31a2 Delete salt/strelka/tools/sbin_jinja/so-yara-download 2023-09-28 11:04:16 -04:00
weslambert ceae22adab Merge pull request #11423 from Security-Onion-Solutions/fix/elastic_known_certs
Exclude known_certs
2023-09-28 09:20:38 -04:00
weslambert 202eb7e876 Exclude known_certs 2023-09-28 09:16:56 -04:00
Jason Ertel 89a9c30cc8 exclude known issues 2023-09-28 08:27:31 -04:00
Jason Ertel 7012ff6609 Merge pull request #11418 from Security-Onion-Solutions/jertel/lc
more exclusions
2023-09-28 08:02:29 -04:00
Jason Ertel 621da9e7e3 more exclusions 2023-09-27 22:20:54 -04:00
Jason Ertel 26bb0d064f Merge pull request #11417 from Security-Onion-Solutions/jertel/lc
logcheck improvements
2023-09-27 20:35:06 -04:00
Jason Ertel 9ee64f93ca logcheck improvements 2023-09-27 20:17:59 -04:00
Jason Ertel 641ff95f41 Merge pull request #11416 from Security-Onion-Solutions/jertel/lc
Jertel/lc
2023-09-27 20:03:58 -04:00
Jason Ertel 49115cde55 logcheck improvements 2023-09-27 19:55:46 -04:00
Josh Patterson 7d0e1c92a3 Merge pull request #11415 from Security-Onion-Solutions/issue/11390
Issue/11390
2023-09-27 19:39:36 -04:00
m0duspwnens 419acab48a revert up_to_2.4.20 2023-09-27 19:17:13 -04:00
m0duspwnens 528572c15b Merge remote-tracking branch 'origin/2.4/dev' into issue/11390 2023-09-27 18:42:07 -04:00
Jason Ertel d72e4ae97d ignore soctopus errors 2023-09-27 18:39:23 -04:00
m0duspwnens 76c0b881ff exclude import from snapshotting previous version pillars and states 2023-09-27 18:20:50 -04:00
Jason Ertel 836c49b755 Merge pull request #11414 from Security-Onion-Solutions/jertel/lc
ignore generic python stack trace log lines of code, rely on actual e…
2023-09-27 16:59:34 -04:00
Jason Ertel 24def3a196 ignore generic python stack trace log lines of code, rely on actual error messages 2023-09-27 16:50:01 -04:00
Mike Reeves b6d58b2fb8 Merge pull request #11411 from Security-Onion-Solutions/TOoSmOotH-patch-6
FIX: Remove telegraf beats EPS script
2023-09-27 16:14:51 -04:00
Mike Reeves 770a74c83d Merge pull request #11409 from Security-Onion-Solutions/TOoSmOotH-patch-5
Fix zeek from creating summary files
2023-09-27 16:14:34 -04:00
Mike Reeves 039d5ae9aa Delete salt/telegraf/scripts/beatseps.sh 2023-09-27 16:09:27 -04:00
Mike Reeves 2fb73cd516 Update defaults.yaml 2023-09-27 16:07:38 -04:00
Mike Reeves 2427344dca Update defaults.yaml 2023-09-27 15:58:58 -04:00
Mike Reeves 62cb661bab Merge pull request #11408 from Security-Onion-Solutions/TOoSmOotH-patch-4
Fix sendmail errors in zeek
2023-09-27 15:53:50 -04:00
Jason Ertel 1e04199ea6 Merge pull request #11406 from Security-Onion-Solutions/jertel/lc
ignore generic python stack trace log lines of code, rely on actual e…
2023-09-27 15:52:48 -04:00
Jason Ertel 4666916077 ignore generic python stack trace log lines of code, rely on actual error messages 2023-09-27 15:48:52 -04:00
Mike Reeves f094b1162d Update defaults.yaml 2023-09-27 15:48:05 -04:00
Jason Ertel ae9619f0c3 Merge pull request #11405 from Security-Onion-Solutions/jertel/lc
deb OS doesn't use /var/log/cron, skip
2023-09-27 15:42:10 -04:00
Jason Ertel 87cc389088 deb OS doesn't use /var/log/cron, skip 2023-09-27 15:36:13 -04:00
Josh Patterson ec046a6943 Merge pull request #11404 from Security-Onion-Solutions/fix/filecheckcron
Fix/filecheckcron
2023-09-27 12:51:25 -04:00
Mike Reeves 7eefe7b79c Merge pull request #11403 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update nginx.conf to use user nobody
2023-09-27 12:38:58 -04:00
Mike Reeves c4fea9cb9d Update nginx.conf 2023-09-27 11:03:58 -04:00
m0duspwnens 3fded86aa1 Merge remote-tracking branch 'origin/2.4/dev' into fix/filecheckcron 2023-09-27 10:08:17 -04:00
m0duspwnens 05e7c32cf9 remove duplicate filecheck_run cron 2023-09-27 10:08:08 -04:00
Jason Ertel af2ff2b07c Merge pull request #11399 from Security-Onion-Solutions/jertel/lc
don't inspect imported zeek output
2023-09-27 09:45:39 -04:00
Jason Ertel b47d915cb6 don't inspect imported zeek output 2023-09-27 09:30:19 -04:00
Jason Ertel 376d525ad7 Merge pull request #11398 from Security-Onion-Solutions/jertel/lc
skip zeek spool logs due to test data false positives
2023-09-26 22:01:50 -04:00
Jason Ertel 9c854a13cc skip zeek spool logs due to test data false positives 2023-09-26 21:41:44 -04:00
Jason Ertel ff780738fd Merge pull request #11397 from Security-Onion-Solutions/jertel/lc
log check tool initial
2023-09-26 18:23:41 -04:00
Jason Ertel 2c8d413f16 log check tool initial 2023-09-26 18:14:37 -04:00
Jason Ertel 48801da44e log check tool initial 2023-09-26 18:12:20 -04:00
Josh Patterson 641b8ef0b6 Merge pull request #11393 from Security-Onion-Solutions/issue/11390
Issue/11390
2023-09-26 13:26:42 -04:00
m0duspwnens 036a21ff17 Merge remote-tracking branch 'origin/2.4/dev' into issue/11390 2023-09-26 11:01:44 -04:00
m0duspwnens 2abf434ebe create snapshots of default, local salt and pillars during soup. rsync soup with --delete 2023-09-26 10:56:20 -04:00
weslambert 4dc477cc1d Merge pull request #11391 from Security-Onion-Solutions/fix/elasticsearch_strelka_image_version
Make scan.pe.image_version type of 'float'
2023-09-26 10:21:17 -04:00
Wes 0bba68769b Make scan.pe.image_version type of 'float' 2023-09-26 14:05:12 +00:00
m0duspwnens e25d1c0ff3 so-salt-minion-check is jinja template 2023-09-26 10:01:21 -04:00
weslambert f9ace4791f Merge pull request #11384 from Security-Onion-Solutions/fix/analyzers_testing
Add a note about testing analyzers outside of the Sensoroni Docker container
2023-09-25 14:48:45 -04:00
weslambert 7cb9b5f257 Add the blank line that was removed from the previous commit 2023-09-25 14:41:20 -04:00
weslambert c95af6b992 Add a note about testing analyzers outside of the Sensoroni Docker container 2023-09-25 14:39:33 -04:00
weslambert 2fc4d2923d Merge pull request #11289 from Security-Onion-Solutions/fix/elastic_agent_404
/app/dashboards to /kibana/app/dashboards
2023-09-25 09:11:50 -04:00
Wes eeeae08ec8 /app/ to /app/dashboards/ 2023-09-21 18:39:06 +00:00
Jason Ertel 220f25e206 Merge pull request #11369 from Security-Onion-Solutions/jertel-patch-1
Update soup to prune in background
2023-09-21 09:42:28 -04:00
Jason Ertel fa3a79a787 Update soup to prune in background 2023-09-21 09:41:44 -04:00
Doug Burks ca71add51b Merge pull request #11363 from Security-Onion-Solutions/dougburks-patch-1
FIX: SOC Config sensoroni doc links should point to correct docs #11362
2023-09-20 08:29:30 -04:00
Doug Burks 3fa3f83007 Update soc_sensoroni.yaml 2023-09-20 08:22:52 -04:00
weslambert 377802410e Merge pull request #11352 from Security-Onion-Solutions/fix/import_evtx_exists
Fix EVTX Imports
2023-09-19 16:11:22 -04:00
Wes 2e0ea3f374 Set final pipeline 2023-09-19 13:33:12 +00:00
Wes 508260bd46 Use event.created for timestamp 2023-09-19 13:32:03 +00:00
Wes a1e963f834 Reverse timestamps where necessary 2023-09-19 13:28:20 +00:00
Jason Ertel 8a98040008 Merge pull request #11351 from Security-Onion-Solutions/jertel/auto
ignore debian apt update output
2023-09-19 09:26:31 -04:00
Jason Ertel 47e611682a ignore debian apt update output 2023-09-19 09:24:12 -04:00
Wes 5bac1e4d15 Show correct dates and Kibana URL for already processed EVTX files 2023-09-18 21:31:15 +00:00
Jason Ertel ad025b9683 Merge pull request #11345 from Security-Onion-Solutions/jertel/auto
ensure all binds are present to avoid volume sprawl
2023-09-18 15:34:57 -04:00
Josh Patterson 3e97ddc22d Merge pull request #11344 from Security-Onion-Solutions/fix/idstoolextra_env
fix idstool extra_env for container
2023-09-18 15:29:33 -04:00
m0duspwnens 151e8bfc4e fix idstool extra_env for container 2023-09-18 15:21:45 -04:00
Jason Ertel a914a02273 prune unused volumes during upgrade 2023-09-18 14:43:02 -04:00
Jason Ertel bb3632d1b2 fix bind if statement 2023-09-18 14:38:15 -04:00
Jason Ertel 66bb1272ae avoid volume sprawl 2023-09-18 13:39:56 -04:00
Jason Ertel bbef96ac25 use unique name 2023-09-18 12:12:57 -04:00
Jason Ertel f9cbde10a6 avoid volume sprawl 2023-09-18 11:19:21 -04:00
weslambert fe1bae96ed Merge pull request #11297 from Security-Onion-Solutions/fix/soc_idh
Change description to indicate that opencanary modules only apply to IDH nodes
2023-09-15 11:16:06 -04:00
weslambert eab6173a31 Merge pull request #11329 from Security-Onion-Solutions/fix/elastic_templates_clean
Clean component template directory
2023-09-15 11:00:17 -04:00
Wes 98499c3963 Clean component template directory 2023-09-15 13:51:46 +00:00
Josh Patterson 26da525ebe Merge pull request #11328 from Security-Onion-Solutions/fix/checkreq
improvents for checking system requirements
2023-09-15 09:17:04 -04:00
m0duspwnens c65c9777bd improvents for checking system requirements 2023-09-14 17:42:25 -04:00
Josh Brower af68af7f18 Merge pull request #11317 from Security-Onion-Solutions/2.4/fixes
Regex & Transform Role
2023-09-14 10:59:56 -04:00
defensivedepth 0c11a9b733 Add transform role 2023-09-14 09:33:17 -04:00
defensivedepth 59d077f3ff Fix regex 2023-09-14 08:32:17 -04:00
Jason Ertel 6383712731 Merge pull request #11315 from Security-Onion-Solutions/jertel/auto
exclude docker pull unauth errors from failing setup
2023-09-14 07:41:59 -04:00
Jason Ertel e067b7134e exclude docker pull unauth errors from failing setup since they'll be retried 2023-09-14 07:38:07 -04:00
Mike Reeves 183c530c82 Merge pull request #11308 from Security-Onion-Solutions/pcapfree
Update so-minion
2023-09-13 13:47:21 -04:00
Mike Reeves 33d68478b6 Update so-minion 2023-09-13 11:48:16 -04:00
Mike Reeves 22c0323bda Update so-minion 2023-09-13 10:57:45 -04:00
Doug Burks 19114c1a26 Merge pull request #11303 from Security-Onion-Solutions/dougburks-patch-1
FIX: SOC Config pcap doc links should point to steno docs #11302
2023-09-13 07:50:43 -04:00
Doug Burks 11b8e13418 FIX: SOC Config pcap doc links should point to steno docs #11302 2023-09-13 07:37:54 -04:00
Josh Patterson 6fdd7b3751 Merge pull request #11295 from Security-Onion-Solutions/issue/11229
dont manage sorules
2023-09-12 09:30:29 -04:00
m0duspwnens 30c3255cb2 dont manage sorules 2023-09-12 08:39:42 -04:00
Wes 35ebbc974c Change description to indicate that opencanary modules only apply to IDH nodes 2023-09-11 13:52:16 +00:00
Wes f1d0db8171 /app to /kibana/app 2023-09-11 13:30:11 +00:00
Josh Patterson 9968d697f3 Merge pull request #11288 from Security-Onion-Solutions/issue/11229
Issue/11229
2023-09-11 09:19:31 -04:00
m0duspwnens 02c54a264d Merge remote-tracking branch 'origin/2.4/dev' into issue/11229 2023-09-08 15:29:04 -04:00
m0duspwnens e814a3409f fix rule location for rulecat.conf. run so-rule-update if rules change in /opt/so/rules/nids 2023-09-08 15:28:24 -04:00
Jason Ertel 55847c7bdc Merge pull request #11276 from Security-Onion-Solutions/jertel/auto
give priority to presets
2023-09-08 09:26:27 -04:00
Jason Ertel 598515e5b4 give priority to presets 2023-09-08 09:21:13 -04:00
Jason Ertel 692625f8cd Merge pull request #11271 from Security-Onion-Solutions/jertel/auto
addl node types
2023-09-07 17:25:08 -04:00
Jason Ertel f8ae3f12e6 addl node types 2023-09-07 17:22:10 -04:00
Josh Patterson 3780ed1b4f Merge pull request #11269 from Security-Onion-Solutions/issue/11210
Issue/11210
2023-09-07 16:54:16 -04:00
m0duspwnens 8d269fee30 Merge remote-tracking branch 'origin/2.4/dev' into issue/11210 2023-09-07 15:46:25 -04:00
m0duspwnens 35157f2e8b add comment 2023-09-07 15:46:04 -04:00
m0duspwnens 60f1947eb4 prevent endgame_dict from being added to standard_actions if it is already present 2023-09-07 14:01:19 -04:00
m0duspwnens ffaab4a1b4 only add endgame to action if it is populated 2023-09-06 14:19:53 -04:00
weslambert 70e1309c9f Merge pull request #11261 from Security-Onion-Solutions/fix/remove_default_templates
Remove templates
2023-09-06 10:57:09 -04:00
Jason Ertel 5c0045f9f8 Merge pull request #11256 from Security-Onion-Solutions/jertel/sod
only ingest pfsense on sensor nodes
2023-09-05 12:50:47 -04:00
Jason Ertel b66be9c226 only ingest pfsense on sensor nodes 2023-09-05 12:46:49 -04:00
Josh Patterson 651393988a Merge pull request #11255 from Security-Onion-Solutions/issue/10975
Issue/10975
2023-09-05 11:57:58 -04:00
Wes cf19c8f8c2 Remove templates 2023-09-05 13:43:41 +00:00
Mike Reeves ba3ae92702 Merge pull request #11249 from Security-Onion-Solutions/jertel/sod 2023-09-03 22:23:55 -04:00
Jason Ertel 8e2bed7f91 MS testing 2023-09-03 19:56:40 -04:00
Jason Ertel 028b69c7d4 Merge pull request #11245 from Security-Onion-Solutions/jertel/sod
ensure hostname is set
2023-09-02 13:49:49 -04:00
Jason Ertel 0cf913a7c1 ensure hostname is set 2023-09-02 06:05:37 -04:00
Jason Ertel 13fbcd712b Merge pull request #11243 from Security-Onion-Solutions/jertel/sod
ensure hostname is set
2023-09-01 20:43:35 -04:00
Jason Ertel 0aae107155 ensure hostname is set 2023-09-01 20:30:53 -04:00
Mike Reeves d2dcf7e7c1 Merge pull request #11241 from Security-Onion-Solutions/jertel/sod 2023-09-01 18:22:38 -04:00
Jason Ertel 6efdf1b9d0 add additional test modes 2023-09-01 17:24:12 -04:00
Jason Ertel a11259c683 add additional test modes 2023-09-01 17:08:27 -04:00
Jason Ertel 863db14b61 add additional test modes 2023-09-01 16:27:02 -04:00
Jason Ertel 335aaa5594 add additional test modes 2023-09-01 15:30:53 -04:00
m0duspwnens 07ed93de19 add elastic agent to desktop 2023-09-01 14:33:32 -04:00
Jason Ertel 8093e5ce7c use IP to avoid host issues 2023-09-01 13:01:17 -04:00
m0duspwnens 585fba4bc6 add functions salt_install_module_deps and salt_patch_x509_v2 2023-09-01 12:40:01 -04:00
weslambert b8f69b5008 Merge pull request #11239 from Security-Onion-Solutions/fix/syslog_heavynode
Add so-elastic-agent
2023-09-01 12:20:44 -04:00
m0duspwnens aebfb19ab7 add sostatus.sh to desktop for telegraf scripts 2023-09-01 12:05:28 -04:00
m0duspwnens 490669d378 add ssl to desktop for allowed_states 2023-09-01 12:03:01 -04:00
m0duspwnens 3434d0f200 add sensoroni and telegraf back to individual nodes. add seperate block for desktop 2023-09-01 12:02:30 -04:00
weslambert 765a22e6f0 Add so-elastic-agent 2023-09-01 11:31:23 -04:00
Jason Ertel 546c562ef0 expose standard relay timeout in config UI; up default to 45s to accommodate sluggish pillar.get calls 2023-09-01 10:31:02 -04:00
m0duspwnens b64d4e3658 add telegraf pillar to desktop 2023-09-01 09:53:26 -04:00
m0duspwnens 0fb00d569e allow states for desktop. give all nodes docker_clean, order it last 2023-09-01 09:39:39 -04:00
m0duspwnens b64fa51268 give desktop docker state and pillars 2023-09-01 09:16:24 -04:00
Jason Ertel 1871d48f7f remove unnecesary OTHER submenu 2023-08-31 20:42:00 -04:00
m0duspwnens b010919099 add sensoroni, telegraf, common states to desktop. allow docker_registry connection to managers for desktop 2023-08-31 13:21:32 -04:00
weslambert ce2a7135cb Merge pull request #11232 from Security-Onion-Solutions/fix/strelka_entropy
Strelka entropy mapping
2023-08-31 11:21:00 -04:00
Wes 0fed757b11 Add entropy mapping 2023-08-31 15:10:27 +00:00
Wes 1a3b3b21fb Change entropy value syntax 2023-08-31 15:09:19 +00:00
Josh Patterson d86e21c751 Merge pull request #11231 from Security-Onion-Solutions/issue/10975
Issue/10975
2023-08-31 10:54:30 -04:00
m0duspwnens e408718230 Merge remote-tracking branch 'origin/2.4/dev' into issue/10975 2023-08-31 09:56:02 -04:00
m0duspwnens ee848b8a8c comments for desktop install 2023-08-31 09:51:55 -04:00
m0duspwnens a60c34d548 exclude unnecessary pillars from desktop nodes 2023-08-31 09:40:54 -04:00
Doug Burks 8a2fc5d62b Merge pull request #11226 from Security-Onion-Solutions/dougburks-patch-1
Update motd.md
2023-08-31 09:18:19 -04:00
Doug Burks da56a421e5 Update motd.md 2023-08-31 09:17:33 -04:00
m0duspwnens bfb0d0ddb5 Merge remote-tracking branch 'origin/2.4/dev' into issue/10975 2023-08-31 08:58:28 -04:00
m0duspwnens c812c3991e we dont need to run convert-gnome-classic script 2023-08-31 08:54:13 -04:00
coreyogburn ca9dad396f Merge pull request #11222 from Security-Onion-Solutions/cogburn/11143
New Config Default: longRelayTimeoutMs
2023-08-30 15:47:01 -06:00
Corey Ogburn a615fc8e47 New Config Default: longRelayTimeoutMs
Salt is getting a second timeout for operations known to take a long time such as sending and importing files. There's also an entry in soc_soc.yaml so the value can be changed in SOC's config page.
2023-08-30 15:33:01 -06:00
weslambert ac38f32e32 Merge pull request #11218 from Security-Onion-Solutions/feature/soc_administration_analyzers
Analyzer SOC Administration
2023-08-30 16:54:02 -04:00
Josh Patterson f2d1b9ac95 Merge pull request #11221 from Security-Onion-Solutions/issue/10975
iso desktop join grid - set install_type and minion_type
2023-08-30 16:50:46 -04:00
m0duspwnens 14a6280531 iso desktop join grid - set install_type and minion_type 2023-08-30 16:49:17 -04:00
weslambert 41300af944 Set global to false 2023-08-30 16:30:32 -04:00
weslambert 21e91a7537 Fix api_version 2023-08-30 16:10:38 -04:00
weslambert 4127e0fc53 Merge pull request #11219 from Security-Onion-Solutions/fix/elastic_fortigate
Correct Fortigate Integration
2023-08-30 15:54:39 -04:00
weslambert d090852895 Correct fortigate template name 2023-08-30 15:40:40 -04:00
weslambert 78915f900b Add fortigate package 2023-08-30 15:37:30 -04:00
Wes 8cc19b0748 Add analyzer configuration description 2023-08-30 19:16:38 +00:00
Wes fe690922de Add analyzer configuration to the defaults file 2023-08-30 19:16:05 +00:00
Josh Patterson 257a471383 Merge pull request #11217 from Security-Onion-Solutions/issue/10975
Issue/10975
2023-08-30 12:28:34 -04:00
weslambert bee83a320b Merge pull request #11212 from Security-Onion-Solutions/fix/elastic_heavynode_syslog
Add syslog to heavynode
2023-08-30 10:48:03 -04:00
m0duspwnens b45e114ef2 cant use GLOBALS var due to desktop nongrid install 2023-08-30 10:41:34 -04:00
m0duspwnens b14614ae53 need $ for vars 2023-08-30 10:32:13 -04:00
m0duspwnens 8381fa1d42 cant import globals because of nongrid desktop install~ 2023-08-30 10:26:24 -04:00
m0duspwnens a3eeba4761 do networking_needful for nongrid desktop network install 2023-08-30 09:51:09 -04:00
m0duspwnens 97587064f8 remove packages from nongrid desktop install 2023-08-30 09:48:52 -04:00
m0duspwnens ae01da780e desktop network install nongrid 2023-08-30 09:10:59 -04:00
Wes 60b0af5ab7 Allow external syslog 2023-08-30 13:05:30 +00:00
Wes 0e22acc255 Add tcp and udp integration 2023-08-30 13:04:32 +00:00
Wes 655eea2b00 Add port_bindings 2023-08-30 13:03:56 +00:00
Wes ce05f29dc4 Add port_bindings for port 514 2023-08-30 13:03:28 +00:00
weslambert 7e12167b52 Merge pull request #11208 from Security-Onion-Solutions/fix/elasticsearch_syslog
Make sure a data stream is created for syslog
2023-08-30 08:37:39 -04:00
weslambert 706a6e2d56 Make sure a data stream is created for syslog 2023-08-30 08:34:04 -04:00
m0duspwnens a4dc482372 add is_desktop_grid var 2023-08-29 13:10:06 -04:00
weslambert f4191fb7fa Merge pull request #11197 from Security-Onion-Solutions/feature/elastic_integration_apache
Add Apache package and templates
2023-08-29 11:27:08 -04:00
weslambert d2063c7e11 Add auditd reference back 2023-08-29 11:14:49 -04:00
weslambert c01a9006a6 Add Apache package 2023-08-29 11:01:22 -04:00
weslambert f118e25e8c Add Apache references 2023-08-29 11:00:31 -04:00
weslambert d40bbf6b09 Add Apache templates 2023-08-29 10:59:40 -04:00
m0duspwnens 0455063a39 edit other/desktop install whiptail 2023-08-29 10:26:29 -04:00
m0duspwnens 532b2c222a edit other/desktop install whiptail 2023-08-29 10:16:51 -04:00
m0duspwnens 67ea7d31e1 dont exec so-setup desktop 2023-08-29 09:32:10 -04:00
m0duspwnens a1b1294247 desktop doesnt need docker state 2023-08-29 09:05:01 -04:00
m0duspwnens 1c3d3d703c add desktop.map.jinja for global vars 2023-08-29 08:56:01 -04:00
m0duspwnens 9c3e3f8e06 Merge remote-tracking branch 'origin/2.4/dev' into issue/10975 2023-08-28 15:42:04 -04:00
Mike Reeves 48e5cf7e67 Merge pull request #11193 from Security-Onion-Solutions/TOoSmOotH-patch-1
Fix Heavy Node for acks
2023-08-28 14:42:10 -04:00
Mike Reeves bd61ee22be Update defaults.map.jinja 2023-08-28 14:41:06 -04:00
Josh Patterson 4f8a0c4173 Merge pull request #11190 from Security-Onion-Solutions/failreposync
Failreposync
2023-08-28 12:01:44 -04:00
m0duspwnens 6b0fbe4634 include so-repo-sync in soup_manager_scripts state 2023-08-28 11:53:45 -04:00
Jason Ertel 2616a2bba3 Merge pull request #11186 from Security-Onion-Solutions/jertel/alts
fix path to intermediate ca cert on heavy nodes
2023-08-28 11:10:04 -04:00
Jason Ertel c10e686ec6 fix path to intermediate ca cert on heavy nodes 2023-08-28 11:07:28 -04:00
m0duspwnens a8ec3717c4 fail soup if so-repo-sync fails 2023-08-28 10:20:53 -04:00
Josh Patterson 7dc855bbbe Merge pull request #11184 from Security-Onion-Solutions/wheelwatchdog
dont need to repo_sync rocky or centos
2023-08-28 09:53:34 -04:00
m0duspwnens 1ef4d2cde1 dont need to repo_sync rocky or centos 2023-08-28 09:37:45 -04:00
Jason Ertel 8c5aa4a0e6 Merge pull request #11178 from Security-Onion-Solutions/jertel/alts
ingest pfsense sample data
2023-08-25 16:53:41 -04:00
Jason Ertel 5879eeabfa ingest pfsense sample data 2023-08-25 16:45:31 -04:00
Jason Ertel 022ee36bca ingest pfsense sample data 2023-08-25 16:44:03 -04:00
Josh Patterson aacd689bae Merge pull request #11177 from Security-Onion-Solutions/wheelwatchdog
new python watchdog
2023-08-25 15:32:52 -04:00
m0duspwnens 388c90f641 add oel to set_os 2023-08-25 14:56:42 -04:00
m0duspwnens c22f9687fb sync local repo in soup 2023-08-25 13:40:34 -04:00
m0duspwnens 0a88c812e8 differnet watchdog package names for debian vs redhat fams 2023-08-25 13:03:33 -04:00
m0duspwnens e28ff38d39 Merge remote-tracking branch 'origin/2.4/dev' into wheelwatchdog 2023-08-25 09:40:16 -04:00
m0duspwnens ab1d97c985 restart filecheck if watchdog pkg changes 2023-08-25 09:39:16 -04:00
m0duspwnens 4a489afb89 remove old and install new watchdog package 2023-08-25 08:55:00 -04:00
Jason Ertel c957c6ce14 Merge pull request #11169 from Security-Onion-Solutions/jertel/alts
fix centos install
2023-08-24 15:06:10 -04:00
Jason Ertel e57cc03084 fix centos install 2023-08-24 14:41:04 -04:00
Jason Ertel 3a0590f950 Merge pull request #11166 from Security-Onion-Solutions/jertel/alts
use the correct var
2023-08-24 13:08:35 -04:00
Jason Ertel 43e4cf632a use the correct var 2023-08-24 12:57:35 -04:00
Jason Ertel 92c6229e00 Merge pull request #11165 from Security-Onion-Solutions/jertel/alts
allow testing runs to proceed with unsupported os
2023-08-24 12:30:07 -04:00
Jason Ertel 8252924203 allow testing runs to proceed with unsupported os 2023-08-24 12:16:25 -04:00
Jason Ertel bdb88cc87b Merge pull request #11161 from Security-Onion-Solutions/jertel/alts
use consistent cert dir and reduce jinja complexity
2023-08-24 11:18:34 -04:00
Jason Ertel f4be5641da cert work 2023-08-23 20:49:37 -04:00
Jason Ertel 4484e2d031 cert work 2023-08-23 18:16:49 -04:00
Jason Ertel b8dc9ea560 cert work 2023-08-23 17:50:08 -04:00
weslambert d4bffba736 Merge pull request #11153 from Security-Onion-Solutions/fix/elastic_fleet_integrations
Add more Elastic Fleet integrations
2023-08-23 16:22:14 -04:00
Wes d2d0d53eef Change order 2023-08-23 20:20:44 +00:00
Wes 31a49268cb Add o365 and okta 2023-08-23 20:20:06 +00:00
Wes 2f51349ff8 Add SOC configuration 2023-08-23 20:07:42 +00:00
m0duspwnens a885baf960 add desktop to grid 2023-08-23 15:24:32 -04:00
Wes 3f2793088a Add templates 2023-08-23 19:02:50 +00:00
Wes 0f24c8e8bb Add packages 2023-08-23 19:02:32 +00:00
Jason Ertel 8a751e097d cert path refactor 2023-08-23 14:32:05 -04:00
weslambert 4a582804b0 Merge pull request #11139 from Security-Onion-Solutions/fix/soc_event_fields
Update SOC event fields
2023-08-22 10:46:38 -04:00
Mike Reeves f278056493 Merge pull request #11129 from Security-Onion-Solutions/TOoSmOotH-patch-6
Update HOTFIX
2023-08-21 16:30:34 -04:00
Mike Reeves f2c665e4fa Update HOTFIX 2023-08-21 16:30:02 -04:00
Mike Reeves ce32a0081e Merge pull request #11128 from Security-Onion-Solutions/2.4/main
Merge in hotfix
2023-08-21 16:29:40 -04:00
Mike Reeves 658d132c38 Merge pull request #11127 from Security-Onion-Solutions/hotfix/2.4.10
Hotfix/2.4.10
2023-08-21 16:26:27 -04:00
Mike Reeves 7d2f39a06f Merge pull request #11126 from Security-Onion-Solutions/2410hf
2.4.10 Hotfix
2023-08-21 15:39:07 -04:00
Mike Reeves 84d5d52ec8 2.4.10 Hotfix 2023-08-21 15:36:57 -04:00
weslambert 563a495725 Add Playbook 2023-08-21 11:24:07 -04:00
weslambert 9e18fe64cf Remove OSSEC configuration 2023-08-21 11:20:47 -04:00
weslambert 708a681ed9 Merge pull request #11123 from Security-Onion-Solutions/fix/elastic_fleet_zeek_console
Exclude console log
2023-08-21 10:31:32 -04:00
Josh Patterson a40937409a Merge pull request #11124 from Security-Onion-Solutions/issue/11122
add missing containers to soc_docker.yaml. force port bindings to []string
2023-08-21 10:28:32 -04:00
m0duspwnens b8d374b2af add missing containers to soc_docker.yaml. force port bindings to []string 2023-08-21 09:45:23 -04:00
weslambert fa31bd4bf7 Exclude console log 2023-08-21 09:20:49 -04:00
Mike Reeves 847aab2712 Merge pull request #11120 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update config.sls
2023-08-21 09:17:11 -04:00
Mike Reeves 710b800bc2 Update config.sls 2023-08-21 09:00:11 -04:00
Josh Brower c92b359b79 Merge pull request #11116 from Security-Onion-Solutions/2.4/hotfixcerts
Fix certs on Rec and Heavy
2023-08-21 07:30:44 -04:00
Josh Brower e2fd371886 Fix certs on Rec and Heavy 2023-08-21 07:26:37 -04:00
Josh Brower 5b453ca972 Merge pull request #11113 from Security-Onion-Solutions/2.4/rec-certs-fix
Fix certs for Rec & Heavy
2023-08-21 07:03:58 -04:00
Josh Brower 6784bdcb54 Fix certs for Rec & Heavy 2023-08-20 15:46:07 -04:00
Mike Reeves 7e4036f2a5 Merge pull request #11101 from Security-Onion-Solutions/TOoSmOotH-patch-4
Fix Hotfix
2023-08-18 15:45:08 -04:00
Mike Reeves 421cfc46ad Update soup 2023-08-18 15:39:58 -04:00
Mike Reeves 0d4a49a0ff Update so-setup 2023-08-18 15:34:36 -04:00
Mike Reeves 6453a86c2a Merge pull request #11098 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update soup
2023-08-18 10:10:48 -04:00
Mike Reeves d657bbdc18 Merge pull request #11100 from Security-Onion-Solutions/jertel/souptest
force soup docker output to log
2023-08-18 09:59:24 -04:00
Jason Ertel 8aeb4706e1 force soup docker output to log 2023-08-18 09:57:51 -04:00
Mike Reeves e04ec1042a Update soup 2023-08-18 09:12:19 -04:00
Josh Patterson e77e5c3cea Merge pull request #11090 from Security-Onion-Solutions/issue/10998
Issue/10998
2023-08-17 17:27:45 -04:00
Jason Ertel 222352b4b3 fix typo 2023-08-17 17:26:35 -04:00
m0duspwnens 4ac95447eb pop sort settings if index_sorting is false 2023-08-17 16:15:27 -04:00
m0duspwnens 9cba9d9ae0 allow to override number_of_replicas from one place in soc ui 2023-08-17 15:00:01 -04:00
Mike Reeves 056072af7d Merge pull request #11088 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update HOTFIX
2023-08-17 14:51:25 -04:00
Mike Reeves fb3fee5d4b Update HOTFIX 2023-08-17 14:43:35 -04:00
Jason Ertel e7be8991f1 Merge pull request #11083 from Security-Onion-Solutions/jertel/souptty
force image pulls to go into soup log
2023-08-17 13:47:37 -04:00
Jason Ertel 09dd3f529b force image pulls to go into soup log 2023-08-17 13:45:51 -04:00
weslambert 488c4d5000 Merge pull request #11079 from Security-Onion-Solutions/fix/import_evtx_pcap
Assign pipeline to import
2023-08-17 12:29:01 -04:00
Mike Reeves abad833c5e Merge pull request #11075 from Security-Onion-Solutions/2.4/soupmods
Add soup for 2.4.20
2023-08-17 10:53:52 -04:00
Mike Reeves 4363e71e80 Add soup for 2.4.20 2023-08-17 10:51:59 -04:00
Wes 7971d9749a Assign pipeline to import 2023-08-17 14:08:48 +00:00
weslambert 5ebe33d45f Merge pull request #11068 from Security-Onion-Solutions/fix/elastic_fleet_package_force_2
Fix so-elastic-fleet-package-load
2023-08-17 08:20:24 -04:00
weslambert 4887eb4957 Update so-elastic-fleet-package-load 2023-08-16 22:31:14 -04:00
weslambert 0620919241 Merge pull request #11064 from Security-Onion-Solutions/fix/elasticfleet_package_force
Force package installation
2023-08-16 16:37:39 -04:00
Wes e84d624d23 Force package installation 2023-08-16 20:10:20 +00:00
Josh Patterson 45bc2ec380 Merge pull request #11060 from Security-Onion-Solutions/issue/10922
set timezone during setup. set salt log levels to info
2023-08-16 10:47:13 -04:00
m0duspwnens 9bf7b9bda5 set the timezone earlier in setup 2023-08-16 10:02:47 -04:00
m0duspwnens ab19fa9ece set salt log levels to info 2023-08-16 09:21:06 -04:00
m0duspwnens 53d7d69135 update salt docs url in service file 2023-08-16 08:46:24 -04:00
m0duspwnens b22776dc5a set timezone to etc/utc during setup 2023-08-15 16:22:02 -04:00
Mike Reeves dc6d9d4ba2 Merge pull request #11047 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-08-15 07:29:34 -04:00
Mike Reeves 075ef5e02c Update VERSION 2023-08-15 07:27:48 -04:00
Mike Reeves 16da0b469a Merge pull request #11040 from Security-Onion-Solutions/2.4/dev
2.4.10
2023-08-15 07:14:03 -04:00
Mike Reeves 5c2c2908b8 Merge pull request #11044 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update DOWNLOAD_AND_VERIFY_ISO.md
2023-08-14 16:52:53 -04:00
Mike Reeves ad9da07de1 Update DOWNLOAD_AND_VERIFY_ISO.md 2023-08-14 16:51:24 -04:00
Jason Ertel d1210e946c Merge pull request #11043 from Security-Onion-Solutions/jertel/up
Jertel/up
2023-08-14 16:46:21 -04:00
Jason Ertel 5d6fe4d9ae Merge branch '2.4/main' into jertel/up 2023-08-14 16:44:13 -04:00
Mike Reeves 193f9c08fb Merge pull request #11042 from Security-Onion-Solutions/2.4.10
2.4.10
2023-08-14 16:41:21 -04:00
Mike Reeves 4808c21cf4 2.4.10 2023-08-14 16:34:32 -04:00
Mike Reeves 4106d1f69d 2.4.10 2023-08-14 16:33:08 -04:00
Jason Ertel 007720132b Merge pull request #11034 from Security-Onion-Solutions/dougburks-patch-1
soup should respect current indentation in soc_global.sls
2023-08-13 16:56:50 -04:00
Doug Burks f3a58cd336 soup should respect current indentation in soc_global.sls 2023-08-13 16:46:32 -04:00
Josh Brower faca36e74c Merge pull request #11021 from Security-Onion-Solutions/2.4/esurlfixup
Set default for import and eval only
2023-08-12 08:41:54 -04:00
Josh Brower f38b77892b Move back 2023-08-11 17:14:48 -04:00
Josh Brower 00297cd864 Move from post to pre 2023-08-11 16:10:16 -04:00
Josh Brower ce63e47fcd Enable forced update 2023-08-11 14:47:33 -04:00
Jason Ertel d53489d674 Merge pull request #11023 from Security-Onion-Solutions/jertel/fixann
add missing annotations to avoid soc crash
2023-08-11 13:58:40 -04:00
Jason Ertel 1fb3a59573 add missing annotations to avoid soc crash 2023-08-11 13:41:58 -04:00
Jason Ertel a5e60363cf add missing annotations to avoid soc crash 2023-08-11 13:38:16 -04:00
Josh Brower 3f054031a0 Set default for import and eval only 2023-08-11 13:32:22 -04:00
Josh Patterson 4a54febf38 Merge pull request #11016 from Security-Onion-Solutions/issue/10957
set SO desktop wallpaper for iso install
2023-08-11 09:22:05 -04:00
m0duspwnens fdb2ca4167 set SO desktop wallpaper for iso install 2023-08-11 09:15:41 -04:00
Josh Brower 7112d53d4d Merge pull request #11014 from Security-Onion-Solutions/2.4/templateloadfix
Upgrade integration packages
2023-08-10 20:00:57 -04:00
Josh Brower 1d83b2f2e6 Add elasticsearch integration 2023-08-10 19:51:12 -04:00
Josh Brower a724b95441 Merge branch '2.4/dev' into 2.4/templateloadfix 2023-08-10 19:01:24 -04:00
Josh Brower 0d894b7f52 Upgrade integration packages 2023-08-10 18:57:17 -04:00
Josh Patterson e32d7eb127 Merge pull request #11012 from Security-Onion-Solutions/issue/10957
set desktop background
2023-08-10 16:27:56 -04:00
m0duspwnens caced64d11 set desktop background 2023-08-10 16:10:39 -04:00
Doug Burks 3ec3f8bcd8 Merge pull request #11011 from Security-Onion-Solutions/dougburks-patch-1
Update motd.md
2023-08-10 15:17:20 -04:00
Doug Burks 4426437ad3 Update motd.md 2023-08-10 15:04:31 -04:00
Josh Patterson 1f0f74ff04 Merge pull request #11009 from Security-Onion-Solutions/fix/soruleupdate
ensure only 1 instance of so-rule-update runs. execute the cmd at the end of state run
2023-08-10 12:04:42 -04:00
m0duspwnens e43900074a ensure only 1 instance of so-rule-update runs. execute the cmd at the end of state run 2023-08-10 11:54:49 -04:00
Josh Patterson 732d2605a7 Merge pull request #11008 from Security-Onion-Solutions/fix/esanno
Fix/esanno
2023-08-10 11:32:14 -04:00
m0duspwnens 4d497022db replace . with _x_ for soc ui compat 2023-08-10 09:52:18 -04:00
Josh Brower 2680a50927 Merge pull request #11004 from Security-Onion-Solutions/2.4/esurlfix
Unset defaults
2023-08-10 08:50:56 -04:00
Josh Brower 874dab7535 Unset defaults 2023-08-09 19:02:53 -04:00
Josh Brower fe9917ef1c Merge pull request #11002 from Security-Onion-Solutions/2.4/fixfqdn
Move base_url to cert SAN
2023-08-09 16:41:09 -04:00
Josh Brower e844cf11db Move base_url to cert SAN 2023-08-09 16:38:27 -04:00
m0duspwnens f9e272dd8f add additional annotations for elasticsearch index settings 2023-08-09 16:09:23 -04:00
m0duspwnens dfe916d7c8 add annotation for so-logs index 2023-08-09 15:19:17 -04:00
Josh Patterson c3c769922d Merge pull request #11000 from Security-Onion-Solutions/issue/10954
Issue/10954
2023-08-09 11:31:55 -04:00
m0duspwnens 30e3fbb41c remove extra ) 2023-08-09 11:21:16 -04:00
m0duspwnens 78694807ff Merge remote-tracking branch 'origin/2.4/dev' into issue/10954 2023-08-09 11:19:19 -04:00
m0duspwnens 8844e305ab use sensor.interface for suricata. make af-packet.interface ro in soc ui 2023-08-09 11:18:47 -04:00
Josh Brower 1a37c43c98 Merge pull request #10997 from Security-Onion-Solutions/2.4/autoupgrade
Enable Agent Upgrade Check during highstate
2023-08-09 10:58:26 -04:00
Josh Brower bf78faa0f0 Enable upgrade check during state run 2023-08-09 10:43:34 -04:00
Josh Brower 204ef7e68f Merge pull request #10994 from Security-Onion-Solutions/2.4/autoupgrade
RC2 Fixes
2023-08-09 09:47:57 -04:00
Josh Patterson 176608d2f9 Merge pull request #10995 from Security-Onion-Solutions/fix/desktop
Fix/desktop
2023-08-09 09:34:44 -04:00
m0duspwnens 28dfdbf06d securityonion_desktop is just desktop 2023-08-09 08:51:39 -04:00
m0duspwnens a443c654e5 fix desktop pillar in setup 2023-08-09 08:48:00 -04:00
m0duspwnens 6413050f2e set doc_desktop_url before jinja 2023-08-09 08:39:46 -04:00
m0duspwnens fe7a940082 add details for enabling in soc gui 2023-08-09 08:31:54 -04:00
Josh Brower e586d6b967 Extract Elastic Agent tarball for airgap soup 2023-08-09 08:30:19 -04:00
m0duspwnens 2d25e352d4 write to adv_ pillar file since that is where it would be stored from using the soc ui 2023-08-09 08:18:13 -04:00
Josh Brower 4297d51a2d Refactor for multiple agents 2023-08-09 08:14:52 -04:00
m0duspwnens 1440c72559 changes for desktop referencing Rocky/CentOS to OEL 2023-08-09 08:06:51 -04:00
m0duspwnens 00efc2f88f rename workstation to desktop for firewall 2023-08-09 07:31:31 -04:00
Josh Patterson d55c2f889c Merge pull request #10989 from Security-Onion-Solutions/issue/10973
Issue/10973
2023-08-08 19:35:02 -04:00
Josh Brower e1e535b009 Retry if exit code is error 2023-08-08 18:38:18 -04:00
m0duspwnens 789fff561e ensure ownership of /opt/so/log/strelka/filecheck.log 2023-08-08 17:55:30 -04:00
m0duspwnens 58fe25623b ensure ownership of /opt/so/log/strelka/filecheck_stdout.log 2023-08-08 17:48:34 -04:00
m0duspwnens 553b758c61 update cronjobs first, the kill filecheck 2023-08-08 17:28:14 -04:00
m0duspwnens 6da2f117f2 change which user runs filecheck cron based on md engine 2023-08-08 17:25:08 -04:00
Doug Burks 6ad22edf8e Merge pull request #10987 from Security-Onion-Solutions/dougburks-patch-1
Update soup for 2.4.10
2023-08-08 17:18:38 -04:00
m0duspwnens 2dbe679849 force restart of filecheck if the config changes 2023-08-08 17:05:03 -04:00
Doug Burks 2f74b69cc3 Update soup for 2.4.10 2023-08-08 16:27:11 -04:00
bryant-treacle 4320dab856 Merge pull request #10986 from Security-Onion-Solutions/fix/windows_event_table
Fix/windows event table
2023-08-08 16:23:14 -04:00
bryant-treacle 036b81707b Update defaults.yaml 2023-08-08 16:10:54 -04:00
Josh Brower 8455d3da6f Merge pull request #10977 from Security-Onion-Solutions/2.4/squashbug
Set as default
2023-08-08 15:55:58 -04:00
bryant-treacle 3d4fd08547 Update defaults.yaml 2023-08-08 15:28:06 -04:00
m0duspwnens 21c80e4953 run so-rule-update after idstools container restart 2023-08-08 15:27:23 -04:00
m0duspwnens 5c704d7e58 run so-rule-update if idstools configs change 2023-08-08 15:20:44 -04:00
m0duspwnens 230f5868f9 sync sorules 2023-08-08 15:14:27 -04:00
m0duspwnens 20dedab4b2 remove previously add rules files 2023-08-08 15:03:06 -04:00
m0duspwnens 9118ac2b56 filter.rules to filters.rules 2023-08-08 13:59:43 -04:00
m0duspwnens aab89d2483 rule-files does not go under profiling 2023-08-08 13:54:58 -04:00
m0duspwnens b2e75e77e8 add local.rules and filter.rules to suricata defaults. add extraction.rules, local.rules and filter.rules for suricata metadata 2023-08-08 13:50:19 -04:00
Josh Patterson bcd1ccd91b Merge pull request #10983 from Security-Onion-Solutions/fix/tgrafzeekcloss
Fix/tgrafzeekcloss
2023-08-08 10:19:46 -04:00
m0duspwnens 673b45af09 import ZEEKMERGED 2023-08-08 09:41:42 -04:00
m0duspwnens a06040c035 add WORKERS calculation back to zeekcaptureloss script 2023-08-08 09:37:37 -04:00
m0duspwnens e286b8f2ba Merge remote-tracking branch 'origin/2.4/dev' into fix/tgrafzeekcloss 2023-08-08 09:36:12 -04:00
m0duspwnens 69553f9017 removes spaces from zeekcaptureloss script 2023-08-08 09:34:59 -04:00
m0duspwnens 609a2bf32e only import ZEEKMERGED if a sensor type node 2023-08-08 09:27:03 -04:00
Jason Ertel dad541423d Merge pull request #10978 from Security-Onion-Solutions/jertel/bumpver
update version
2023-08-07 16:36:10 -04:00
Jason Ertel b9d0d03223 update version 2023-08-07 16:35:05 -04:00
Josh Brower 8611d1848c Set as default 2023-08-07 15:55:53 -04:00
m0duspwnens 5278601e5d manage telegraf scripts with a defaults file assigned per node type 2023-08-07 11:18:35 -04:00
Doug Burks a13b3f305a Merge pull request #10970 from Security-Onion-Solutions/2.4/dev
2.4.5 RC2
2023-08-07 10:21:29 -04:00
Doug Burks 38089c6662 Merge pull request #10971 from Security-Onion-Solutions/2.4/main
2.4/main to 2.4/dev
2023-08-07 10:17:51 -04:00
Doug Burks 2d863f09eb Merge pull request #10969 from Security-Onion-Solutions/dougburks-patch-1
add spaces for proper rendering DOWNLOAD_AND_VERIFY_ISO.md
2023-08-07 09:31:33 -04:00
Doug Burks 37b98ba188 add spaces for proper rendering DOWNLOAD_AND_VERIFY_ISO.md 2023-08-07 09:29:34 -04:00
Doug Burks 65d1e57ccd Merge pull request #10968 from Security-Onion-Solutions/dougburks-patch-1
prepare for 2.4.5 ISO image release
2023-08-07 09:15:53 -04:00
Doug Burks 9ae32e2bd6 create sigs directory and add sig for 2.4.5 2023-08-07 09:02:52 -04:00
Doug Burks 6e8f31e083 Delete sigs 2023-08-07 08:59:24 -04:00
Doug Burks 3c5cd941c7 Update DOWNLOAD_AND_VERIFY_ISO.md for 2.4.5 2023-08-07 08:45:30 -04:00
Doug Burks 2ea2a4d0a7 Merge pull request #10964 from Security-Onion-Solutions/dougburks-patch-1
Revert yesterday's change to zeekcaptureloss.sh
2023-08-05 09:23:58 -04:00
Doug Burks 90102b1148 Finish reverting yesterday's change to zeekcaptureloss.sh 2023-08-05 09:23:27 -04:00
Doug Burks ec81cbd70d Revert yesterday's change to zeekcaptureloss.sh 2023-08-05 09:11:58 -04:00
Josh Patterson 59c0109c91 Merge pull request #10961 from Security-Onion-Solutions/fix/tgrafzeekcloss
fix count of WORKERS for zeekcaptureloss script for telegraf
2023-08-04 16:39:26 -04:00
m0duspwnens 9af2a731ca fix count of WORKERS for zeekcaptureloss script for telegraf 2023-08-04 16:29:30 -04:00
Josh Brower 9b656ebbc0 Merge pull request #10960 from Security-Onion-Solutions/2.4/fleetcustomfqdn
Refactor to remove new line
2023-08-04 16:16:43 -04:00
Josh Brower 9d3744aa25 Refactor to remove new line 2023-08-04 16:05:28 -04:00
Josh Patterson 9fddd56c96 Merge pull request #10959 from Security-Onion-Solutions/desktopyummv
Desktopyummv
2023-08-04 16:03:20 -04:00
m0duspwnens 89c4f58296 fix indents 2023-08-04 15:41:10 -04:00
m0duspwnens 0ba1e7521a set default session for preexisting users 2023-08-04 15:36:44 -04:00
m0duspwnens 36747cf940 add networkminer to desktop.packages 2023-08-04 13:52:01 -04:00
Doug Burks 118088c35f Merge pull request #10953 from Security-Onion-Solutions/dougburks-patch-1
FEATURE: soup should rotate its log file #10951
2023-08-04 12:38:21 -04:00
Doug Burks 63373710b4 Update soup to rotate log file 2023-08-04 12:26:36 -04:00
Doug Burks 209da766ba Update soup to rotate log file 2023-08-04 12:16:14 -04:00
m0duspwnens 433cde0f9e Merge remote-tracking branch 'origin/2.4/dev' into desktopyummv 2023-08-04 11:25:06 -04:00
Josh Patterson 9fe9256a0f Merge pull request #10950 from Security-Onion-Solutions/fix/idhfirewall
Fix/idhfirewall
2023-08-04 11:00:58 -04:00
m0duspwnens 014aeffb2a add analyst back 2023-08-04 09:56:33 -04:00
m0duspwnens 3b86b60207 Merge remote-tracking branch 'origin/2.4/dev' into fix/idhfirewall 2023-08-04 09:40:01 -04:00
m0duspwnens 0f52530d07 soc_firewall.yaml update adding idh and rename analyst to workstation 2023-08-04 09:37:58 -04:00
m0duspwnens 726ec72350 allow idh to connect to salt_manager ports on managres 2023-08-04 09:22:59 -04:00
Doug Burks 560ec9106d Merge pull request #10948 from Security-Onion-Solutions/dougburks-patch-1
Update so-whiptail
2023-08-04 09:21:55 -04:00
m0duspwnens a51acfc314 rename analyst to workstation for fw rules. allow workstation to connect to salt_manager port on managers 2023-08-04 09:17:22 -04:00
Doug Burks 78950ebfbb Update so-whiptail 2023-08-04 09:16:58 -04:00
Josh Brower d3ae2b03f0 Merge pull request #10947 from Security-Onion-Solutions/2.4/comm_id
Generate community_id for defend endpoint logs
2023-08-04 09:07:35 -04:00
Josh Brower dd1fa51eb5 Generate community_id for defend endpoint logs 2023-08-04 09:03:17 -04:00
m0duspwnens 682289ef23 add sensoroni ports where missing 2023-08-04 09:01:09 -04:00
m0duspwnens 593cdbd060 add rules for idh to connect to managers, change idh from sensor to idh in so-firewall-minion 2023-08-04 08:50:06 -04:00
Josh Brower 4ed0ba5040 Merge pull request #10946 from Security-Onion-Solutions/2.4/logstashfix
Don't watch certs on search nodes
2023-08-03 19:01:13 -04:00
Josh Brower 2472d6a727 Don't watch certs on search nodes 2023-08-03 18:52:29 -04:00
Mike Reeves 18e31a4490 Merge pull request #10944 from Security-Onion-Solutions/raid
Raid refactor + yara and rule proxy
2023-08-03 17:18:19 -04:00
Mike Reeves 2caca92082 Raid refactor + yara and rule proxy 2023-08-03 17:11:43 -04:00
weslambert abf74e0ae4 Merge pull request #10940 from Security-Onion-Solutions/foxtrot
Add time shift for so-import-evtx
2023-08-03 16:56:40 -04:00
Josh Brower dc7ce5ba8f Merge pull request #10941 from Security-Onion-Solutions/2.4/defendupdate
Update for 8.8.2
2023-08-03 16:28:56 -04:00
Josh Brower 6b5343f582 Update for 8.8.2 2023-08-03 16:25:02 -04:00
weslambert ca6276b922 Update VERSION 2023-08-03 15:58:33 -04:00
weslambert 3e4136e641 Update help text 2023-08-03 15:56:05 -04:00
m0duspwnens 15b8e1a753 add convert-gnome-classic.sh 2023-08-03 15:37:26 -04:00
Doug Burks b7197bbd16 Merge pull request #10939 from Security-Onion-Solutions/dougburks-patch-1
Update soup for airgap
2023-08-03 15:28:28 -04:00
Josh Brower 8966617508 Merge pull request #10926 from Security-Onion-Solutions/2.4/FleetEnhancments
2.4/fleet-Enhancements
2023-08-03 15:28:03 -04:00
Doug Burks 9319c3f2e1 Update soup for airgap 2023-08-03 15:27:24 -04:00
m0duspwnens d4fbf7d6a6 convert to gnome classic 2023-08-03 15:26:43 -04:00
Josh Brower e78fcbc6cb Refactor for Jinja instead 2023-08-03 15:25:11 -04:00
Josh Brower 27b70cbf68 Use jinja instead 2023-08-03 15:21:20 -04:00
Josh Patterson ffb54135d1 Merge pull request #10938 from Security-Onion-Solutions/desktopyummv
Desktopyummv
2023-08-03 14:54:29 -04:00
m0duspwnens d40a8927c3 install salt version specified in master.defaults.yaml for desktop 2023-08-03 14:51:43 -04:00
m0duspwnens 9172e10dba check if there are files in yum.repos.d before trying to move them 2023-08-03 14:47:53 -04:00
Doug Burks 1907ea805c Merge pull request #10937 from Security-Onion-Solutions/dougburks-patch-1
Update soup for airgap
2023-08-03 14:39:53 -04:00
Doug Burks 80598d7f8d Update soup for airgap 2023-08-03 14:36:47 -04:00
Josh Patterson 13c3e7f5ff Merge pull request #10934 from Security-Onion-Solutions/fix/soupairgap
ensure AIRGAP is lowercase and check for true
2023-08-03 12:00:06 -04:00
m0duspwnens d4389d5057 ensure AIRGAP is lowercase and check for true 2023-08-03 11:56:48 -04:00
weslambert cf2233bbb6 Add help information for time shift 2023-08-03 08:54:54 -04:00
weslambert 3847863b3d Add time shift 2023-08-03 08:51:23 -04:00
weslambert 3368789b43 Update VERSION 2023-08-03 08:49:45 -04:00
Josh Brower 1bc7bbc76e Refactor custom_fqdn 2023-08-02 20:02:37 -04:00
Jason Ertel e108bb9bcd Merge pull request #10932 from Security-Onion-Solutions/jertel/agentcommon
remove unused vars
2023-08-02 19:29:03 -04:00
Jason Ertel 5414b0756c remove unused vars 2023-08-02 19:25:07 -04:00
Jason Ertel 11c827927c Merge pull request #10931 from Security-Onion-Solutions/jertel/agentcommon
refactor elastic-agent download for soup ctrl+c anomalies
2023-08-02 19:20:45 -04:00
Jason Ertel 3054b8dcb9 refactor elastic-agent download for soup ctrl+c anomalies 2023-08-02 18:57:46 -04:00
Josh Brower 399758cd5f Merge remote-tracking branch 'origin/2.4/dev' into 2.4/FleetEnhancments 2023-08-02 17:58:48 -04:00
Josh Brower 1c8a8c460c Restart logstash when certs change 2023-08-02 17:53:29 -04:00
Josh Brower ab28cee7cf Allow multiple Custom Fleet FQDN 2023-08-02 17:45:37 -04:00
Mike Reeves 5a3c1f0373 Merge pull request #10930 from Security-Onion-Solutions/m0duspwnens-patch-2
add gtk2
2023-08-02 16:58:38 -04:00
Josh Patterson 435da77388 add gtk2 2023-08-02 16:53:45 -04:00
Mike Reeves da2910e36f Merge pull request #10927 from Security-Onion-Solutions/m0duspwnens-patch-1
add mono-devel
2023-08-02 16:22:09 -04:00
Josh Patterson eb512d9aa2 add mono-devel 2023-08-02 16:21:23 -04:00
Mike Reeves 03f5e44be7 Merge pull request #10924 from Security-Onion-Solutions/2.4/regenagent
Regen Agent Installers
2023-08-02 15:28:29 -04:00
Josh Brower f153c1125d Allow multiple Custom Fleet FQDN 2023-08-02 15:23:18 -04:00
Jason Ertel 99b61b5e1d Merge pull request #10925 from Security-Onion-Solutions/jertel/fiximportsuri
ensure suri rules are synced for import installs
2023-08-02 15:13:59 -04:00
Jason Ertel 8036df4b20 ensure suri rules are synced for import installs 2023-08-02 15:10:31 -04:00
Josh Brower aab55c8cf6 Regen Agent Installers 2023-08-02 15:09:26 -04:00
Josh Patterson f3c5d26a4e Merge pull request #10923 from Security-Onion-Solutions/soupaloop
Soupaloop
2023-08-02 14:44:49 -04:00
m0duspwnens 64776936cc no longer need so-user migrate in 2.4 2023-08-02 14:09:43 -04:00
m0duspwnens c17b324108 dont count adv_ sls files for number of minions in deployment 2023-08-02 14:04:19 -04:00
weslambert 72e1cbbfb6 Merge pull request #10920 from Security-Onion-Solutions/fix/pfsense
Pfsense fix
2023-08-02 13:27:33 -04:00
weslambert f102351052 Add event 2023-08-02 13:25:44 -04:00
weslambert ac28f90af3 Remove override 2023-08-02 13:15:11 -04:00
m0duspwnens f6c6204555 procps to procps-ng 2023-08-02 13:05:24 -04:00
m0duspwnens 9873121000 change pgrep for salt-minion PID 2023-08-02 12:54:31 -04:00
m0duspwnens 5630b353c4 change how pgrep finds salt-master PID 2023-08-02 11:20:51 -04:00
Josh Patterson 04ed5835ae Merge pull request #10918 from Security-Onion-Solutions/issue/10917
force portgroups added to hostgroups in roles to be list of strings
2023-08-02 11:00:41 -04:00
m0duspwnens 407cb2a537 force portgroups added to hostgroups in roles to be list of strings 2023-08-02 10:56:41 -04:00
Josh Brower b520c1abb7 Allow multiple Custom Fleet FQDN 2023-08-02 10:36:40 -04:00
weslambert 25b11c35fb Merge pull request #10915 from Security-Onion-Solutions/fix/ea_elastic_defend
Set version for Elastic Defend and enable updates
2023-08-02 10:32:30 -04:00
weslambert ef0301d364 Merge pull request #10914 from Security-Onion-Solutions/feature/package_list
Add package list
2023-08-02 10:03:38 -04:00
Wes e694019027 Add package list 2023-08-02 13:50:14 +00:00
weslambert 22ebb2faf6 Merge pull request #10907 from Security-Onion-Solutions/fix/ea_container_logs
EA Container Logs
2023-08-02 09:26:53 -04:00
Wes 0d5ed2e835 Set version for Elastic Defend and enable updates 2023-08-02 13:21:03 +00:00
Josh Patterson 8ab1769d70 Merge pull request #10912 from Security-Onion-Solutions/mineerror
Mine error
2023-08-01 17:21:31 -04:00
Jason Ertel 6692fffb9b Merge pull request #10910 from Security-Onion-Solutions/jertel/noautoredirforapi
Fix login flicker; so-status sluggishness
2023-08-01 17:05:48 -04:00
Jason Ertel 23414599ee use simple json (w/o template) to resolve sluggishness 2023-08-01 16:53:26 -04:00
Jason Ertel 8b3a38f573 resolve login page flicker 2023-08-01 16:30:24 -04:00
m0duspwnens 9ec4322bf4 Merge remote-tracking branch 'origin/2.4/dev' into mineerror 2023-08-01 16:21:22 -04:00
m0duspwnens 7037fc52f8 sync all modules before running states 2023-08-01 16:21:06 -04:00
Wes 0e047cffad Add to logrotate 2023-08-01 20:14:53 +00:00
Wes 44b086a028 Change path 2023-08-01 20:13:50 +00:00
Wes 4e2eb86b36 Move LOGS_PATH to environment vars 2023-08-01 20:11:51 +00:00
weslambert 1cbf60825d Add log dir 2023-08-01 14:40:52 -04:00
weslambert 2d13bf1a61 Present logs to the host 2023-08-01 14:40:12 -04:00
Josh Brower 968fee3488 Regen Agent Installers when Fleet URLs change 2023-08-01 13:10:41 -04:00
Doug Burks da51fd59a0 Merge pull request #10905 from Security-Onion-Solutions/dougburks-patch-1
Update verbiage and links in soc_sensor.yaml
2023-08-01 12:52:22 -04:00
Doug Burks 3fa0a98830 Update verbiage and links in soc_sensor.yaml 2023-08-01 12:45:09 -04:00
weslambert e7bef745eb Merge pull request #10904 from Security-Onion-Solutions/fix/syslog
Move syslog to the INPUT chain where needed
2023-08-01 12:14:48 -04:00
Mike Reeves 82b335ed04 Merge pull request #10899 from Security-Onion-Solutions/offload
Fix Offload
2023-08-01 10:32:53 -04:00
Mike Reeves f35f42c83d Sensor NIC offload 2023-08-01 10:23:45 -04:00
weslambert 4adaddf13f Move syslog to the INPUT chain where needed 2023-08-01 10:14:59 -04:00
Mike Reeves b6579d7d45 Sensor NIC offload 2023-08-01 10:13:44 -04:00
Mike Reeves 87a5d20ac9 Sensor NIC offload 2023-08-01 10:03:59 -04:00
Mike Reeves 2875a7a2e5 Sensor NIC offload 2023-08-01 09:48:44 -04:00
Josh Brower f27ebc47c1 Merge pull request #10897 from Security-Onion-Solutions/2.4/heavyrc2
2.4/heavyrc2
2023-08-01 09:15:10 -04:00
Josh Brower 63b4bdcebe Merge remote-tracking branch 'origin/2.4/dev' into 2.4/heavyrc2 2023-08-01 08:53:07 -04:00
weslambert ba3660d0da Merge pull request #10894 from Security-Onion-Solutions/fix/soc_auth
SOC Auth msg fix
2023-08-01 08:35:41 -04:00
weslambert 83265d9d6c Merge pull request #10893 from Security-Onion-Solutions/foxtrot
Elastic 8.2.2
2023-08-01 08:20:07 -04:00
weslambert 527a6ba454 Use asterisk when searching 'msg' since it is now a keyword 2023-07-31 23:52:38 -04:00
weslambert f84b0a3219 Update VERSION 2023-07-31 23:16:46 -04:00
weslambert ae6997a6b7 Merge pull request #10892 from Security-Onion-Solutions/feature/elastic_8.8.2
Elastic 8.8.2
2023-07-31 22:24:21 -04:00
weslambert 9d59e4250f Update VERSION 2023-07-31 22:23:54 -04:00
Wes 48d9c14563 Enable log package by default 2023-08-01 02:20:43 +00:00
Wes 29b64eadd4 Change log.log to log.logs 2023-08-01 02:20:22 +00:00
weslambert 5dd5f9fc1c Elastic 8.8.2 2023-07-31 22:18:43 -04:00
weslambert 44c926ba8d Elastic 8.8.2 2023-07-31 22:18:07 -04:00
weslambert 6a55a8e5c0 Elastic 8.2.2 2023-07-31 22:17:22 -04:00
Jason Ertel 5c7c3fb996 avoid rare false positive when dasbhoard load completes during setup 2023-07-31 16:09:36 -04:00
Josh Brower 64bad0a9cf Merge remote-tracking branch 'origin/2.4/dev' into 2.4/heavyrc2 2023-07-31 15:24:32 -04:00
Josh Brower b6dd347eb8 Heavy Node add manager 2023-07-31 15:22:29 -04:00
Josh Brower a89508f1ae Heavy Node fixes 2023-07-31 15:17:24 -04:00
Josh Patterson ed7b674fbb Merge pull request #10891 from Security-Onion-Solutions/fix/idh
import DOCKER in idh.enabled
2023-07-31 15:06:26 -04:00
Josh Patterson 0c2a4cbaba Merge pull request #10889 from Security-Onion-Solutions/searchnodefw
add managersearch and standlone fw rules for searchnode
2023-07-31 13:37:39 -04:00
m0duspwnens 57562ad5e3 add managersearch and standlone fw rules for searchnode 2023-07-31 13:34:08 -04:00
m0duspwnens 95581f505a import DOCKER in idh.enabled 2023-07-31 13:18:57 -04:00
Mike Reeves 599de60dc8 Merge pull request #10888 from Security-Onion-Solutions/soups
Update Soup
2023-07-31 13:14:54 -04:00
Mike Reeves 77101fec12 Update Soup 2023-07-31 13:12:32 -04:00
Mike Reeves 069d32be1a Merge pull request #10887 from Security-Onion-Solutions/soups
Soup
2023-07-31 13:10:02 -04:00
Mike Reeves e78e6b74ed Update Soup 2023-07-31 13:07:29 -04:00
Mike Reeves 16217912db Update Soup 2023-07-31 13:04:33 -04:00
Josh Patterson 635ddc9b21 Merge pull request #10886 from Security-Onion-Solutions/iptables
Iptables
2023-07-31 11:36:22 -04:00
Mike Reeves 18d8f0d448 Merge pull request #10885 from Security-Onion-Solutions/sensorfix
Sensor Fix
2023-07-31 10:37:28 -04:00
Mike Reeves 1c42d70d30 Update soc_sensor.yaml 2023-07-31 10:36:00 -04:00
Mike Reeves 282f13a774 Merge pull request #10881 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update so-yara-download
2023-07-31 10:23:32 -04:00
Mike Reeves f867be9e04 Fix no_proxy 2023-07-31 10:19:51 -04:00
Mike Reeves 4939447764 Update so-yara-download 2023-07-31 10:16:37 -04:00
Mike Reeves 5a59975cb8 Update so-yara-download 2023-07-31 10:14:31 -04:00
coreyogburn 20f3cedc01 Merge pull request #10842 from Security-Onion-Solutions/cogburn/7992
New Action "Add to Case"
2023-07-28 14:54:28 -06:00
Doug Burks e563d71856 Merge pull request #10871 from Security-Onion-Solutions/dougburks-patch-1
Update README.md to 2.4 RC2
2023-07-28 16:33:06 -04:00
Doug Burks 1ca78fd297 Update README.md to 2.4 RC2 2023-07-28 16:29:46 -04:00
Mike Reeves e76ee718e0 Merge pull request #10870 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-07-28 16:08:53 -04:00
Mike Reeves 5c90a5f27e Update VERSION 2023-07-28 16:08:01 -04:00
Mike Reeves bee429fe29 Merge pull request #10868 from Security-Onion-Solutions/2.4/dev
2.4.4
2023-07-28 16:00:45 -04:00
m0duspwnens ecbb353d68 Merge remote-tracking branch 'origin/2.4/dev' into iptables 2023-07-28 15:12:08 -04:00
Mike Reeves ed21b94c28 Merge pull request #10867 from Security-Onion-Solutions/2.4.4
2.4.4
2023-07-28 14:53:23 -04:00
Mike Reeves 2a282a29c3 2.4.4 2023-07-28 14:49:50 -04:00
Jason Ertel f4907a5b5c Merge branch '2.4/dev' into kilo 2023-07-28 14:15:14 -04:00
Mike Reeves bc09b418ca Merge pull request #10866 from Security-Onion-Solutions/rockyepel
Rockyepel
2023-07-28 14:06:36 -04:00
m0duspwnens 6f6db61a69 remove epel-next 2023-07-28 14:04:27 -04:00
m0duspwnens 9fce80dba3 install epel-next after epel-release 2023-07-28 14:01:14 -04:00
Mike Reeves abfec85e28 Merge pull request #10863 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update so-functions
2023-07-28 12:21:20 -04:00
Mike Reeves 9aa655365b Update so-functions 2023-07-28 12:20:15 -04:00
Corey Ogburn aa56085758 New Action "Add to Case" 2023-07-28 09:55:44 -06:00
Mike Reeves 9a3760951a Merge pull request #10861 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update so-functions
2023-07-28 11:35:49 -04:00
m0duspwnens 4c8373452d change to iptables-nft-services 2023-07-28 11:35:34 -04:00
Mike Reeves 0bb5db2e72 Update so-functions 2023-07-28 11:34:30 -04:00
Mike Reeves 2dbc7d8485 Merge pull request #10859 from Security-Onion-Solutions/ordesk
Ordesk
2023-07-28 10:56:15 -04:00
Mike Reeves 858e884ec2 Fix Desktop ISO install 2023-07-28 10:52:37 -04:00
Mike Reeves 4672eeb99b Fix Desktop ISO install 2023-07-28 10:51:45 -04:00
Mike Reeves aa824e7b6c Merge pull request #10857 from Security-Onion-Solutions/ordesk
Oracle Desktop
2023-07-28 09:58:46 -04:00
Mike Reeves bb2a1b9521 Fix Desktop ISO install 2023-07-28 09:46:27 -04:00
m0duspwnens 3a22ef8e86 change iptables package name for redhat fam 2023-07-28 08:40:32 -04:00
Jason Ertel a5c4783564 oidc 2023-07-27 18:36:50 -04:00
m0duspwnens 54080c42fe enable, not enabled 2023-07-27 17:01:19 -04:00
Mike Reeves a1fa87c150 Merge pull request #10853 from Security-Onion-Solutions/TOoSmOotH-patch-1
Don't restart suricata if it doesn't exist
2023-07-27 16:38:45 -04:00
Mike Reeves 0c553633b1 Don't restart suricata if it doesn't exist 2023-07-27 16:16:46 -04:00
m0duspwnens 12486599e0 Merge remote-tracking branch 'origin/2.4/dev' into iptables 2023-07-27 16:13:58 -04:00
m0duspwnens 3c16218c5a map services,pkg,config for firewall state 2023-07-27 15:45:18 -04:00
Josh Patterson f9850025ea Merge pull request #10852 from Security-Onion-Solutions/2.4/debian
2.4/debian
2023-07-27 15:05:23 -04:00
Mike Reeves 65b76d72ca Merge pull request #10850 from Security-Onion-Solutions/ordesk
Fix packages for desktop
2023-07-27 14:44:44 -04:00
Mike Reeves afca15f444 Fix packages for desktop 2023-07-27 14:17:43 -04:00
Mike Reeves 65b9843f14 Fix packages for desktop 2023-07-27 14:11:53 -04:00
m0duspwnens 653e2d8205 Merge remote-tracking branch 'origin/2.4/dev' into 2.4/debian 2023-07-27 10:26:12 -04:00
Jason Ertel d3e83d154b Merge branch '2.4/t dev' into kilo 2023-07-27 10:20:22 -04:00
Josh Patterson bbaf6df914 Merge pull request #10849 from Security-Onion-Solutions/iptables
Iptables
2023-07-27 10:00:46 -04:00
m0duspwnens bc182c1c43 only run firewalld states if os_family is RedHat 2023-07-27 09:24:41 -04:00
Jason Ertel aa36e9a785 oidc 2023-07-27 08:40:27 -04:00
m0duspwnens fe9b934af6 Merge remote-tracking branch 'origin/2.4/dev' into iptables 2023-07-26 16:32:03 -04:00
m0duspwnens 373298430b only run iptables-restore if config file is valid 2023-07-26 16:31:22 -04:00
Mike Reeves 4a18eb02f3 Merge pull request #10847 from Security-Onion-Solutions/ordesk
SO Desktop
2023-07-26 15:53:40 -04:00
m0duspwnens 0aab3e185e dont manage interfaces listed in /etc/network/interfaces for debian 2023-07-26 15:16:44 -04:00
Josh Brower b1fb05dd28 Merge pull request #10841 from Security-Onion-Solutions/2.4/eqlfields
Fix formatting
2023-07-26 11:25:20 -04:00
Josh Brower 9437a47946 Fix formatting 2023-07-26 10:54:24 -04:00
Josh Brower bdf4f6190d Merge pull request #10829 from Security-Onion-Solutions/2.4/heavynoderedux
Heavy Node fixes
2023-07-26 10:41:42 -04:00
Jason Ertel b712d505f2 update version to use kilo images 2023-07-26 09:21:23 -04:00
Josh Brower f24a3a51ce Heavy Node fixes 2023-07-25 18:28:41 -04:00
m0duspwnens ba6043392c reorder whiptail text 2023-07-25 16:18:01 -04:00
m0duspwnens 60eb1611ea upgrade packages for debian and reboot prior to so installation 2023-07-25 16:06:38 -04:00
Josh Brower 3ef6ea9155 Merge pull request #10826 from Security-Onion-Solutions/2.4/navfix
Upgrade Nav
2023-07-25 12:26:07 -04:00
Josh Brower 2b38bc778d Upgrade Nav 2023-07-25 12:24:23 -04:00
m0duspwnens e334d44c95 need quotes for logCmd 2023-07-25 11:03:10 -04:00
m0duspwnens 39662ccf14 import rpm logic change 2023-07-25 10:21:44 -04:00
m0duspwnens fd69d1c714 remove quotes so sed will work in logCmd 2023-07-25 09:59:02 -04:00
m0duspwnens 63eebdf6ac installer_prereq_packages is run for debian during detect_os so not needed again 2023-07-25 09:58:26 -04:00
Josh Brower e19845e41d Merge pull request #10819 from Security-Onion-Solutions/fix/elasticsearch_endpoint
Add endpoint to defaults
2023-07-25 09:11:06 -04:00
Josh Patterson c1190064ad Merge pull request #10823 from Security-Onion-Solutions/2.4/dockerips
2.4/dockerips
2023-07-25 08:39:49 -04:00
Jason Ertel 6d56deb2e4 oidc 1 2023-07-25 08:12:45 -04:00
Josh Brower 4f94d953c9 Merge remote-tracking branch 'origin/2.4/dev' into fix/elasticsearch_endpoint 2023-07-25 07:42:59 -04:00
Josh Brower 71a83c1fe9 Merge pull request #10815 from Security-Onion-Solutions/2.4/SigmaMappings
2.4/sigma mappings
2023-07-25 07:23:25 -04:00
Wes 5553be02ac Change how tags are added 2023-07-24 21:31:28 +00:00
m0duspwnens b20fad2839 add missing do 2023-07-24 17:08:01 -04:00
m0duspwnens 16edca7834 fix failed copy paste 2023-07-24 17:06:49 -04:00
Jason Ertel 101e2e8ba1 do not redirect to API URLs when not logged in 2023-07-24 17:05:52 -04:00
m0duspwnens 2545f9907f dont allow 172.17.0.0/24 for custom dockernet 2023-07-24 17:00:20 -04:00
Wes 4efc951eaf Add tags 2023-07-24 20:57:39 +00:00
Doug Burks d75191d679 Merge pull request #10820 from Security-Onion-Solutions/dougburks-patch-1
Update README.md
2023-07-24 15:35:34 -04:00
Doug Burks ee667a48c9 Update README.md 2023-07-24 15:33:50 -04:00
Josh Brower 067a83a87c Merge pull request #10818 from Security-Onion-Solutions/2.4/fixnavigator
Update & Fix Navigator
2023-07-24 15:13:09 -04:00
Wes d84dbf9535 Add fleet 2023-07-24 18:53:52 +00:00
m0duspwnens d71254ad29 only add custom docker net to pillar 2023-07-24 14:47:14 -04:00
Wes de7b7ff989 Add endpoint 2023-07-24 18:35:02 +00:00
Josh Brower 510900e640 Update & Fix Navigator 2023-07-24 13:56:22 -04:00
m0duspwnens 00483018ca change docker bip to gateway 2023-07-24 13:38:14 -04:00
Mike Reeves 9416a14971 Merge pull request #10816 from Security-Onion-Solutions/gpgoracle
add oracle key
2023-07-24 11:02:10 -04:00
Mike Reeves c9faa1a340 Add gui 2023-07-24 11:00:26 -04:00
m0duspwnens 9bda01bd29 change ranges 2023-07-24 10:40:23 -04:00
Josh Brower eead0c42d4 Merge remote-tracking branch 'origin/2.4/dev' into 2.4/SigmaMappings 2023-07-24 09:27:14 -04:00
Josh Brower 741e6039c1 Cleanup for Sigma Rules 2023-07-24 09:25:58 -04:00
m0duspwnens db09b465bd change default docker net/range 2023-07-24 09:23:13 -04:00
Doug Burks a59f2ded38 Merge pull request #10813 from Security-Onion-Solutions/2.4/fix-packages-sls
Update packages.sls
2023-07-24 08:08:11 -04:00
Doug Burks e2fe04dadc Update packages.sls 2023-07-24 07:10:48 -04:00
Doug Burks 563bf2ff3a Merge pull request #10812 from Security-Onion-Solutions/fuse
Update packages.sls
2023-07-24 06:48:47 -04:00
Mike Reeves 07eeb4e2a0 Update packages.sls 2023-07-23 21:07:19 -04:00
Mike Reeves 5dc5b99b05 Add gui 2023-07-21 18:00:01 -04:00
Mike Reeves ba69c67dc2 Add gui 2023-07-21 17:30:17 -04:00
Mike Reeves d1d5f8a2b6 Add gui 2023-07-21 17:28:09 -04:00
Mike Reeves 48324911ce Add gui 2023-07-21 17:18:03 -04:00
m0duspwnens 4b0126a2e7 fix split 2023-07-21 17:10:51 -04:00
Mike Reeves 8a3c2e7242 Add gui 2023-07-21 17:06:38 -04:00
m0duspwnens f55c1a4078 DOCKERBIP change 2023-07-21 16:59:22 -04:00
m0duspwnens c4d81a249a remove /24 from DOCKERBIP 2023-07-21 16:36:03 -04:00
m0duspwnens 4c9d172721 sorange to range 2023-07-21 16:21:18 -04:00
m0duspwnens 36a936d3d6 docker ips changes 2023-07-21 16:06:52 -04:00
coreyogburn d6164446c6 Merge pull request #10809 from Security-Onion-Solutions/cogburn/8655
Added ReverseLookup Option
2023-07-21 13:38:38 -06:00
Corey Ogburn bb7a918a16 Added ReverseLookup Option
Defaults to false, has metadata to show up in the config section of soc.
2023-07-21 13:18:08 -06:00
weslambert be254b15f2 Merge pull request #10804 from Security-Onion-Solutions/fix/fleet_logging
Fleet logging
2023-07-20 15:51:56 -04:00
weslambert 83e1e3efdc Merge pull request #10788 from Security-Onion-Solutions/fix/elastic_mappings
Fix user name mapping and remove security subfield
2023-07-20 15:51:42 -04:00
Mike Reeves 7c48f9d6ec Merge pull request #10806 from Security-Onion-Solutions/newrhel
For Phil
2023-07-20 14:41:05 -04:00
Mike Reeves f2947de0ca Add epel-next 2023-07-20 12:13:36 -04:00
Wes d07c46f27e Change playbook and sysmon 2023-07-20 16:08:50 +00:00
Mike Reeves 47e418a441 Add epel-next 2023-07-20 12:07:26 -04:00
Mike Reeves 87b1207ac0 Merge pull request #10805 from Security-Onion-Solutions/alma
Test Alma
2023-07-20 10:57:19 -04:00
Mike Reeves a86cbaa6fa Merge pull request #10803 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update needs_restarting.py
2023-07-20 10:55:11 -04:00
Wes c68cd6cf33 Fix typo 2023-07-20 14:39:35 +00:00
Josh Patterson 3071a1de41 Update map.jinja 2023-07-20 08:42:27 -04:00
Josh Patterson e75d0c8094 Update needs_restarting.py 2023-07-20 08:36:27 -04:00
Mike Reeves 14c685ab10 Update needs_restarting.py 2023-07-20 08:32:19 -04:00
Mike Reeves 54082858dc Update needs_restarting.py 2023-07-20 08:25:13 -04:00
Wes 4b7e7978ef Add final pipeline 2023-07-19 19:56:54 +00:00
Josh Patterson 066de70638 Merge pull request #10799 from Security-Onion-Solutions/2.4/mysql
whiptails for ubuntu focal
2023-07-19 15:55:32 -04:00
m0duspwnens 19c6796927 only allow existing deployment for focal 2023-07-19 15:38:18 -04:00
m0duspwnens 77c9b4fb54 remove OTHER 2023-07-19 15:35:28 -04:00
m0duspwnens 3104137190 install type whiptail for focal 2023-07-19 15:31:09 -04:00
Josh Patterson c8b65ecca0 Merge pull request #10798 from Security-Onion-Solutions/2.4/mysql
2.4/mysql
2023-07-19 14:55:35 -04:00
Mike Reeves 555c881235 Test Alma 2023-07-19 14:48:12 -04:00
m0duspwnens 0ac9a1f9cc Merge remote-tracking branch 'origin/2.4/dev' into 2.4/mysql 2023-07-19 14:41:03 -04:00
m0duspwnens 3c0554a42c queue states during so-playbook-reset 2023-07-19 14:40:29 -04:00
Wes 0b19179630 Add logrotate 2023-07-19 15:17:42 +00:00
Wes 30a14f8aaf Add logging 2023-07-19 15:00:20 +00:00
Wes 877fc36013 Add log dir 2023-07-19 14:57:24 +00:00
Mike Reeves a892adb66f Merge pull request #10668 from Security-Onion-Solutions/centos
CentOS Stream Support
2023-07-19 10:41:38 -04:00
Mike Reeves a49b05661d Merge pull request #10794 from Security-Onion-Solutions/2.4/mysql
2.4/mysql
2023-07-19 10:40:37 -04:00
Jason Ertel 266fc4e866 Merge pull request #10792 from Security-Onion-Solutions/regup
upgrade registry version
2023-07-19 10:00:40 -04:00
Wes b738325880 Remove keyword 2023-07-19 13:55:12 +00:00
m0duspwnens ad7821391d Merge remote-tracking branch 'origin/2.4/dev' into 2.4/mysql 2023-07-19 09:54:54 -04:00
m0duspwnens 1b0c146b54 get rid of mysql error: mbind: Operation not permitted 2023-07-19 09:54:00 -04:00
Wes 1848a835f5 Remove keyword 2023-07-19 13:52:15 +00:00
Jason Ertel 23cc75c68d upgrade registry version 2023-07-19 09:51:07 -04:00
weslambert 17fcf12608 Merge pull request #10791 from Security-Onion-Solutions/fix/elastic_clear
Set delete for interactive
2023-07-19 08:27:00 -04:00
Wes 6a8737e9a2 Set delete for interactive 2023-07-19 12:21:47 +00:00
m0duspwnens 9543058a2c Merge remote-tracking branch 'origin/2.4/dev' into 2.4/mysql 2023-07-18 16:51:52 -04:00
m0duspwnens b66cd82110 fix depreciations 2023-07-18 16:50:34 -04:00
weslambert 41ebb403ca Merge pull request #10787 from Security-Onion-Solutions/fix/elastic_clear
Use new agent scripts for Elastic clear command
2023-07-18 16:15:27 -04:00
Mike Reeves c94436fcbd fix other OS installs 2023-07-18 15:19:10 -04:00
Wes a59eda319e Remove security subfield 2023-07-18 19:00:50 +00:00
Wes 8a76975d8c Use new agent scripts 2023-07-18 18:43:57 +00:00
Mike Reeves 737da45e7f fix other OS installs 2023-07-18 14:02:13 -04:00
m0duspwnens df1bf8e67b restart mysql container if config or pass changes 2023-07-18 13:41:26 -04:00
Mike Reeves f95757c551 fix other OS installs 2023-07-18 11:58:49 -04:00
Mike Reeves 5e46138961 fix other OS installs 2023-07-18 11:55:51 -04:00
Mike Reeves dc8aa4d923 fix other OS installs 2023-07-18 11:53:55 -04:00
Jason Ertel 83bff72cd4 Merge branch '2.4/dev' into kilo 2023-07-18 10:49:12 -04:00
Jason Ertel b24afac0f4 upgrade registry version 2023-07-18 10:48:42 -04:00
Wes 1d3e39b6bd Map user name to keyword and remove security subfield generation 2023-07-18 14:46:47 +00:00
Mike Reeves 9ad7303cf2 fix other OS installs 2023-07-17 16:44:55 -04:00
Mike Reeves b1daa22dfc fix other OS installs 2023-07-17 16:40:35 -04:00
Mike Reeves 49c4edbcbe fix other OS installs 2023-07-17 16:33:47 -04:00
Mike Reeves f4c3103f84 fix other OS installs 2023-07-17 16:24:51 -04:00
Mike Reeves a2aea5530b Merge pull request #10779 from Security-Onion-Solutions/palletethings
Palletethings
2023-07-17 16:20:44 -04:00
Mike Reeves 01234f87f9 fix other OS installs 2023-07-17 16:20:32 -04:00
m0duspwnens 5d4186ac07 different whiptail warning if ubuntu 20.04 2023-07-17 15:56:29 -04:00
m0duspwnens 425ca35a22 Merge remote-tracking branch 'origin/centos' into palletethings 2023-07-17 13:58:00 -04:00
m0duspwnens fe5ca3a0c8 set palette after detecting os and before whiptail 2023-07-17 13:51:14 -04:00
Mike Reeves 7fad710ca1 fix other OS installs 2023-07-17 13:51:01 -04:00
Mike Reeves 8d6c2600c9 fix other OS installs 2023-07-17 13:49:08 -04:00
Mike Reeves 38c7ea0801 fix other OS installs 2023-07-17 13:44:02 -04:00
Mike Reeves abe0a9ec27 fix other OS installs 2023-07-17 11:03:28 -04:00
Mike Reeves f0f8513370 fix other OS installs 2023-07-17 11:02:34 -04:00
Mike Reeves bffd24e0d5 fix other OS installs 2023-07-17 10:55:04 -04:00
Mike Reeves 71cbab8fcc fix other OS installs 2023-07-17 10:47:24 -04:00
weslambert 6816d06710 Merge pull request #10766 from Security-Onion-Solutions/fix/elastic-agent-scripts
Add agent scripts
2023-07-17 10:46:54 -04:00
Wes d19615f743 Fix typo 2023-07-17 14:42:27 +00:00
Mike Reeves 894e009b95 fix other OS installs 2023-07-17 10:34:14 -04:00
Wes 1a4515fc8a Split restart into stop and start 2023-07-17 14:30:51 +00:00
Wes 31696803e1 Use correct name 2023-07-17 14:28:12 +00:00
Wes e715dfa354 Remove sbin 2023-07-17 14:27:39 +00:00
Wes c723a09107 Remove agent installer generation script 2023-07-14 21:45:25 +00:00
Wes 8cf3ceeb71 Update agent scripts 2023-07-14 21:43:03 +00:00
Jason Ertel b129b4ceaa prepare for alt login 2023-07-14 17:03:20 -04:00
Mike Reeves 921fc95668 Fix logic 2023-07-14 14:35:51 -04:00
Doug Burks 9e42fb927d Add RPM-GPG-KEY-oracle 2023-07-14 14:04:36 -04:00
Mike Reeves 87d72e852c Fix logic 2023-07-14 13:45:31 -04:00
m0duspwnens ba2782c5e7 patch x509_v2.py 2023-07-14 13:22:40 -04:00
Mike Reeves 9169fca9f8 Merge branch '2.4/dev' into centos 2023-07-14 13:17:52 -04:00
Mike Reeves 1028fb1346 Fix ISO install 2023-07-14 13:17:20 -04:00
Josh Brower 6846487909 Merge pull request #10765 from Security-Onion-Solutions/2.4/FleetEnhancements
Retry install
2023-07-14 13:07:25 -04:00
Josh Brower 2cc0c4c0ac Automatically Update ES URLs 2023-07-14 12:07:32 -04:00
Mike Reeves 5a5b643155 Fix ISO install 2023-07-14 12:04:30 -04:00
Josh Patterson e97bec2bc1 Merge pull request #10769 from Security-Onion-Solutions/wtinstalltype
Wtinstalltype
2023-07-14 09:22:40 -04:00
Josh Brower 78db64a419 Auto-managed Fleet Server URLs 2023-07-14 08:40:26 -04:00
m0duspwnens 55d32c5b98 merge and fix conflicts 2023-07-14 08:37:03 -04:00
Mike Reeves 333213d1dd Multi OS Support 2023-07-13 18:40:48 -04:00
Mike Reeves 03b16a5582 Multi OS Support 2023-07-13 18:29:02 -04:00
Mike Reeves 20c76abac4 Multi OS Support 2023-07-13 18:27:21 -04:00
m0duspwnens 4158e18675 warn of unsupported os 2023-07-13 16:38:51 -04:00
Mike Reeves f0c391e801 Multi OS Support 2023-07-13 15:05:51 -04:00
weslambert 922a77ac55 Merge pull request #10762 from Security-Onion-Solutions/fix/integration_elasticsearch
Allow Elasticsearch integration policy
2023-07-13 14:42:23 -04:00
weslambert a62f96595c Merge pull request #10763 from Security-Onion-Solutions/fix/strelka_pe
Strelka entropy and pe fixes
2023-07-13 14:42:12 -04:00
Josh Brower fb8a79e112 Retry install 2023-07-13 13:15:01 -04:00
Mike Reeves 782a3eccfe Initial Oracle support 2023-07-13 11:29:18 -04:00
Mike Reeves 2c996fe7ad Initial Oracle support 2023-07-13 10:54:04 -04:00
weslambert 0c177ec923 Allow Elasticsearch integration policy 2023-07-13 10:46:59 -04:00
Wes 41f00c0aa1 Add agent scripts 2023-07-13 14:32:22 +00:00
Mike Reeves 05b30771c5 Initial Oracle support 2023-07-13 10:29:06 -04:00
Wes e3249c8e4c Wrap values in quotes for proper conversion 2023-07-13 14:18:57 +00:00
Mike Reeves a0b6e1076f Initial Oracle support 2023-07-13 10:04:55 -04:00
weslambert 85bb5a327c Fix long vs float for pe version 2023-07-13 09:38:09 -04:00
Mike Reeves 68f5c9965a Initial Oracle support 2023-07-13 09:24:01 -04:00
Mike Reeves 727d0443a2 Merge pull request #10757 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update VERSION
2023-07-13 08:53:35 -04:00
Mike Reeves b915cea52f Initial Oracle support 2023-07-13 08:44:20 -04:00
Mike Reeves d98a1d5ae5 Initial Oracle support 2023-07-13 08:40:09 -04:00
Josh Brower 6f5bb136ff Merge pull request #10753 from Security-Onion-Solutions/2.4/integrationfixes
Update Integration JSON
2023-07-13 07:34:32 -04:00
Mike Reeves 695ec149f1 Initial Oracle support 2023-07-12 15:07:26 -04:00
Mike Reeves 50103aebb3 Initial Oracle support 2023-07-12 14:59:36 -04:00
Mike Reeves 6f81e234cd Initial Oracle support 2023-07-12 14:52:23 -04:00
Mike Reeves 7732435b64 Initial Oracle support 2023-07-12 14:49:59 -04:00
Mike Reeves 2cf36f1e8f Initial Oracle support 2023-07-12 14:12:24 -04:00
Mike Reeves 43d63a3187 Update VERSION 2023-07-12 10:59:12 -04:00
Mike Reeves 37116a9bdd Merge pull request #10755 from Security-Onion-Solutions/2.4/dev
2.4.3
2023-07-12 10:57:42 -04:00
Jason Ertel 6297a2632b Merge pull request #10756 from Security-Onion-Solutions/kilo
catch up branch
2023-07-12 10:38:18 -04:00
Jason Ertel 5cc752f128 Merge branch '2.4/main' into 2.4/dev 2023-07-12 10:19:39 -04:00
Mike Reeves 68d95cd1cb Merge pull request #10754 from Security-Onion-Solutions/2.4.3
2.4.3
2023-07-12 10:05:31 -04:00
Mike Reeves 1a68c3cd24 2.4.3 2023-07-12 10:02:19 -04:00
Josh Brower 40294e2762 Update Integration JSON 2023-07-12 08:49:36 -04:00
Josh Patterson 87eec4ae88 Merge pull request #10751 from Security-Onion-Solutions/yararules
Yararules
2023-07-11 15:55:00 -04:00
m0duspwnens 676696b24a restart strelka backend if rules change 2023-07-11 15:48:22 -04:00
m0duspwnens da27fce95f run so-yara-download/update if scripts change 2023-07-11 13:48:26 -04:00
weslambert 8acc37a7d1 Merge pull request #10749 from Security-Onion-Solutions/fix/yara_update
Fix syntax for conditional
2023-07-11 13:41:38 -04:00
weslambert 5f1b467e64 Fix syntax for conditional 2023-07-11 13:37:50 -04:00
weslambert fe7fb7f54d Merge pull request #10748 from Security-Onion-Solutions/fix/elasticsearch_strelka
Update logic for YARA matches
2023-07-11 13:02:24 -04:00
Wes 577bfac886 Update logic for YARA matches 2023-07-11 17:00:13 +00:00
Josh Patterson 468b6e4831 Merge pull request #10741 from Security-Onion-Solutions/m0duspwnens-patch-1
import ELASTICFLEETMERGED
2023-07-11 11:04:26 -04:00
Josh Patterson c75d209d7f import ELASTICFLEETMERGED 2023-07-11 11:01:27 -04:00
Josh Brower b29b264d5c Merge pull request #10740 from Security-Onion-Solutions/2.4/removecomments
Remove Comments
2023-07-11 10:28:41 -04:00
Josh Brower c99e7da5a7 Remove Comments 2023-07-11 10:26:18 -04:00
Josh Patterson 60d66b973c Merge pull request #10739 from Security-Onion-Solutions/yararules
include *.yara
2023-07-11 10:21:35 -04:00
m0duspwnens 304830d2ee remove old rules prior to copy 2023-07-11 10:20:04 -04:00
m0duspwnens d7285d69a7 include *.yara 2023-07-11 09:59:13 -04:00
weslambert 7cdd1f89d7 Merge pull request #10736 from Security-Onion-Solutions/fix/strelka_path
Change path to old one
2023-07-11 09:13:36 -04:00
weslambert b7cab1d118 Change path to old one 2023-07-11 09:10:20 -04:00
weslambert f03a472ee5 Merge pull request #10731 from Security-Onion-Solutions/fix/kibana_file_search
Kibana dashboard changes
2023-07-11 08:50:03 -04:00
Mike Reeves c7a0801eed Merge pull request #10725 from Security-Onion-Solutions/yararules
Yararules
2023-07-11 08:49:20 -04:00
Josh Brower 5e0015e9ac Merge pull request #10735 from Security-Onion-Solutions/2.4/TagPlaybookAlerts
2.4/tag playbook alerts
2023-07-11 08:37:37 -04:00
Josh Brower 5a72c558cb Tag at top level 2023-07-11 08:35:47 -04:00
Josh Brower a6e907f76c Tag Playbook Alerts 2023-07-11 08:03:15 -04:00
Mike Reeves a3f79850fe Initial Oracle support 2023-07-10 20:31:49 -04:00
Josh Brower 2d3eb22057 Merge pull request #10732 from Security-Onion-Solutions/2.4/autogenfix
Exclude Import and Eval from autoupdate
2023-07-10 17:18:10 -04:00
Josh Brower 8437fcd94c Exclude Import and Eval from autoupdate 2023-07-10 17:10:08 -04:00
Josh Brower 1b25db4573 Merge pull request #10680 from Security-Onion-Solutions/2.4/fleetautogen
Automatically manage Fleet Logstash Config
2023-07-10 16:26:20 -04:00
m0duspwnens f8ed2e6e8e make parent dirs 2023-07-10 16:11:45 -04:00
m0duspwnens f22c61a0a2 use su instead of runuser since logCmd has issues with runuser 2023-07-10 15:19:41 -04:00
m0duspwnens 5069d1163c only *.yar files 2023-07-10 14:36:34 -04:00
Josh Brower 31edf2e8ea Tighten & Document Pipelines 2023-07-10 14:17:42 -04:00
Wes 6b8893ded5 Update saved objects 2023-07-10 18:13:34 +00:00
m0duspwnens 1f8b7bda89 fix output_dir var 2023-07-10 13:39:31 -04:00
Mike Reeves b9204cbe99 Initial RHEL support 2023-07-10 12:57:59 -04:00
m0duspwnens 59233d6550 use full path 2023-07-10 11:43:56 -04:00
m0duspwnens 1ac72e5b24 ensure /nsm/rules/yara directory exists 2023-07-10 11:10:37 -04:00
Josh Brower 7805ca8beb Add Failover Support 2023-07-10 10:38:14 -04:00
m0duspwnens 47b2481cdd nothing in strelka/tools/sbin_jinja to file.recurse 2023-07-10 10:29:19 -04:00
m0duspwnens fa933d3f53 use file_mode 2023-07-10 10:26:30 -04:00
Mike Reeves 6f7914f3c4 Initial RHEL support 2023-07-10 10:18:09 -04:00
Mike Reeves 0c9e230294 Initial RHEL support 2023-07-10 10:14:47 -04:00
m0duspwnens f4dc73a206 yara download and update 2023-07-10 09:42:37 -04:00
Doug Burks 437c9cab68 Merge pull request #10726 from Security-Onion-Solutions/dougburks-patch-1
Update README.md
2023-07-10 09:07:11 -04:00
Wes 6da96a733f Use tags instead of dataset 2023-07-10 13:06:38 +00:00
Doug Burks 82796370ce Update README.md 2023-07-10 09:04:55 -04:00
Josh Brower 8c16feb772 Rename Fleet pipelines 2023-07-09 12:22:55 -04:00
Josh Brower ce1f363424 Allow base_url 2023-07-08 13:30:19 -04:00
Josh Brower e8860a7d2c Fix perms 2023-07-08 09:04:55 -04:00
Josh Brower beb26596fd Merge remote-tracking branch 'origin/2.4/dev' into 2.4/fleetautogen 2023-07-07 19:12:47 -04:00
m0duspwnens 6a5ff04804 remove unneeded function 2023-07-07 16:45:51 -04:00
Josh Brower ff3bb11fbb Elastic Fleet Certs Refactor 2023-07-07 16:44:16 -04:00
m0duspwnens 8be5082b60 yara scripts 2023-07-07 16:43:26 -04:00
coreyogburn 5faa4f0a30 Merge pull request #10720 from Security-Onion-Solutions/cogburn/8908
Allow an additional kratos endpoint through
2023-07-07 13:17:32 -06:00
Corey Ogburn da7770a900 Allow an additional kratos endpoint through
The /auth/self-service/errors route is used to lookup auth issues so the route must also be proxied to kratos.
2023-07-07 12:47:55 -06:00
weslambert 8178338971 Merge pull request #10717 from Security-Onion-Solutions/fix/strelka_rules
Change path
2023-07-07 13:45:02 -04:00
weslambert 79ed17b506 Change path 2023-07-07 13:31:43 -04:00
Mike Reeves fa1d53a309 Add Debian 2023-07-07 13:00:39 -04:00
Mike Reeves a41b0dbfea Add Debian 2023-07-07 12:59:41 -04:00
Mike Reeves d28375b304 Add Debian 2023-07-07 12:54:47 -04:00
Mike Reeves 07c0b539d7 Add Debian 2023-07-07 12:53:23 -04:00
Mike Reeves d18ebd6e36 Add Debian 2023-07-07 12:52:45 -04:00
Mike Reeves 5a642b151b Add Debian 2023-07-07 12:51:17 -04:00
Mike Reeves 0aa4ea3e87 Add Debian 2023-07-07 12:49:11 -04:00
Mike Reeves efcef90ead Add Debian 2023-07-07 11:37:33 -04:00
Mike Reeves af56aa4f16 Add Debian 2023-07-07 11:35:11 -04:00
Mike Reeves d5257468eb Add Debian 2023-07-07 11:31:18 -04:00
Mike Reeves a3b0db7949 Add Debian 2023-07-07 11:27:42 -04:00
Mike Reeves 5f509eb2d8 Add Debian 2023-07-07 11:24:59 -04:00
Mike Reeves a38d561684 Add Debian 2023-07-07 11:21:47 -04:00
Mike Reeves 4b559ec182 Add Debian 2023-07-07 11:19:36 -04:00
Mike Reeves 0b209d69e5 Add Debian 2023-07-07 11:02:26 -04:00
Josh Patterson 2785587840 Merge pull request #10714 from Security-Onion-Solutions/remove_so-logstash-get-unparsed
remove so-logstash-get-unparsed, use so-redis-count instead
2023-07-07 09:53:54 -04:00
weslambert 9f95306458 Merge pull request #10708 from Security-Onion-Solutions/fix/elasticsearch_templates_hn
Fix heavy node Elasticsearch template load
2023-07-07 09:52:54 -04:00
m0duspwnens 55bed0771b remove so-logstash-get-unparsed, use so-redis-count instead 2023-07-07 09:52:21 -04:00
Wes 0b5ee49873 Fix inverted logic for component template 2023-07-06 20:46:35 +00:00
Jason Ertel 1646459052 Merge pull request #10707 from Security-Onion-Solutions/kilo
add default pillar file
2023-07-06 14:49:40 -04:00
Jason Ertel 8ec003d89f add default pillar file 2023-07-06 14:47:21 -04:00
Jason Ertel 224f0606c2 Merge pull request #10706 from Security-Onion-Solutions/kilo
incorporate features pillar
2023-07-06 14:04:12 -04:00
Wes 910125f13a Restructure logic 2023-07-06 17:49:06 +00:00
Jason Ertel 5eca1acbeb incorporate features pillar 2023-07-06 13:24:45 -04:00
Wes d551faeb16 Heavy node template considerations 2023-07-06 17:19:28 +00:00
Josh Patterson 6a6afeef75 Merge pull request #10704 from Security-Onion-Solutions/patch/x509_v2
Patch/x509 v2
2023-07-06 11:43:33 -04:00
m0duspwnens 869f60ccaa cipher deprecated for x509_+v2 2023-07-06 10:51:44 -04:00
m0duspwnens 12c82d2812 bits deprecation to keysize 2023-07-06 10:49:32 -04:00
m0duspwnens a2b50c6d40 remove quote 2023-07-06 10:25:19 -04:00
m0duspwnens ab7ae6cddd fix cp for x509_v2.py 2023-07-06 10:17:14 -04:00
m0duspwnens 7a9a12ae3d fix cp for x509_v2.py 2023-07-06 10:03:12 -04:00
m0duspwnens b49a296276 we can remove the unless in ssl state since x509_v2 is patched 2023-07-06 09:44:58 -04:00
Josh Patterson 9b9321d23a Merge pull request #10698 from Security-Onion-Solutions/issue/10468
disable salt schedule after highstate then enable later in setup
2023-07-05 14:56:31 -04:00
m0duspwnens 1922ad95d5 disable salt schedule after highstate then enable later in setup 2023-07-05 13:43:54 -04:00
Josh Patterson 11493cb615 Merge pull request #10697 from Security-Onion-Solutions/jppcentos
Jppcentos
2023-07-05 09:52:01 -04:00
m0duspwnens 0def41f03c Merge remote-tracking branch 'origin/centos' into jppcentos 2023-07-05 08:44:49 -04:00
Mike Reeves 1c191e426f Add some Ubuntu 2023-07-03 16:20:44 -04:00
m0duspwnens de98baaad4 Merge remote-tracking branch 'origin/centos' into jppcentos 2023-07-03 15:46:30 -04:00
m0duspwnens df0e19ff80 update-alternatives for python3.10 2023-07-03 15:44:51 -04:00
Mike Reeves d22d864ba6 Add some Ubuntu 2023-07-03 15:23:56 -04:00
Mike Reeves 898b352af9 Add some Ubuntu 2023-07-03 15:16:12 -04:00
Mike Reeves 76a8e315b7 Add some Ubuntu 2023-07-03 15:12:56 -04:00
Mike Reeves edaf695463 Add some Ubuntu 2023-07-03 15:12:55 -04:00
Mike Reeves 53fcac4a02 Add some Ubuntu 2023-07-03 15:12:55 -04:00
Mike Reeves 44054ba95f Add some Ubuntu 2023-07-03 15:12:54 -04:00
Mike Reeves 10aa77977e Add some Ubuntu 2023-07-03 15:12:54 -04:00
Mike Reeves 8e90658856 Add some Ubuntu 2023-07-03 15:12:54 -04:00
Mike Reeves 965d0543f4 Add some Ubuntu 2023-07-03 15:12:53 -04:00
Mike Reeves e353855855 Add some Ubuntu 2023-07-03 15:12:53 -04:00
Mike Reeves c54217a8cb Add some Ubuntu 2023-07-03 15:12:52 -04:00
Mike Reeves 710b3bac3d fix repo state 2023-07-03 15:12:52 -04:00
Mike Reeves 8a90579df7 fix repo state 2023-07-03 15:12:51 -04:00
Mike Reeves 39c8766914 fix repo state 2023-07-03 15:12:51 -04:00
Mike Reeves 694ea743cc add more OS logic 2023-07-03 15:12:51 -04:00
Mike Reeves 3d9e7d1e97 add fuse 2023-07-03 15:12:50 -04:00
Mike Reeves ca71c00f1c add fuse 2023-07-03 15:12:50 -04:00
Mike Reeves 2f2394dca2 add OS logic 2023-07-03 15:12:49 -04:00
Mike Reeves fee4c20912 add OS logic 2023-07-03 15:12:49 -04:00
Mike Reeves 03342fd477 Add more packages 2023-07-03 15:12:49 -04:00
Mike Reeves 6dbff3b9df Add more packages 2023-07-03 15:12:48 -04:00
Mike Reeves 2f375b89a8 Add more packages 2023-07-03 15:12:48 -04:00
Mike Reeves f67ac80c56 Add more packages 2023-07-03 15:12:47 -04:00
Mike Reeves b06a35099f Add more packages 2023-07-03 15:12:47 -04:00
Mike Reeves 087099b9b6 Fix keys 2023-07-03 15:12:47 -04:00
Mike Reeves 04fe2ca996 Fix gpg things 2023-07-03 15:12:46 -04:00
Mike Reeves bdb5748b44 Fix whiptail logic 2023-07-03 15:12:46 -04:00
Mike Reeves 1cbe5580a6 Fix whiptail logic 2023-07-03 15:12:45 -04:00
Mike Reeves b57674a7cc Fix syntax error 2023-07-03 15:12:45 -04:00
Mike Reeves 53bd7bcc29 Initial Support 2023-07-03 15:12:45 -04:00
Mike Reeves 6787b97c6a Initial Support 2023-07-03 15:12:44 -04:00
m0duspwnens 0d43f9aaf4 add repo noninteractively 2023-07-03 14:23:24 -04:00
Mike Reeves 40540f47bf Add some Ubuntu 2023-07-03 13:51:01 -04:00
Mike Reeves 24e05c9491 Add some Ubuntu 2023-07-03 13:45:04 -04:00
Mike Reeves 02c9465dfb Add some Ubuntu 2023-07-03 12:30:53 -04:00
Mike Reeves a4d484ea47 Add some Ubuntu 2023-07-03 12:00:57 -04:00
Mike Reeves c9d650f4c8 Add some Ubuntu 2023-07-03 11:59:07 -04:00
Josh Patterson 9de8814412 Merge pull request #10692 from Security-Onion-Solutions/issue/10545
Issue/10545
2023-07-03 11:05:55 -04:00
Josh Brower 35e7659904 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/fleetautogen 2023-07-03 10:36:29 -04:00
Mike Reeves ed1d2d0a8b Add some Ubuntu 2023-07-03 10:06:16 -04:00
Mike Reeves 903de330c2 Add some Ubuntu 2023-07-03 09:49:24 -04:00
Mike Reeves 8621352701 Add some Ubuntu 2023-07-03 09:38:23 -04:00
Mike Reeves 564ab105ba Add some Ubuntu 2023-07-02 09:34:14 -04:00
Mike Reeves b637e27c8d Merge branch '2.4/dev' of github.com:Security-Onion-Solutions/securityonion into centos 2023-07-02 09:13:06 -04:00
weslambert d31ea4097d Merge pull request #10683 from Security-Onion-Solutions/fix/kibana_http_search
Kibana dashboard changes
2023-06-30 17:17:37 -04:00
Wes c277b7acfa Change Zeek file from evet dataset to tags 2023-06-30 20:24:10 +00:00
m0duspwnens 97a9e0989d Merge remote-tracking branch 'origin/2.4/dev' into issue/10545 2023-06-30 15:46:41 -04:00
Wes 6bdccec6b1 Add asterisk back to Modbus search 2023-06-30 19:01:53 +00:00
m0duspwnens 35945ed224 create local logrotate pillar dir 2023-06-30 14:43:00 -04:00
m0duspwnens 7319d7ae9b replace . with _x_ 2023-06-30 14:18:20 -04:00
Wes 8b38cbe8cf Fix Modbus since the previous fix was reverted 2023-06-30 17:38:05 +00:00
Wes 35ea084466 Update from exported saved objects again 2023-06-30 16:55:00 +00:00
Jason Ertel c89582ffb6 Merge pull request #10685 from Security-Onion-Solutions/kilo
remove use of pipe
2023-06-30 12:23:48 -04:00
Jason Ertel d6db94a4d4 reset ver 2023-06-30 12:11:32 -04:00
Wes e2acf027a9 Update from exported saved objects 2023-06-30 16:01:50 +00:00
m0duspwnens d6d8ba7479 Merge remote-tracking branch 'origin/2.4/dev' into issue/10545 2023-06-30 11:29:25 -04:00
m0duspwnens 41a4321b03 configure logrotate through soc 2023-06-30 11:26:55 -04:00
Jason Ertel 2ae049071d Merge branch '2.4t/dev' into kilo 2023-06-30 11:10:01 -04:00
Jason Ertel e82df53997 switch version to kilo 2023-06-30 11:08:42 -04:00
Wes 273e78da94 Modbus dashboard - use asterisk 2023-06-30 15:03:20 +00:00
Wes 446376395e Modbus dashboard - use tags 2023-06-30 13:56:08 +00:00
Wes a13001dce0 PE dashboard - use tags 2023-06-30 13:40:36 +00:00
Wes 8819e1d4d6 HTTP search - use tags 2023-06-30 13:02:00 +00:00
Josh Brower 1baea3bcd5 Add Fleet to Logstash Nodes 2023-06-29 17:24:52 -04:00
Josh Patterson 1c37c05824 Merge pull request #10682 from Security-Onion-Solutions/addbackunless
add back unless in ssl state
2023-06-29 16:13:39 -04:00
m0duspwnens cd1db36c13 add back unless in ssl state 2023-06-29 15:26:16 -04:00
m0duspwnens 5898c9ef31 start of logrotate configurable via ui 2023-06-29 12:54:37 -04:00
Jason Ertel 951f04c265 remove use of pipe 2023-06-29 12:10:12 -04:00
Josh Brower 4b069d91ab Check the correct pillar 2023-06-29 11:00:34 -04:00
Mike Reeves 34ab949dfc fix repo state 2023-06-29 08:56:38 -04:00
Mike Reeves 59191008a0 fix repo state 2023-06-29 08:55:00 -04:00
Mike Reeves 17a04a75c9 fix repo state 2023-06-29 08:53:00 -04:00
Josh Brower 7561ec0512 Automatically manage Fleet Logstash Config 2023-06-29 08:52:51 -04:00
Mike Reeves 884d669ae9 add more OS logic 2023-06-29 08:48:46 -04:00
Mike Reeves 8a88b16b9e add fuse 2023-06-28 16:16:59 -04:00
Mike Reeves 6545ae588d add fuse 2023-06-28 16:10:23 -04:00
Mike Reeves 5ab54fcfc5 add OS logic 2023-06-28 16:02:25 -04:00
Mike Reeves ae4befe377 add OS logic 2023-06-28 15:57:43 -04:00
Mike Reeves 0c320e3501 Add more packages 2023-06-28 15:46:29 -04:00
Mike Reeves 933f4fa6c8 Add more packages 2023-06-28 15:45:32 -04:00
Mike Reeves d80c88f613 Add more packages 2023-06-28 15:43:56 -04:00
Mike Reeves 6d2e851a43 Add more packages 2023-06-28 15:36:51 -04:00
Mike Reeves 209aae50bc Add more packages 2023-06-28 15:32:01 -04:00
Josh Patterson eef1b40436 Merge pull request #10677 from Security-Onion-Solutions/issue/10533
Issue/10533
2023-06-28 15:17:42 -04:00
m0duspwnens 34db6fb823 dont need the unless for ssl since using x509v2 now 2023-06-28 15:06:13 -04:00
m0duspwnens eeaf077baf dont need the unless for ssl since using x509v2 now 2023-06-28 15:02:09 -04:00
m0duspwnens 120d21c0da use minion id instead of hostname for ca_server in nginx state 2023-06-28 13:52:30 -04:00
Mike Reeves 6fc988740d Fix keys 2023-06-28 13:46:25 -04:00
m0duspwnens 66457ad8f8 use watch_in instead of watch 2023-06-28 12:27:14 -04:00
m0duspwnens 69670c481d fix require logic for nginx container 2023-06-28 11:32:08 -04:00
m0duspwnens cae011babb force bool for nginx ssl replace_cert 2023-06-28 11:30:36 -04:00
m0duspwnens 02ea939abc watch crt and key for nginx container 2023-06-28 11:11:20 -04:00
m0duspwnens be028aa23e define ca_server for nginx.ssl 2023-06-28 10:58:13 -04:00
m0duspwnens 24b7f7a7ce move replace_cert under ssl for nginx defaults 2023-06-28 10:32:16 -04:00
m0duspwnens 12cce111db custom crt and key for nginx 2023-06-28 10:28:50 -04:00
weslambert add72d7a5c Merge pull request #10670 from Security-Onion-Solutions/fix/kibana_dashboards
Kibana Dashboards - Remove Wazuh reference and use tags
2023-06-28 09:41:19 -04:00
Josh Brower c7a1d4758b Merge pull request #10598 from Security-Onion-Solutions/2.4/fix-naming
Remove old var
2023-06-28 07:09:37 -04:00
Wes 8436b647dd Remove Wazuh and use tags 2023-06-27 18:05:04 +00:00
Mike Reeves 387ce22385 Fix gpg things 2023-06-27 13:57:53 -04:00
Mike Reeves cc3c28135d Fix whiptail logic 2023-06-27 12:53:18 -04:00
Mike Reeves 6b6724afcf Fix whiptail logic 2023-06-27 12:52:53 -04:00
Mike Reeves c37a179a3c Fix syntax error 2023-06-27 12:46:13 -04:00
Doug Burks 77e6ee3c36 Merge pull request #10669 from Security-Onion-Solutions/dougburks-patch-1
Update so-desktop-install
2023-06-27 09:26:44 -04:00
Doug Burks 3e71663669 Update so-desktop-install 2023-06-27 09:24:47 -04:00
Mike Reeves d519369c6f Initial Support 2023-06-26 19:22:33 -04:00
Mike Reeves 883d9560a0 Initial Support 2023-06-26 19:20:40 -04:00
Mike Reeves 984971c63c Merge pull request #10667 from Security-Onion-Solutions/desktop
Fix some installs
2023-06-26 18:51:55 -04:00
Mike Reeves 6adef20a06 Fix the rest of the analyst entries 2023-06-26 16:26:55 -04:00
Mike Reeves cb8faf7c5f Fix the rest of the analyst entries 2023-06-26 16:14:04 -04:00
Mike Reeves 740723ecd6 Fix some installs 2023-06-26 16:01:58 -04:00
Mike Reeves d70371c540 Merge pull request #10665 from Security-Onion-Solutions/desktop
Desktop Install
2023-06-26 15:42:14 -04:00
Mike Reeves b6986d5c61 Merge branch '2.4/dev' into desktop 2023-06-26 15:36:48 -04:00
Mike Reeves 02e6e11be7 so-desktop-install 2023-06-26 15:34:48 -04:00
Mike Reeves d26484fe1a so-desktop-install 2023-06-26 15:27:18 -04:00
Mike Reeves 12d10d7d42 Merge branch '2.4/dev' into desktop 2023-06-26 15:20:43 -04:00
Mike Reeves 7ea37ac2dd Merge pull request #10663 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update packages.sls
2023-06-26 11:25:14 -04:00
Mike Reeves 7aae72cfcf Update packages.sls 2023-06-26 11:23:02 -04:00
Mike Reeves ec427cde08 Merge pull request #10662 from Security-Onion-Solutions/desktop
Desktop State
2023-06-26 10:48:41 -04:00
weslambert c2efd7ef64 Merge pull request #10655 from Security-Onion-Solutions/feature/supported_integrations
Restructure Elasticsearch templates for supported integrations
2023-06-26 09:43:10 -04:00
Mike Reeves 77c58e665e Merge pull request #10654 from Security-Onion-Solutions/24soup
soup updates
2023-06-26 09:26:47 -04:00
Mike Reeves 9530901d1d Remove local file check 2023-06-26 09:09:55 -04:00
Doug Burks e83afa3e30 Merge pull request #10660 from Security-Onion-Solutions/dougburks-patch-1
Update README.md
2023-06-26 08:33:22 -04:00
Doug Burks 70fb28a8b3 Update README.md 2023-06-26 08:31:41 -04:00
Josh Brower 8355432356 Merge pull request #10657 from Security-Onion-Solutions/2.4/policy-name-fix
2.4/policy name fix
2023-06-24 19:00:00 -04:00
Josh Brower 2247cafe5f Change policy name 2023-06-24 17:13:28 -04:00
Josh Brower 85a8da6331 Change policy name 2023-06-24 16:58:36 -04:00
Josh Brower ddabab253c Merge pull request #10653 from Security-Onion-Solutions/2.4/heavynode
2.4/heavynode
2023-06-23 19:55:24 -04:00
Jason Ertel 2e42eddbc2 Merge pull request #10656 from Security-Onion-Solutions/jertel/fix-import
fix agent extract error during install; simplify logic
2023-06-23 17:21:39 -04:00
Jason Ertel 07a590dda8 fix agent extract error during install; simplify logic 2023-06-23 17:17:59 -04:00
Mike Reeves ec8eac3430 soup fix 2023-06-23 17:05:41 -04:00
weslambert 05b84327b8 Fix typo 2023-06-23 16:32:57 -04:00
Mike Reeves 0607532e4a soup fix 2023-06-23 16:20:41 -04:00
Mike Reeves 3018886f72 soup fix 2023-06-23 16:13:04 -04:00
weslambert e02bdffe34 Fix typos 2023-06-23 16:10:22 -04:00
Mike Reeves 5073d62ee8 soup fix 2023-06-23 16:09:57 -04:00
weslambert e2ff48164b Only load if so-elastic-fleet-common exists 2023-06-23 16:03:58 -04:00
Mike Reeves 43832f9c34 soup fix 2023-06-23 16:03:51 -04:00
Mike Reeves 5da5a04025 soup fix 2023-06-23 16:00:02 -04:00
Mike Reeves 25b51135fc soup fix 2023-06-23 15:58:20 -04:00
weslambert aa91c1fef2 Add empty object for index_settings 2023-06-23 15:57:30 -04:00
Mike Reeves 801a5a6824 soup fix 2023-06-23 15:56:15 -04:00
Mike Reeves f63c26b7f2 soup fix 2023-06-23 15:50:54 -04:00
Josh Brower 336a40d646 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/heavynode 2023-06-23 15:50:14 -04:00
Josh Brower bb0cfc5253 Create & assign Heavy Node Fleet Policy 2023-06-23 15:49:03 -04:00
coreyogburn 106aaa9c3e Merge pull request #10652 from Security-Onion-Solutions/cogburn/10122
FIX: Exclude System logs from Hunt/Dashboard Queries.
2023-06-23 13:48:17 -06:00
weslambert ff7db0be63 Remove old index settings 2023-06-23 15:31:11 -04:00
Wes b96d3473f2 Fix indentation 2023-06-23 18:38:04 +00:00
Corey Ogburn fb27e7c479 Also add to dashboard
Duplicate new queryToggleFilter from hunt to dashboard.
2023-06-23 11:30:26 -06:00
Corey Ogburn 261acee8a0 New Hunt queryToggleFilter
New filter to exclude soc logs from hunt results.
2023-06-23 11:30:26 -06:00
Josh Brower a9585b2a7f Fix Elastic Agent for Heavy 2023-06-23 10:45:58 -04:00
Wes 62fa15c63e Add more templates 2023-06-23 14:43:15 +00:00
weslambert e995576b1d Remove extra templates 2023-06-23 09:41:49 -04:00
Jason Ertel d247c9d704 Merge pull request #10648 from Security-Onion-Solutions/jertel/fix-import
use cluster-unique password for import encryption
2023-06-23 09:40:26 -04:00
Jason Ertel b21b545756 use cluster-unique password for import encryption 2023-06-23 09:37:41 -04:00
Wes 5e8748c436 Load Elasticsearch templates 2023-06-23 13:28:01 +00:00
Wes e2cca917c1 Add package load command to Fleet setup 2023-06-23 13:26:06 +00:00
Wes d8700137d2 Add updated so-elasticsearch-templates-load 2023-06-23 13:23:29 +00:00
Wes 2c42d4b19e Add package check to so-elasticsearch-templates-load 2023-06-23 13:22:51 +00:00
Wes a3c7e40c40 Add package load command 2023-06-23 13:20:05 +00:00
Wes 94fe456e28 Add package functions 2023-06-23 13:19:20 +00:00
Wes 662db41857 Add default packages 2023-06-23 13:17:38 +00:00
Jason Ertel 7623dd20b9 Merge pull request #10644 from Security-Onion-Solutions/cogburn/salt-relay-fix
WIP: Fix `salt cmd.run` commands for importing
2023-06-22 20:31:19 -04:00
Corey Ogburn 2b323ab661 Fix salt cmd.run commands for importing
Functional and easy to read.
2023-06-22 17:30:56 -06:00
Josh Brower 8de01625a8 Add Elastic Agent container for Heavy Nodes 2023-06-22 16:02:42 -04:00
Josh Brower d0d7ab57ca Add Elastic Agent container for Heavy Nodes 2023-06-22 16:02:17 -04:00
Jason Ertel f4cbe20ddf Merge pull request #10641 from Security-Onion-Solutions/jertel/fix-import
fix quotations
2023-06-22 14:46:41 -04:00
Jason Ertel 0d92a1594a fix quotations 2023-06-22 14:41:39 -04:00
m0duspwnens daaead618e Merge remote-tracking branch 'origin/2.4/dev' into 2.4/heavynode 2023-06-22 13:26:56 -04:00
m0duspwnens 19469205e1 include eval and import in so-elasticsearch-cluster-settings 2023-06-22 13:12:47 -04:00
Jason Ertel cae9e6230f Merge pull request #10638 from Security-Onion-Solutions/cogburn/import-fix
Change upload path
2023-06-22 13:04:22 -04:00
m0duspwnens 6c4c815683 change so-elasticsearch-cluster settings to include heavynode, and only run on managers 2023-06-22 13:04:20 -04:00
Corey Ogburn 6769386c86 Change upload path 2023-06-22 10:59:24 -06:00
m0duspwnens 36272efda7 create ES_LOGSTASH_NODES which removes heavynodes 2023-06-22 09:46:42 -04:00
weslambert 6b97d07a89 Merge pull request #10629 from Security-Onion-Solutions/fix/elasticsearch_ingest_suricata_xff_ip
Parse xff
2023-06-22 08:45:58 -04:00
coreyogburn da82395dcf Merge pull request #10633 from Security-Onion-Solutions/cogburn/10413
Cogburn/10413
2023-06-21 15:48:53 -06:00
Corey Ogburn b5e5bd57ad Fix for Upload Import
Needed to mount /nsm/soc/uploads into soc container.

Made the upload route configurable.

Added gpg logging to salt-relay.
2023-06-21 15:41:16 -06:00
Josh Patterson ad4fb52b81 Merge pull request #10631 from Security-Onion-Solutions/2.4/repos
2.4/repos
2023-06-21 16:06:30 -04:00
m0duspwnens 4e849ecc90 issues with exclude rocky-repos 2023-06-21 15:14:53 -04:00
weslambert 7e37cd0f05 Parse xff 2023-06-21 14:29:54 -04:00
Mike Reeves 3952c1a9b7 Fix desktop state 2023-06-21 13:52:10 -04:00
Mike Reeves c13c37f406 Fix desktop state 2023-06-21 13:49:01 -04:00
Mike Reeves 9240c3c6f0 Fix desktop package list 2023-06-21 13:42:51 -04:00
Mike Reeves 2aa01280e7 Fix desktop package list 2023-06-21 13:34:47 -04:00
m0duspwnens 1675b787bf exclude rocky-repos and remove files 2023-06-21 13:27:34 -04:00
Mike Reeves 4866eb2315 Fix desktop package list 2023-06-21 12:52:42 -04:00
Mike Reeves f785fb2772 Fix desktop package list 2023-06-21 12:27:15 -04:00
Mike Reeves 8c9f863808 Fix desktop package list 2023-06-21 12:22:03 -04:00
Mike Reeves 1751e35121 Fix desktop package list 2023-06-21 12:20:57 -04:00
Mike Reeves 6676afc7de Fix desktop package list 2023-06-21 12:19:48 -04:00
Mike Reeves 699ea1ac3e Fix desktop package list 2023-06-21 11:48:37 -04:00
Mike Reeves 90fdb9c465 Update paths 2023-06-21 11:47:22 -04:00
Mike Reeves 48291f5271 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into desktop 2023-06-21 11:43:05 -04:00
Mike Reeves 3a41b090c1 Update paths 2023-06-21 11:42:51 -04:00
Josh Brower 139b36b189 Merge pull request #10627 from Security-Onion-Solutions/2.4/import-evtx
Refactor EVTX Import
2023-06-21 11:42:10 -04:00
Josh Brower 6ddf887342 Refactor EVTX Import 2023-06-21 09:32:42 -04:00
Josh Brower 6ba9e057a9 Merge pull request #10600 from Security-Onion-Solutions/fix/dataset_tags
Change format of event dataset and assign dataset to tags
2023-06-21 09:22:40 -04:00
Mike Reeves 6600484f8e Update Docker 2023-06-21 09:15:31 -04:00
Mike Reeves b02c38175c Merge pull request #10624 from Security-Onion-Solutions/TOoSmOotH-patch-2
Salt Defunct Workaround
2023-06-20 17:44:53 -04:00
Mike Reeves 4497f6561f Salt Defunct Workaround
This can be removed once they patch salt
2023-06-20 17:27:02 -04:00
Mike Reeves 0fc03baf58 Desktop Packages 2023-06-20 13:41:10 -04:00
coreyogburn fb81c6e2e3 Merge pull request #10601 from Security-Onion-Solutions/cogburn/10413
Cogburn/10413
2023-06-20 11:08:53 -06:00
Corey Ogburn ad28ea275f Better state management
When salt-cp runs it's course and finds it can't send a file, it outputs a report saying as much but the exit code will be zero. Now we remove the filename and node from the response and look for `True` to know if it succeeded. Also, respect the cleanup flag on success or failure.

Check the status of the decryption process before importing.

No longer decrypt locally, issue salt command for the remote client to do the decrypting.
2023-06-20 09:41:14 -06:00
Corey Ogburn 41951659ec Use importer's new --json flag.
Using the new --json flag is not only more reliable than using a regex, the way the import script was written even re-imports will provide a url. This means that in more cases we can provide the results to the users (even if nothing changed).
2023-06-20 09:41:14 -06:00
Corey Ogburn 451a4784a1 send-file and import-file security
Encrypt the file with a passphrase before sending and decrypt the file with the same passphrase before importing.
2023-06-20 09:41:14 -06:00
Corey Ogburn 1b7095fa81 Improved import-file url regex
sed doesn't remove ALL whitespace, only newlines. It's better to stop at the first whitespace than to stop at a particular, maybe-not-last query string parameter.
2023-06-20 09:41:14 -06:00
Corey Ogburn 89d789fe0f New folder for salt to maintain
This folder is where a manager will initially store uploaded PCAP/EVTX files before sending to sensors. Sensors will store uploads in this folder on their own system.
2023-06-20 09:41:14 -06:00
Corey Ogburn 49055e260f salt-relay import-file reporting
On successful import, return dashboard URL
2023-06-20 09:41:14 -06:00
Corey Ogburn a465039887 2 new capabilities: send-file and import-file 2023-06-20 09:41:14 -06:00
Doug Burks b60cf29598 Merge pull request #10618 from Security-Onion-Solutions/dougburks-patch-1
Resolve conflicts with dataset PR
2023-06-20 07:42:30 -04:00
Doug Burks 0e09d73aa0 Resolve conflicts with dataset PR 2023-06-20 07:40:10 -04:00
Doug Burks 520a5671ca Merge pull request #10617 from Security-Onion-Solutions/dougburks-patch-1
Fix SOC Auth queries in Dashboards and Hunt
2023-06-20 07:32:46 -04:00
Doug Burks fc824359ed Update default fields for kratos.audit 2023-06-20 07:30:56 -04:00
Doug Burks 7caa7cec6b Fix SOC Auth queries in Dashboards and Hunt
Change `event.dataset:audit` to `event.dataset:kratos.audit`.
2023-06-20 07:13:33 -04:00
Josh Patterson 0695140f83 Merge pull request #10611 from Security-Onion-Solutions/2.4/ubuntu
2.4/ubuntu
2023-06-16 14:00:52 -04:00
m0duspwnens ed1e2c8908 ignore failure notification for Ubuntu Failed to restart snapd 2023-06-16 13:58:45 -04:00
Jason Ertel 594900a8d4 Merge pull request #10609 from Security-Onion-Solutions/kilo
webauthn for SOC
2023-06-16 13:15:25 -04:00
Jason Ertel 6894fa4e4d Update VERSION 2023-06-16 13:09:01 -04:00
m0duspwnens 2334d82d36 fix salt install for ubuntu 2023-06-16 11:13:34 -04:00
Josh Patterson c0a2ea3138 Merge pull request #10604 from Security-Onion-Solutions/2.4/receiver
2.4/receiver
2023-06-15 15:42:34 -04:00
m0duspwnens d4acb1a33a Merge remote-tracking branch 'origin/2.4/dev' into 2.4/receiver 2023-06-15 15:32:49 -04:00
m0duspwnens 5de9e5baf4 allow sensor to logstash on receiver 2023-06-15 14:46:46 -04:00
Wes 3a34da354f Use append instead of set 2023-06-15 16:35:43 +00:00
m0duspwnens 469390696e 2.4 receiver changes 2023-06-15 11:04:16 -04:00
Josh Brower 0a4a48b61e Remove old var 2023-06-15 10:24:50 -04:00
Wes 58a63e0765 Remove extra comma 2023-06-15 14:22:37 +00:00
Doug Burks 251bc6f45e Merge pull request #10597 from Security-Onion-Solutions/dougburks-patch-1
Update so_motd.jinja
2023-06-15 09:59:25 -04:00
Doug Burks b84d997f87 Update so_motd.jinja 2023-06-15 09:54:23 -04:00
Wes b5bccc5e05 Use module in dataset name and add dataset tag 2023-06-15 13:06:57 +00:00
Jason Ertel b4e5ac9796 Add note to advise against changing settings 2023-06-14 16:11:50 -04:00
m0duspwnens 2db95fe1b4 fw rules for receiver to managers 2023-06-14 15:24:14 -04:00
m0duspwnens 934b0f45a1 allow receiver to connect to salt manager 2023-06-14 15:08:07 -04:00
Jason Ertel a88227d13f Merge branch '2.4/dev' into kilo 2023-06-14 13:34:15 -04:00
Jason Ertel 21a7b76352 webauthn 2023-06-14 13:33:31 -04:00
weslambert 03082339ca Merge pull request #10592 from Security-Onion-Solutions/fix/analyzer_dependencies
Update analyzer dependencies
2023-06-14 12:22:06 -04:00
m0duspwnens 8f6226b531 Merge remote-tracking branch 'origin/2.4/dev' into 2.4/heavynode 2023-06-14 10:40:22 -04:00
m0duspwnens 2c4eccd7e0 2.4 heavynode changes 2023-06-14 10:40:05 -04:00
Josh Brower fa57494694 Merge pull request #10584 from Security-Onion-Solutions/2.4/elasticagent-renaming
Change Elastic Fleet Tarball naming
2023-06-14 09:42:57 -04:00
weslambert 3f1741e75a Merge pull request #10585 from Security-Onion-Solutions/fix/elasticsearch_templates
Update Elasticsearch templates for Fleet
2023-06-14 09:33:23 -04:00
Wes 48331ce35b Add system.system component templates 2023-06-14 13:29:11 +00:00
Wes c2ac60b82e Add system.system template and add event-mappings 2023-06-14 13:28:00 +00:00
Josh Brower fedfbe9fec Fix tarball output name 2023-06-14 08:52:56 -04:00
Josh Brower 9947f9def4 Rework tarball naming schema 2023-06-14 07:38:03 -04:00
Wes c205438771 Update dependencies 2023-06-14 02:35:29 +00:00
Wes 8cde05807c Remove elastic-agent dir 2023-06-13 21:33:04 +00:00
Wes 2ac0aba916 Add osquery files 2023-06-13 21:32:02 +00:00
Wes af003cc2a1 Add osquery templates 2023-06-13 20:43:39 +00:00
Josh Brower 0d4f6b4fe6 Change Elastic Fleet Tarball naming 2023-06-13 16:32:19 -04:00
Jason Ertel 7093254439 Merge pull request #10582 from Security-Onion-Solutions/jertel/pcap
ensure status line shows dates for new and existing imports
2023-06-13 15:16:43 -04:00
Wes bd7644a557 Add another template 2023-06-13 19:13:20 +00:00
Jason Ertel 90b740a997 ensure status line shows dates for new and existing imports 2023-06-13 15:11:13 -04:00
Wes 5547a1b7ab Add event mappings 2023-06-13 18:23:50 +00:00
Wes 1b90fd8581 Add custom component templates 2023-06-13 18:21:45 +00:00
Doug Burks bbdf7bb5a7 Merge pull request #10580 from Security-Onion-Solutions/dougburks-patch-1
Set START and END variables earlier in so-import-pcap
2023-06-13 13:31:16 -04:00
Doug Burks fb8ad71b27 Set START and END variables earlier in so-import-pcap 2023-06-13 13:19:18 -04:00
Wes e43b7607bb Add more component templates 2023-06-13 17:04:03 +00:00
Wes a265c06e31 Add other component templates 2023-06-13 15:47:25 +00:00
Wes 2aa954cb0a Add component templates 2023-06-13 15:25:23 +00:00
Wes 73812b11a3 Allow ingest node pipelines that start with a period 2023-06-13 13:37:56 +00:00
Wes 38ab426470 Add final Fleet pipeline 2023-06-13 13:36:26 +00:00
Wes d0a6881c2c Add event mappings and remove meta information for now 2023-06-13 13:35:46 +00:00
m0duspwnens c7c4e65df1 single-node for heavynode 2023-06-13 09:22:17 -04:00
m0duspwnens 49b150797d 2.4 heavynode changes 2023-06-12 16:25:51 -04:00
Wes 57268ba934 Change priority of templates 2023-06-12 14:29:45 +00:00
Wes 1208915896 Remove Elastic Agent package templates 2023-06-12 14:24:59 +00:00
Wes 42f5ad9939 Add templates for system.auth and systen.syslog 2023-06-12 14:23:24 +00:00
Doug Burks 8e0d895afb Merge pull request #10572 from Security-Onion-Solutions/dougburks-patch-1
FIX: Add more Zeek logs to excluded list #10569
2023-06-12 09:33:13 -04:00
Doug Burks 998c85e3f8 Update defaults.yaml 2023-06-12 09:31:19 -04:00
weslambert 32f3ee0b01 Merge pull request #10564 from Security-Onion-Solutions/fix/elasticsearch_templates
Update templates for integrations
2023-06-12 09:05:31 -04:00
Doug Burks a90aed25fb Merge pull request #10570 from Security-Onion-Solutions/dougburks-patch-1
FIX: Add Zeek ocsp.log to excluded list #10569
2023-06-12 08:46:49 -04:00
Doug Burks ae14e4870d Add ocsp to logging.zeek.exclued in defaults.yaml 2023-06-12 08:44:46 -04:00
Doug Burks 273a1d7e9c Merge pull request #10568 from Security-Onion-Solutions/2.4/fix-suricata-dhcp
FIX: Suricata DHCP logs not ingesting #10565
2023-06-12 07:50:44 -04:00
Doug Burks b3f8ed7dcd FIX: Suricata DHCP logs not ingesting #10565 2023-06-10 11:42:41 -04:00
Wes ad5a424c03 Update templates for integrations 2023-06-09 18:32:50 +00:00
Jason Ertel e06787445c Merge pull request #10561 from Security-Onion-Solutions/jertel/pcap
Node description config setting should not accept a grid-wide value
2023-06-09 12:02:51 -04:00
Jason Ertel 8a4f5d6dcb Merge branch '2.4/dev' into jertel/pcap 2023-06-09 11:51:37 -04:00
Doug Burks 81dd951064 Merge pull request #10560 from Security-Onion-Solutions/dougburks-patch-1
FIX: Setup re-runs when SSH'ing into a successfully installed minion …
2023-06-09 11:49:54 -04:00
Doug Burks c12f138899 FIX: Setup re-runs when SSH'ing into a successfully installed minion node #10498 2023-06-09 11:20:54 -04:00
Jason Ertel 884a7041af Merge branch '2.4/dev' into jertel/pcap 2023-06-09 10:47:26 -04:00
Jason Ertel 023008c54c do not allow node_description to be set at global grid-wide level 2023-06-09 10:46:56 -04:00
Jason Ertel 6f7de954d9 Merge pull request #10559 from Security-Onion-Solutions/jertel/pcap
Telegraf should monitor all mount points
2023-06-09 09:18:54 -04:00
Jason Ertel 46371aaaf5 Monitor all mount points for simplicity 2023-06-09 09:14:36 -04:00
Doug Burks 1fde2e2755 Merge pull request #10553 from Security-Onion-Solutions/2.4/update-readme
2.4/update readme
2023-06-08 13:44:39 -04:00
Doug Burks 1aad9d1b2f Update README.md 2023-06-08 13:41:08 -04:00
Doug Burks 9703e70163 Update README.md 2023-06-08 13:38:11 -04:00
Doug Burks f6735207d7 Merge pull request #10552 from Security-Onion-Solutions/2.4/fix-suricata-dataset
FIX: Suricata dataset values for certain types of metadata#10551
2023-06-08 13:33:53 -04:00
Doug Burks e5f76a9c6e change suricata parsers from dataset to event.dataset 2023-06-08 12:31:31 -04:00
weslambert d1c86cb9ff Merge pull request #10550 from Security-Onion-Solutions/kilo
Elastalert and EQL
2023-06-08 11:21:18 -04:00
weslambert 8ccb24dda2 Update version to 2.4.3 2023-06-08 11:05:05 -04:00
weslambert 932054e9da Update version to 2.4.0 2023-06-08 11:04:45 -04:00
Josh Brower 8b35002169 EQL Refactor 2023-06-07 13:44:37 -04:00
weslambert f68527d366 Merge pull request #10541 from Security-Onion-Solutions/fix/curator_action_ignore_empty_list
Use ignore_empty_list
2023-06-07 10:36:38 -04:00
Wes 81e3d26540 Ignore empty list 2023-06-07 13:14:52 +00:00
weslambert 96b60fa39a Restore original URL syntax, but use data stream 2023-06-06 20:53:05 -04:00
weslambert f172a74fbc Remove EQL setting 2023-06-06 20:51:29 -04:00
weslambert c4be56ec7b Update host syntax 2023-06-06 20:51:03 -04:00
weslambert 96195806ab Update version to 2.4.0-kilo 2023-06-06 20:50:10 -04:00
weslambert 88bbd3440d Merge pull request #10522 from Security-Onion-Solutions/fix/playbook_index
Change Playbook index to a data stream and update mapping for event.severity_label
2023-06-06 09:03:49 -04:00
Wes 495a9c0783 Add mapping for event.severity_label 2023-06-05 21:19:37 +00:00
Wes 905bc564fc Change data stream name 2023-06-05 21:18:47 +00:00
Wes f6f387428f Update Playbook alerter to write to a data stream 2023-06-05 21:17:10 +00:00
Jason Ertel db5abcb3cf Merge pull request #10503 from Security-Onion-Solutions/jertel/pcap
add ability to output PCAP import results in JSON format
2023-06-05 14:32:32 -04:00
Jason Ertel 27e310c2a1 add json output option to so-import-evtx; clean up other issues 2023-06-05 13:54:44 -04:00
weslambert 236eb0cbcc Merge pull request #10515 from Security-Onion-Solutions/fix/analyzers
Update requests and whoisit
2023-06-05 12:12:59 -04:00
Wes 841d0b4b1f Update dependencies after git add 2023-06-05 15:42:55 +00:00
Wes 272f97e2d7 Update dependencies 2023-06-05 15:42:38 +00:00
Wes eac9a3fc86 Update requests and whoisit 2023-06-05 15:41:01 +00:00
Doug Burks 32dc26f2e7 Merge pull request #10514 from Security-Onion-Solutions/2.4/fix-VERIFY_ISO
Rename VERIFY_ISO.md to DOWNLOAD_AND_VERIFY_ISO.md
2023-06-05 10:12:43 -04:00
Doug Burks 1b14142e4c Rename VERIFY_ISO.md to DOWNLOAD_AND_VERIFY_ISO.md 2023-06-05 10:08:20 -04:00
Jason Ertel 2fef1d5fa7 silence grep output 2023-06-02 15:43:48 -04:00
Jason Ertel 3bbfc3865d use proper URL spacing 2023-06-02 15:26:14 -04:00
Jason Ertel 6947fd6414 add ability to output PCAP import results in JSON format 2023-06-02 15:21:41 -04:00
Doug Burks d3e5be78fd Merge pull request #10500 from Security-Onion-Solutions/dougburks-patch-1
Update soc_zeek.yaml
2023-06-02 07:54:11 -04:00
Doug Burks 09e005127e Update soc_zeek.yaml 2023-06-02 07:41:55 -04:00
Mike Reeves d3ea596deb Merge pull request #10491 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-06-01 09:44:13 -04:00
Mike Reeves d6d315e8d5 Update VERSION 2023-06-01 09:43:32 -04:00
Mike Reeves 58dc073678 Merge pull request #10481 from Security-Onion-Solutions/2.4/dev
2.4.2
2023-06-01 09:37:38 -04:00
Mike Reeves 8c9186d8dd Merge pull request #10489 from Security-Onion-Solutions/2.4.2
2.4.2
2023-06-01 09:27:56 -04:00
Mike Reeves aee842b912 2.4.2 2023-06-01 09:26:24 -04:00
weslambert 3a5a59af59 Merge pull request #10485 from Security-Onion-Solutions/fix/elastic_fleet_dedicated
Add so-fleet role logic
2023-05-31 16:04:40 -04:00
Josh Patterson 8f3a874e61 Merge pull request #10483 from Security-Onion-Solutions/dedfleetES
exclude elasticsearch.ca state from fleet and receiver nodes
2023-05-31 16:02:57 -04:00
m0duspwnens 66dc6274e6 exclude elasticsearch.ca state from fleet and receiver nodes 2023-05-31 15:59:36 -04:00
Wes 302e580d8f Add so-fleet role logic 2023-05-31 19:56:17 +00:00
Mike Reeves 4cf60a6054 Merge pull request #10480 from Security-Onion-Solutions/mreeves/mergefrommain
Mreeves/mergefrommain
2023-05-31 15:32:30 -04:00
Mike Reeves 8f6d82af97 Merge branch '2.4/main' into mreeves/mergefrommain 2023-05-31 15:28:07 -04:00
Mike Reeves 8ab54dcead Merge pull request #10477 from Security-Onion-Solutions/2.4.2
2.4.2
2023-05-31 14:49:34 -04:00
Mike Reeves 9704c8917e 2.4.2 2023-05-31 14:47:34 -04:00
weslambert 540ee156db Merge pull request #10469 from Security-Onion-Solutions/fix/elastic_fleet_dynamic_configuration
Use Fleet pillar instead of Zeek
2023-05-31 12:36:39 -04:00
Wes 344e2bf1d0 Update defaults file 2023-05-31 15:30:03 +00:00
Wes 3441c0684e Create elasticfleet pillar dir 2023-05-31 15:10:35 +00:00
Wes ed560f19d3 Remove where not applicable 2023-05-31 14:28:43 +00:00
Wes b3f6012856 Change ordering 2023-05-31 14:22:47 +00:00
Wes 9ae26ec866 Add Fleet to top file 2023-05-31 14:21:39 +00:00
Wes 20aaa79476 Add pillar files for Fleet 2023-05-31 13:45:19 +00:00
Wes 2bb77251b0 Move Elastic Fleet logging exclusions to the Fleet pillar 2023-05-31 13:38:58 +00:00
weslambert 36791665f3 Merge pull request #10462 from Security-Onion-Solutions/feature/elastic_agent_zeek_logging
Dynamic integration configuration and Zeek log exclusions for Elastic Agent
2023-05-30 19:27:13 -04:00
Josh Patterson 4d4744a89b Merge pull request #10465 from Security-Onion-Solutions/suricataimport
dont apply suricata.enabled on import nodes
2023-05-30 16:51:17 -04:00
Wes f3be63051b Remove Fleet configuration 2023-05-30 20:48:43 +00:00
m0duspwnens 743ed316f8 dont apply suricata.enabled on import nodes 2023-05-30 16:10:41 -04:00
Wes e4b4bbcfdc Use ZEEKMERGED from zeek/config.map.jinja 2023-05-30 19:51:13 +00:00
Wes b6e090f29f Move Elastic Fleet logic in so-common to so-elastic-fleet-common 2023-05-30 18:43:56 +00:00
weslambert 25006ed20b Merge pull request #10455 from Security-Onion-Solutions/fix/curator_cluster_delete_delete
Update so-elasticsearch-cluster-space-used and so-curator-cluster-delete-delete
2023-05-30 14:28:22 -04:00
Wes 4469a93a75 Fix typo 2023-05-30 18:24:30 +00:00
Mike Reeves 0027016b5a Merge pull request #10463 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update so-setup
2023-05-30 13:52:30 -04:00
Mike Reeves 0143e2412d Update so-setup 2023-05-30 13:51:20 -04:00
Mike Reeves 20212414c4 Update so-setup 2023-05-30 13:46:24 -04:00
Mike Reeves 8a63ed5124 Update so-setup 2023-05-30 13:33:30 -04:00
Wes 096dadf9bd Change 1024 to 1000 for gigabytes 2023-05-30 17:29:42 +00:00
Wes b441fe662f Change 1024 to 1000 for gigabytes 2023-05-30 17:28:59 +00:00
Wes e5117a343d Change description 2023-05-30 17:10:17 +00:00
Wes b9d692eb0e Remove default value 2023-05-30 17:08:52 +00:00
Wes 36a7f54160 Add extension 2023-05-30 16:46:38 +00:00
Josh Brower 96134684dc Merge pull request #10459 from Security-Onion-Solutions/2.4/fixes
Change Fleet Host URL API Endpoint
2023-05-30 12:13:52 -04:00
Jason Ertel 374ab0779a Merge pull request #10458 from Security-Onion-Solutions/jertel/debugrsa
Add short sleeps around show_top to isolate if there's a race conditi…
2023-05-30 12:09:34 -04:00
Jason Ertel d0d1cc9106 Add short sleeps around show_top to isolate if there's a race condition causing intermittent RSA key format errors 2023-05-30 12:08:39 -04:00
Jason Ertel 162a32fd08 Merge branch '2.4/dev' into kilo 2023-05-30 11:51:57 -04:00
Wes 9035fa3037 Don't load Elasticsearch integration 2023-05-30 15:46:00 +00:00
Wes b4b87e5620 Only provide JSON output 2023-05-30 15:43:31 +00:00
Wes 97c53d70a4 Remove integrations 2023-05-30 14:05:40 +00:00
Wes 53b4f7bd5c Add spacing 2023-05-30 14:05:11 +00:00
Mike Reeves 192c8c78c7 Merge pull request #10456 from Security-Onion-Solutions/airgaps
Update verifications
2023-05-30 09:52:07 -04:00
Mike Reeves 62a063dae4 Update verifications 2023-05-30 09:50:43 -04:00
Wes 79014a53ec Remove extra lines 2023-05-30 12:35:32 +00:00
Wes e910f04beb Add default description and Zeek log exclusions for Elastic Fleet 2023-05-30 03:10:52 +00:00
Wes ef5b63337b Add check for integration existence and integration update functionality 2023-05-30 02:58:00 +00:00
Wes 799e92e595 Add files 2023-05-30 02:56:23 +00:00
Wes c835c523a9 Elastic Fleet integration update improvements 2023-05-30 02:54:39 +00:00
Josh Brower 9ec1492fad Change Fleet Host URL API Endpoint 2023-05-29 07:44:18 -04:00
Wes 5af1bfe142 Move alert generation outside of the inner loop 2023-05-27 21:15:45 +00:00
Jason Ertel 482c5324db Merge pull request #10442 from Security-Onion-Solutions/airgaps
Rule Updates
2023-05-26 20:32:39 -04:00
Mike Reeves 3c1f1cd50e Rule Updates 2023-05-26 20:11:22 -04:00
Mike Reeves aecd900203 Merge pull request #10387 from Security-Onion-Solutions/airgaps
Docker Enhancements
2023-05-26 17:35:23 -04:00
Mike Reeves 89f5d9f292 Rule Updates 2023-05-26 17:14:10 -04:00
Josh Brower de43a202a3 Merge pull request #10441 from Security-Onion-Solutions/2.4/fleet-retry
Add Fleet download retry
2023-05-26 17:03:58 -04:00
Josh Brower 6176fa7ca5 Add Fleet download retry 2023-05-26 16:46:02 -04:00
Mike Reeves 9ff27e5b6a Rule Updates 2023-05-26 16:34:48 -04:00
Mike Reeves 5922fc0e45 Rule Updates 2023-05-26 16:29:13 -04:00
Mike Reeves b48e259fee Rule Updates 2023-05-26 16:27:29 -04:00
Mike Reeves b4d85a7bf8 Rule Updates 2023-05-26 16:21:07 -04:00
Mike Reeves 38881231ac Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-26 15:16:38 -04:00
Mike Reeves b2d2a9f0ed Rule Updates 2023-05-26 15:16:14 -04:00
Jason Ertel 32021cf272 Merge pull request #10438 from Security-Onion-Solutions/jertel/redircurl
support forwarding urls
2023-05-26 13:42:57 -04:00
Jason Ertel 4410e136b1 Merge branch '2.4/dev' into jertel/redircurl 2023-05-26 12:12:09 -04:00
Jason Ertel 81d4584819 allow following redirects 2023-05-26 12:11:40 -04:00
Jason Ertel f765dc23ea kilofy version 2023-05-26 09:54:50 -04:00
Jason Ertel 657ef97d17 Merge pull request #10433 from Security-Onion-Solutions/kilo
Use common fail routine when explicitly aborting setup; Enhance cloud detection
2023-05-26 09:54:15 -04:00
Jason Ertel 8f247f962a undo version for PR 2023-05-26 09:50:12 -04:00
Josh Patterson bcbdab1682 Merge pull request #10435 from Security-Onion-Solutions/issue/10429
Issue/10429
2023-05-26 09:47:33 -04:00
m0duspwnens 5b4ec70ca6 fix typo on suricata annotations. add to global annotations 2023-05-26 09:37:57 -04:00
Wes ce114a2601 Fix total space logic and rename TOTAL_AVAILABLE_SPACE to TOTAL_USED_SPACE 2023-05-26 13:19:45 +00:00
Wes 5de59a879a Break out of index deletion when unable to bring space below the disk space threshold 2023-05-26 13:15:27 +00:00
Jason Ertel a2e6469a38 provide custom cloud detection path 2023-05-26 08:05:34 -04:00
m0duspwnens 5c933910aa simplify map for updating suricata config if md engine is suricata 2023-05-25 17:25:54 -04:00
m0duspwnens a3c3f08511 convert list to dict to work better with ui. regex on suricata vars HOME_NET for soc 2023-05-25 17:00:48 -04:00
Jason Ertel 9aa58be286 correct kilo version 2023-05-25 16:14:07 -04:00
Jason Ertel db56b3d6a3 pin version to kilo 2023-05-25 15:27:05 -04:00
Jason Ertel 7d6182a18f redir err to out to avoid leaks to console 2023-05-25 15:24:09 -04:00
Jason Ertel 074f84ae4d flag all forced setup aborts 2023-05-25 14:57:58 -04:00
Mike Reeves 8ce0d76287 Zeek Annotations 2023-05-25 12:12:18 -04:00
Mike Reeves 3be3df00d1 Zeek Annotations 2023-05-25 12:10:15 -04:00
m0duspwnens d99d4756c3 set defaults as example in soc ui for suricata cpu affinity 2023-05-25 11:11:53 -04:00
m0duspwnens 0d83b13585 Merge remote-tracking branch 'origin/2.4/dev' into issue/10229 2023-05-25 11:04:04 -04:00
m0duspwnens 6505d3e2ce update annotations for suricata 2023-05-25 11:03:37 -04:00
Josh Patterson 6edfadd18b Merge pull request #10432 from Security-Onion-Solutions/distribsetup
Update so-functions
2023-05-25 10:44:33 -04:00
Josh Patterson 9552510c7d Update so-functions
assign proper hostgroups for setup
2023-05-25 10:43:47 -04:00
Doug Burks 36ddcfa4e5 Merge pull request #10431 from Security-Onion-Solutions/dougburks-patch-1
Update README.md for Beta 3
2023-05-25 08:36:14 -04:00
Doug Burks fcc1337e1a Update README.md for Beta 3 2023-05-25 07:51:08 -04:00
Mike Reeves 10f9d0f4bd Suricata Airgap 2023-05-24 16:21:51 -04:00
Mike Reeves edf531739c Suricata Airgap 2023-05-24 15:47:07 -04:00
Mike Reeves 11d7e66ea0 Suricata Airgap 2023-05-24 15:30:52 -04:00
Mike Reeves caaedee5a7 Suricata Airgap 2023-05-24 15:18:52 -04:00
Mike Reeves 1bdd79c578 Suricata Airgap 2023-05-24 15:05:40 -04:00
Mike Reeves c199acc64e Suricata Airgap 2023-05-24 14:58:11 -04:00
Josh Patterson a01704a1d7 Merge pull request #10427 from Security-Onion-Solutions/issue/10229
Issue/10229
2023-05-24 13:23:29 -04:00
Wes 53f258b08f Add eligible_indices to index deletion requirements 2023-05-24 17:02:11 +00:00
Wes a308a39bbe Use disk space taken up by indices if the script is not running on a manager 2023-05-24 16:48:45 +00:00
m0duspwnens 5c00655ad0 Merge remote-tracking branch 'origin/2.4/dev' into issue/10229 2023-05-24 12:22:52 -04:00
m0duspwnens 67a608ea56 adjust suricata defaults 2023-05-24 12:22:42 -04:00
Josh Brower 01d983fc00 Merge pull request #10426 from Security-Onion-Solutions/2.4/fleet-punchlist
2.4/fleet punchlist
2023-05-24 12:15:50 -04:00
Mike Reeves d6f1bcfdf0 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-24 11:42:44 -04:00
Josh Brower f156573f8d Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/fleet-punchlist 2023-05-24 11:28:38 -04:00
Josh Brower b3e0e68896 Change Fleet Host URL API 2023-05-24 11:27:41 -04:00
Mike Reeves 86803f1fb5 Add Suricata 2023-05-24 10:48:01 -04:00
Jason Ertel aad08a830b Merge pull request #10425 from Security-Onion-Solutions/kilo
fix malformed alert templates
2023-05-24 10:21:21 -04:00
Mike Reeves c9db6c0f18 Add Suricata 2023-05-24 10:18:58 -04:00
Jason Ertel d9a9c8738c fix malformed alert templates 2023-05-24 10:17:59 -04:00
Mike Reeves cb0ed9ae6d Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-24 10:04:15 -04:00
Josh Brower 4f72fca2d7 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/fleet-punchlist 2023-05-24 09:55:29 -04:00
Josh Patterson 1dc426b8ce Merge pull request #10422 from Security-Onion-Solutions/issue/10229
fix suricata sostatus
2023-05-24 09:54:14 -04:00
m0duspwnens 8995012c80 fix suricata sostatus 2023-05-24 09:52:07 -04:00
Mike Reeves 2c4ba2e8b2 Add Suricata 2023-05-24 09:35:50 -04:00
Mike Reeves c42959d040 soup skeleton 2023-05-24 09:29:50 -04:00
Mike Reeves fa6dcd7f83 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-24 09:04:04 -04:00
Josh Brower 9c6365aa2f Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/fleet-punchlist 2023-05-24 09:03:57 -04:00
Josh Patterson 6e4c4febfb Merge pull request #10421 from Security-Onion-Solutions/issue/10229
rename state to resolve conflicting / duplicate state ids
2023-05-24 09:02:47 -04:00
m0duspwnens 732d2aadf8 rename state to resolve conflicting / duplicate state ids 2023-05-24 08:58:43 -04:00
Mike Reeves cace817c79 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-24 08:43:03 -04:00
Josh Brower e1c361e555 Fix variable 2023-05-23 16:50:40 -04:00
Josh Brower 502277b1b7 Hash check, use url base 2023-05-23 16:38:37 -04:00
bryant-treacle 57f5a22f0f Merge pull request #10396 from Security-Onion-Solutions/2.4/Influxdb_alerts
2.4/influxdb alerts
2023-05-23 14:14:48 -04:00
Josh Patterson 4b18a0e758 Merge pull request #10417 from Security-Onion-Solutions/issue/10229
Issue/10229
2023-05-23 13:47:48 -04:00
Josh Brower f6a9a764de Merge pull request #10416 from Security-Onion-Solutions/2.4/smallfixes
2.4/EQL
2023-05-23 13:28:11 -04:00
m0duspwnens e65214b097 Merge remote-tracking branch 'origin/2.4/dev' into issue/10229 2023-05-23 12:10:29 -04:00
m0duspwnens cc47f9a595 fix suricata thresholding 2023-05-23 11:16:32 -04:00
m0duspwnens eb633be437 enable/disable suricata in ui. assign threads properly 2023-05-22 17:48:22 -04:00
Josh Brower df0dc2e4d1 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/smallfixes 2023-05-22 16:02:30 -04:00
Josh Brower 766f4dd661 Add Elastic Defend Integration 2023-05-22 16:02:08 -04:00
Jason Ertel f53fb69ffb Merge pull request #10407 from Security-Onion-Solutions/kilo
Ignore Synchronize button clicks when an active salt job is running and another is already in queue
2023-05-22 14:59:42 -04:00
Jason Ertel ba0ec18a33 Ignore Synchronize button clicks when an active salt job is running and another is already in queue 2023-05-22 14:52:07 -04:00
weslambert 79182cecfd Merge pull request #10397 from Security-Onion-Solutions/fix/elastic_exclude_zeek_reporter_log
Exclude Zeek's reporter.log from being picked up by Elastic Agent
2023-05-22 07:56:54 -04:00
weslambert 8cf82c4b6a Merge pull request #10398 from Security-Onion-Solutions/fix/elasticsearch_ingest_dns_query
Check if 'dns.query' is null
2023-05-22 07:56:44 -04:00
weslambert 78d4586033 Merge pull request #10399 from Security-Onion-Solutions/fix/elastalert_playbook_alerter
Update 'url' to use 'es_hosts'
2023-05-22 07:56:31 -04:00
Jason Ertel 02cf1074f2 Merge pull request #10400 from Security-Onion-Solutions/kilo
use the same requests version that's already packaged with the analyzer
2023-05-20 08:45:21 -04:00
Jason Ertel a881cab469 use the same requests version that's already packaged with the analyzer 2023-05-19 23:54:30 -04:00
weslambert 00bd93c026 Update 'url' to use 'es_hosts' 2023-05-19 17:14:13 -04:00
weslambert 2c10ad7eec Check if 'dns.query' is null 2023-05-19 15:50:33 -04:00
weslambert 167051af28 Exclude Zeek's reporter.log from being picked up by Elastic Agent 2023-05-19 15:44:09 -04:00
weslambert eb9c5e9af0 Merge pull request #10307 from Security-Onion-Solutions/fix/elastic_fleet_ignore_zeek_logs
Don't read from 'known_hosts.log', 'known_services.log', or 'ntp.log'
2023-05-19 15:09:15 -04:00
Jason Ertel 2f942a3e37 Merge pull request #10393 from Security-Onion-Solutions/kilo
fix lib dependency issue with whoisit
2023-05-19 14:34:42 -04:00
Jason Ertel 03f97b309a fix lib dependency issue with whoisit 2023-05-19 14:18:19 -04:00
weslambert c6a962a46b Merge pull request #10392 from Security-Onion-Solutions/fix/elastalert_index
Change Elastalert writeback index name from 'elastalert_status' to 'elastalert'
2023-05-19 13:31:29 -04:00
weslambert 1ddf45bbbe Change Elastalert writeback index name from 'elastalert_status' to 'elastalert' 2023-05-19 12:39:27 -04:00
Doug Burks f0c4cebaca Merge pull request #10391 from Security-Onion-Solutions/2.4/elastic-8.7.1
UPGRADE: Elastic 8.7.1 #10269
2023-05-19 12:29:01 -04:00
Doug Burks 87c42ece00 Update so-kibana-config-load 2023-05-19 12:21:09 -04:00
Doug Burks 4f8fcd3369 Update config_saved_objects.ndjson 2023-05-19 12:19:44 -04:00
bryant-treacle 5b2d91b5b5 Update alarm_zeek_packet_loss.json 2023-05-19 10:32:53 -04:00
bryant-treacle a84322f9b7 Update alarm_suricata_packet_loss.json 2023-05-19 10:32:29 -04:00
bryant-treacle 2de95bcb63 Update alarm_steno_packet_loss.json 2023-05-19 10:32:13 -04:00
bryant-treacle 1e9e2facde Update alarm_low_monitor_traffic.json 2023-05-19 10:29:53 -04:00
bryant-treacle 592c67d1f2 Update alarm_pcap_retention.json 2023-05-19 10:29:15 -04:00
bryant-treacle e91dd29cb2 Update alarm_high_redis_memory_usage.json 2023-05-19 10:25:22 -04:00
bryant-treacle 13c9142814 Update alarm_low_monitor_traffic.json 2023-05-19 10:21:43 -04:00
bryant-treacle ef4f2491f3 Update alarm_high_redis_memory_usage.json 2023-05-19 10:12:44 -04:00
bryant-treacle 645555b990 Update alarm_zeek_packet_loss.json 2023-05-19 10:10:44 -04:00
bryant-treacle 839275814c Update redis.sh - Added percent of used memory. 2023-05-19 08:51:49 -04:00
bryant-treacle 9b973e07e2 Add files via upload 2023-05-19 08:49:43 -04:00
Josh Patterson 0027385da9 Merge pull request #10389 from Security-Onion-Solutions/issue/10229
enable playbook on eval in pillar during setup
2023-05-18 17:38:05 -04:00
m0duspwnens 4ef77f9050 enable playbook on eval in pillar during setup 2023-05-18 17:34:59 -04:00
Mike Reeves debbdec350 Allow additional docker parameters 2023-05-18 17:10:18 -04:00
Mike Reeves bf4ac0c2dd Allow additional docker parameters 2023-05-18 17:08:39 -04:00
Mike Reeves cb9e7e63db Allow additional docker parameters 2023-05-18 17:00:54 -04:00
Mike Reeves 32560af767 Allow additional docker parameters 2023-05-18 16:59:45 -04:00
Mike Reeves 1e5ac61ff5 Allow additional docker parameters 2023-05-18 16:57:48 -04:00
Mike Reeves 5315c51197 Allow additional docker parameters 2023-05-18 16:52:38 -04:00
Mike Reeves 8917f9b9d2 Allow additional docker parameters 2023-05-18 16:46:28 -04:00
Mike Reeves c0dc05f26a Allow additional docker parameters 2023-05-18 16:39:42 -04:00
Mike Reeves 2aa801d906 Allow additional docker parameters 2023-05-18 16:31:29 -04:00
weslambert c192ec9109 Merge pull request #10385 from Security-Onion-Solutions/feature/elastalert_eql
Add initial support for EQL queries for Elastalert
2023-05-18 15:36:28 -04:00
Mike Reeves 7ab31e36af Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-18 15:19:15 -04:00
Mike Reeves 0fd9fb9294 Allow additional docker parameters 2023-05-18 15:19:09 -04:00
Josh Patterson 059f80bfc4 Merge pull request #10384 from Security-Onion-Solutions/issue/10334
Issue/10334
2023-05-18 13:28:47 -04:00
m0duspwnens bab2f7282c fix spaciong 2023-05-18 13:27:48 -04:00
m0duspwnens 02920b5ac9 confirm manager ip when found in setup 2023-05-18 13:25:12 -04:00
m0duspwnens 25b0934cda confirm manager ip when found in setup 2023-05-18 13:06:20 -04:00
Wes d3c7ea4805 Add EQL option 2023-05-18 16:55:26 +00:00
Wes 82c3d78672 Change Elasticsearch host syntax 2023-05-18 16:52:27 +00:00
Josh Brower 97b68609bc Merge pull request #10381 from Security-Onion-Solutions/2.4/smallfixes
2.4/ElasticFleetPunchList
2023-05-18 09:04:30 -04:00
Josh Patterson 1d611e618f Merge pull request #10383 from Security-Onion-Solutions/issue/10229
remove conditional on cacertz and capemz
2023-05-18 08:45:41 -04:00
m0duspwnens f4b8d385ee remove conditional on cacertz and capemz 2023-05-18 08:36:24 -04:00
Jason Ertel b7e0923ec4 Merge pull request #10382 from Security-Onion-Solutions/kilo
add missing var for local dev
2023-05-17 18:58:29 -04:00
Jason Ertel 4930ae4ba6 add missing var for local dev 2023-05-17 18:14:21 -04:00
Josh Brower d11479ec5f Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/smallfixes 2023-05-17 16:11:46 -04:00
Josh Brower 901e3c4a20 Set Fleet Host timeouts to 120 seconds 2023-05-17 16:07:59 -04:00
Josh Patterson 81842462ba Merge pull request #10380 from Security-Onion-Solutions/issue/10229
Issue/10229
2023-05-17 15:53:15 -04:00
m0duspwnens e15c14cc2e fix indent 2023-05-17 15:50:31 -04:00
m0duspwnens f7ddf57f39 move files out of config 2023-05-17 15:49:22 -04:00
Josh Brower 47e67fda46 Rework restart scripts for Elastic Fleet 2023-05-17 15:37:39 -04:00
Josh Brower 7d0251952c Filter out uneeded Logstash metadata 2023-05-17 11:06:16 -04:00
Josh Brower 5536f5a8c2 Add Fleet node to other roles 2023-05-17 09:32:20 -04:00
Josh Patterson 2c932fae9d Merge pull request #10371 from Security-Onion-Solutions/salt3006.1
Salt3006.1
2023-05-16 16:59:31 -04:00
Josh Brower 24445cf36a Rename Fleet pipelines 2023-05-16 16:43:21 -04:00
m0duspwnens 0feb25c962 Merge remote-tracking branch 'origin/2.4/dev' into salt3006.1 2023-05-16 16:07:31 -04:00
m0duspwnens 3abb4d79ba change path where SALTVERSION is pulled from 2023-05-16 16:07:06 -04:00
Josh Patterson 1df183deb3 Merge pull request #10370 from Security-Onion-Solutions/issue/10229
fix grep logic for so-elastic-fleet sostatus.sls
2023-05-16 15:46:41 -04:00
m0duspwnens 77834c1e58 fix grep logic for so-elastic-fleet sostatus.sls 2023-05-16 15:05:14 -04:00
Josh Patterson d6207705cd Merge pull request #10369 from Security-Onion-Solutions/salt3006.1
specify salt version to install during setup
2023-05-16 14:47:35 -04:00
m0duspwnens e4b61aa08d specify salt version to install during setup 2023-05-16 14:28:57 -04:00
Josh Patterson 736ff2930d Merge pull request #10368 from Security-Onion-Solutions/salt3006.1
Salt3006.1
2023-05-16 13:48:11 -04:00
m0duspwnens 6aff526d9e Merge remote-tracking branch 'origin/2.4/dev' into salt3006.1 2023-05-16 13:08:28 -04:00
Josh Brower 8101171c97 Merge pull request #10367 from Security-Onion-Solutions/2.4/integrationfix
Update Integrations
2023-05-16 12:56:47 -04:00
Josh Brower 000507c366 Update Integrations 2023-05-16 12:50:40 -04:00
Josh Patterson 82fdee45aa Merge pull request #10366 from Security-Onion-Solutions/issue/10229
cwd for catrustscript
2023-05-16 12:11:20 -04:00
m0duspwnens 2419fa43b6 cwd for catrustscript 2023-05-16 12:08:44 -04:00
m0duspwnens acc7619023 salt 3006.1 2023-05-16 12:04:02 -04:00
Jason Ertel dcd761ad74 Merge pull request #10364 from Security-Onion-Solutions/kilo
import installs do not use monitor ifaces
2023-05-16 10:15:26 -04:00
Jason Ertel 9871ecd223 import installs do not use monitor ifaces 2023-05-16 10:14:31 -04:00
Josh Patterson 56a7fdcfcd Merge pull request #10363 from Security-Onion-Solutions/issue/10229
Issue/10229
2023-05-16 09:36:31 -04:00
m0duspwnens 6325f6db16 run elasticfleet.config so elasticfleet setup script gets put in place 2023-05-16 09:30:27 -04:00
m0duspwnens b253cd45ca Merge remote-tracking branch 'origin/2.4/dev' into issue/10229 2023-05-16 09:22:48 -04:00
Jason Ertel 1724565331 Merge pull request #10362 from Security-Onion-Solutions/kilo
ensure automated tests have passwordless sudo
2023-05-16 08:49:00 -04:00
Jason Ertel 00a7beaca2 ensure automated tests have passwordless sudo 2023-05-16 08:43:13 -04:00
Mike Reeves c129bba7e5 Merge pull request #10361 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update defaults.yaml
2023-05-16 08:19:07 -04:00
Mike Reeves fb298224fc Update defaults.yaml 2023-05-16 08:17:50 -04:00
Josh Brower 1feed47185 Merge pull request #10360 from Security-Onion-Solutions/2.4/retry
2.4/retry
2023-05-16 08:15:42 -04:00
Josh Brower 923de356e1 Fix typos 2023-05-16 08:06:31 -04:00
Jason Ertel cea9af4e01 Merge pull request #10359 from Security-Onion-Solutions/kilo
missing braces
2023-05-16 07:25:36 -04:00
Jason Ertel 0f6d894322 missing braces 2023-05-16 07:22:17 -04:00
Josh Brower 9f879164ec Fix broken loop 2023-05-16 06:45:17 -04:00
Jason Ertel 1ddc4b6ff8 Merge pull request #10357 from Security-Onion-Solutions/kilo
ISO tests also use DHCP
2023-05-15 19:04:31 -04:00
Jason Ertel 58f80120bd ISO tests also use DHCP 2023-05-15 18:58:04 -04:00
m0duspwnens a0e08e4f41 enable elasticfleet via pillar, fix sostatus for elasticfleet 2023-05-15 17:41:09 -04:00
m0duspwnens 2813d67670 import GLOBALS 2023-05-15 16:47:33 -04:00
m0duspwnens c49b134122 move so-catrust 2023-05-15 16:43:47 -04:00
Mike Reeves 48ce377b02 Merge pull request #10340 from Security-Onion-Solutions/airgaps
Fix IDS Tools
2023-05-15 16:10:03 -04:00
Josh Brower 40de01e8c4 Temp fix 2023-05-15 15:56:21 -04:00
Mike Reeves 2fe88a1e66 Fix verify so copying sigma rules isnt fail 2023-05-15 15:33:52 -04:00
Mike Reeves 214117e0e0 Fix verify so copying sigma rules isnt fail 2023-05-15 15:33:32 -04:00
Josh Brower bc2d3e43f0 Merge pull request #10356 from Security-Onion-Solutions/2.4/retry
Fix path
2023-05-15 15:20:43 -04:00
Josh Brower b3528b2139 Fix path 2023-05-15 15:18:49 -04:00
Josh Brower 7ecd067e2b Merge pull request #10355 from Security-Onion-Solutions/2.4/retry
Add retry
2023-05-15 14:57:46 -04:00
Josh Brower 576c1d7cc1 Add retry 2023-05-15 14:55:43 -04:00
m0duspwnens 6320528263 move so-catrust 2023-05-15 14:08:30 -04:00
Josh Brower 6528632861 Merge pull request #10352 from Security-Onion-Solutions/2.4/taglogs
Refactor wrapper
2023-05-15 13:56:38 -04:00
m0duspwnens 928b3b5471 create local kibana pillar dirs before touching pillar files 2023-05-15 13:40:52 -04:00
m0duspwnens f1c8467e9b create and assign kibana.soc and kibana.adv 2023-05-15 13:13:38 -04:00
m0duspwnens f5337eba1a Merge remote-tracking branch 'origin/2.4/dev' into issue/10229 2023-05-15 13:08:53 -04:00
Jason Ertel de28e15805 Merge pull request #10354 from Security-Onion-Solutions/kilo
Relax rate limiting thresholds when installing in test mode
2023-05-15 13:02:07 -04:00
Jason Ertel 09ba15f9bb Merge branch '2.4/dev' into kilo 2023-05-15 12:57:46 -04:00
Jason Ertel ba9892941d relax login rate limiting when testing 2023-05-15 12:57:41 -04:00
Josh Brower b381c51246 Merge branch '2.4/dev' into 2.4/taglogs 2023-05-15 12:13:44 -04:00
Josh Brower 64726af69c Change from tmp 2023-05-15 12:09:16 -04:00
m0duspwnens 7a4fea7a12 fix nginx merge conflicts 2023-05-15 11:40:12 -04:00
m0duspwnens db47256cdd rename 2023-05-15 11:23:27 -04:00
m0duspwnens ba2392997b enabled/disable elastic-fleet-package-registry via ui 2023-05-15 11:14:21 -04:00
m0duspwnens 1a1bcb3526 enable/disable idh via ui 2023-05-15 10:53:39 -04:00
m0duspwnens 997e6c141a enable/disable idstools in ui 2023-05-15 10:19:15 -04:00
Doug Burks 9a3c997779 Merge pull request #10351 from Security-Onion-Solutions/dougburks-patch-1
Update install_agent_grid.sls
2023-05-15 10:13:55 -04:00
Doug Burks 53ed4d49c2 Update install_agent_grid.sls 2023-05-15 10:10:27 -04:00
m0duspwnens 0cee5b54a1 make advnaced 2023-05-15 10:00:15 -04:00
m0duspwnens 3f8e15d16f enabled/disable elaticfleet in ui 2023-05-15 09:41:44 -04:00
Doug Burks f8f6a1433a Merge pull request #10350 from Security-Onion-Solutions/2.4/fix-agent-iso
2.4/fix agent iso
2023-05-15 08:47:05 -04:00
Doug Burks 83188401c5 update status messages 2023-05-15 08:43:53 -04:00
Doug Burks b01367a294 remove the temp directory when finished 2023-05-15 08:41:05 -04:00
Doug Burks d8e0e320f4 so-elastic-agent-gen-installers should use /nsm to avoid filling /tmp 2023-05-15 07:31:32 -04:00
m0duspwnens b033f0d20f fix import 2023-05-12 16:57:31 -04:00
m0duspwnens b71b4225c4 enabled/disable kratos in ui 2023-05-12 16:53:18 -04:00
m0duspwnens 2a39f5f0b5 enabled/disable mysql in ui 2023-05-12 16:27:18 -04:00
m0duspwnens e27e690bc8 fix disabled for registry 2023-05-12 16:07:49 -04:00
m0duspwnens 57371ffe5a fix so-status for dockerregistry 2023-05-12 16:05:23 -04:00
m0duspwnens 4440ecd433 enabled/disable registry in ui 2023-05-12 15:51:00 -04:00
m0duspwnens 277ad61920 enabled/disable registry in ui 2023-05-12 15:49:13 -04:00
m0duspwnens 0860b1501e fix so-status state name 2023-05-12 15:17:51 -04:00
m0duspwnens b06610088a fix so-status state names 2023-05-12 15:15:21 -04:00
m0duspwnens aa2f168b73 make node_description a string 2023-05-12 15:12:12 -04:00
m0duspwnens d1f7e5f4a7 fix and rename timeout_ms and parallel_limit 2023-05-12 14:57:55 -04:00
m0duspwnens 05a81596e5 place and access sensoronikey from sensoroni.config 2023-05-12 14:38:39 -04:00
m0duspwnens 00d1ca0b62 configure and enable/disable sensoroni via ui 2023-05-12 14:26:46 -04:00
Josh Brower dbd4a5bd98 Refactor wrapper 2023-05-12 12:11:28 -04:00
Doug Burks 3db34a3346 Merge pull request #10341 from Security-Onion-Solutions/dougburks-patch-1
revert last change to so-verify
2023-05-11 16:47:50 -04:00
Doug Burks f9890778ad revert last change to so-verify 2023-05-11 16:45:46 -04:00
m0duspwnens e342dae818 put srvKey under soc:config:server 2023-05-11 16:14:52 -04:00
Mike Reeves 64e294ef48 Fix verify so copying sigma rules isnt fail 2023-05-11 16:02:58 -04:00
Mike Reeves 992bbdfac1 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into airgaps 2023-05-11 16:00:15 -04:00
Mike Reeves a4cd695cc8 Airgap Rules Fix 2023-05-11 16:00:07 -04:00
Doug Burks 9f85b3cb4f Merge pull request #10339 from Security-Onion-Solutions/dougburks-patch-1
add another error exclusion to so-verify
2023-05-11 15:59:14 -04:00
Doug Burks e9fd7d8b8b add another error exclusion to so-verify 2023-05-11 15:38:57 -04:00
m0duspwnens fa1a428133 fix import 2023-05-11 15:36:20 -04:00
m0duspwnens 8e18986671 enabled/disable soc in ui 2023-05-11 15:33:16 -04:00
m0duspwnens a3b97b40ba enabled/disable soctopus in ui 2023-05-11 13:57:08 -04:00
Doug Burks 634dd9907d Merge pull request #10338 from Security-Onion-Solutions/dougburks-patch-1
fix typo in so-elastic-fleet-setup
2023-05-11 13:40:15 -04:00
Doug Burks 1d12dcd243 fix typo in so-elastic-fleet-setup 2023-05-11 13:39:07 -04:00
Jason Ertel 2ec8d6abf0 Merge pull request #10337 from Security-Onion-Solutions/kilo
Prevent duplicate telegraph data from elastic from distorting Influx graphs
2023-05-11 13:38:14 -04:00
Jason Ertel 98c19e5934 handle duplicate telegraph data for elastic 2023-05-11 13:34:44 -04:00
m0duspwnens 03e7636a18 include nginx.config in soctopus 2023-05-11 13:19:16 -04:00
m0duspwnens 6ce9561ba7 enabled/disable nginx via ui 2023-05-11 13:15:26 -04:00
m0duspwnens b80dd996cc fix import 2023-05-11 12:46:05 -04:00
m0duspwnens 63cea88c1d enable/disable influxdb in ui 2023-05-11 12:43:06 -04:00
m0duspwnens f41c75c633 fix include 2023-05-11 12:14:30 -04:00
m0duspwnens 20f706f165 enable/disable telegraf in ui 2023-05-11 12:12:25 -04:00
m0duspwnens c74b440922 configure and enable/disable curator in ui 2023-05-11 10:17:28 -04:00
Mike Reeves badaab94de Merge pull request #10331 from Security-Onion-Solutions/airgaps
Fix so_user shennanigans
2023-05-10 18:34:39 -04:00
Mike Reeves 2be6c603ab Fix so_user shennanigans 2023-05-10 17:47:41 -04:00
Jason Ertel 7700a5a1bf Merge pull request #10328 from Security-Onion-Solutions/kilo
add missing dollar sign
2023-05-10 17:06:35 -04:00
Jason Ertel 687a89e30b add missing dollar sign 2023-05-10 17:00:13 -04:00
m0duspwnens 06a0492226 import DOCKER and GLOBALS for filestream enabled 2023-05-10 16:04:53 -04:00
m0duspwnens 4e4034e054 cleanup strelka in top and allowed_states 2023-05-10 15:59:10 -04:00
m0duspwnens 5b06aa518e makedirs if needed 2023-05-10 15:55:21 -04:00
m0duspwnens c91fb438bb update map file with new strelka format 2023-05-10 15:53:28 -04:00
m0duspwnens 54c9a3ec71 enable/disable each strelka container in ui 2023-05-10 15:50:07 -04:00
Mike Reeves cc1babbea6 Merge pull request #10325 from Security-Onion-Solutions/airgaps
Initial airgap support
2023-05-10 15:00:57 -04:00
Mike Reeves bde67266d4 Add elastic agent logic 2023-05-10 14:28:46 -04:00
Josh Brower 1de1e2fdc2 Merge pull request #10324 from Security-Onion-Solutions/2.4/taglogs
tag container logs
2023-05-10 14:21:16 -04:00
Josh Brower 2293574f2e tag container logs 2023-05-10 14:19:17 -04:00
Mike Reeves 3077c21bd9 Add official key 2023-05-10 14:15:06 -04:00
Mike Reeves a52ca6e298 Add official key 2023-05-10 13:29:22 -04:00
m0duspwnens 02e1a29f0c configure redis in ui 2023-05-10 11:54:21 -04:00
m0duspwnens 1b9ed1c72b uncomment so-playbook when enabled 2023-05-10 11:24:14 -04:00
Mike Reeves 9564158c32 Don't sync down the repo for airgap 2023-05-10 11:19:36 -04:00
m0duspwnens ce1f75aab6 fix indent for description and helplink 2023-05-10 11:19:00 -04:00
m0duspwnens a0ce46e702 enable/disable logstash in ui 2023-05-10 11:16:03 -04:00
Mike Reeves f501fac9cd Don't sync down the repo for airgap 2023-05-10 11:07:03 -04:00
Mike Reeves 8b95edd91a Fix setup whiptail for airgap 2023-05-10 10:46:29 -04:00
m0duspwnens c5e5763014 uncomment so-kibana in so-status 2023-05-10 09:55:20 -04:00
m0duspwnens 2322ed4b6d fix require 2023-05-09 17:13:36 -04:00
m0duspwnens 38d69701a4 fix require 2023-05-09 17:09:00 -04:00
m0duspwnens 4dc0f06331 add add_kibana_to_minion to so-minion 2023-05-09 16:51:41 -04:00
m0duspwnens ec7bcd9b0c enabled/disable kibana in ui 2023-05-09 16:46:48 -04:00
Doug Burks 24140c4cda Merge pull request #10319 from Security-Onion-Solutions/dougburks-patch-1
Update soc_idstools.yaml
2023-05-09 12:18:36 -04:00
m0duspwnens 6909d3ed14 move cacertz and capemz to ssl state 2023-05-09 12:16:18 -04:00
Doug Burks cf5feafb1e Update soc_idstools.yaml 2023-05-09 12:11:42 -04:00
Josh Brower ebc20a86eb Merge pull request #10316 from Security-Onion-Solutions/2.4/integrationversions
Remove Hardcoded Versions
2023-05-09 12:04:24 -04:00
Mike Reeves e792fbe023 Merge pull request #10317 from Security-Onion-Solutions/airgaps
Remove escaping from nmcli
2023-05-09 11:58:02 -04:00
Mike Reeves 02b619193d Remove escaping from nmcli 2023-05-09 11:55:51 -04:00
Mike Reeves e5aab3b707 Merge pull request #10315 from Security-Onion-Solutions/airgaps
Fix NIC escaping
2023-05-09 11:40:20 -04:00
Mike Reeves 089fcbd0c5 Fix NIC escaping 2023-05-09 11:37:50 -04:00
Josh Brower 62bafb94f9 Remove Hardcoded Versions 2023-05-09 11:30:25 -04:00
m0duspwnens 9d6fb98e3b move cacertz and capemz to ca state 2023-05-09 11:13:57 -04:00
m0duspwnens 7bd9a84aa1 changes to top and allow_states for enable/disable elasticsearch in ui 2023-05-09 10:01:30 -04:00
m0duspwnens 328b714306 import ELASTICSEARCHMERGED 2023-05-09 09:51:53 -04:00
m0duspwnens 2a979197a0 enabled/disable elasticsearch in ui 2023-05-09 09:33:37 -04:00
Jason Ertel 6f7f09f1cd Merge pull request #10310 from Security-Onion-Solutions/kilo
nginx changes: add rate limiting, remove old HH html
2023-05-08 16:32:27 -04:00
m0duspwnens f9804c218d only append to so-status.conf if needed 2023-05-08 16:20:17 -04:00
Jason Ertel dfc4498921 Clarify auth throttle desc 2023-05-08 16:06:10 -04:00
m0duspwnens 9049f9cf03 enabled/disable elastalert via web ui 2023-05-08 15:56:26 -04:00
Jason Ertel 79a5f3a89f add missing slash 2023-05-08 15:55:00 -04:00
Jason Ertel c7cb11e919 remove obsolete code 2023-05-08 15:34:19 -04:00
Jason Ertel da81d93930 adjust var name 2023-05-08 15:32:04 -04:00
Jason Ertel 44344612b7 adjust var name 2023-05-08 15:31:08 -04:00
Jason Ertel 7ac4bc52a3 add missing file 2023-05-08 14:55:37 -04:00
m0duspwnens 9aaa33c224 fix allowed_states logic in playbook config 2023-05-08 14:51:10 -04:00
weslambert a13e6257c3 Don't read from 'known_hosts.log', 'known_services.log', or 'ntp.log' 2023-05-08 14:38:55 -04:00
m0duspwnens ef18cb3704 top and allow_states changes for playbook 2023-05-08 14:12:46 -04:00
m0duspwnens d5c7eec4ef enabled false by default, enabled via pillar in so-minion 2023-05-08 13:43:53 -04:00
m0duspwnens a2c444e03b enabled/disable playbook in ui 2023-05-08 13:43:08 -04:00
Jason Ertel 40c3f9a156 Merge branch '2.4/dev' into kilo 2023-05-08 12:19:00 -04:00
Jason Ertel bd23d1ab7b implement selective rate limiting 2023-05-08 12:18:46 -04:00
weslambert a1e0041b14 Merge pull request #10287 from Security-Onion-Solutions/fix/strelka_ignore_yara_rules_2.4
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:17 -04:00
weslambert 7483dbf442 Merge pull request #10304 from Security-Onion-Solutions/fix/kibana_pivot_to_pcap_url_2.4
Surround _id field in double quotes to prevent errors associated with values beginning with a hyphen
2023-05-08 11:55:35 -04:00
Wes 0f30e787b3 Surround _id field in double quotes to prevent errors associated with values beginning with a hyphen 2023-05-08 15:34:35 +00:00
m0duspwnens 5d50dbb69e enabled/disable zeek 2023-05-08 10:12:32 -04:00
Mike Reeves 867ea5a1ac Merge pull request #10298 from Security-Onion-Solutions/dockerbinds
Add custom volume binds to all containers
2023-05-08 09:48:45 -04:00
Doug Burks 52cfc59113 Merge pull request #10300 from Security-Onion-Solutions/dougburks-patch-2
FIX: Improve soup's local file modification logic #8972
2023-05-08 09:47:57 -04:00
Mike Reeves 789eafa8c2 Fix string entry 2023-05-08 09:45:08 -04:00
Doug Burks ed712477d6 FIX: Improve soup's local file modification logic #8972 2023-05-08 09:43:20 -04:00
Mike Reeves e3cb0a9953 Fix string entry 2023-05-08 09:35:07 -04:00
m0duspwnens 743bbfea35 add zeek.enabled to zeek annotation file 2023-05-05 17:09:01 -04:00
m0duspwnens e8a5a5bffb import GLOBALS 2023-05-05 16:44:46 -04:00
m0duspwnens a97fa9675b enable/disable zeek in ui 2023-05-05 16:33:59 -04:00
Mike Reeves 2418d9a096 Add volume mounts 2023-05-05 16:01:23 -04:00
m0duspwnens 2a8ed24045 import GLOBALS 2023-05-05 15:35:04 -04:00
Mike Reeves f1c91e91b1 Remove port bindings from logstash config section 2023-05-05 15:10:21 -04:00
m0duspwnens 5405bc4e20 handle import node and merge with 2.4/dev 2023-05-05 14:41:26 -04:00
m0duspwnens 47a580d110 fix enabled and disable steno in ui 2023-05-05 13:59:52 -04:00
Mike Reeves 61a43f7df5 Merge pull request #10233 from Security-Onion-Solutions/mkrfixes
Several Fixes
2023-05-05 13:52:56 -04:00
Mike Reeves 21ffcbf2fd Update so-setup 2023-05-05 13:16:45 -04:00
Mike Reeves 563c0631ba Update so-functions 2023-05-05 13:01:40 -04:00
Mike Reeves 77cbf35625 Update so-functions 2023-05-05 11:26:10 -04:00
Mike Reeves d7972032e4 Update init.sls 2023-05-05 10:33:11 -04:00
Mike Reeves f6dcefe0f8 Update so-user 2023-05-05 09:34:33 -04:00
Mike Reeves d5a1406095 Update so-user 2023-05-05 09:15:52 -04:00
Josh Patterson 3d3be6bd29 Merge pull request #10290 from Security-Onion-Solutions/ui/logstash
UI/logstash
2023-05-05 09:01:57 -04:00
m0duspwnens 52fec5fef0 Merge remote-tracking branch 'origin/mkrfixes' into ui/logstash 2023-05-05 09:00:23 -04:00
m0duspwnens ddb776c80e add redis pillars to searchnode. move redis scripts with jinja to sbin_jinja 2023-05-04 17:26:18 -04:00
Mike Reeves 469258ee5e Update init.sls 2023-05-04 16:46:54 -04:00
Mike Reeves 4fec2a18a5 Update so-functions 2023-05-04 16:26:40 -04:00
weslambert c7ed29dfa8 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:16:06 -04:00
Mike Reeves 80cbe5f6e8 Update so-functions 2023-05-04 15:45:05 -04:00
Mike Reeves a64eb0ba97 Update so-setup 2023-05-04 15:30:44 -04:00
Josh Patterson dbb1b82e1b Merge pull request #10285 from Security-Onion-Solutions/ui/logstash
source from sbin_jinja and exlude pat
2023-05-04 15:14:47 -04:00
m0duspwnens f34627f709 source from sbin_jinja and exlude pat 2023-05-04 15:13:42 -04:00
Josh Patterson 59451fc4d0 Merge pull request #10284 from Security-Onion-Solutions/ui/logstash
remove extra " from so-elasticsearch-roles-load
2023-05-04 15:02:34 -04:00
m0duspwnens dc77b20723 remove extra " from so-elasticsearch-roles-load 2023-05-04 14:54:37 -04:00
Josh Patterson 51869ce5b2 Merge pull request #10282 from Security-Onion-Solutions/ui/logstash
UI/logstash
2023-05-04 13:55:28 -04:00
m0duspwnens 98705608a6 Merge remote-tracking branch 'origin/mkrfixes' into ui/logstash 2023-05-04 13:53:55 -04:00
Mike Reeves 8055088d25 Fix some errors 2023-05-04 13:35:44 -04:00
Mike Reeves d0cfaaeb26 Fix some errors 2023-05-04 13:28:11 -04:00
Mike Reeves fbacfce0e4 Fix some errors 2023-05-04 13:18:08 -04:00
m0duspwnens 082704ce1f logstash jinja for ui 2023-05-04 13:07:07 -04:00
m0duspwnens 71b6311edc add logstash.nodes to pillar top 2023-05-04 13:05:16 -04:00
Mike Reeves 7e71c60334 Fix some errors 2023-05-04 12:57:35 -04:00
Mike Reeves c5c2600799 Fix some errors 2023-05-04 12:56:04 -04:00
Josh Brower c6c3cc82e4 Merge pull request #10281 from Security-Onion-Solutions/2.4/airgapfix
Reenable Elastic Package Registry - all managers
2023-05-04 12:25:00 -04:00
Josh Brower b17b68034e Reenable Elastic Package Registry - all managers 2023-05-04 12:19:45 -04:00
Mike Reeves cbd1c05929 Sbin Changes 2023-05-04 10:36:03 -04:00
m0duspwnens b14d33ced8 add logstash jinja for ui changes 2023-05-03 15:22:03 -04:00
Mike Reeves a5b1660778 Fix firewall changes 2023-05-03 14:12:32 -04:00
Mike Reeves d5c4a2887e Fix annotations and defaults for logstash 2023-05-03 13:37:06 -04:00
Josh Brower b4b84038ed Merge pull request #10277 from Security-Onion-Solutions/2.4/package-registry
Reenable Elastic Package Registry
2023-05-03 12:57:21 -04:00
Josh Patterson 85ce0bb472 Merge pull request #10274 from Security-Onion-Solutions/ui/firewall
UI/firewall
2023-05-03 12:44:18 -04:00
m0duspwnens b0bd64bc10 define and assign elastic_agent_update port 2023-05-03 12:40:56 -04:00
Josh Brower 17dd21703d Reenable Elastic Package Registry 2023-05-03 12:08:46 -04:00
m0duspwnens 767c922083 add idh to firewall annotation 2023-05-03 11:55:29 -04:00
Josh Brower a57ba7e35d Merge pull request #10273 from Security-Onion-Solutions/2.4/fleet-airgap
Fleet Airgap - Phase 1
2023-05-03 11:24:52 -04:00
Josh Brower 81c1678ec7 Merge branch '2.4/dev' into 2.4/fleet-airgap 2023-05-03 11:19:57 -04:00
m0duspwnens 1593da4597 idh services are no longer selected in setup 2023-05-03 11:05:21 -04:00
m0duspwnens 8359f1983c idh firewall 2023-05-03 10:53:13 -04:00
Josh Brower 87a20ffede Refactor Wrapper gen script 2023-05-03 10:44:46 -04:00
m0duspwnens c597766390 assign firewall pillars to * in top 2023-05-03 10:17:45 -04:00
Mike Reeves 3d10a60502 Fix annotations and defaults for logstash 2023-05-03 10:01:44 -04:00
Mike Reeves 220c534ad4 Fix annotations and defaults for logstash 2023-05-03 09:32:03 -04:00
Mike Reeves c7604e893e Fix annotations and defaults for logstash 2023-05-03 09:17:37 -04:00
Josh Brower b56486d88e Set Elastic Agent Artifact Registry URL 2023-05-03 08:55:29 -04:00
Josh Brower c99f19251b More visibility 2023-05-02 17:04:41 -04:00
Josh Brower 544fa824ea Initial cut for Artifact Registry 2023-05-02 14:17:59 -04:00
Mike Reeves dd034edad6 Fix some files 2023-05-02 13:12:14 -04:00
Mike Reeves 2419cf86ee Fix some files 2023-05-02 12:41:49 -04:00
m0duspwnens 61f9573ace Merge remote-tracking branch 'origin/2.4/dev' into ui/firewall 2023-05-02 12:21:09 -04:00
Mike Reeves 7595072e85 Fix some files 2023-05-02 12:15:05 -04:00
Mike Reeves e60e21d9ff Move files out of common 2023-05-02 09:40:02 -04:00
Jason Ertel b46a5c4b2a Merge pull request #10267 from Security-Onion-Solutions/kilo
more detection improvements
2023-05-02 08:17:09 -04:00
Jason Ertel 40ff2677c4 more detection improvements 2023-05-02 07:57:49 -04:00
m0duspwnens 80b40503fb no more plural roles, update so-firewall-minion 2023-05-01 17:28:16 -04:00
m0duspwnens 6a501efa75 remove unneeded imports 2023-05-01 16:55:16 -04:00
m0duspwnens 1f6463a9bb rework so-firewall to work with pillar files 2023-05-01 16:49:06 -04:00
Mike Reeves 2d4f4791e0 Move files out of common 2023-05-01 15:21:31 -04:00
Mike Reeves 102906f5dd Change to new repo layout 2023-05-01 13:39:24 -04:00
Jason Ertel 6c151d3ebd Merge pull request #10260 from Security-Onion-Solutions/kilo
simplify cloud detection
2023-05-01 11:26:34 -04:00
Jason Ertel 17e6f5b899 simplify cloud detection 2023-05-01 11:06:00 -04:00
Mike Reeves a38495ce39 Fix pillar top for firewall 2023-05-01 10:40:36 -04:00
Mike Reeves 38629a7676 fix defaults for logstash 2023-05-01 09:55:16 -04:00
m0duspwnens 9a4ae2b832 start with customhostgroup0 2023-04-28 16:44:02 -04:00
m0duspwnens 3fdcb92dfe dont apply firewall.soc state anymore for manager highstate 2023-04-28 15:33:54 -04:00
m0duspwnens 725f5414ba fw rework for ui, still need to add idh to map 2023-04-28 15:30:18 -04:00
Jason Ertel 73aceb9697 Merge pull request #10251 from Security-Onion-Solutions/kilo
Kilo
2023-04-28 14:44:25 -04:00
Jason Ertel 03c89a02ad Add privileged session config option to kratos config UI 2023-04-28 14:01:19 -04:00
Jason Ertel 666d4ea260 Add privileged session config option to kratos config UI 2023-04-28 13:56:28 -04:00
Jason Ertel 4c58aa2ccf Add privileged session config option to kratos config UI 2023-04-28 13:14:30 -04:00
Mike Reeves 26619e5f8d Merge pull request #10245 from Security-Onion-Solutions/2.4/Fix_zeek_idstools
2.4/fix zeek idstools
2023-04-28 09:38:08 -04:00
bryant-treacle 57d90a62f7 Update soc_zeek.yaml 2023-04-27 16:21:41 -04:00
bryant-treacle a8b8a1d0b7 Update soc_idstools.yaml 2023-04-27 15:32:37 -04:00
Mike Reeves e4375a6568 regex for hostgroups 2023-04-27 15:30:59 -04:00
Mike Reeves b8f9a9a311 regex for hostgroups 2023-04-27 15:08:01 -04:00
Mike Reeves 3d7f2bc691 Fix annotations and file locations 2023-04-27 13:23:53 -04:00
Mike Reeves e799edaf49 Fix globals order 2023-04-26 15:54:16 -04:00
Mike Reeves be003f7ee4 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into mkrfixes 2023-04-26 15:50:47 -04:00
Mike Reeves 868cb8183c Fix the top file 2023-04-26 14:15:34 -04:00
Mike Reeves b3f94961ea Fix Kibana and friends 2023-04-26 13:30:23 -04:00
bryant-treacle 12120e94c8 Update soc_idstools.yaml 2023-04-26 09:32:08 -04:00
bryant-treacle 49a60bac76 Update soc_idstools.yaml 2023-04-26 08:49:04 -04:00
bryant-treacle f07f0775ac Update top.sls 2023-04-26 08:30:28 -04:00
bryant-treacle e93e58fedb Update node.cfg.jinja 2023-04-26 08:28:40 -04:00
Jason Ertel 8459054ff8 Merge pull request #10220 from Security-Onion-Solutions/kilo
timeout more quickly on aws imdsv2 detection
2023-04-26 07:56:22 -04:00
Jason Ertel 43ec897397 timeout more quickly on aws imdsv2 detection 2023-04-26 07:53:07 -04:00
Mike Reeves 4b73f859d1 don't sync the repo 2x 2023-04-25 15:33:08 -04:00
Jason Ertel 969cf25818 Merge pull request #10199 from Security-Onion-Solutions/jertel/imdsv2
Detect cloud install on forced imdsv2 instances
2023-04-24 16:33:56 -04:00
Jason Ertel e25bbd8a0d Detect cloud install on forced imdsv2 instances 2023-04-24 16:19:20 -04:00
Mike Reeves 5b11c41434 Merge pull request #10197 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2023-04-24 13:40:36 -04:00
Mike Reeves 99f21ce46f Update VERSION 2023-04-24 13:39:51 -04:00
Mike Reeves 9dc31b6db4 Merge pull request #10193 from Security-Onion-Solutions/2.4/dev
2.4.1
2023-04-24 13:29:45 -04:00
Mike Reeves 083d96fab2 Merge pull request #10192 from Security-Onion-Solutions/2.4.1
Update VERIFY_ISO.md
2023-04-24 11:41:04 -04:00
Mike Reeves f21e717dcd Update README.md 2023-04-24 11:39:39 -04:00
Mike Reeves 87e9d2997b Update VERIFY_ISO.md 2023-04-24 11:37:35 -04:00
Josh Patterson 288b5ac4d2 Merge pull request #10184 from Security-Onion-Solutions/2.4/hsschedule
rename highstate schedule
2023-04-24 09:34:11 -04:00
m0duspwnens 533c3b7569 rename highstate schedule 2023-04-24 09:31:32 -04:00
weslambert 32874d2e9d Merge pull request #10175 from Security-Onion-Solutions/fix/setup_docker_image_display_and_log
Display output and write to a log for Docker image operations during setup
2023-04-20 17:15:09 -04:00
Wes fca7753f73 Display output and write to log for Docker image downloads 2023-04-20 20:56:04 +00:00
Doug Burks fcdb02d61e Merge pull request #10174 from Security-Onion-Solutions/dougburks-patch-1
FIX: Overview Customization link #10173
2023-04-20 16:28:01 -04:00
Doug Burks 4dcc79d245 FIX: Overview Customization link #10173 2023-04-20 16:26:51 -04:00
weslambert 6c7b4e5492 Merge pull request #10166 from Security-Onion-Solutions/fix/elasticsearch_curl_config
Don't distribute curl configuration to nodes that don't need it
2023-04-20 08:47:47 -04:00
Wes a341f1b7b7 Don't distribute curl configuration to nodes that don't need it 2023-04-20 12:31:50 +00:00
weslambert 01bd3545d0 Merge pull request #10162 from Security-Onion-Solutions/fix/elastic_agent_metadata
Rename @metadata to metadata to ensure it's not lost between Logstash pipelines
2023-04-19 16:25:01 -04:00
Wes d823d5dcc9 Rename @metadata to metadata to ensure it's not lost between Logstash pipelines 2023-04-19 20:17:10 +00:00
Josh Patterson 9fed2ac616 Merge pull request #10159 from Security-Onion-Solutions/ui/globals
fix globals being changed via ui
2023-04-19 12:22:42 -04:00
m0duspwnens d5ab8ff191 create the local global pillar directory 2023-04-19 11:44:03 -04:00
m0duspwnens 2b28283095 Merge remote-tracking branch 'origin/2.4/dev' into ui/globals 2023-04-19 11:23:29 -04:00
Josh Brower 499b889b56 Merge pull request #10158 from Security-Onion-Solutions/2.4/fleet
Gen installers at the end setup
2023-04-19 11:12:22 -04:00
Josh Brower aa5063c5df Gen installers at the end setup 2023-04-19 11:11:08 -04:00
m0duspwnens 9f07388fa4 fix global location for fleet node 2023-04-19 10:47:08 -04:00
m0duspwnens cd674947bb Merge remote-tracking branch 'origin/2.4/dev' into ui/globals 2023-04-19 10:45:56 -04:00
m0duspwnens 976ad4152d move soc_global and adv_global pillar file under pillar/global/ 2023-04-19 10:44:02 -04:00
Josh Brower 2633f348ac Merge pull request #10157 from Security-Onion-Solutions/2.4/fleet
Fix cert gen
2023-04-19 10:25:24 -04:00
Josh Brower 1ab72e9288 Fix cert gen 2023-04-19 10:23:13 -04:00
Josh Brower ef92fba867 Merge pull request #10156 from Security-Onion-Solutions/2.4/fleet
2.4/fleet
2023-04-19 10:06:03 -04:00
Josh Brower 36c96c4beb Remove dep vars 2023-04-19 10:02:24 -04:00
Josh Brower d79ad53daf Merge pull request #10153 from Security-Onion-Solutions/fleet-sa
FEATURE: Dedicated Fleet Node
2023-04-19 09:12:30 -04:00
Josh Brower 4c4b873eca Add integrations and cleanup 2023-04-19 09:04:33 -04:00
Josh Patterson a062939705 Merge pull request #10152 from Security-Onion-Solutions/issue/10050
Issue/10050
2023-04-18 11:58:04 -04:00
Jason Ertel 3f14885539 Merge pull request #10151 from Security-Onion-Solutions/kilo
avoid docker and lo nics getting used by test profiles
2023-04-18 11:56:35 -04:00
Jason Ertel 393077ba9e avoid docker and lo nics getting used by test profiles 2023-04-18 11:43:24 -04:00
m0duspwnens b0f9585da1 Merge remote-tracking branch 'origin/2.4/dev' into issue/10050 2023-04-18 11:31:00 -04:00
m0duspwnens 7c8ba04820 set file limit for zeek container 2023-04-18 11:30:39 -04:00
Josh Brower 31f83c6dee Re-enabled Fleet Setup during setup 2023-04-17 15:00:51 -04:00
Josh Brower 8cccaef664 mkdirs as needed 2023-04-17 12:28:07 -04:00
Josh Brower 1944d09978 Logstash certs fixup 2023-04-17 11:34:57 -04:00
Josh Brower a7d282b412 Firewall fixup 2023-04-15 18:33:44 -04:00
Jason Ertel aade62491c Merge pull request #10132 from Security-Onion-Solutions/kilo
fix log dir
2023-04-14 16:58:14 -04:00
Jason Ertel b901555793 fix log dir 2023-04-14 16:56:40 -04:00
Josh Patterson debe146dcf Merge pull request #10131 from Security-Onion-Solutions/m0duspwnens-patch-1
USER=root no longer needed for so-status cron
2023-04-14 16:23:27 -04:00
Josh Patterson c8ef8cc88e USER=root no longer needed for so-status cron 2023-04-14 16:18:48 -04:00
Jason Ertel 9bd176621d Merge pull request #10130 from Security-Onion-Solutions/kilo
detect root using id command
2023-04-14 16:17:44 -04:00
Jason Ertel 05baaacc83 detect root using id command 2023-04-14 16:15:39 -04:00
Jason Ertel 9bc44c122f Merge pull request #10129 from Security-Onion-Solutions/kilo
wrong and
2023-04-14 12:46:11 -04:00
Jason Ertel 1fdd8acd0c wrong and 2023-04-14 12:35:32 -04:00
Josh Brower 92a6eac976 fix EA wrapper gen 2023-04-14 12:09:18 -04:00
Jason Ertel dc227df229 Merge pull request #10128 from Security-Onion-Solutions/kilo
Skip raid state for cloud images
2023-04-14 10:31:17 -04:00
Jason Ertel ff35a58f3f Skip raid state for cloud images 2023-04-14 10:24:54 -04:00
Josh Patterson 64fde6b02e Merge pull request #10124 from Security-Onion-Solutions/2.4/ubuntu
2.4/ubuntu
2023-04-13 16:35:53 -04:00
m0duspwnens 1047462898 add identifiers for all cron.present 2023-04-13 16:25:47 -04:00
m0duspwnens 76ba89c356 fix so-status cron to work with ubuntu 2023-04-13 16:01:43 -04:00
weslambert f3b4ee6a0b Merge pull request #10121 from Security-Onion-Solutions/fix/elasticsearch_deletion_improvements
Simplify deletion logic and add stderr and stdout logging within script
2023-04-13 11:10:50 -04:00
Wes d6421ee7cc Simplify deletion logic and add stderr and stdout logging within script 2023-04-13 15:04:16 +00:00
Doug Burks 148ef5833e Merge pull request #10120 from Security-Onion-Solutions/2.4/fix-suricata-dns
FIX: Suricata DNS A and CNAME parsing #10117
2023-04-13 11:00:24 -04:00
Doug Burks a67cbb3276 FIX: Suricata DNS A and CNAME parsing #10117 2023-04-13 10:56:17 -04:00
m0duspwnens 0485c83388 Merge remote-tracking branch 'origin/2.4/dev' into 2.4/ubuntu 2023-04-13 09:10:58 -04:00
Jason Ertel a8d3363a6f Merge pull request #10115 from Security-Onion-Solutions/kilo
discover appliance model grain during setup
2023-04-12 19:12:45 -04:00
Jason Ertel dba7b84adb discover appliance model grain during setup 2023-04-12 19:02:04 -04:00
Josh Brower 2567ceea74 Fix path 2023-04-12 16:51:40 -04:00
Josh Brower 4ec31dbf35 Refactoring Fleet setup redux 2023-04-12 16:40:28 -04:00
m0duspwnens e4e326cd06 limit whiptail install options for ubuntu 2023-04-12 15:44:42 -04:00
m0duspwnens 0d17f4f486 python modules for filecheck 2023-04-12 14:38:21 -04:00
Mike Reeves 7838393b9f Merge pull request #10112 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update defaults.yaml
2023-04-12 10:32:54 -04:00
m0duspwnens c90c72dbba provide info when running apt-get update and upgrade 2023-04-12 10:17:13 -04:00
Mike Reeves 04eb73ac27 Update defaults.yaml 2023-04-12 10:06:23 -04:00
m0duspwnens de082f6100 install chrony in ntp state 2023-04-12 09:26:04 -04:00
weslambert 2c44c8e468 Merge pull request #10108 from Security-Onion-Solutions/fix/elastic_clear
Update Elastic clear utility script
2023-04-11 17:24:21 -04:00
Wes 06b60ca96b Don't stop Elastic Fleet for now 2023-04-11 21:11:12 +00:00
Wes 4d64a9777e Update Elastic clear utility script 2023-04-11 21:06:20 +00:00
m0duspwnens 26a12477ac python3-rich for ubuntu and chrony pkg for all 2023-04-11 15:36:57 -04:00
weslambert 43447e5df5 Merge pull request #10106 from Security-Onion-Solutions/fix/kibana_16.04_dashboards_remove
Remove Security Onion 16.04 dashboards
2023-04-11 14:41:12 -04:00
m0duspwnens c66f595666 unsure prereqs for sensor 2023-04-11 13:48:59 -04:00
m0duspwnens ad64b873c0 ubuntu changes 2023-04-11 12:58:40 -04:00
Wes c6be0a48a1 Remove Security Onion 16.04 dashboards 2023-04-11 15:05:41 +00:00
weslambert 5eb0364a98 Merge pull request #10105 from Security-Onion-Solutions/fix/elasticsearch_template_loading_so-searchnode
Only load pipelines and templates if the node role is not 'so-searchnode'
2023-04-11 10:45:52 -04:00
Wes 8d0074c712 Only load pipelines and tempaltes if the node role is not 'so-searchnode' 2023-04-11 14:15:21 +00:00
Jason Ertel 3883a89212 Merge pull request #10102 from Security-Onion-Solutions/kilo
elastic-fleet typo fix; remote dev enhancement
2023-04-10 14:09:20 -04:00
Jason Ertel cfa61a6c26 correct salt state 2023-04-10 14:04:19 -04:00
Jason Ertel 7f28cdd2a3 provide means for using salt-relay with local development against remove VMs 2023-04-10 14:04:03 -04:00
m0duspwnens 9ea3eaafae fix merge conflict 2023-04-10 09:09:43 -04:00
m0duspwnens 16249cc80d salt install for ubuntu 2023-04-10 09:06:55 -04:00
m0duspwnens 2589670755 set forceType 2023-04-06 15:16:04 -04:00
Josh Brower 17bc96c3b3 Refactoring Fleet setup 2023-04-06 13:21:19 -04:00
Josh Patterson b87ee4904f Merge pull request #10096 from Security-Onion-Solutions/salt3006rc3
only install salt-minion on non manager
2023-04-06 11:07:26 -04:00
m0duspwnens 7519a8c39d only install salt-minion on non manager 2023-04-06 10:20:17 -04:00
m0duspwnens df4bf95b93 sort local.zeek so redef is last 2023-04-06 09:54:59 -04:00
m0duspwnens 602e00058a Merge remote-tracking branch 'remotes/origin/2.4/dev' into issue/10050 2023-04-06 09:13:27 -04:00
Josh Patterson 6aba7b6bcf Merge pull request #10091 from Security-Onion-Solutions/salt3006rc3
Salt3006rc3
2023-04-05 16:42:36 -04:00
Josh Patterson ff7aaa95e1 Merge branch '2.4/dev' into salt3006rc3 2023-04-05 16:38:41 -04:00
m0duspwnens f166919160 use dockerpy 5.0.2 2023-04-05 15:35:48 -04:00
m0duspwnens aecbfd28ee install salt module deps from local 2023-04-05 13:08:50 -04:00
m0duspwnens b24e3ff6c4 add requests 2.25.1 2023-04-04 16:59:35 -04:00
Josh Brower cda67b2894 Ded Fleet Node - checkpoint 2023-04-04 16:11:22 -04:00
m0duspwnens 6040c5062b include whl files for salt module dependencies 2023-04-04 16:08:35 -04:00
m0duspwnens d83266c546 remove unrecognized keyword arguments 2023-04-04 09:58:44 -04:00
m0duspwnens 6039a1430e x509 changes for salt 3006 2023-04-04 08:55:10 -04:00
Josh Brower c2d4e870c8 Fixup Elastic Fleet 2023-04-03 16:50:34 -04:00
Josh Patterson 1faceddc40 Merge pull request #10085 from Security-Onion-Solutions/saltrc3key
Saltrc3key
2023-04-03 11:27:04 -04:00
Josh Patterson 471f467e63 Merge pull request #10084 from Security-Onion-Solutions/saltrc3key
add new salt key since rc3 has been added to repo
2023-04-03 11:23:57 -04:00
m0duspwnens a0d8be4dc6 add new salt key since rc3 has been added to repo 2023-04-03 10:44:44 -04:00
Josh Brower 035451cdb8 Cleanup conflict leftovers 2023-04-03 07:30:25 -04:00
Josh Brower af392681e3 Merge remote-tracking branch 'remotes/origin/2.4/dev' into fleet-sa 2023-04-03 07:27:04 -04:00
Josh Brower a0bb6a700a Merge pull request #10082 from Security-Onion-Solutions/2.4/elasticagent8.7
Update elastic agent binaries - 8.7.0
2023-03-31 18:40:43 -04:00
Josh Brower ad000550a6 Update elastic agent binaries - 8.7.0 2023-03-31 16:46:24 -04:00
m0duspwnens 0fc6a74b6d update salt versions on defaults 2023-03-31 15:02:40 -04:00
m0duspwnens 0b96635bcc salt3006rc3 2023-03-31 14:52:40 -04:00
Doug Burks 5b2e39f80d Merge pull request #10078 from Security-Onion-Solutions/2.4/fix-elasticsearch-roles
FIX: SOC only displaying data for users assigned the superuser role #10068
2023-03-31 09:26:58 -04:00
Doug Burks a8b6470a14 Update limited-auditor.json 2023-03-31 09:22:42 -04:00
Doug Burks e945f1c38f Update limited-analyst.json 2023-03-31 09:22:28 -04:00
Doug Burks d0dff9572d Update auditor.json 2023-03-31 09:22:15 -04:00
Doug Burks 68e8c159ce Update analyst.json 2023-03-31 09:21:59 -04:00
Josh Brower a8038c90ce Merge pull request #10077 from Security-Onion-Solutions/2.4/Elastic8.7.0
2.4/elastic8.7.0
2023-03-31 08:57:20 -04:00
Josh Brower 91c990e30a UPGRADE: Elastic 8.7.0 2023-03-31 08:52:43 -04:00
Josh Brower b6b49c876b UPGRADE: Elastic to 8.7.0 2023-03-31 08:51:51 -04:00
Doug Burks cf98a95dd1 Merge pull request #10072 from Security-Onion-Solutions/2.4/so-user-formatting
fix formatting in so-user
2023-03-30 17:03:29 -04:00
Doug Burks 921e79c56c fix formatting in so-user 2023-03-30 16:55:30 -04:00
weslambert 2cfbf30f05 Merge pull request #10070 from Security-Onion-Solutions/fix/cloud_test
Fix cloud sniffing interface configuration
2023-03-30 14:41:59 -04:00
weslambert 3e08506c4e Fix syntax for $is_cloud test 2023-03-30 13:26:36 -04:00
Wes d4cba6908e Use dynamic interface value instead of explicitly setting it to 'bond0' 2023-03-30 16:17:34 +00:00
Wes dfd3456343 Add logging for cloud detection and interface settings 2023-03-30 16:15:41 +00:00
Wes 3cd1598067 Only perform bond interface operations if it is not a cloud installation 2023-03-30 16:11:50 +00:00
m0duspwnens 1be86cdf8e issue 10050 and issue 10062 2023-03-29 17:21:40 -04:00
Mike Reeves bdae8d5017 Merge pull request #10042 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update VERSION
2023-03-28 16:21:50 -04:00
Mike Reeves d5e17da9d3 Update VERSION 2023-03-28 16:20:40 -04:00
Mike Reeves b2a2dc5aea Merge pull request #10037 from Security-Onion-Solutions/2.4/dev
2.4.0 Beta 1
2023-03-28 16:08:01 -04:00
Josh Patterson 72078848d3 Merge pull request #10041 from Security-Onion-Solutions/firsthighstatecronfix
add path to first highstate cron
2023-03-28 14:38:19 -04:00
Josh Patterson af4acd5597 add path to first highstate cron 2023-03-28 14:37:28 -04:00
weslambert de902ebd02 Merge pull request #10024 from Security-Onion-Solutions/esspace
Manage disk-based index deletion via so-curator-cluster-delete
2023-03-28 12:25:19 -04:00
Wes 6099a04e41 Change how the size is determined, in case there a decimal value is provided 2023-03-28 16:04:54 +00:00
Jason Ertel 44c696a495 Merge pull request #10036 from Security-Onion-Solutions/commonprofile
ensure scripts are run as root, have copyright, and path is correct
2023-03-28 11:59:10 -04:00
Josh Patterson 16606c1aaa Merge pull request #10038 from Security-Onion-Solutions/addbangs
change #/bin/bash to #!/bin/bash
2023-03-28 11:58:09 -04:00
Jason Ertel 4efe22efb3 Update so-elasticsearch-cluster-settings 2023-03-28 11:57:41 -04:00
Jason Ertel 591129b98c Update so-elasticsearch-pipelines 2023-03-28 11:57:22 -04:00
Jason Ertel 60d770411a Update so-elasticsearch-roles-load 2023-03-28 11:57:07 -04:00
Jason Ertel 5f49a120de Update so-elasticsearch-templates-load 2023-03-28 11:56:51 -04:00
m0duspwnens 64446f585c change #/bin/bash to #!/bin/bash 2023-03-28 11:55:47 -04:00
Wes ed8f944638 Fix typo in GLOBALS reference 2023-03-28 15:55:33 +00:00
Mike Reeves 74840264d7 Update so-elasticsearch-cluster-space-used 2023-03-28 11:49:05 -04:00
Jason Ertel 492fe1fc85 Ensure /usr/sbin is in path 2023-03-28 11:48:31 -04:00
Mike Reeves e77e645a36 Update so-elasticsearch-cluster-space-total 2023-03-28 11:45:57 -04:00
Mike Reeves 636505ef98 Add license and common 2023-03-28 11:18:56 -04:00
weslambert 942182e826 Remove additional copyright in so-curator-cluster-delete-delete 2023-03-28 11:00:14 -04:00
weslambert 303fec6302 Fix verbiage for so-curator-cluster-delete-delete 2023-03-28 10:59:39 -04:00
weslambert 9411f5ca79 Fix closed index function and check 2023-03-28 10:54:21 -04:00
Wes d494381e9d Update verbiage for so-curator-cluster-delete 2023-03-28 14:18:49 +00:00
Wes e1bda5acfd Update verbiage for so-curator-cluster-delete-delete 2023-03-28 14:18:27 +00:00
Wes 138b312705 Fix script name 2023-03-28 13:52:59 +00:00
Wes 82efce0b31 Ensure so-curator-cluster-delete is run to manage so-curator-cluster-delete-delete 2023-03-28 13:23:23 +00:00
Wes 1ab253b8c3 Use explicit path to so-elasticsearch-query 2023-03-28 13:18:14 +00:00
Wes a1394b9102 Use explicit path to so-elasticsearch-query 2023-03-28 13:18:00 +00:00
Wes b3b030958c Use explicit path to so-elasticsearch-query 2023-03-28 13:17:23 +00:00
Josh Patterson ebdd74a420 Merge pull request #10032 from Security-Onion-Solutions/evalelasticfleet
add elasticfleet state to top for eval node
2023-03-28 09:03:16 -04:00
m0duspwnens d886265211 add elasticfleet state to top for eval node 2023-03-28 09:01:41 -04:00
Wes adbc9df222 Changes for LOG_SIZE_LIMIT 2023-03-28 12:54:32 +00:00
Doug Burks 1ad65f6326 Merge pull request #10030 from Security-Onion-Solutions/dougburks-patch-1
Update soc_idh.yaml
2023-03-28 08:54:12 -04:00
Doug Burks 46d9e0b804 Update soc_idh.yaml 2023-03-28 08:53:05 -04:00
Wes f854d92cab Remove the cluster space configuration script reference from the Elasticsearch state 2023-03-28 12:27:45 +00:00
Wes 22e8e3be28 Remove the cluster space configuration script 2023-03-28 12:27:12 +00:00
Wes 4352825ceb Calculate log size limit every time so-curator-cluster-delete-delete runs 2023-03-28 12:25:49 +00:00
Wes e2290d8a8e Remove unncessary Salt logic for Elasticsearch 2023-03-28 12:19:36 +00:00
Wes c68235c169 Fix Curator script name 2023-03-28 02:27:27 +00:00
Wes a38aa903ac Configure cluster space settings 2023-03-28 01:36:52 +00:00
Wes fc0b9fa47c Remove Curator closed index deletion scripts 2023-03-28 00:57:45 +00:00
Wes 32e92d10ad Add new cluster space management scripts 2023-03-28 00:55:56 +00:00
Wes 7030f35561 Update Curator state 2023-03-28 00:54:36 +00:00
Wes 934b8894e2 Update Curator scripts 2023-03-28 00:54:04 +00:00
Jason Ertel 100d9f14e9 Merge pull request #10023 from Security-Onion-Solutions/kilo
fix role
2023-03-27 19:31:06 -04:00
Jason Ertel 34cd823cd4 fix role 2023-03-27 18:59:32 -04:00
Josh Patterson a86da24bde Merge pull request #10021 from Security-Onion-Solutions/bpffix
remove default zeek bpf
2023-03-27 17:01:36 -04:00
m0duspwnens fcb6f3eaf1 remove default zeek bpf 2023-03-27 16:59:27 -04:00
Mike Reeves 6cc510d51b Merge pull request #10020 from Security-Onion-Solutions/kilo
add minion CIDR to search also
2023-03-27 16:56:56 -04:00
Jason Ertel 2b1576249a add minion CIDR to search also 2023-03-27 16:44:21 -04:00
Josh Brower 2dd48c6f0b Merge pull request #10019 from Security-Onion-Solutions/2.4/idhfix
Add annotations
2023-03-27 15:19:15 -04:00
Josh Brower d22a5b2eb3 Add annotations 2023-03-27 15:16:47 -04:00
Josh Patterson 8b626d2c67 Merge pull request #10018 from Security-Onion-Solutions/managersaltrestart
Managersaltrestart
2023-03-27 13:37:04 -04:00
m0duspwnens 0d87a5d739 import sensor vars in import vars 2023-03-27 12:51:29 -04:00
Mike Reeves 6c3c5730c5 Add curator settings 2023-03-27 12:33:34 -04:00
Mike Reeves 2cb6f0f1e6 Add curator settings 2023-03-27 12:30:39 -04:00
m0duspwnens 42cc419e00 restart salt master and minion after manager install completes 2023-03-27 11:30:03 -04:00
Mike Reeves 7752529b42 Merge pull request #10015 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update so-common
2023-03-27 10:51:26 -04:00
Mike Reeves 7f395c4c1e Update so-common 2023-03-27 10:49:36 -04:00
Mike Reeves 94ae7469e3 Merge pull request #10012 from Security-Onion-Solutions/pkg
Modify reposync useragent
2023-03-27 10:21:35 -04:00
Mike Reeves 2a288c7e4a Update so-functions 2023-03-27 10:18:57 -04:00
Mike Reeves 1602551295 Modify reposync useragent 2023-03-27 10:14:32 -04:00
Mike Reeves 72d01b13ed Modify reposync useragent 2023-03-27 10:12:13 -04:00
Mike Reeves f34bb40025 Merge pull request #10011 from Security-Onion-Solutions/pkg
Add unzip
2023-03-27 09:28:05 -04:00
Mike Reeves 8246293983 Add unzip 2023-03-27 08:40:36 -04:00
Josh Patterson 80043d154a Merge pull request #10004 from Security-Onion-Solutions/guifixes
Guifixes
2023-03-24 16:58:19 -04:00
m0duspwnens aa66a6471a Merge remote-tracking branch 'origin/2.4/dev' into guifixes 2023-03-24 16:16:32 -04:00
m0duspwnens 1a6d887b5f idh setup changes 2023-03-24 16:16:22 -04:00
Mike Reeves 3fed3b3f3e Merge pull request #10003 from Security-Onion-Solutions/mirrorz
Add additional mirror
2023-03-24 15:13:03 -04:00
Mike Reeves cb2fdae368 Switch Repos 2023-03-24 14:40:59 -04:00
Josh Brower d9e1a54479 Merge pull request #10001 from Security-Onion-Solutions/2.4/playbookfix
Fix errors
2023-03-24 14:31:43 -04:00
Mike Reeves afe4d75d91 Switch Repos 2023-03-24 14:13:48 -04:00
Doug Burks 7ced7488c7 Merge pull request #10000 from Security-Onion-Solutions/dougburks-patch-1
Add four new GeoIP dashboards
2023-03-24 14:11:58 -04:00
Doug Burks 5be5466efe fix GeoIP queries 2023-03-24 14:03:12 -04:00
Mike Reeves b2c2e1574f Switch Repos 2023-03-24 14:02:13 -04:00
Doug Burks a9dc7a14cb fix GeoIP queries 2023-03-24 13:56:51 -04:00
m0duspwnens 627b243cac Merge remote-tracking branch 'origin/2.4/dev' into guifixes 2023-03-24 13:52:38 -04:00
m0duspwnens 462b2b23b9 rework idh for web ui 2023-03-24 13:52:21 -04:00
Doug Burks aa9d44ab09 Add four new GeoIP dashboards 2023-03-24 13:51:13 -04:00
Jason Ertel 890e1897af Merge pull request #9999 from Security-Onion-Solutions/kilo
prune system volumes during upgrade
2023-03-24 13:30:57 -04:00
Jason Ertel 0be57e686e prune system volumes during upgrade 2023-03-24 13:22:21 -04:00
Josh Brower 16bc63233f Fix errors 2023-03-24 09:33:12 -04:00
Mike Reeves e38b0313c7 Merge pull request #9994 from Security-Onion-Solutions/hotones
Switch up elastic roles
2023-03-23 16:59:49 -04:00
Josh Brower c6f6f306a7 Merge pull request #9993 from Security-Onion-Solutions/2.4/ingestsoclogs
SOC Logs & Hunt Query
2023-03-23 16:25:32 -04:00
Josh Brower bad905f54c SOC Logs & Hunt Query 2023-03-23 16:22:59 -04:00
Mike Reeves 90159f4bcd Switch up elastic roles 2023-03-23 15:09:40 -04:00
weslambert 0f66645a89 Merge pull request #9990 from Security-Onion-Solutions/fix/elasticsearch_node_attrs_remove
Remove node attrs configuration since node roles will be used
2023-03-23 13:48:00 -04:00
weslambert 0a9a064648 Remove node attrs configuration since node roles will be used 2023-03-23 13:45:51 -04:00
weslambert d6bc20a2b8 Merge pull request #9986 from Security-Onion-Solutions/fix/elastic_agent_template_changes
Elastic Agent template changes
2023-03-23 13:07:22 -04:00
Mike Reeves 886bcda38c Merge pull request #9988 from Security-Onion-Solutions/repofun
Add Repo Sync
2023-03-23 12:49:06 -04:00
Mike Reeves 3b671efa8e Fix cache location 2023-03-23 12:47:48 -04:00
Mike Reeves 0a096712cb Fix cache location 2023-03-23 12:39:31 -04:00
Mike Reeves c977f38a58 Change repo conf permissions 2023-03-23 11:56:40 -04:00
Mike Reeves 8f4076ccd6 Change repo conf permissions 2023-03-23 11:46:32 -04:00
Mike Reeves 3756c93518 Change repo download script location 2023-03-23 11:05:48 -04:00
Mike Reeves b68cf85392 Change repo download script location 2023-03-23 11:04:26 -04:00
Mike Reeves e52087b742 Saltify it up 2023-03-23 10:54:01 -04:00
Mike Reeves 02aa8662f7 Saltify it up 2023-03-23 10:52:05 -04:00
Mike Reeves f8d5acd37d Saltify it up 2023-03-23 10:43:47 -04:00
Mike Reeves b3ea4194dd Only allow reposync to run on managers 2023-03-23 09:49:02 -04:00
Wes 84360aa9bf Set replicas for Osquery manager indices to 0 2023-03-22 21:47:49 +00:00
Josh Patterson c64987e756 Merge pull request #9985 from Security-Onion-Solutions/m0duspwnens-patch-1
ensure highstate schedule added sooner in highstate
2023-03-22 17:24:23 -04:00
Josh Patterson c8e93f0388 Update top.sls 2023-03-22 17:22:21 -04:00
Wes 3fba27a0d4 Ensure component template files are in the correct directory 2023-03-22 20:45:33 +00:00
Wes 28f5dcd43b Add managed generic Elastic Agent log component templates 2023-03-22 19:57:46 +00:00
Wes eaaa028999 Update Elastic Agent template settings 2023-03-22 19:52:13 +00:00
Mike Reeves f8e59478f4 Merge pull request #9984 from Security-Onion-Solutions/TOoSmOotH-patch-8
Update config.map.jinja
2023-03-22 15:49:35 -04:00
Mike Reeves d2bc5e4af2 Update config.map.jinja 2023-03-22 15:45:51 -04:00
Josh Patterson 4f995c1c7e Merge pull request #9983 from Security-Onion-Solutions/2.4/zeekbpf
add sensor vars to eval
2023-03-22 12:23:07 -04:00
weslambert bc2a84c631 Merge pull request #9982 from Security-Onion-Solutions/fix/elastic_integration_and_pipeline_strelka
Change data stream name and 'event.dataset' value for Strelka events
2023-03-22 11:08:58 -04:00
weslambert 6d87620c6a Explicitly set 'event.dataset' as 'file' 2023-03-22 11:04:18 -04:00
weslambert 68380d7ecb Change data_stream.dataset from 'file' to 'strelka' 2023-03-22 11:02:38 -04:00
m0duspwnens 5a2ef21ce4 add sensor vars to eval 2023-03-22 09:55:30 -04:00
m0duspwnens fdaf8e8c68 idh changes for web ui 2023-03-22 09:38:40 -04:00
Mike Reeves 00b1ecb7d9 Merge pull request #9979 from Security-Onion-Solutions/esfun
Elastic Fixes
2023-03-22 08:51:24 -04:00
Mike Reeves 007e2baf41 Change Elastic Logic 2023-03-21 17:46:52 -04:00
Mike Reeves 5fc297b8c1 Change Elastic Logic 2023-03-21 16:52:08 -04:00
Mike Reeves 07f303205a Merge pull request #9977 from Security-Onion-Solutions/TOoSmOotH-patch-7
Update so-minion
2023-03-21 15:50:52 -04:00
Mike Reeves aeb6d47637 Update so-minion 2023-03-21 13:39:24 -04:00
Josh Brower a247d1cc50 Merge pull request #9978 from Security-Onion-Solutions/2.4/updateEA
2.4/update ea
2023-03-21 13:27:59 -04:00
Mike Reeves 30fc74ac09 Update so-minion 2023-03-21 12:53:35 -04:00
Josh Brower cd6bf0fe78 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/updateEA 2023-03-21 12:48:30 -04:00
Josh Brower d87060b56e Update Elastic Agent to 8.6.2 2023-03-21 12:48:02 -04:00
Mike Reeves 1526a7de11 Rework IDH phase 1 2023-03-21 11:26:30 -04:00
Mike Reeves d89310e479 Rework IDH phase 1 2023-03-21 11:25:06 -04:00
Mike Reeves bd17121834 Rework IDH phase 1 2023-03-21 11:23:31 -04:00
Jason Ertel ca363053e6 Merge pull request #9975 from Security-Onion-Solutions/kilo
catch errors and exit with proper exit code
2023-03-21 10:51:36 -04:00
Josh Patterson a0eea10a1d Merge pull request #9974 from Security-Onion-Solutions/saltlogging
use saltversion grain to determine installed version
2023-03-21 10:46:57 -04:00
Jason Ertel efd5f7b8a2 catch errors and exit with proper exit code 2023-03-21 10:44:21 -04:00
m0duspwnens 05b1a445d3 use saltversion grain to determine installed version 2023-03-21 10:12:10 -04:00
Josh Patterson cdb714f331 Merge pull request #9973 from Security-Onion-Solutions/2.4/zeekbpf
2.4/zeekbpf
2023-03-21 09:54:39 -04:00
Mike Reeves 9ca9b9d4da Rework IDH phase 1 2023-03-21 09:53:06 -04:00
Mike Reeves a3d38dd2e7 Rework IDH phase 1 2023-03-21 09:49:28 -04:00
Mike Reeves 41554e8311 Merge pull request #9969 from Security-Onion-Solutions/guifixes
Add several annotations
2023-03-21 08:51:53 -04:00
Mike Reeves 444988f287 Adjust annotations 2023-03-21 08:48:02 -04:00
m0duspwnens 02c79463e1 Merge remote-tracking branch 'origin/2.4/dev' into 2.4/zeekbpf 2023-03-21 08:45:07 -04:00
Mike Reeves 64904406b6 Adjust annotations 2023-03-21 08:41:48 -04:00
Josh Brower 1f23e4aafe Merge pull request #9966 from Security-Onion-Solutions/2.4/kratosfix
Fix Kratos parsing
2023-03-21 07:12:49 -04:00
Mike Reeves bc7261acfe Adjust patch annotations 2023-03-20 20:16:43 -04:00
Mike Reeves 01d470a426 Adjust patch annotations 2023-03-20 20:13:29 -04:00
Mike Reeves f810f9cbf0 Adjust patch annotations 2023-03-20 20:12:26 -04:00
Mike Reeves 507142cde4 Adjust patch annotations 2023-03-20 20:02:23 -04:00
Jason Ertel 331d4833b1 Merge pull request #9967 from Security-Onion-Solutions/kilo
Kilo
2023-03-20 18:27:35 -04:00
Jason Ertel 2e6fa1eff0 Merge branch '2.4/dev' into kilo 2023-03-20 18:15:00 -04:00
m0duspwnens 0fff3a5a11 suricata bpf 2023-03-20 17:31:56 -04:00
Mike Reeves eb61b0c98f Adjust sensor annotations 2023-03-20 17:10:36 -04:00
m0duspwnens 252afa8499 bpf for pcap 2023-03-20 17:10:34 -04:00
Mike Reeves a6e34ae1d7 Adjust manager annotations 2023-03-20 16:54:57 -04:00
Josh Brower df036206a8 Fix Kratos parsing 2023-03-20 16:53:25 -04:00
Mike Reeves 27fdad4a25 Adjust manager annotations 2023-03-20 16:52:22 -04:00
Mike Reeves 0bb2fd7d45 Adjust manager annotations 2023-03-20 16:50:18 -04:00
Mike Reeves bb3480cd76 Adjust host annotations 2023-03-20 16:20:22 -04:00
Mike Reeves 22c3a4d398 Adjust elasticsearch annotations 2023-03-20 16:08:26 -04:00
Mike Reeves 8c2a43c073 Adjust docker annotations 2023-03-20 15:51:48 -04:00
Mike Reeves fe13f90394 Adjust docker annotations 2023-03-20 15:33:22 -04:00
m0duspwnens 903ad530fe move zeek bpf from zeek pillar to bpf pillar 2023-03-20 15:28:33 -04:00
Mike Reeves 9a43cd71e0 Adjust docker annotations 2023-03-20 15:19:54 -04:00
Jason Ertel c43194665e add sudo prefix 2023-03-20 12:57:13 -04:00
Mike Reeves a22af96403 Merge branch '2.4/dev' of https://github.com/Security-Onion-Solutions/securityonion into guifixes 2023-03-20 12:26:48 -04:00
Josh Brower 03393a95d9 Merge pull request #9963 from Security-Onion-Solutions/2.4/fixidh
Remove hosts file edit
2023-03-20 12:15:12 -04:00
Josh Brower 325e767587 Remove hosts file edit 2023-03-20 12:11:45 -04:00
Jason Ertel 1771a3123f Merge pull request #9961 from Security-Onion-Solutions/kilo
Backup old setup logs earlier in setup
2023-03-20 11:24:08 -04:00
Mike Reeves 823dde2856 Adjust repo sync 2023-03-20 11:17:15 -04:00
Jason Ertel 6b8b7df3c2 Move old setup/error logs before any logs are written on a subsequent setup invocation 2023-03-20 11:04:28 -04:00
Jason Ertel da1c501cf7 Move old setup/error logs before any logs are written on a subsequent setup invocation 2023-03-20 11:01:07 -04:00
Jason Ertel 604db7534c Merge branch '2.4/dev' into kilo 2023-03-20 10:46:37 -04:00
Jason Ertel 43712182a0 update help for clarity 2023-03-20 10:46:23 -04:00
Mike Reeves 9487dbffdf Merge pull request #9960 from Security-Onion-Solutions/guifixes
Add gui components for fleet
2023-03-20 09:54:50 -04:00
Mike Reeves cdbbc8e64c Add gui components for fleet 2023-03-20 09:46:57 -04:00
Mike Reeves 1a70a6eb30 Merge pull request #9949 from Security-Onion-Solutions/guifixes
Change the salt dir for elastic fleet
2023-03-20 08:59:09 -04:00
Mike Reeves da3fa31439 Merge branch '2.4/dev' into guifixes 2023-03-20 08:57:42 -04:00
Josh Brower 542eb19cdc Merge pull request #9954 from Security-Onion-Solutions/2.4/whiptailsummary
Dist vs. non-Dist Install Summary
2023-03-20 08:37:10 -04:00
Josh Brower c89bae7319 Wording tweaks 2023-03-20 07:51:44 -04:00
Josh Brower 3073b752bd Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/whiptailsummary 2023-03-20 07:48:40 -04:00
Josh Brower d23c09a2ee Merge pull request #9956 from Security-Onion-Solutions/2.4/kibanaui
Setup Kibana default space
2023-03-20 07:39:43 -04:00
Josh Brower b59466139a Merge pull request #9959 from Security-Onion-Solutions/2.4/curlquiet
2.4/wgetquiet
2023-03-20 07:37:30 -04:00
Josh Brower cbf7b66729 Set wget to be quiet 2023-03-20 07:29:10 -04:00
Josh Brower 5b9ff06a85 Setup Kibana default space 2023-03-19 09:17:12 -04:00
Josh Brower 792732a8cf summary changes 2023-03-18 13:09:46 -04:00
Josh Brower 536391bb3b rename elasticfleet state 2023-03-17 16:14:29 -04:00
Mike Reeves caa08e9cf0 Change the salt dir for elastic fleet 2023-03-17 11:44:56 -04:00
Mike Reeves 460f84d80f Merge pull request #9950 from Security-Onion-Solutions/TOoSmOotH-patch-6
Update so-functions
2023-03-17 11:36:31 -04:00
Mike Reeves d7b0ed93c9 Update so-functions 2023-03-17 11:27:29 -04:00
Mike Reeves 4944365341 Change the salt dir for elastic fleet 2023-03-17 11:02:02 -04:00
Doug Burks 8a9bc8aefa Merge pull request #9948 from Security-Onion-Solutions/dougburks-patch-1
Fix typo and improve formatting in so-whiptail
2023-03-17 10:25:48 -04:00
Doug Burks c5b16494d7 Fix typo and improve formatting in so-whiptail 2023-03-17 10:21:21 -04:00
Josh Brower b9c4e647c4 Merge pull request #9946 from Security-Onion-Solutions/2.4/whiptailchanges
Add next steps to install summary
2023-03-17 10:16:05 -04:00
Josh Brower 8f5daa785b Add next steps to install summary 2023-03-17 10:14:44 -04:00
Josh Patterson 9893fce105 Merge pull request #9945 from Security-Onion-Solutions/2.4/strelka
2.4/strelka
2023-03-17 09:55:45 -04:00
m0duspwnens 91da3fd797 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/strelka 2023-03-17 08:39:10 -04:00
m0duspwnens 924d598a8a add filecheck_runas 2023-03-17 08:38:56 -04:00
Mike Reeves c7099280da Merge pull request #9944 from Security-Onion-Solutions/guifixes
Change yum to dnf
2023-03-17 08:28:26 -04:00
Mike Reeves bd1eb9c7df Change yum to dnf 2023-03-16 18:05:38 -04:00
m0duspwnens dd4461daf4 remove other filecheck map import 2023-03-16 17:50:19 -04:00
m0duspwnens a9b8877268 remove filecheckdefaults from strelka init 2023-03-16 17:15:52 -04:00
m0duspwnens 7950f692a8 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/strelka 2023-03-16 16:41:24 -04:00
m0duspwnens 0dfbbfcf8e fix spacing on filecheck config 2023-03-16 16:37:38 -04:00
m0duspwnens 2056ce37c6 strelka ui things 2023-03-16 16:32:41 -04:00
Mike Reeves e88d459ef4 Merge pull request #9942 from Security-Onion-Solutions/guifixes
Fix Repo Issues and Change curl to check for Salt ports
2023-03-16 15:59:47 -04:00
Mike Reeves d12367ed75 Force package update before syncing the repo 2023-03-16 15:54:00 -04:00
Mike Reeves ef4882198a Force package update before syncing the repo 2023-03-16 15:48:57 -04:00
Mike Reeves 2b65c1498d Force package update before syncing the repo 2023-03-16 15:45:04 -04:00
Mike Reeves 957467eae0 Force package update before syncing the repo 2023-03-16 15:41:29 -04:00
Mike Reeves 849e82e39f Force package updates and curl check fix 2023-03-16 15:36:43 -04:00
Mike Reeves 6e3194486c Force package update before syncing the repo 2023-03-16 13:50:22 -04:00
Josh Brower 336cf3ccf8 Merge pull request #9940 from Security-Onion-Solutions/2.4/idh-logs
Add IDH log ingest
2023-03-16 13:16:17 -04:00
Josh Brower d78128dbf4 Formatting 2023-03-16 13:11:12 -04:00
Josh Brower a96473554d Add IDH log ingest 2023-03-16 12:56:04 -04:00
Mike Reeves 53e93f01c6 Force an update after repo is configured 2023-03-16 09:49:57 -04:00
Mike Reeves d0955b3e91 Merge pull request #9937 from Security-Onion-Solutions/guifixes
Re-Work Backups
2023-03-16 09:42:07 -04:00
Jason Ertel ad2616900c Merge pull request #9939 from Security-Onion-Solutions/kilo
automated testing support; removal of nonexistent ScanRuby strelka scanner
2023-03-16 09:30:05 -04:00
Jason Ertel 3ab3e4712c remove kilo for merge 2023-03-16 09:16:28 -04:00
Jason Ertel 49df376bcc Remove non-existant Ruby scanner 2023-03-15 19:24:03 -04:00
Mike Reeves f288d0dd61 Re-Work Backups 2023-03-15 17:58:15 -04:00
Mike Reeves 3156b1ed0c Re-Work Backups 2023-03-15 17:53:14 -04:00
Mike Reeves c355e6eaf0 Merge pull request #9935 from Security-Onion-Solutions/guifixes
Fix IDS tools
2023-03-15 17:27:07 -04:00
Mike Reeves d4f5209e39 Re-Work IDSTOOLS 2023-03-15 17:22:54 -04:00
Mike Reeves afcd1155bf Re-Work IDSTOOLS 2023-03-15 17:19:33 -04:00
Mike Reeves 28dc490775 Re-Work IDSTOOLS 2023-03-15 16:58:52 -04:00
Mike Reeves 02d013c0cc Re-Work IDSTOOLS 2023-03-15 16:47:43 -04:00
Mike Reeves b56baf900c Re-Work IDSTOOLS 2023-03-15 16:44:53 -04:00
Jason Ertel 49a9affe2a Merge branch '2.4/dev' into kilo 2023-03-15 16:39:26 -04:00
Mike Reeves 0d30c14561 Re-Work IDSTOOLS 2023-03-15 16:33:33 -04:00
Jason Ertel fbefe229c1 add test support to so-minion 2023-03-15 15:27:26 -04:00
Mike Reeves a36a6d5659 Strelka UI components 2023-03-15 10:40:16 -04:00
Josh Patterson b809b22566 Merge pull request #9931 from Security-Onion-Solutions/2.4/strelka
2.4/strelka
2023-03-14 16:16:53 -04:00
m0duspwnens f9b8c78d74 move repos to rules dir 2023-03-14 14:43:13 -04:00
m0duspwnens 7cf4e6b03b add rules dir, change so-yar-update to save to local/salt/strelka/rules 2023-03-14 13:59:31 -04:00
m0duspwnens 5f7256c826 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/strelka 2023-03-14 13:26:15 -04:00
m0duspwnens b38d5df684 set default mime_db 2023-03-14 13:25:51 -04:00
weslambert 4e0390963b Merge pull request #9928 from Security-Onion-Solutions/fix/curator_elastic_agent_filebeat_actions_close
Fix Curator Action Files
2023-03-14 10:58:53 -04:00
weslambert 8eba3426be Remove extra dash for 'logs-elastic_agent-metricbeat-default' key 2023-03-14 10:51:50 -04:00
weslambert 7c39938e14 Change 'elastic_agent.filebeat' to 'elastic_agent-filebeat' 2023-03-14 10:48:50 -04:00
weslambert 123275ca35 Merge pull request #9926 from Security-Onion-Solutions/fix/curator_additional_elastic_agent_indices
Add more Elastic Agent Curator actions
2023-03-14 09:59:47 -04:00
Wes 766e6a7974 Add 'logs-windows-sysmon_operational-delete' for Windows Sysmon operational indices 2023-03-14 13:51:49 +00:00
Wes f0d4c16b2b Add more Elastic Agent index keys for Curator 2023-03-14 13:49:13 +00:00
Wes 412e5c0402 Add more Elastic Agent Curator action files 2023-03-14 13:46:08 +00:00
Josh Brower fbac23c28d Merge pull request #9925 from Security-Onion-Solutions/2.4/fiedfix
Removes Suricata host.* fields
2023-03-14 07:38:05 -04:00
weslambert ebc943fcab Merge pull request #9924 from Security-Onion-Solutions/fix/curator_action_file_system_syslog_delete
Fix Elastic Agent system syslog default delete file configuration
2023-03-13 17:28:38 -04:00
weslambert 486de12ca5 Delete logs-system-auth-syslog-close.yaml 2023-03-13 17:27:52 -04:00
weslambert f4112b30c0 Fix index reference for system auth default 2023-03-13 17:27:06 -04:00
weslambert bab40de58d Fix system auth default key value 2023-03-13 17:26:05 -04:00
weslambert 785f100132 Fix system auth default key value 2023-03-13 17:25:33 -04:00
weslambert 8ade7b85fc Fix system syslog default key value 2023-03-13 17:24:40 -04:00
weslambert c2701f1835 Fix system syslog default key value 2023-03-13 17:24:12 -04:00
weslambert d5bb223235 Fix system syslog delete file configuration 2023-03-13 17:10:52 -04:00
weslambert bb711a2a15 Merge pull request #9923 from Security-Onion-Solutions/fix/curator_default_elastic_agent_logs
Add Elastic Agent default indices to be managed by Curator
2023-03-13 16:59:40 -04:00
Wes efc5832499 Add Elastic Agent default log action files 2023-03-13 20:54:38 +00:00
Wes 8d395dc465 Add Elastic Agent default data stream backing indices for management by Curator 2023-03-13 20:54:13 +00:00
m0duspwnens 9d4e1cc149 jinja for strelka 2023-03-13 16:48:21 -04:00
Josh Brower f7be4ba31c Remove host field from NIDS logs 2023-03-13 14:07:17 -04:00
Josh Brower 126add7ddd Merge pull request #9922 from Security-Onion-Solutions/2.4/fieldfixes
auto-apply firewall rules
2023-03-13 12:00:28 -04:00
Josh Brower b3a2680847 auto-apply firewall rules 2023-03-13 11:41:36 -04:00
weslambert 1774d16d9a Merge pull request #9921 from Security-Onion-Solutions/fix/elasticsearch_template_data_stream_configuration
Move data stream configuration outside of ILM policy definition
2023-03-13 09:29:42 -04:00
Wes e105e56fac Move data stream configuration outside of ILM policy definition 2023-03-13 13:27:02 +00:00
m0duspwnens 58343e39fa 2.4 strelka 2023-03-10 17:32:14 -05:00
weslambert a844819261 Merge pull request #9919 from Security-Onion-Solutions/fix/elasticsearch_ilm_policy_elastic_agent_default
Add index lifecycle management policy definitions for default Elastic Agent data streams
2023-03-10 17:02:27 -05:00
weslambert 16d9478196 Add index lifecycle management policy definitions for default Elastic Agent data streams 2023-03-10 16:54:47 -05:00
Jason Ertel 5804409fcf Merge branch '2.4/dev' into kilo 2023-03-10 15:13:57 -05:00
Jason Ertel 5301f442f9 distributed testing 2023-03-09 19:31:04 -05:00
Jason Ertel ed8a23cedc distributed testing 2023-03-09 17:01:38 -05:00
Jason Ertel 0ee870a199 cleanup unnecessary code 2023-03-09 15:40:51 -05:00
Jason Ertel 23b344bf14 distributed testing 2023-03-09 15:04:42 -05:00
Josh Brower 2fe8668f1b Merge pull request #9891 from Security-Onion-Solutions/2.4/huntqueries
Initial updates for 2.4 fieldnames
2023-03-09 14:37:50 -05:00
Josh Brower 73abf8dbfd Generic host dashboard 2023-03-09 14:32:52 -05:00
Jason Ertel 894a20b3ad autodetect manager IP 2023-03-09 12:58:51 -05:00
Jason Ertel ecc300197d autodetect manager IP 2023-03-09 12:11:27 -05:00
Jason Ertel b1f201ca87 autodetect manager IP 2023-03-09 12:05:42 -05:00
Jason Ertel a4409b2979 autodetect manager IP 2023-03-09 11:47:35 -05:00
Jason Ertel b6ce9f489a autodetect manager IP 2023-03-09 11:02:01 -05:00
Josh Brower 1493806040 Change host dashboard titles 2023-03-08 17:03:02 -05:00
Josh Brower a5c89bfaa1 update sysmon dashboards 2023-03-08 16:49:34 -05:00
Jason Ertel b9e3024521 fix user sync issue after setup finishes 2023-03-08 15:10:31 -05:00
Josh Patterson d75866caec Merge pull request #9912 from Security-Onion-Solutions/2.4/heavynode
2.4/heavynode
2023-03-08 14:11:43 -05:00
m0duspwnens 61879a8d33 merge with dev and resolve conflicts in salt/top 2023-03-08 09:04:09 -05:00
Jason Ertel 0f456e6ecd Merge branch '2.4/dev' into kilo 2023-03-07 16:18:30 -05:00
weslambert 7ad34ee8d7 Merge pull request #9910 from Security-Onion-Solutions/fix/curator_so_curator_cluster_warm
Remove reference to 'so-curator-cluster-warm' script since it has been removed
2023-03-07 16:18:05 -05:00
weslambert 2d7ce41a70 Remove reference to 'so-curator-cluster-warm' script since it has been removed 2023-03-07 16:16:55 -05:00
weslambert a738c7c36d Merge pull request #9907 from Security-Onion-Solutions/fix/curator_global_delete_action
Add the new Security Onion index format to the global delete action file for Curator
2023-03-07 16:03:28 -05:00
Josh Brower 6f82cf3807 Merge pull request #9906 from Security-Onion-Solutions/2.4/setupfix
Remove EA install from manager highstates
2023-03-07 15:33:34 -05:00
Jason Ertel a3e05d782e Merge branch '2.4/dev' into kilo 2023-03-07 15:26:01 -05:00
weslambert e93c052d34 Add the new index format to the global delete action file for Curator 2023-03-07 15:21:53 -05:00
Josh Brower fd2312a2ac Remove EA install from manager highstates 2023-03-07 15:13:35 -05:00
Jason Ertel 4f3cb2eb3d Clarify playbook load time log message 2023-03-07 14:42:10 -05:00
weslambert 8c79d7e40d Merge pull request #9905 from Security-Onion-Solutions/fix/curator_new_action_files
Add New Curator Action Files
2023-03-07 12:44:25 -05:00
Wes f50639d2d2 Fix import and syslog actions 2023-03-07 17:41:48 +00:00
Wes 26c9813276 Add keys for new Curator actions to defaults.yaml 2023-03-07 17:29:07 +00:00
Wes 88d98af243 Add new Curator action files to Curator close and delete scripts 2023-03-07 17:21:03 +00:00
Wes d636546871 Add new Curator action files 2023-03-07 17:15:25 +00:00
weslambert f0b7a75ae8 Merge pull request #9904 from Security-Onion-Solutions/fix/curator_clean_up_action_files
Clean Up Old Curator Action Files
2023-03-07 11:52:28 -05:00
Wes 073054b447 Remove 'so-curator-cluster-warm' and remove unncessary Curator default values 2023-03-07 16:21:55 +00:00
Wes df94e830c5 Remove unnecessary Curator action files 2023-03-07 16:15:41 +00:00
m0duspwnens 2767d4bee3 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/heavynode 2023-03-07 10:36:12 -05:00
m0duspwnens 14aa9ac5c9 apply elastic-fleet state to managers 2023-03-07 10:35:49 -05:00
weslambert deda0fa279 Merge pull request #9902 from Security-Onion-Solutions/fix/so-status_curator
Add Curator to so-status Output
2023-03-07 10:17:14 -05:00
Wes 086b3bf528 Add Curator to so-status output 2023-03-07 15:14:53 +00:00
Jason Ertel 66bb829505 if -i, either success or failure must be present 2023-03-06 22:18:08 -05:00
Jason Ertel b641dc37b6 use high error code to flag an unrecoverable error 2023-03-06 18:56:04 -05:00
Jason Ertel f77068f73f setup and so-verify/so-status interop 2023-03-06 18:37:37 -05:00
m0duspwnens 691080de88 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/heavynode 2023-03-06 16:04:14 -05:00
Jason Ertel 1998c66073 Merge branch '2.4/dev' into kilo 2023-03-06 15:59:21 -05:00
Jason Ertel 1945659369 Error is too common, found even in dashboard titles 2023-03-06 15:59:08 -05:00
Josh Brower 3eb839bd21 Merge pull request #9897 from Security-Onion-Solutions/2.4/dev-fleet
Fleet - setup ES output for all Managers
2023-03-06 15:54:03 -05:00
Josh Brower a6db2d4502 Fleet - setup ES output for all Managers 2023-03-06 15:50:09 -05:00
m0duspwnens 0f9803120e Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/heavynode 2023-03-06 13:55:09 -05:00
m0duspwnens b6d55bedc8 make influxdb token accessible to all nodes 2023-03-06 13:50:17 -05:00
Josh Brower 8fae826a3a Merge pull request #9890 from Security-Onion-Solutions/2.4/fixosquerylink
Fixup osquery SO Hunt link
2023-03-06 07:25:00 -05:00
Doug Burks 1e31966d8d Merge pull request #9893 from Security-Onion-Solutions/2.4/enable-zeek-vlan
2.4/enable zeek vlan
2023-03-06 07:20:45 -05:00
Doug Burks a2bda07820 add VLAN dashboard 2023-03-05 15:24:11 -05:00
Doug Burks 19ab2a5a46 rename suricata vlan field to network.vlan.id 2023-03-05 05:57:52 -05:00
Josh Brower 9db6df0f14 Initial updates for 2.4 fieldnames 2023-03-04 15:19:19 -05:00
Josh Brower f0db5cf657 Fixup osquery SO Hunt link 2023-03-04 11:50:01 -05:00
Doug Burks 4a2e75dd8c fix formatting 2023-03-03 17:16:45 -05:00
Jason Ertel a45763f9a2 Merge branch '2.4/dev' into kilo 2023-03-03 16:01:06 -05:00
Doug Burks e24296d536 add SOC Dashboards groupby for Zeek conn vlan field 2023-03-03 15:23:43 -05:00
Doug Burks 9940a36722 update Elasticsearch ingest for Zeek conn vlan field 2023-03-03 15:22:43 -05:00
Doug Burks adb925b4d6 enable zeek vlan script 2023-03-03 12:48:42 -05:00
m0duspwnens e3f9b5297a Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/heavynode 2023-03-02 16:58:56 -05:00
Jason Ertel fd2068be88 Switch back to kilo images 2023-03-02 15:23:53 -05:00
m0duspwnens e6167dc34a heavynode changes 2023-03-02 15:09:59 -05:00
Mike Reeves 26dbaeb7ac Merge pull request #9882 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update so-functions
2023-03-02 11:36:24 -05:00
Mike Reeves 2b0ea8eb8b Update so-functions 2023-03-02 11:34:36 -05:00
weslambert 196a6ce984 Merge pull request #9881 from Security-Onion-Solutions/fix/curator_configuration_update_8.0.x
Update Curator configuration to align with requirements for Curator 8.0.x
2023-03-02 08:51:14 -05:00
weslambert 06d1f0f913 Update Curator configuration to align with requirements for Curator 8.0.x 2023-03-02 08:46:52 -05:00
Mike Reeves 204f423051 Merge pull request #9878 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update init.sls
2023-03-01 21:37:17 -05:00
Mike Reeves af284b9aae Update init.sls 2023-03-01 16:38:48 -05:00
Jason Ertel 41bc1cd36f Merge branch '2.4/dev' into kilo 2023-03-01 09:53:59 -05:00
Mike Reeves 2091806f1f Merge pull request #9864 from Security-Onion-Solutions/setuperrors
Fix some errors in setup
2023-03-01 09:48:20 -05:00
m0duspwnens 704365c6eb only stdout redirect 2023-03-01 09:44:48 -05:00
m0duspwnens a79c380e2b use cmd.run to populate metrics_link 2023-03-01 09:18:58 -05:00
weslambert a5c2c0fb20 Merge pull request #9866 from Security-Onion-Solutions/fix/soc_elasticsearch_ilm_annotations_verbiage
Various adjustments to descriptions
2023-02-28 16:46:53 -05:00
m0duspwnens c4e1ec781e apply influxdb before highstate in setup 2023-02-28 16:31:35 -05:00
Jason Ertel 13182fcda2 refactor automated testing inputs due to streamlined setup process 2023-02-28 16:31:17 -05:00
weslambert 134caa7f58 Various adjustments to descriptions 2023-02-28 16:31:16 -05:00
m0duspwnens 8772dcaa10 ensure influxdb is running 2023-02-28 15:57:54 -05:00
Jason Ertel 205e344034 dynamically choose test NICs in alphanumeric sort order 2023-02-28 15:40:08 -05:00
Jason Ertel 749c299ed2 refactor automated testing inputs due to streamlined setup process 2023-02-28 15:34:09 -05:00
Josh Brower 96467f0bd8 Merge pull request #9865 from Security-Onion-Solutions/2.4/fleet-esoutput
Move Output to ES
2023-02-28 15:20:46 -05:00
m0duspwnens 052e0dea2e create and manage metrics_link in a file for soc 2023-02-28 14:47:44 -05:00
Jason Ertel d456f681f1 refactor automated testing inputs due to streamlined setup process 2023-02-28 14:45:21 -05:00
Jason Ertel 8f20e2bcb9 refactor automated testing inputs due to streamlined setup process 2023-02-28 14:29:22 -05:00
Jason Ertel 9c3cc17153 refactor automated testing inputs due to streamlined setup process 2023-02-28 13:44:38 -05:00
Jason Ertel d5df1a106a refactor automated testing inputs due to streamlined setup process 2023-02-28 13:43:52 -05:00
Mike Reeves ff495cb20e fix formatting issue 2023-02-28 10:41:44 -05:00
Mike Reeves 34f5dbeba0 Merge branch 'setuperrors' of https://github.com/Security-Onion-Solutions/securityonion into setuperrors 2023-02-28 09:41:10 -05:00
Mike Reeves c00d671098 backup influx dir 2023-02-28 09:40:57 -05:00
Josh Patterson cbcd3c9dd9 Update defaults.map.jinja 2023-02-27 15:39:03 -05:00
Josh Patterson 8632606a24 Update defaults.map.jinja 2023-02-27 15:37:35 -05:00
Mike Reeves 1692970789 back out verify changes since underlying errors should be fixed 2023-02-27 15:22:08 -05:00
Josh Patterson 8d33f01936 Update defaults.map.jinja 2023-02-27 15:01:31 -05:00
Mike Reeves aa7b05d639 small cleanup 2023-02-27 14:12:26 -05:00
Mike Reeves 9967e91825 remove mysql check 2023-02-27 13:42:11 -05:00
Josh Patterson fb5aad34e0 Merge pull request #9861 from Security-Onion-Solutions/somefixes2
Somefixes2
2023-02-27 13:14:08 -05:00
m0duspwnens 44ed48033c move requirement 2023-02-27 13:04:23 -05:00
m0duspwnens 068d383442 change to service.running 2023-02-27 12:44:46 -05:00
m0duspwnens b4015ac73e add sensor to node_containers 2023-02-27 10:05:08 -05:00
Josh Brower f7176f9989 Move Output to ES 2023-02-27 09:58:43 -05:00
Josh Patterson dd8f6a460b Merge pull request #9853 from Security-Onion-Solutions/somefixes2
custom hostgroups in soc ui
2023-02-24 16:25:48 -05:00
m0duspwnens d12ea041bf capitalize 2023-02-24 16:20:16 -05:00
m0duspwnens 6b486d9604 move to default 2023-02-24 15:55:27 -05:00
m0duspwnens fa5b9799f5 add firewall.soc to top for managers 2023-02-24 15:26:39 -05:00
m0duspwnens d502d95dba changes for soc firewall 2023-02-24 15:24:02 -05:00
m0duspwnens 29c68c1273 fix bracket, add output to template 2023-02-24 14:32:35 -05:00
m0duspwnens 3e2e68fbd0 custom hostgroups in soc 2023-02-24 14:24:47 -05:00
Jason Ertel aed41404fc Merge pull request #9852 from Security-Onion-Solutions/kilo
Remove FleetDM tool from SOC instead of deactivating it; generate SRV key during setup
2023-02-24 13:05:58 -05:00
Mike Reeves 2b683b09e1 Merge pull request #9851 from Security-Onion-Solutions/somefixes2
Fix install
2023-02-24 12:24:43 -05:00
Mike Reeves afccd3f820 comment out minion installs for now 2023-02-24 12:21:14 -05:00
Mike Reeves a25acb4558 comment out minion installs for now 2023-02-24 12:19:57 -05:00
Mike Reeves a0eb505db0 Add fireall custom groups 2023-02-24 11:12:17 -05:00
Mike Reeves 99105c7563 Add fireall custom groups 2023-02-24 10:43:41 -05:00
Jason Ertel 316db85584 Generate SOC SRVKey during setup 2023-02-24 10:20:23 -05:00
Jason Ertel d3c5d0569a Remove FleetDM tool instead of deactivating it 2023-02-24 10:20:02 -05:00
Mike Reeves 57a02396de Merge pull request #9849 from Security-Onion-Solutions/somefixes2
Playbook fix
2023-02-24 10:08:58 -05:00
Mike Reeves 29cf95d6eb remove yum versionlock 2023-02-24 10:06:43 -05:00
Mike Reeves 39361c2ab0 unfix playbook fix 2023-02-24 10:01:27 -05:00
Mike Reeves 1289500e03 unfix playbook fix 2023-02-24 09:55:49 -05:00
Mike Reeves 663af7935b Merge pull request #9847 from Security-Onion-Solutions/somefixes 2023-02-23 20:05:51 -05:00
Mike Reeves cd56d3a799 unfix playbook fix 2023-02-23 16:18:22 -05:00
Mike Reeves bf512d56ec unfix playbook fix 2023-02-23 16:12:57 -05:00
Mike Reeves b206b23fe1 unfix playbook fix 2023-02-23 16:09:54 -05:00
Mike Reeves 6141906b76 Merge pull request #9840 from Security-Onion-Solutions/reposync
Rocky 9 support
2023-02-23 12:30:38 -05:00
m0duspwnens 8f46e4aa30 set docker extra_hosts for soc 2023-02-23 12:26:58 -05:00
Jason Ertel 4222b09970 Merge branch '2.4/dev' into reposync 2023-02-23 12:15:03 -05:00
Jason Ertel b62a0c5d5c Merge pull request #9846 from Security-Onion-Solutions/kilo
Kilo
2023-02-23 12:12:06 -05:00
Jason Ertel 7067f9cd9c allow the rpm gpg key filename 2023-02-23 12:09:55 -05:00
Jason Ertel 265447801e allow the rpm gpg key filename 2023-02-23 12:08:43 -05:00
Jason Ertel 52f0ccf00d Merge branch '2.4/dev' into kilo 2023-02-23 12:03:34 -05:00
Mike Reeves 2ebd9b3598 use hostnames please 2023-02-23 11:19:13 -05:00
Mike Reeves 4896452245 use hostnames please 2023-02-23 11:13:54 -05:00
Mike Reeves 9441d47c6a Merge branch 'reposync' of https://github.com/Security-Onion-Solutions/securityonion into reposync 2023-02-23 11:11:38 -05:00
Mike Reeves 148b0b1c4c use hostnames please 2023-02-23 11:11:29 -05:00
m0duspwnens 399e4de73c stop and disable firewalld 2023-02-23 11:04:23 -05:00
m0duspwnens 96b1fb4782 change to eval 2023-02-23 10:51:14 -05:00
Mike Reeves 7f2d263046 fix nginx config 2023-02-23 10:16:34 -05:00
Mike Reeves 3fed04a532 fix nginx config 2023-02-23 09:52:24 -05:00
Mike Reeves 95f254dc63 Change elastalert ip 2023-02-23 09:37:20 -05:00
Mike Reeves dc2fed5b04 Change elastalert ip 2023-02-23 09:34:16 -05:00
Mike Reeves 6927e28def Change kibana IP 2023-02-23 09:25:16 -05:00
m0duspwnens 4db404b6f5 remove jinja from kibana defaults 2023-02-23 09:21:19 -05:00
Mike Reeves 7b30064d86 Chane Elastalert to use hosntame 2023-02-23 09:10:20 -05:00
Mike Reeves 0ec0983d7b Chane Elastalert to use hosntame 2023-02-23 08:57:30 -05:00
weslambert ee311de9c8 Merge pull request #9841 from Security-Onion-Solutions/fix/soc_analyzers_analyzerNodeId
Change 'GLOBALS.minion_id' to 'GLOBALS.hostname' for 'analyzerNodeId' value to ensure SOC creates analyzer jobs in the correct directory
2023-02-22 16:26:03 -05:00
Mike Reeves 7987cde668 Merge branch 'reposync' of https://github.com/Security-Onion-Solutions/securityonion into reposync 2023-02-22 16:25:04 -05:00
Mike Reeves 8e83407974 change playbook to use hostname 2023-02-22 16:24:35 -05:00
weslambert ecf70847fd Change 'GLOBALS.minion_id' to 'GLOBALS.hostname' for 'analyzerNodeId' value to ensure SOC creates analyzer jobs in the correct directory 2023-02-22 16:23:48 -05:00
m0duspwnens 0d0a61bd4a remove so-grafana from node containers 2023-02-22 15:29:30 -05:00
Mike Reeves 5bc1dc9567 change playbook to use hostname 2023-02-22 15:19:27 -05:00
Mike Reeves 45434b06a4 change playbook to use hostname 2023-02-22 15:08:56 -05:00
Mike Reeves 6e59cc3409 change playbook to use hostname 2023-02-22 14:56:53 -05:00
Mike Reeves 417fff924d change playbook to use hostname 2023-02-22 14:53:02 -05:00
Mike Reeves 1c1e613351 change playbook to use hostname 2023-02-22 14:48:55 -05:00
m0duspwnens bf8e6c64d6 add sobip to global vars 2023-02-22 14:41:14 -05:00
Mike Reeves 68708accde change playbook to use hostname 2023-02-22 14:32:49 -05:00
Mike Reeves 59c700ad10 change playbook to use hostname 2023-02-22 14:15:10 -05:00
Mike Reeves c6a46d1eb3 change playbook to use hostname 2023-02-22 14:14:27 -05:00
Mike Reeves c20a7e6cf9 fix yaml 2023-02-22 13:48:40 -05:00
Mike Reeves 3deb619737 add watchdog 2023-02-22 12:58:39 -05:00
Mike Reeves 7c64dad95b add mysql 2023-02-22 11:28:46 -05:00
m0duspwnens 6dd09fb2c5 remove filebeat 2023-02-22 10:42:45 -05:00
m0duspwnens b8966aa33a fix role match 2023-02-22 10:24:51 -05:00
Mike Reeves 76011c96d6 fix conflict 2023-02-22 10:20:14 -05:00
Mike Reeves c3784fe548 remove grafana 2023-02-22 10:09:52 -05:00
m0duspwnens db3a46b6a1 fix indent 2023-02-22 10:07:04 -05:00
m0duspwnens d0bb7dc475 repo for rocky 2023-02-22 10:04:43 -05:00
m0duspwnens 53b58d532a apply docker state during setup 2023-02-22 09:35:37 -05:00
Mike Reeves 327855b0af add docker 2023-02-22 09:28:51 -05:00
m0duspwnens 56ccf5c504 remove podman 2023-02-22 09:13:16 -05:00
Mike Reeves 7b6db5d95a add docker 2023-02-22 09:08:39 -05:00
Mike Reeves 8645cd0c3b add docker 2023-02-22 08:57:00 -05:00
m0duspwnens cc654fda9f fw 2.4 update 2023-02-21 15:43:41 -05:00
m0duspwnens f2b0d67d8b update fw rules 2023-02-21 15:20:49 -05:00
m0duspwnens de499ead0c update fw rules 2023-02-21 15:11:14 -05:00
m0duspwnens a3bda9b322 podman changes to disable mgmt of iptables 2023-02-21 13:48:25 -05:00
Josh Brower 3a2ec8e8bf Merge pull request #9830 from Security-Onion-Solutions/2.4/IDHMerge
Initial support for IDH
2023-02-21 12:19:53 -05:00
Josh Brower b62cc32b1a Initial support for IDH 2023-02-21 11:52:37 -05:00
Mike Reeves bc054a15d3 add createrepo 2023-02-21 10:15:47 -05:00
Mike Reeves c4a5470454 fix reposync 2023-02-21 10:06:01 -05:00
Mike Reeves b402b84d11 fix reposync 2023-02-21 10:04:56 -05:00
Mike Reeves f34e144629 removes filebeat 2023-02-21 10:01:27 -05:00
Mike Reeves 6cfa16c251 fix reposync script 2023-02-21 10:00:09 -05:00
Mike Reeves 173b15b46e Add python3-rich for sostatus 2023-02-21 09:58:07 -05:00
m0duspwnens 653062b7c9 run podman state early 2023-02-21 09:46:52 -05:00
Jason Ertel 2b6685c887 restore kilo version 2023-02-21 09:27:02 -05:00
Jason Ertel f00c7169ce update test scenarios 2023-02-21 09:24:55 -05:00
m0duspwnens 5fff06602a change symlink 2023-02-17 15:41:49 -05:00
Mike Reeves 4bafb40894 fix registry from restart 2023-02-17 15:38:54 -05:00
m0duspwnens 03cd67431d start and enable podman services 2023-02-17 15:36:45 -05:00
m0duspwnens 160ed46d96 podman and remove filebeat 2023-02-17 14:59:39 -05:00
Mike Reeves 6fd68351ec fix more python depends 2023-02-17 14:30:55 -05:00
m0duspwnens 49549c3d61 remove unneedfuls from podman state 2023-02-17 14:24:55 -05:00
m0duspwnens 9d4e4830dd add podman state 2023-02-17 14:19:57 -05:00
Mike Reeves b53aa08eeb remove grafana and filebeat 2023-02-17 13:58:45 -05:00
Mike Reeves c6266e9f91 add m2crypto 2023-02-17 13:54:46 -05:00
Mike Reeves c6cbb4857d add rsync 2023-02-17 13:53:36 -05:00
Mike Reeves bcf1fe8dad fix reposync script 2023-02-17 13:48:10 -05:00
Mike Reeves 12398bdf24 add m2crypto 2023-02-17 13:34:21 -05:00
Josh Patterson ba5b125952 Update minion.defaults.yaml 2023-02-17 13:25:01 -05:00
Mike Reeves e3e8d30161 fix python docker name 2023-02-17 13:17:57 -05:00
Mike Reeves 4bb49ad617 add some deps 2023-02-17 13:11:13 -05:00
Mike Reeves e7f35673e0 replace centos 2023-02-17 11:38:50 -05:00
Mike Reeves ba9c52db37 replace centos 2023-02-17 11:37:28 -05:00
Mike Reeves 43c177727c replace centos 2023-02-17 11:32:05 -05:00
Mike Reeves c6919a09da replace centos 2023-02-17 11:26:11 -05:00
m0duspwnens d8e85cbc28 change salt version 2023-02-17 11:20:16 -05:00
Mike Reeves 0a7ad4d211 yum-utils 2023-02-17 11:16:02 -05:00
Mike Reeves 54fc07b5b8 yum-utils 2023-02-17 11:07:44 -05:00
m0duspwnens 8b680693f4 remove patch pkg and patching of influx 2023-02-17 11:01:17 -05:00
Mike Reeves 353b77cd59 add minions.d dir 2023-02-17 10:40:43 -05:00
Doug Burks eef81fdd1b Merge pull request #9805 from Security-Onion-Solutions/2.4/upgrade-elastic-8.6.2
2.4/upgrade elastic 8.6.2
2023-02-17 08:03:09 -05:00
Doug Burks ef3abe158c UPGRADE: Elastic 8.6.2 #9804 2023-02-17 07:07:20 -05:00
Doug Burks dfa5503e41 UPGRADE: Elastic 8.6.2 #9804 2023-02-17 07:06:36 -05:00
Mike Reeves 405060674c Salt 3006 temp 2023-02-16 17:49:07 -05:00
Jason Ertel 1f37af0e57 Merge pull request #9800 from Security-Onion-Solutions/kilo
influx upgrade
2023-02-16 13:51:53 -05:00
Jason Ertel 59b1af15db correct top order for import 2023-02-16 13:49:19 -05:00
Jason Ertel 79041d091e influx upgrade 2023-02-16 13:22:13 -05:00
Jason Ertel e4de89c960 Merge pull request #9798 from Security-Onion-Solutions/jertel-remove-kilo-from-ver
Update VERSION
2023-02-16 10:57:19 -05:00
Jason Ertel dcbf5a2fa6 Update VERSION 2023-02-16 10:55:32 -05:00
Jason Ertel 6e9d1f7c2c Merge pull request #9797 from Security-Onion-Solutions/kilo
Influx upgrade
2023-02-16 10:46:57 -05:00
weslambert 5e94a2cd74 Merge pull request #9790 from Security-Onion-Solutions/fix/kibana_default_data_view
Change default data view from '*:so-*' to 'logs-*'
2023-02-15 14:21:55 -05:00
weslambert b7ad4e0570 Change default data view from 'so-*' to 'logs-*' 2023-02-15 14:19:29 -05:00
weslambert 967440f49f Merge pull request #9789 from Security-Onion-Solutions/fix/kibana_visualization_index-pattern_reference
Replace 'so-*' index-pattern reference with 'logs-*' for Kibana dashboard visualizations
2023-02-15 11:33:44 -05:00
Wes 790b3c5635 Replace 'so-*' index-pattern reference with 'logs-*' for Kibana dashboard visualizations 2023-02-15 16:30:56 +00:00
Mike Reeves 01edb5dc00 Update repo URL 2023-02-15 11:09:37 -05:00
Jason Ertel c43ccb7ed2 influx upgrade 2023-02-15 09:47:18 -05:00
Jason Ertel a9b3594b35 merge 2023-02-15 08:06:41 -05:00
Jason Ertel 8746f55834 influx upgrade 2023-02-15 08:03:22 -05:00
Mike Reeves 577e3c27fe Update repo URL 2023-02-14 13:52:21 -05:00
Mike Reeves 2cddcc8b8d Change some order in repo sync 2023-02-14 13:38:28 -05:00
Mike Reeves 4c2142b181 add key for so packages 2023-02-14 13:21:37 -05:00
Mike Reeves 4dcdea58d7 add key for so packages 2023-02-14 13:16:13 -05:00
Mike Reeves 0f51e7bb98 fix key locations for rocky 2023-02-14 13:14:21 -05:00
Jason Ertel 1fa526cd0e influx upgrade 2023-02-14 11:22:54 -05:00
Mike Reeves 4741038a41 fix function 2023-02-14 10:15:35 -05:00
Mike Reeves 89bd9163fb reposync attempt for reocky 2023-02-14 10:08:34 -05:00
Mike Reeves b2d85b843f reposync 2023-02-14 09:00:10 -05:00
Jason Ertel d15158e77a influx upgrade 2023-02-13 20:52:12 -05:00
Jason Ertel 0890129c69 influx upgrade 2023-02-13 19:30:10 -05:00
Jason Ertel e3ca0345a8 upgrade influx 2023-02-13 15:41:37 -05:00
Jason Ertel 1fa8294ee6 influx upgrade 2023-02-13 14:56:51 -05:00
weslambert 689ba5f341 Merge pull request #9778 from Security-Onion-Solutions/fix/filebeat_remove_docker_image
Remove 'so-filebeat' from list of trusted containers
2023-02-13 10:00:36 -05:00
weslambert 40d3269db3 Remove 'so-filebeat' from list of trusted containers 2023-02-13 09:58:39 -05:00
Jason Ertel 7b3acd53a1 upgrade influx 2023-02-13 09:55:45 -05:00
Jason Ertel 47af14c265 upgrade influx 2023-02-13 09:51:48 -05:00
Jason Ertel 34d19e308f influx upgrade 2023-02-10 19:42:25 -05:00
Jason Ertel e5c26032c4 influx upgrade 2023-02-10 19:37:59 -05:00
Jason Ertel 4f0af9ac6b influx upgrade 2023-02-10 18:41:29 -05:00
Jason Ertel 0056b8f703 influx upgrade 2023-02-10 18:35:18 -05:00
Jason Ertel 39009ce938 influx upgrade 2023-02-10 18:32:01 -05:00
Jason Ertel 7dee2686ac influx upgrade 2023-02-10 18:19:31 -05:00
Jason Ertel cd27ae89cc influx upgrade 2023-02-10 16:34:06 -05:00
weslambert 21ca8a9c50 Merge pull request #9770 from Security-Onion-Solutions/fix/elasticsearch_ilm_soc_annotations_settings
Add SOC annotation settings for Elasticsearch's ILM feature
2023-02-10 15:51:29 -05:00
weslambert acda03ce40 Add annotation settings for Elasticsearch's ILM feature, and remove various index keys 2023-02-10 14:57:11 -05:00
weslambert f2f318982e Merge pull request #9768 from Security-Onion-Solutions/fix/elasticsearch_ilm_policy_load_additions
Manage Elasticsearch index lifecycle management policies in Elasticsearch state
2023-02-10 14:16:32 -05:00
Wes 1255c60317 Move policy load script into Elasticsearch state script directory 2023-02-10 18:59:45 +00:00
Wes 994eabae1b Manage policy loading in Elasticsearch state 2023-02-10 18:57:19 +00:00
weslambert 82119b0247 Merge pull request #9765 from Security-Onion-Solutions/fix/elastic_utility_scripts_permissions
Ensure Elastic utility scripts have the correct permissions
2023-02-10 10:30:14 -05:00
Wes 1d0e09bdf7 Ensure Elastic utility scripts have the correct permissions 2023-02-10 15:26:46 +00:00
weslambert 7564a82b52 Merge pull request #9764 from Security-Onion-Solutions/fix/elasticsearch_ilm_dynamic_policy_loadiing
ILM Policy Changes
2023-02-10 10:17:14 -05:00
Wes c9118699a9 Add index management lifecycle policy defintion and reference in index template 2023-02-10 15:10:30 +00:00
Wes d17cf89c68 Fix Bash shebang 2023-02-10 15:01:09 +00:00
Wes 7b7461ef01 Dynamically load index management lifecycle policies based on pillar values 2023-02-10 14:59:29 +00:00
Jason Ertel e77813a173 influx upgrade 2023-02-09 19:14:58 -05:00
Jason Ertel 0eec8b22a2 influx upgrade 2023-02-09 18:27:14 -05:00
Jason Ertel 0e50d36da6 upgrade influx 2023-02-09 16:18:04 -05:00
Jason Ertel 067b6bacd1 merge from 2.4/dev 2023-02-09 11:57:51 -05:00
weslambert 84c5d2fee9 Merge pull request #9753 from Security-Onion-Solutions/fix/elasticsearch_ilm_policy_load_additional_policies
Add index lifecycle policy templates for other logs
2023-02-09 10:59:24 -05:00
Wes ee7f299e6d Fix typo - 'Kratos' to 'Kibana' 2023-02-09 15:56:36 +00:00
Wes bb6fc8da19 Add policy templates for other logs 2023-02-09 15:51:58 +00:00
weslambert 364799dcc5 Merge pull request #9751 from Security-Onion-Solutions/fix/elastic_fleet_output_temp_change
Temporarily use Elasticsearch output for standalone installations
2023-02-09 09:37:14 -05:00
weslambert b744dc0641 Add so-eval to list of modes using the Elasticsearch output for Elastic Agent and Fleet 2023-02-09 09:35:29 -05:00
weslambert 613793ad9b Temporarily use Elasticsearch output for Standalone installations 2023-02-09 09:32:04 -05:00
Jason Ertel 28eee48a7c influx upgrade 2023-02-08 20:38:29 -05:00
Jason Ertel 849e53e1eb upgrade influx 2023-02-08 17:40:27 -05:00
Josh Patterson 131d9b5898 Merge pull request #9747 from Security-Onion-Solutions/2.4/firewall
ensure node_data is populated with self
2023-02-08 17:29:07 -05:00
m0duspwnens 8a00521092 ensure node_data is populated with self if logstash:nodes data doesnt exist, ie import node 2023-02-08 17:19:20 -05:00
weslambert 32823ef640 Merge pull request #9746 from Security-Onion-Solutions/feature/elasticsearch_ilm_utility_scripts
Add Elasticsearch ILM utility scripts
2023-02-08 16:43:44 -05:00
Wes b319b50fa1 Add initial ILM status script 2023-02-08 21:39:33 +00:00
Wes 1d6c03feb1 Rename initial ILM lifecycle status explanation script 2023-02-08 21:34:39 +00:00
Wes 91d24d36f9 Add initial ILM lifecycle status explanation script 2023-02-08 21:34:15 +00:00
Wes 3e31bda285 Fix typo in Elasticsearch portion of script names 2023-02-08 21:32:17 +00:00
Wes 1de3871ee9 Add initial ILM service restart script 2023-02-08 21:30:25 +00:00
Wes 03849b0659 Add initial ILM service start script 2023-02-08 21:29:38 +00:00
Wes b38f4ca766 Add initial ILM service stop script 2023-02-08 21:29:16 +00:00
Wes 8027055086 Add initial ILM policy delete script 2023-02-08 21:09:42 +00:00
Jason Ertel 8ff0cf21cd influx upgrade 2023-02-08 16:03:10 -05:00
Wes d6d01f8542 Add initial ILM policy view script 2023-02-08 21:01:02 +00:00
Jason Ertel c43e69ad93 influx upgrade 2023-02-08 15:57:14 -05:00
Jason Ertel abbc92a58d upgrade influx 2023-02-08 15:14:46 -05:00
Wes 713e9ee215 Create initial template for ILM policy load script 2023-02-08 20:10:41 +00:00
Jason Ertel 22eaeb1462 upgrade influx 2023-02-08 15:00:44 -05:00
Jason Ertel 2fddcc1e99 upgrade influx 2023-02-08 14:57:57 -05:00
Jason Ertel 67c8f6ba69 avoid cr/lr 2023-02-08 14:25:36 -05:00
Jason Ertel 44e60f1e57 upgrade influx 2023-02-08 14:03:27 -05:00
Jason Ertel 51674b3a5b upgrade influx 2023-02-08 13:50:32 -05:00
Jason Ertel 4c42671a21 Merge branch '2.4/dev' into kilo 2023-02-08 13:49:07 -05:00
Jason Ertel a1ac1785d3 upgrade influx 2023-02-08 13:40:27 -05:00
Josh Patterson 3b9bdecab8 Merge pull request #9745 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-02-08 13:26:40 -05:00
Jason Ertel ea0c3db8e1 upgrade influxdb 2023-02-08 13:23:45 -05:00
m0duspwnens 3d34a49e44 change to new local ports file 2023-02-08 13:21:48 -05:00
m0duspwnens 19f49dde75 recusivly copy the firewall files for setup 2023-02-08 13:14:08 -05:00
Josh Patterson d6fb0598df Merge pull request #9743 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-02-08 11:37:05 -05:00
m0duspwnens 31daeef30d 2.4 fw changes 2023-02-08 11:01:26 -05:00
m0duspwnens 342b9619b0 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-02-08 09:18:21 -05:00
m0duspwnens fb7ebcac7e 2.4 fw changes 2023-02-08 09:18:05 -05:00
Doug Burks 291bdc0d82 Merge pull request #9726 from Security-Onion-Solutions/2.4/change-radio-to-menu
FIX: Minimize keystrokes and errors in Setup by changing radio lists to menus where appropriate #9725
2023-02-06 12:11:21 -05:00
Doug Burks cd38ecb300 change whiptail selections from radiolist to menu where appropriate 2023-02-06 11:52:42 -05:00
Josh Patterson 22a18d8855 Merge pull request #9717 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-02-03 11:04:36 -05:00
m0duspwnens e8a1e164aa add so.version module 2023-02-03 10:58:08 -05:00
m0duspwnens e0e094cd95 rename sosbip and sosrange to sobip and sorange 2023-02-03 10:10:51 -05:00
m0duspwnens a37f0fd0c0 rename sosbridge to sobridge 2023-02-03 10:07:07 -05:00
m0duspwnens 6e45f1b6e1 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-02-03 09:55:50 -05:00
m0duspwnens df9ef9ffc7 add managersearch 2023-02-03 09:55:33 -05:00
weslambert bee5a1e9e8 Merge pull request #9711 from Security-Onion-Solutions/fix/so_import_pcap_suricata_metadata_disable_zeek
Only run Zeek if it is defined as the metadata engine
2023-02-02 13:27:35 -05:00
m0duspwnens 3e808a70fa allow managersearch. comment out localhost allow in setup 2023-02-02 12:11:03 -05:00
Wes bc082dff99 Only run Zeek if it is defined as 'mdengine' 2023-02-02 16:22:42 +00:00
m0duspwnens 33787d345b Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-02-02 10:04:01 -05:00
m0duspwnens 9eae31e488 add managersearch to allowed roles for so-firewall. fix setup error from so-firewall "Please specify a role with --role=" 2023-02-02 10:03:22 -05:00
weslambert 395cbf330a Merge pull request #9706 from Security-Onion-Solutions/fix/suricata_metadata
Add Suricata metadata configuration
2023-02-02 09:54:49 -05:00
Wes 5fba3c5872 Add Suricata metadata configuration 2023-02-02 14:48:01 +00:00
m0duspwnens 3ba64f7545 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-02-02 09:31:40 -05:00
weslambert eb7b6e78b9 Merge pull request #9702 from Security-Onion-Solutions/fix/elastic_agent_integration_policy_disable
Disable loading of Kibana and Logstash integration policies
2023-02-01 16:02:56 -05:00
weslambert d242050627 Disable loading of Kibana and Logstash logs for now since there are issues with the packages from the registry 2023-02-01 15:59:35 -05:00
Josh Brower e4b10aa28c Remove endif 2023-02-01 15:47:26 -05:00
Josh Brower 1c1b079058 Change default output 2023-02-01 15:42:05 -05:00
weslambert 3dfa7959b3 Merge pull request #9698 from Security-Onion-Solutions/fix/strelka_yara_exclusion_2_4
Add 'configured_vulns_ext_vars.yar' to exclusion list
2023-02-01 14:38:38 -05:00
weslambert 2101ca60e9 Add 'configured_vulns_ext_vars.yar' to exclusion list 2023-02-01 14:25:46 -05:00
m0duspwnens 33668105a5 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-02-01 11:32:02 -05:00
m0duspwnens d2dd68eb44 add global vars for managersearch 2023-02-01 11:31:36 -05:00
Josh Brower 967a0807ad Fix typo 2023-02-01 09:16:34 -05:00
Josh Patterson 77749adc8f Merge pull request #9691 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-01-31 17:11:57 -05:00
m0duspwnens 6ec086e24a add influxdb as extra_hosts for grafana container 2023-01-31 17:10:11 -05:00
Josh Brower b8d8a5fd6b Remove default outputs 2023-01-31 17:02:41 -05:00
m0duspwnens 6f1438148f allow elastic agent access 2023-01-31 16:54:46 -05:00
m0duspwnens 12bede5e77 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-31 16:10:50 -05:00
Josh Brower 18a54b86f4 More fixes 2023-01-31 14:57:39 -05:00
weslambert 056bcd0121 Merge pull request #9683 from Security-Onion-Solutions/fix/kibana_osquery_live_query_link_remove
Remove OSQuery live query link
2023-01-31 13:38:07 -05:00
m0duspwnens 8cbafb52d8 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-31 13:32:51 -05:00
m0duspwnens 16e1e297a0 allow elasticsearch_rest 2023-01-31 13:32:33 -05:00
weslambert 98bea0322e Merge pull request #9688 from Security-Onion-Solutions/fix/elastic_agent_elasticsearch_output_typo_fix
Fix Elastic Agent Elasticsearch output typo
2023-01-31 12:57:38 -05:00
weslambert 74eed31eec Change Elasticsearch output name from 'so-manager_elasticsearch2' to 'so-manager_elasticsearch' 2023-01-31 12:55:03 -05:00
m0duspwnens aa411e2682 allow influxdb on manager and managersearch 2023-01-31 12:42:46 -05:00
weslambert cbf2bd1373 Remove OSQuery live query link 2023-01-31 10:59:17 -05:00
m0duspwnens 0ba193c7a4 allow docker_registry fw 2023-01-31 10:55:14 -05:00
m0duspwnens e09a86dc30 2.4 searchnode es config 2023-01-31 10:54:40 -05:00
m0duspwnens 8dc7a9da9e add searchnode global vars 2023-01-31 10:52:35 -05:00
Doug Burks acffc5ee07 Merge pull request #9682 from Security-Onion-Solutions/fix/suricata-dhcp-parsing-2.4
2.4: Improve Suricata DHCP parsing and dashboard
2023-01-31 10:18:41 -05:00
Doug Burks a44d83d69b Improve Suricata DHCP parsing and dashboard 2023-01-31 08:33:38 -05:00
weslambert bde828cd4f Merge pull request #9676 from Security-Onion-Solutions/fix/so-import-evtx_updates
Updates to so-import-evtx
2023-01-31 08:17:02 -05:00
weslambert 0436f885b8 Set values for '@timestamp' and 'event.ingested' 2023-01-31 08:04:49 -05:00
Wes 5472f53c9f Remove bind mount and reference the correctly named entrypoint script 2023-01-30 21:24:30 +00:00
Wes 0156784687 Add EVTX integration policy for 'so-import-evtx' 2023-01-30 21:22:37 +00:00
Wes cc100e50cd Update so-import-evtx to convert EVTX to a JSON file instead of streaming to Elasticsearch 2023-01-30 21:09:58 +00:00
weslambert b1eb16d3a2 Merge pull request #9670 from Security-Onion-Solutions/fix/elastic_agent_integration_policies_zeek_exclude_files
Remove 'prospector.scanner' prefix from 'exclude_files' configuration
2023-01-27 16:53:02 -05:00
weslambert 8240e5b20d Remove 'prospector.scanner' prefix from 'exclude_files' configuration 2023-01-27 16:46:43 -05:00
Doug Burks a13baf7bb8 Merge pull request #9669 from Security-Onion-Solutions/dougburks-patch-1
Fix typos in so-elastic-fleet-integration-policy-load
2023-01-27 15:52:47 -05:00
Doug Burks b160d0add5 Fix typos in so-elastic-fleet-integration-policy-load 2023-01-27 15:45:58 -05:00
Doug Burks 209f732176 Merge pull request #9668 from Security-Onion-Solutions/fix/elastic_agent_integration_policies_zeek
Fix syntax for Zeek Elastic Agent integration policies
2023-01-27 15:30:50 -05:00
weslambert 68fac4488e Fix syntax for Zeek integration policies 2023-01-27 15:27:15 -05:00
weslambert fa9e62a816 Merge pull request #9665 from Security-Onion-Solutions/fix/elastic_agent_integration_policy_import_suricata_event.category
Change event.category from 'file' to 'network' in Import Suricata integration policy
2023-01-27 12:03:34 -05:00
weslambert e47f64bd04 Change event.category from 'file' to 'network' 2023-01-27 12:00:30 -05:00
weslambert 6d2f379ba5 Merge pull request #9664 from Security-Onion-Solutions/fix/elastic_agent_integration_policies_zeek_exclude_files
Update Zeek file exclusions and add a minor output formatting change
2023-01-27 11:58:19 -05:00
weslambert f49627cec1 Update Zeek file exclusions and add a minor output formatting change 2023-01-27 11:47:14 -05:00
weslambert 5ab3d1e8f1 Merge pull request #9663 from Security-Onion-Solutions/fix/elastic_agent_integration_policy_zeek_import_ics_tag
Change 'pipeline' to 'import.file' so that ICS tag conditional is applied to the correct field
2023-01-27 11:34:28 -05:00
weslambert 6b251a2596 Change 'pipeline' to 'import.file' so that ICS tag conditional is applied to the correct field 2023-01-27 11:30:06 -05:00
Josh Brower 17af095e14 Fix firewall 2023-01-27 11:28:54 -05:00
weslambert 5468aa82b0 Merge pull request #9662 from Security-Onion-Solutions/fix/elasticsearch_ingest_pipeline_event.dataset_rename
Change event.dataset value for zeek.files and zeek.tunnels ingest pipelines
2023-01-27 11:19:45 -05:00
weslambert 2772b03dca Change event.dataset value from 'tunnels' to 'tunnel' 2023-01-27 11:03:49 -05:00
weslambert 716ec7f936 Change event.dataset value from 'files' to 'file' 2023-01-27 11:02:44 -05:00
Josh Brower a71cbcfc9b Pull in upstream changes 2023-01-27 07:53:53 -05:00
Josh Brower 29aa6dceed Add logstash 2023-01-27 07:49:21 -05:00
Doug Burks 83aad48e3a Merge pull request #9657 from Security-Onion-Solutions/2.4/elastic-8.6.1
UPGRADE: Elastic 8.6.1 #9594 (2.4)
2023-01-26 16:24:42 -05:00
Doug Burks 86ca51ff99 Update to Elastic 8.6.1 2023-01-26 16:18:06 -05:00
Doug Burks a27fc5c768 Update to Elastic 8.6.1 2023-01-26 16:17:36 -05:00
m0duspwnens d5b5a36f28 remove data.nodestab from searchnodes pillar 2023-01-26 16:17:33 -05:00
m0duspwnens 75d73e4620 add yum portgroups for amnager 2023-01-26 15:35:22 -05:00
m0duspwnens 2fed977692 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-26 13:55:09 -05:00
m0duspwnens f2d3298f14 allow nodes to connect to salt for manager and managersearch 2023-01-26 13:54:52 -05:00
weslambert 27b1f1bd07 Merge pull request #9654 from Security-Onion-Solutions/fix/logstash_cleanup
FIX: Logstash Pipeline Cleanup
2023-01-26 13:19:50 -05:00
Wes e4271043c6 Remove unnecessary Logstash pipelines 2023-01-26 18:05:14 +00:00
Wes b3123f7895 Remove unnecessary Logstash pipelines from the pillar 2023-01-26 17:57:07 +00:00
Mike Reeves 282d0f88db Merge pull request #9652 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update so-verify
2023-01-26 12:33:46 -05:00
Mike Reeves 25a6eba166 Update so-verify 2023-01-26 12:30:35 -05:00
weslambert a8d2631d75 Merge pull request #9650 from Security-Onion-Solutions/fix/elastic_agent_add_import_mode
Elastic Agent - Import Mode
2023-01-26 11:33:20 -05:00
Josh Patterson 881c8337a3 Merge pull request #9641 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-01-26 11:21:30 -05:00
Wes b381c5424e Remove extra whitespace after 'so-elastic-agent-builder' line in 'so-image-common' 2023-01-26 16:13:23 +00:00
Mike Reeves a9919e7547 Merge pull request #9648 from Security-Onion-Solutions/mkr24
Enable Proxy Support
2023-01-26 11:12:35 -05:00
Wes f1db1bc273 Ensure Kratos events are sent to a data stream instead of an index 2023-01-26 16:12:06 +00:00
Wes 7d68ef0e8b Add Elastic Agent and Fleet to firewall configuration for Import Mode 2023-01-26 16:07:31 +00:00
Wes 43ffcb1d63 Allow setup to set up Elastic Fleet for Import Mode 2023-01-26 16:05:16 +00:00
Wes 8051fc70eb Temporarily disable the loading of the RITA package policy 2023-01-26 16:03:59 +00:00
Wes a9a119f1ab Add Elasticsearch output to 'so-elastic-fleet-setup' for Import Mode 2023-01-26 16:02:27 +00:00
Wes 6a803dfe35 Add Elastic Fleet to top file configuration for Import Mode 2023-01-26 16:01:03 +00:00
Wes 1fb6cf7bfe Add Elastic Fleet to allowed states for Import Mode 2023-01-26 15:59:49 +00:00
m0duspwnens 1d2f491084 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-26 10:49:00 -05:00
m0duspwnens aafbdf6afc adjust retry and timeout for wait_for_influxdb 2023-01-26 10:12:37 -05:00
Mike Reeves 2456aac311 Proxy Stuff 2023-01-26 09:57:44 -05:00
m0duspwnens 08750154b4 add missing quotes in check_web_pass 2023-01-26 09:11:28 -05:00
Mike Reeves 9e146184d6 Proxy Stuff 2023-01-25 17:43:02 -05:00
Mike Reeves c57d390bac Proxy Stuff 2023-01-25 17:40:40 -05:00
weslambert 211b87e7ae Merge pull request #9644 from Security-Onion-Solutions/revert-9640-fix/elastic_agent_import_mode
Revert "Elastic Agent and Fleet - Import Mode"
2023-01-25 17:23:27 -05:00
weslambert 6ee66a34bc Revert "Elastic Agent and Fleet - Import Mode" 2023-01-25 17:12:03 -05:00
weslambert 6785e0ec9e Merge pull request #9640 from Security-Onion-Solutions/fix/elastic_agent_import_mode
Elastic Agent and Fleet - Import Mode
2023-01-25 17:01:33 -05:00
weslambert c73cd78f08 Merge pull request #9643 from Security-Onion-Solutions/2.4/dev
Merge Dev
2023-01-25 16:59:47 -05:00
m0duspwnens 790aa6b684 add logstash pillar items for minions 2023-01-25 15:18:56 -05:00
Wes 5c58cda872 Move certificate configuration outside of conditional logic 2023-01-25 19:29:50 +00:00
m0duspwnens b7a5937dc1 add soc_logstash and adv_logstash to nodes in pillar/top 2023-01-25 14:04:36 -05:00
Mike Reeves 31f591a098 Merge pull request #9635 from Security-Onion-Solutions/mkr24
Ubuntu support changes
2023-01-25 13:34:44 -05:00
Wes c3717dae67 Add Elastic Fleet firewall configuration for Import Mode 2023-01-25 18:27:00 +00:00
Mike Reeves 498301b111 Salt for Ubuntu 2023-01-25 12:00:19 -05:00
Mike Reeves 704d99e757 Salt for Ubuntu 2023-01-25 11:50:19 -05:00
Mike Reeves 9243b01cbb Salt for Ubuntu 2023-01-25 11:44:22 -05:00
Jason Ertel c9f18891b2 Merge pull request #9639 from Security-Onion-Solutions/kilo
auto extract source/dest IP on case related event attachments; improve so-verify stream to console
2023-01-25 11:37:16 -05:00
Wes 86a925e1c7 Download Elastic Agent images for Import Mode 2023-01-25 16:09:12 +00:00
Jason Ertel 31d7e05c45 refactor so-verify to ensure output streams to console 2023-01-25 10:59:50 -05:00
Wes 838beabae5 Add missing single quote for Elastic Agent Elasticsearch output 2023-01-25 15:58:06 +00:00
m0duspwnens 3f99e3402e add elasticsearch pillar files to manager and adv_elasticsearch to those that had soc_elasticsearch 2023-01-25 10:53:58 -05:00
Wes c46b5e734b Add 'elastic-fleet' to the list of allowed states for Import Mode 2023-01-25 14:38:23 +00:00
m0duspwnens 1b3f50a463 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-25 09:22:17 -05:00
Wes 1414b75e01 Allow 'elastic-fleet' state to be applied for Import Mode 2023-01-25 14:07:25 +00:00
Wes 506baa854d Configure Elasticsearch output if running Import Mode 2023-01-25 13:52:54 +00:00
weslambert 4868bd8f5e Merge pull request #9638 from Security-Onion-Solutions/fix/elastic_agent_integration_kratos_data_stream_rename
Rename Kratos Data Stream
2023-01-25 08:45:37 -05:00
weslambert c9f458e1e2 Set event.dataset for all Kratos logs to 'access' for now 2023-01-25 08:19:50 -05:00
weslambert 7bf9d77962 Rename Kratos data stream 2023-01-25 08:18:21 -05:00
m0duspwnens d1460ae01f add node_data.ips pillar. grab influx host ip for soc extra_hosts 2023-01-24 17:05:40 -05:00
Mike Reeves 161881efbb Salt for Ubuntu 2023-01-24 16:25:26 -05:00
Mike Reeves d5f8ea8661 Salt for Ubuntu 2023-01-24 16:05:16 -05:00
Mike Reeves 53d6823ba7 Salt for Ubuntu 2023-01-24 16:00:03 -05:00
Mike Reeves 5a223981ca Salt for Ubuntu 2023-01-24 15:57:05 -05:00
Mike Reeves 177ddc1183 Salt for Ubuntu 2023-01-24 15:48:48 -05:00
Mike Reeves 20f7a77886 Salt for Ubuntu 2023-01-24 15:43:12 -05:00
Mike Reeves b89e7efeea Salt for Ubuntu 2023-01-24 15:30:46 -05:00
weslambert 3f9764d22d Merge pull request #9633 from Security-Onion-Solutions/fix/elastic_agent_more_improvements
More Elastic Agent Integration Improvements
2023-01-24 15:16:52 -05:00
Mike Reeves a048034f16 Salt for Ubuntu 2023-01-24 13:38:39 -05:00
Josh Brower 81ee333b07 Initial support - Elastic Fleet Node 2023-01-24 13:36:30 -05:00
Jason Ertel 7b1f867ac3 Add defaults for auto extracted observables 2023-01-24 13:17:50 -05:00
Wes 4b9c92c53d Set RITA event.dataset value explicitly 2023-01-24 18:00:34 +00:00
Wes 38ead7cb82 Remove import tag for now 2023-01-24 17:58:19 +00:00
Wes 44d149b1c3 Allow imported data to use a tag of 'import' 2023-01-24 17:01:52 +00:00
Wes 1e5377c78a Condense RITA integration policies, add ICS tags, and improve output readability 2023-01-24 16:56:20 +00:00
m0duspwnens b23575d85e add global vars for manager 2023-01-24 11:03:03 -05:00
Jason Ertel b0709e93fa test workflow 2023-01-24 10:50:52 -05:00
Jason Ertel fd7d51a59b Merge pull request #9630 from Security-Onion-Solutions/kilo
Kilo
2023-01-24 10:45:12 -05:00
Jason Ertel 0dc5e7e714 try paths with wildcard 2023-01-24 10:38:59 -05:00
Jason Ertel 62b96c3698 rework filter for action 2023-01-24 10:31:02 -05:00
Jason Ertel ec2e923530 Add proper spacing between headers and content 2023-01-24 10:28:39 -05:00
Jason Ertel 2bffd9b473 Merge pull request #9628 from Security-Onion-Solutions/kilo
try paths filter on both even though docs only mention support for push
2023-01-24 10:27:30 -05:00
Jason Ertel cfc232eafa try paths filter on both even though docs only mention support for push 2023-01-24 10:23:42 -05:00
m0duspwnens 6d3f57d648 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-24 10:17:24 -05:00
m0duspwnens 50895ee304 need to set_minion_info in setup for each node type 2023-01-24 10:16:58 -05:00
weslambert 7e0e5071d9 Merge pull request #9627 from Security-Onion-Solutions/fix/elastic_agent_integration_improvements
Elastic Agent Integration Improvements
2023-01-24 10:10:01 -05:00
Mike Reeves 2da30f42d4 Check for Ubuntu 2023-01-24 10:07:32 -05:00
Wes 7b4d8a47f0 Add copyright header to 'so-elastic-fleet-*' scripts 2023-01-24 15:07:00 +00:00
Josh Patterson 095ca29aca Merge pull request #9626 from Security-Onion-Solutions/2.4/firewall
change MASTER to MANAGER in so-minion
2023-01-24 09:46:17 -05:00
Wes f19cf75311 Change how event.dataset is determined for Suricata events 2023-01-24 14:45:00 +00:00
m0duspwnens ee98e0684e change MASTER to MANAGER 2023-01-24 09:44:01 -05:00
Josh Patterson b797e356b4 Merge pull request #9624 from Security-Onion-Solutions/2.4/firewall
remove filebeat and redis(commented out) from telegraf config
2023-01-24 09:01:59 -05:00
m0duspwnens 88107fe0df remove filebeat and redis(commented out) from telegraf config 2023-01-24 08:59:51 -05:00
Wes 51692ac66c Update index pattern in various template definitions to match new data stream naming convention 2023-01-23 21:52:44 +00:00
Wes 40c6b380df Update Import and Zeek integration policies; also update Zeek ingest node pipelines to set event.dataset. 2023-01-23 21:44:46 +00:00
Wes d342f3c4b8 Add 'so-elastic-fleet-integration-policy-bulk-delete' to perform bulk deletion of integration policies 2023-01-23 21:38:13 +00:00
Josh Patterson a503632f30 Merge pull request #9620 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-01-23 15:56:53 -05:00
m0duspwnens d1ec7c8ace remove to match with 2.4/dev 2023-01-23 15:50:53 -05:00
Jason Ertel 5da1b03d9b Merge pull request #9619 from Security-Onion-Solutions/kilo
switch MySQL 8 to use native password for playbook compat; fix so-verify mail inspection
2023-01-23 15:14:00 -05:00
Jason Ertel 5a016312f6 switch MySQL 8 to use native password to avoid playbook incompatibility 2023-01-23 14:53:39 -05:00
m0duspwnens 90a224793e merge with 2.4dev and fix conflict 2023-01-23 14:49:32 -05:00
m0duspwnens 22fbb953ea create cronjob to run highstate after setup 2023-01-23 14:46:26 -05:00
Jason Ertel d421aa82a2 do not treat all installs as ISO; fix check for non-empty mail files 2023-01-23 14:04:26 -05:00
Josh Patterson 1039e77550 Merge pull request #9617 from Security-Onion-Solutions/2.4/firewall
allow elastic agent on sensors to connect to managers
2023-01-23 13:19:49 -05:00
Mike Reeves f077b5c96d Remove 18.04 2023-01-23 13:11:50 -05:00
Josh Brower f811223ba7 Merge pull request #9614 from Security-Onion-Solutions/playbookfixup
Playbookfixup
2023-01-23 08:20:06 -05:00
Josh Brower d3cb57bba2 Rerun the playbook state 2023-01-23 08:16:28 -05:00
m0duspwnens a1fa4e3ef2 revert reload_modules since bugged 2023-01-20 15:43:57 -05:00
Josh Brower 1ab8c712e4 remove exit condition 2023-01-20 15:17:04 -05:00
Jason Ertel a613d960b9 Merge pull request #9608 from Security-Onion-Solutions/kilo
setup improvements
2023-01-20 13:11:11 -05:00
Jason Ertel 9541214073 logCmd with tee is eating the exit code 2023-01-20 12:26:52 -05:00
Jason Ertel 56478da0b2 eliminate find/exec issue altogether to keep it simple 2023-01-20 11:58:29 -05:00
Jason Ertel c3384d8381 further improvements 2023-01-20 11:23:13 -05:00
Jason Ertel 1e4f9c9f26 use newer find syntax to allow the exec to work inside a quoted string 2023-01-20 11:01:02 -05:00
Jason Ertel fea4a1b33d Merge branch '2.4/dev' into kilo 2023-01-20 10:33:17 -05:00
Jason Ertel ece63b72e2 Ensure so-verify output is logged 2023-01-20 07:38:58 -05:00
Jason Ertel 46aa7ebdf3 correct find/exec syntax 2023-01-20 06:48:33 -05:00
weslambert 9c83b775ee Merge pull request #9604 from Security-Onion-Solutions/feature/sensoroni_scripts
Add scripts for starting, stopping, and restarting Sensoroni
2023-01-19 16:59:29 -05:00
Wes 739c174898 Add scripts for starting, stopping, and restarting Sensoroni 2023-01-19 21:50:10 +00:00
Jason Ertel 4044706cd9 Merge pull request #9603 from Security-Onion-Solutions/kilo
Handle setup failures
2023-01-19 15:49:41 -05:00
Jason Ertel 79fb5dc525 prevent false success occurring when deleting the grafana dashboard 2023-01-19 14:19:55 -05:00
Jason Ertel 59177288ef correct grep patterns 2023-01-19 13:56:14 -05:00
Jason Ertel 85b5d1b317 Merge branch '2.4/dev' into kilo 2023-01-19 12:53:36 -05:00
Jason Ertel 6b7a8e1fcd fix verify path 2023-01-19 12:53:24 -05:00
Josh Brower 027c83b5ea Merge pull request #9601 from Security-Onion-Solutions/disablecontainer
Fixup
2023-01-19 11:47:04 -05:00
Josh Brower 4369d2385b Temp disable Elastic Registry Repo 2023-01-19 11:45:13 -05:00
Jason Ertel c5260e4787 verify setup 2023-01-19 11:25:59 -05:00
Jason Ertel 35835edf96 Merge branch '2.4/dev' into kilo 2023-01-19 11:04:32 -05:00
weslambert 8c4e00cfbd Merge pull request #9600 from Security-Onion-Solutions/fix/elasticsearch_template_logs_default_remove
Remove default "logs-*" template settings for now
2023-01-19 10:30:44 -05:00
weslambert 7d3f6121eb Remove default "logs-*" template settings for now 2023-01-19 10:29:10 -05:00
Jason Ertel 05c7999df3 merge 2023-01-19 10:06:58 -05:00
Jason Ertel 05a6d702b0 Add logic to determine if setup succeeded and provide relevant output 2023-01-19 10:03:03 -05:00
Josh Brower 8ce96942c1 Merge pull request #9599 from Security-Onion-Solutions/disablecontainer
Temp disable Elastic Registry Repo
2023-01-19 07:27:51 -05:00
Josh Brower e83e54936e Temp disable Elastic Registry Repo 2023-01-19 07:25:25 -05:00
weslambert 90f3e33cc6 Merge pull request #9597 from Security-Onion-Solutions/fix/elasticsearch_template_logs_default_priority_modification
Modify default 'logs-*' Elasticsearch template priority
2023-01-18 17:30:52 -05:00
weslambert 7a499c9051 Modify default 'logs-*' template priority 2023-01-18 17:24:07 -05:00
m0duspwnens 1eafb8d62a reload salt modules when docker is installed 2023-01-18 13:46:06 -05:00
m0duspwnens d501b0fac9 add elastic agent to assigned hostgroups 2023-01-18 09:46:55 -05:00
weslambert 1bf088e976 Merge pull request #9591 from Security-Onion-Solutions/fix/kibana_basepath_rewrite_disable
Disable Kibana's native base path rewrite and add publicBaseUrl
2023-01-17 16:59:06 -05:00
weslambert 1fed3cf474 Disable Kibana's native base path rewrite and add publicBaseUrl 2023-01-17 16:54:31 -05:00
Josh Patterson e0f8315d27 Merge pull request #9590 from Security-Onion-Solutions/2.4/firewall
create /opt/so/ for non manager nodes during setup
2023-01-17 15:36:34 -05:00
m0duspwnens dbfe176b45 create /opt/so/ for non manager nodes during setup 2023-01-17 14:15:44 -05:00
Josh Patterson 2842178396 Merge pull request #9588 from Security-Onion-Solutions/2.4/firewall
fix iptables
2023-01-17 13:50:16 -05:00
m0duspwnens aa858bab45 fix iptables 2023-01-17 13:48:39 -05:00
weslambert 1723f58c04 Merge pull request #9579 from Security-Onion-Solutions/fix/elasticsearch_templates_so-ids
Remove so-ids since the data stream is now 'logs-suricata-*'
2023-01-13 16:17:38 -05:00
weslambert ca80548bf0 Remove so-ids since the data stream is now 'logs-suricata-*' 2023-01-13 16:15:58 -05:00
weslambert 3e5127810d Merge pull request #9577 from Security-Onion-Solutions/fix/elasticsearch_elastic_agent_templates
Make sure Elastic Agent data streams do not use replicas
2023-01-13 16:12:09 -05:00
weslambert 73a4dae28e Make sure Elastic Agent data streams do not use replicas 2023-01-13 16:10:44 -05:00
Josh Patterson 3efca0010a Merge pull request #9573 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-01-13 12:41:58 -05:00
m0duspwnens 3653df4d5f spell it right 2023-01-13 10:18:13 -05:00
m0duspwnens 6033e9a0de use port_bindings from docker defaults in docker states 2023-01-13 10:15:10 -05:00
weslambert 7cba5626b7 Merge pull request #9570 from Security-Onion-Solutions/fix/elasticsearch_templates_elastic_agent
Change priority for Elastic Agent Elasticsearch index templates
2023-01-12 16:48:12 -05:00
m0duspwnens a69b0951d3 add strelka containers 2023-01-12 16:47:34 -05:00
weslambert 654d869e3e Change priority from 500 to 200 for Elastic Agent index templates to avoid collisions with other templates 2023-01-12 16:46:08 -05:00
m0duspwnens d163d834d4 allow for binding ip and ports to different port number 2023-01-12 16:42:45 -05:00
weslambert be6b42494c Merge pull request #9569 from Security-Onion-Solutions/fix/elasticsearch_ingest_pipeline_kratos
Kratos Index Changes
2023-01-12 15:33:51 -05:00
weslambert fb8d8ea972 Update Elasticsearch index template for Kratos 2023-01-12 15:31:41 -05:00
weslambert 9416552338 Don't set the Kratos index explicitly 2023-01-12 15:25:35 -05:00
Mike Reeves 6c8b17d4d1 Merge pull request #9567 from Security-Onion-Solutions/mkr24
Fix nsm
2023-01-12 10:43:42 -05:00
Mike Reeves 8c5a060a80 Fix nsm 2023-01-12 10:41:54 -05:00
weslambert 66f9a06458 Merge pull request #9566 from Security-Onion-Solutions/fix/elastic_fleet_integration_policy_load
Fix Zeek import policies and remove unnecessary dash in RITAENABLED statement
2023-01-11 16:17:40 -05:00
Wes 0e437f84e7 Add back echo statement to print the import policy being loaded 2023-01-11 21:13:30 +00:00
Wes ea01e68846 Fix Zeek import policies and remove unnecessary dash in RITAENABLED statement 2023-01-11 21:01:31 +00:00
Josh Patterson add71cbdee Merge pull request #9565 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-01-11 15:04:25 -05:00
Mike Reeves 60d476457a Merge pull request #9564 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update 0900_input_redis.conf.jinja
2023-01-11 14:54:40 -05:00
m0duspwnens 80f65fcd62 remove 514/tcp from filebeat for now 2023-01-11 14:54:05 -05:00
Mike Reeves 66924b63a7 Update 9999_output_redis.conf.jinja 2023-01-11 14:53:16 -05:00
Mike Reeves bdaed849ea Update 0900_input_redis.conf.jinja 2023-01-11 14:52:32 -05:00
m0duspwnens 0d45c1583e add so-filebeat docker container ports and add to standalone 2023-01-11 14:48:20 -05:00
m0duspwnens 81e07997f0 add so-elastic-fleet docker container ports and add to standalone 2023-01-11 14:28:35 -05:00
Mike Reeves 4923fb1c35 Merge pull request #9563 from Security-Onion-Solutions/mkr24
Optimize reinstall process
2023-01-11 12:44:52 -05:00
Mike Reeves 8fa8b89d9c Fix reinstall logic 2023-01-11 12:43:22 -05:00
Mike Reeves bab010a109 Fix reinstall logic 2023-01-11 12:40:18 -05:00
Mike Reeves c07821a612 Fix reinstall logic 2023-01-11 12:32:43 -05:00
weslambert acad7acc4a Merge pull request #9562 from Security-Onion-Solutions/fix/elastic_agent_integration_policy_load_suricata_import
Move Suricata import policy definition so that it does not get caught in the for loop for Zeek policies
2023-01-11 12:27:37 -05:00
Mike Reeves b36f1bc79e Fix reinstall logic 2023-01-11 12:26:50 -05:00
weslambert 4391c22335 Move Suricata import policy definition so that it does not get caught in the for loop for Zeek policies 2023-01-11 12:23:50 -05:00
weslambert 39d1f07fab Merge pull request #9561 from Security-Onion-Solutions/fix/filebeat_remove_module_setup
Remove pipeline.load from top.sls so that Filebeat module loading is not attempted
2023-01-11 12:21:39 -05:00
Mike Reeves 35e0a78cad Fix reinstall logic 2023-01-11 12:20:57 -05:00
weslambert b3e0183e39 Remove pipeline.load from top.sls so that Filebeat module loading is not attempted 2023-01-11 12:19:06 -05:00
Mike Reeves 708ba13721 Fix reinstall logic 2023-01-11 12:18:02 -05:00
Mike Reeves eee433e8c4 Fix reinstall logic 2023-01-11 12:17:13 -05:00
Mike Reeves cd57ff9820 Fix reinstall logic 2023-01-11 12:16:18 -05:00
Mike Reeves 6d1e6fc358 Fix reinstall logic 2023-01-11 12:15:21 -05:00
Mike Reeves 0531d369aa Fix reinstall logic 2023-01-11 11:09:06 -05:00
Mike Reeves 55911ef649 Fix reinstall logic 2023-01-11 11:05:01 -05:00
weslambert 355953427c Merge pull request #9553 from Security-Onion-Solutions/feature/filebeat_to_elastic_agent_conversion
Initial Conversion of Filebeat Inputs to Elastic Agent Inputs
2023-01-11 09:22:40 -05:00
Wes 52b620b137 Add additional conditional logic for Filebeat and disable Filebeat 2023-01-11 14:10:11 +00:00
Wes 33e2affb1d Remove newlines from end of Syslog processor definitions 2023-01-11 14:08:28 +00:00
Wes c3b83f1fc8 Update template settings to use data streams 2023-01-11 14:03:11 +00:00
Wes 5062dd2873 Suricata Elasticsearch ingest node pipeline changes - set 'alert' dataset 2023-01-11 14:02:09 +00:00
Wes 2e886d0c55 Remove data_index_name processor since we are using data streams 2023-01-11 13:58:38 +00:00
Wes 5d86edeed4 Modify Logstash Elastic Agent output to accomodate for events with and without 'metadata.pipeline' 2023-01-11 13:57:32 +00:00
Wes caf0ea6b53 Add Elastic Agent policy view script 2023-01-11 13:56:21 +00:00
Wes a146f1134e Add Elastic Agent utility scripts 2023-01-11 13:54:42 +00:00
Mike Reeves 7cecc910d5 Merge pull request #9458 from Security-Onion-Solutions/2.4/firewall
2.4/firewall
2023-01-11 08:49:15 -05:00
Doug Burks 668fe10fc0 Merge pull request #9552 from Security-Onion-Solutions/fix/import-unnecessary-processes
Prevent unnecessary processes in Import Mode
2023-01-11 08:07:40 -05:00
m0duspwnens 76fff1b1e0 add logstash ports 2023-01-10 17:02:54 -05:00
Josh Patterson 5993d06896 Merge pull request #9548 from Security-Onion-Solutions/2.4minefunctionsconf
Update so-functions
2023-01-10 16:58:09 -05:00
Josh Patterson 64af393f40 Update so-functions
change MAININT to MNIC
2023-01-10 16:57:17 -05:00
Doug Burks c15db73561 Avoid unnecessary Zeek processes in Import Mode 2023-01-10 16:48:47 -05:00
Doug Burks 554754421c Avoid unecessary Suricata processes in Import Mode 2023-01-10 16:48:06 -05:00
Doug Burks 322efa304a Avoid unnecessary processes in Import Mode 2023-01-10 16:47:18 -05:00
Mike Reeves 9995d06626 Merge branch '2.4/firewall' of https://github.com/Security-Onion-Solutions/securityonion into 2.4/firewall 2023-01-10 16:09:04 -05:00
Mike Reeves ab3a7abcc7 run restore each time 2023-01-10 16:08:44 -05:00
Josh Patterson f039ecb5ce Merge pull request #9547 from Security-Onion-Solutions/2.4/dev
2.4/dev
2023-01-10 13:42:44 -05:00
Mike Reeves 38962520ac Merge pull request #9546 from Security-Onion-Solutions/2.4minefunctionsconf
Update so-functions
2023-01-10 13:39:56 -05:00
Josh Patterson 0151830c85 Update so-functions 2023-01-10 13:37:56 -05:00
Mike Reeves 85978180c2 Merge pull request #9545 from Security-Onion-Solutions/revert-9544-2.4createrepoinstall
Revert "ensure yum-utils and createrepo are installed from so remote repo"
2023-01-10 13:13:31 -05:00
Mike Reeves d3b8fbaafc Revert "ensure yum-utils and createrepo are installed from so remote repo" 2023-01-10 13:13:13 -05:00
Josh Patterson 745387a756 Merge pull request #9544 from Security-Onion-Solutions/2.4createrepoinstall
ensure yum-utils and createrepo are installed from so remote repo
2023-01-10 11:53:36 -05:00
m0duspwnens 39d808cb8f resolve conflict 2023-01-10 11:50:58 -05:00
Josh Patterson ab8f41ecb5 Merge branch '2.4/firewall' into 2.4createrepoinstall 2023-01-10 11:38:31 -05:00
m0duspwnens d2e623747d ensure yum-utils and createrepo are installed from so remote repo 2023-01-10 11:34:50 -05:00
Mike Reeves 3e9bddcd11 Changes to iptables.jinja 2023-01-09 15:36:23 -05:00
Mike Reeves 302bf28b6c Merge branch '2.4/firewall' of https://github.com/Security-Onion-Solutions/securityonion into 2.4/firewall 2023-01-09 15:00:05 -05:00
Mike Reeves 5058210bbb Changes to iptables.jinja 2023-01-09 14:59:55 -05:00
m0duspwnens ac157432de include docker 2023-01-09 14:58:36 -05:00
m0duspwnens ec5c565cec put elastalert on sosbridge 2023-01-09 14:49:33 -05:00
m0duspwnens dbbcea0009 look for True 2023-01-09 11:53:32 -05:00
m0duspwnens c313b19b50 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall 2023-01-09 11:18:08 -05:00
Mike Reeves 73ae48d28e Merge pull request #9539 from Security-Onion-Solutions/mkr24
Changes to accept minion
2023-01-09 11:17:45 -05:00
Mike Reeves 0e1e9ff343 Changes to accept minion 2023-01-09 11:15:29 -05:00
Doug Burks c3a5a02010 Merge pull request #9529 from Security-Onion-Solutions/dougburks-patch-1
Add missing Zeek log to filebeat defaults.yaml
2023-01-06 14:34:02 -05:00
Doug Burks c1dfb9f935 Add missing Zeek log to filebeat defaults.yaml 2023-01-06 14:27:40 -05:00
Doug Burks 54e554eb3b Merge pull request #9528 from Security-Onion-Solutions/dougburks-patch-1
Remove line numbers from vi
2023-01-06 14:25:19 -05:00
Doug Burks 10e82c5f1c Remove line numbers from vi 2023-01-06 14:23:54 -05:00
m0duspwnens d4c6834cd0 merge with 2.4/dev 2023-01-06 14:01:58 -05:00
m0duspwnens 4aacc6d1db change role names in so-firewall-minion 2023-01-06 11:09:09 -05:00
m0duspwnens cb1822a62d change ref to DOCKER.sosrange 2023-01-05 15:57:06 -05:00
m0duspwnens f10238da42 fw changes 2023-01-04 16:06:14 -05:00
Mike Reeves 2e53476a06 Merge pull request #9516 from Security-Onion-Solutions/mkr24
Add PW auth for Redis
2023-01-04 14:50:27 -05:00
Mike Reeves 275aead5b9 Allow auth for redis check for tgraf 2023-01-04 14:30:28 -05:00
Mike Reeves e52b54720a Allow auth for redis check for tgraf 2023-01-04 14:26:24 -05:00
Mike Reeves 5afad52b3f Allow auth for redis check for tgraf 2023-01-04 14:18:08 -05:00
Mike Reeves 9bc08661c5 Allow auth for redis check for tgraf 2023-01-04 14:15:53 -05:00
Mike Reeves 48a3f4e261 Allow auth for redis check for tgraf 2023-01-04 14:14:10 -05:00
Doug Burks 723362e685 Merge pull request #9514 from Security-Onion-Solutions/fix/jinja-whitespace-2.4
fix jinja whitespace 2.4
2023-01-04 13:56:24 -05:00
doug 7ba4bdd87b fix jinja whitespace 2023-01-04 13:50:25 -05:00
Mike Reeves 831300b540 Require password auth for redis access 2023-01-04 11:02:40 -05:00
Doug Burks 4c1fc4c679 Merge pull request #9511 from Security-Onion-Solutions/fix/sysmon-fields-2.4
Improve default sysmon fields and add new network_connection fields
2023-01-04 07:58:16 -05:00
Doug Burks 5754365c6d Improve default sysmon fields and add new network_connection fields 2023-01-04 07:42:24 -05:00
Mike Reeves 761fbd0edf Merge pull request #9504 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update soc_global.yaml
2023-01-03 12:24:58 -05:00
Mike Reeves 08d7b24fb4 Update soc_global.yaml 2023-01-03 12:17:51 -05:00
Mike Reeves df89445ab5 Update soc_global.yaml 2023-01-03 12:17:14 -05:00
m0duspwnens 203e612452 enable icc and hostbinding on sosbridge 2023-01-03 11:21:05 -05:00
weslambert 2c3bd6e3fd Merge pull request #9502 from Security-Onion-Solutions/fix/elasticsearch_ingest_pipeline_rita_beacon_2_4
Update RITA beacon parsing
2023-01-03 11:14:04 -05:00
m0duspwnens c35a3e122f add ip to container.add containers to sosbridge 2023-01-03 11:13:50 -05:00
Wes c8ff2c7a06 Update RITA beacon parsing 2023-01-03 16:03:49 +00:00
Doug Burks 3c91d842f5 Merge pull request #9499 from Security-Onion-Solutions/fix/sysmon-parsing-2.4
FIX: Sysmon logs are missing event.category and event.dataset #8194
2023-01-03 09:05:55 -05:00
doug 4e5d1d587e update sysmon ingest parser and Sysmon File dashboard 2023-01-03 09:02:17 -05:00
Jason Ertel 8d797ad9df Merge pull request #9490 from Security-Onion-Solutions/kilo
Ensure create/update dates are both reset when an admin sets a user pass
2022-12-30 11:47:01 -05:00
Jason Ertel a89976779d Ensure create/update dates are both reset when an admin sets a user's password 2022-12-30 11:30:09 -05:00
Mike Reeves 058b4013aa Merge pull request #9470 from Security-Onion-Solutions/kilo
Kilo
2022-12-23 10:37:22 -05:00
Jason Ertel 136867c96a ensure zombie pipe is destroyed before SOC restarts 2022-12-23 10:27:49 -05:00
Mike Reeves 1b946ced7f Merge pull request #9469 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update soc_global.yaml
2022-12-23 08:58:07 -05:00
Mike Reeves 75ffd1f56b Update soc_global.yaml 2022-12-23 08:55:19 -05:00
Doug Burks f335e7e477 Merge pull request #9466 from Security-Onion-Solutions/2.4/fix-grafana-playbook-links
Remove Grafana and Playbook links for Import mode
2022-12-22 16:09:46 -05:00
Doug Burks 5be074bbea Remove Grafana and Playbook links for Import mode 2022-12-22 15:45:25 -05:00
m0duspwnens 24876eecd9 change refs from sosnet to sosbridge 2022-12-22 14:02:40 -05:00
Mike Reeves 3f0ded0638 Merge pull request #9464 from Security-Onion-Solutions/mkr24
Add global annotation and influx support
2022-12-22 13:57:56 -05:00
Mike Reeves cd77e71d8d Create annotation file for global settings 2022-12-22 13:37:41 -05:00
Mike Reeves 78f851e6c2 Create annotation file for global settings 2022-12-22 13:35:37 -05:00
Doug Burks b02ba7edf7 Merge pull request #9463 from Security-Onion-Solutions/2.4/fix-grafana-eval
Enable Grafana in EVAL mode
2022-12-22 13:30:54 -05:00
m0duspwnens 90882ce1db disable docker from managing iptables 2022-12-22 13:26:10 -05:00
Mike Reeves a924d48408 Specify Influxdb host 2022-12-22 13:12:19 -05:00
Mike Reeves 308228620a Specify Influxdb host 2022-12-22 13:05:33 -05:00
Mike Reeves 4620cd5edf Merge pull request #9462 from Security-Onion-Solutions/mkr24
Modify manager for repo
2022-12-22 13:01:58 -05:00
Doug Burks 2df4755fef Enable Grafana in EVAL mode 2022-12-22 12:54:57 -05:00
Mike Reeves cf02b8e191 Modify manager for repo 2022-12-22 10:34:33 -05:00
Jason Ertel a077645bb4 Merge branch '2.4/dev' into kilo 2022-12-22 10:27:13 -05:00
Jason Ertel b6f37f8499 Correct indentation of client section 2022-12-22 10:26:51 -05:00
Doug Burks f1d31a0c41 Merge pull request #9459 from Security-Onion-Solutions/2.4/fix-influxdb-telegraf
Make influxdb and telegraf consistent across import and eval modes
2022-12-22 10:26:36 -05:00
Doug Burks e95034886e add influxdb and telegraf to import mode 2022-12-22 09:49:57 -05:00
Doug Burks 9352854fe4 enable influxdb for eval and import modes 2022-12-22 09:48:38 -05:00
Doug Burks 75e16963c8 add influxdb and telegraf to import mode 2022-12-22 09:47:47 -05:00
Doug Burks dfd5947051 add influxdb and telegraf to import mode 2022-12-22 09:46:27 -05:00
m0duspwnens b4908e2bb9 add iptables.jinja 2022-12-22 09:31:45 -05:00
Jason Ertel ba13ad7151 Merge pull request #9454 from Security-Onion-Solutions/kilo
fix redis defaults to force string keys instead of numeric
2022-12-21 18:16:40 -05:00
Jason Ertel 38634fde17 fix redis defaults to force string keys instead of numeric 2022-12-21 18:15:17 -05:00
Jason Ertel 8b6006e9c3 fix redis defaults to force string keys instead of numeric 2022-12-21 18:14:18 -05:00
Jason Ertel 3fd210463e fix redis defaults to force string keys instead of numeric 2022-12-21 18:11:39 -05:00
Doug Burks f99279ca24 Merge pull request #9453 from Security-Onion-Solutions/feature/improve-dashboards-2.4
FEATURE: Improve SOC Dashboards #9450 2.4
2022-12-21 15:46:11 -05:00
Doug Burks 69415a0d8d Improve Strelka dashboard 2022-12-21 15:34:35 -05:00
Doug Burks 506556f0d2 Improve Firewall dashboard 2022-12-21 15:29:09 -05:00
Doug Burks d7b2c88201 Improve Software dashboard 2022-12-21 15:24:58 -05:00
Doug Burks 4519c533a2 Improve Intel dashboard 2022-12-21 15:20:27 -05:00
Josh Patterson 8d35e0120e Merge pull request #9451 from Security-Onion-Solutions/2.4/so-kibana-config-load
need space between curl.config and -X
2022-12-21 15:11:54 -05:00
m0duspwnens 6d6fa4c1e3 need space between curl.config and -X 2022-12-21 15:06:56 -05:00
m0duspwnens accc293c8a 2.4 firewall changes 2022-12-21 15:03:45 -05:00
Doug Burks 3a367d69f4 Improve FTP dashboard 2022-12-21 14:37:17 -05:00
Doug Burks a4f1f75306 Improve NIDS Alerts dashboard 2022-12-21 14:33:01 -05:00
Jason Ertel 5a5c565fae Merge pull request #9449 from Security-Onion-Solutions/kilo
Ensure user/pass values are quoted due to symbol chars appearing in values
2022-12-21 14:02:38 -05:00
Jason Ertel 0889d49025 Ensure user/pass values are quoted due to symbol chars appearing in the values 2022-12-21 14:00:10 -05:00
Doug Burks 3d1ce4ef10 Improve SOC dashboards 2022-12-21 13:26:04 -05:00
Jason Ertel 33a1aea729 Merge pull request #9448 from Security-Onion-Solutions/kilo
improve so-status rendering on terminals that only support 8 colors
2022-12-21 10:14:47 -05:00
Jason Ertel 8e63909edf improve so-status rendering on terminals that only support 8 colors 2022-12-21 10:11:38 -05:00
Mike Reeves ab9edd4e6b Merge pull request #9421 from Security-Onion-Solutions/mkr24
Redis defaults.yaml
2022-12-21 09:15:49 -05:00
Mike Reeves aa7690864a Modify redis config defaults 2022-12-20 22:05:04 -05:00
Mike Reeves e1d0f99a14 Modify redis config defaults 2022-12-20 22:00:10 -05:00
Mike Reeves 38e23a0110 Modify Kratos config defaults 2022-12-20 21:21:18 -05:00
Mike Reeves 3768c0fee2 Fix Redis 2022-12-20 21:16:53 -05:00
Mike Reeves 8c6a2ce83a Fix Kratos mode 2022-12-20 21:00:06 -05:00
Mike Reeves 9428949c79 Fix Kratos top 2022-12-20 20:56:06 -05:00
Mike Reeves 90061e2683 Fix Kratos top 2022-12-20 20:54:43 -05:00
Mike Reeves c3917a373c Fix Kratos top 2022-12-20 20:52:01 -05:00
m0duspwnens 318aac880e file.managed for kratos schema 2022-12-20 17:40:29 -05:00
m0duspwnens 16b882a10e new states for kratos config and schema 2022-12-20 15:34:58 -05:00
Mike Reeves eaa705ee3e Fix Kratos Pillar entry 2022-12-20 14:38:17 -05:00
Jason Ertel 2edc3cac11 Clarify Kratos annotations 2022-12-20 14:08:49 -05:00
Mike Reeves 13e5fa7544 SOC files for Kratos 2022-12-20 13:30:51 -05:00
m0duspwnens a2d0de7e49 kratos config jinja 2022-12-20 12:15:33 -05:00
Josh Brower f7150d423c Merge pull request #9440 from Security-Onion-Solutions/fleet-setup-fixes
Make Fleet setup less fragile
2022-12-20 11:55:14 -05:00
Josh Brower 73a9c3bb38 Make Fleet setup less fragile 2022-12-20 11:52:56 -05:00
Doug Burks 03f682dbec Merge pull request #9439 from Security-Onion-Solutions/2.4/remove-old-whiptail
Remove whiptail_network_init_notice
2022-12-20 11:16:24 -05:00
Mike Reeves c0c2d28d19 SOC files for Redis 2022-12-20 11:09:49 -05:00
Doug Burks 1371c4d01f remove whiptail_network_init_notice from so-whiptail 2022-12-20 10:46:14 -05:00
Doug Burks 388e0a08ae remove old whiptail reference from so-functions 2022-12-20 10:45:30 -05:00
Doug Burks 6487e6e1f0 remove old whiptail reference from so-setup 2022-12-20 10:44:37 -05:00
Doug Burks d4c54ce161 Merge pull request #9438 from Security-Onion-Solutions/dougburks-patch-1
so-status should ignore commented entries in so-status.conf
2022-12-20 09:16:21 -05:00
Doug Burks 894434715b so-status should ignore commented entries in so-status.conf
Import mode comments out so-steno, so-suricata, and so-zeek in so-status.conf, so so-status should ignore these lines.
2022-12-20 09:05:07 -05:00
Doug Burks 86fc0e11b0 Merge pull request #9436 from Security-Onion-Solutions/2.4/improve-import
Import mode does not need Elastic Fleet or Playbook
2022-12-20 07:32:24 -05:00
Doug Burks 69811b4d74 Import mode does not need Elastic Fleet or Playbook 2022-12-20 06:46:01 -05:00
Doug Burks 316d2cd9a5 Merge pull request #9435 from Security-Onion-Solutions/2.4/fix-import
Fix Import Mode in 2.4
2022-12-20 06:13:37 -05:00
doug cd55be2f83 move IMPORT to top of list 2022-12-19 16:58:43 -05:00
doug 9d8951ceb8 fix import 2022-12-19 16:55:16 -05:00
Doug Burks 7168c4f91a fix import in so-setup 2022-12-19 16:48:35 -05:00
Mike Reeves aea91cc776 Merge branch 'mkr24' of https://github.com/Security-Onion-Solutions/securityonion into mkr24 2022-12-19 16:21:47 -05:00
Mike Reeves 74af54a200 SOC file for influx 2022-12-19 16:16:48 -05:00
m0duspwnens 6a4718ec0f merge defaults with pillar 2022-12-19 15:55:35 -05:00
m0duspwnens 30419e5b2b fix import and jinja spacing 2022-12-19 14:51:12 -05:00
m0duspwnens ce0b920195 jinja conf for influxdb 2022-12-19 14:44:52 -05:00
m0duspwnens e5d38255fa jinja conf for influxdb 2022-12-19 14:42:48 -05:00
Josh Brower b901efc90d Merge pull request #9434 from Security-Onion-Solutions/2.4/allow-editing-efpolicies
Unmanage default policies
2022-12-19 14:33:16 -05:00
Josh Brower 6d07ab0c40 Unmanage default policies 2022-12-19 14:27:36 -05:00
Mike Reeves c20f8c230b Initial SOC file for influx 2022-12-19 14:02:01 -05:00
Doug Burks cf884c68a7 Merge pull request #9433 from Security-Onion-Solutions/dougburks-patch-1
Remove another hardcoded docs URL
2022-12-19 13:16:42 -05:00
Doug Burks 0494efaea0 remove temporary message 2022-12-19 13:15:02 -05:00
Mike Reeves 149038d08e pillar tops 2022-12-19 12:06:45 -05:00
Mike Reeves fde65db021 Add influx pillars during setup 2022-12-19 12:03:00 -05:00
Mike Reeves 61bfeb82d9 fix defaults for influx 2022-12-19 11:01:19 -05:00
Mike Reeves 56f326d123 fix defaults for influx 2022-12-19 10:46:39 -05:00
Doug Burks d7b47814dc Merge pull request #9432 from Security-Onion-Solutions/2.4/refactor-docs-url
2.4: Refactor docs URL
2022-12-19 10:43:22 -05:00
Mike Reeves d9343d8450 fix defaults for redis 2022-12-19 10:38:11 -05:00
Mike Reeves 42157ff2b1 fix defaults for redis 2022-12-19 10:36:35 -05:00
Doug Burks df1b564d17 Replace hardcoded URL in so-analyst-install with new $DOC_BASE_URL variable from so-common 2022-12-19 10:30:29 -05:00
Doug Burks 73f2789c95 Replace hardcoded URLs in soup with new $DOC_BASE_URL variable from so-common 2022-12-19 10:28:20 -05:00
m0duspwnens 3c00d67879 fix redis defaults 2022-12-19 10:24:28 -05:00
Doug Burks a28f804f7f Replace hardcoded URLs with new $DOC_BASE_URL variable from so-common 2022-12-19 10:24:03 -05:00
Doug Burks 042693895a add new DOC_BASE_URL variable to so-common 2022-12-19 10:21:54 -05:00
m0duspwnens 01d6b2b1f1 jinja the redis config 2022-12-19 10:14:48 -05:00
weslambert c220c322ef Merge pull request #9431 from Security-Onion-Solutions/fix/elasticsearch_templates_elastic_agent
Remove 'so-' prefix for Elastic Agent/Fleet component templates
2022-12-19 10:14:39 -05:00
weslambert fd1be0ab2c Remove 'so-' prefix for Elastic Agent/Fleet component templates 2022-12-19 10:11:26 -05:00
Mike Reeves 4c90c1af12 Add defaults for redis 2022-12-18 18:07:02 -05:00
Doug Burks c25a828dd2 Merge pull request #9417 from Security-Onion-Solutions/2.4/eval
Fix EVAL mode in 2.4
2022-12-16 16:39:46 -05:00
Doug Burks 0fa6ca3880 init.sls needs to import GLOBALS 2022-12-16 15:59:17 -05:00
Jason Ertel 1b42965a6d Merge pull request #9416 from Security-Onion-Solutions/jertel/lic
license key format change and eventFields dedup
2022-12-16 15:58:08 -05:00
Jason Ertel fa7488effb change format of license key for compat with config alignment 2022-12-16 15:56:02 -05:00
Mike Reeves 93a8b76070 Add defaults for influxdb 2022-12-16 15:17:25 -05:00
Doug Burks 490e97b49f Merge pull request #9415 from Security-Onion-Solutions/2.4/dev
2.4/dev
2022-12-16 15:07:39 -05:00
Doug Burks 4384b83b65 Merge pull request #9412 from Security-Onion-Solutions/dougburks-patch-1
fix telegraf_pillar
2022-12-16 13:51:32 -05:00
Doug Burks 9c4d441b4d fix telegraf_pillar 2022-12-16 13:36:26 -05:00
doug b9e51fc7cf first round of fixes for eval mode 2022-12-16 13:24:02 -05:00
Doug Burks 93056e802f remove old comment 2022-12-16 13:17:27 -05:00
Mike Reeves 3f4ad8b983 Merge pull request #9411 from Security-Onion-Solutions/mkr24
Change telegraf to match config map standard
2022-12-16 13:10:15 -05:00
Jason Ertel b37697e95d Switch license key to single line to avoid multiline/list conflicts 2022-12-16 12:50:22 -05:00
Mike Reeves 676aec7576 Add config map 2022-12-16 11:22:53 -05:00
Mike Reeves b5cc5a023d Merge pull request #9410 from Security-Onion-Solutions/mkr24
Add Telegraf to the GUI for 2.4
2022-12-16 08:44:57 -05:00
Mike Reeves 5badfb9cf5 Fix pillar 2022-12-16 08:38:31 -05:00
Jason Ertel 7853d972b6 Set default key to empty string to ensure new keys are type aligned correctly 2022-12-15 18:31:47 -05:00
Mike Reeves 8a0991afd0 Fix pillar 2022-12-15 15:05:57 -05:00
Jason Ertel f84ceca03e consolidate eventFields from hunt and dashbaords into a single setting 2022-12-15 14:22:23 -05:00
Mike Reeves 6b3149f4e9 Fix the pillar top 2022-12-15 14:03:21 -05:00
Mike Reeves 175f413beb Minor gui tweak 2022-12-15 13:36:00 -05:00
Mike Reeves 121d07733f Merge the defaults and pillar for telegraf 2022-12-15 13:29:31 -05:00
Mike Reeves e55086230d Merge the defaults and pillar for telegraf 2022-12-15 13:28:29 -05:00
Mike Reeves d37a4b14ca Spelling error 2022-12-15 12:02:01 -05:00
Mike Reeves fd27044471 Spelling error 2022-12-15 11:57:06 -05:00
Mike Reeves ed87b08fc1 Spelling error 2022-12-15 10:59:07 -05:00
Mike Reeves 5d732872d6 Add soc gui info for telegraf 2022-12-15 10:51:22 -05:00
Mike Reeves 28e8c54443 Wire telegraf initial commit 2022-12-15 10:43:58 -05:00
Jason Ertel 6a73410be9 Merge pull request #9394 from Security-Onion-Solutions/jertel/mvkr
move Kratos DB to /nsm
2022-12-14 15:00:44 -05:00
Jason Ertel 52c4553ea6 move Kratos DB to /nsm 2022-12-14 14:28:34 -05:00
Jason Ertel 9885f418fa move Kratos DB to /nsm 2022-12-14 14:22:55 -05:00
Mike Reeves c79457b41d Merge pull request #9386 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update config.map.jinja
2022-12-13 13:56:14 -05:00
Mike Reeves 6352b3fd53 Update config.map.jinja 2022-12-13 13:55:09 -05:00
Doug Burks 61c976f8a6 Merge pull request #9384 from Security-Onion-Solutions/2.4/streamline-setup
miscellaneous improvements for 2.4
2022-12-13 13:43:31 -05:00
Doug Burks 07df9ad0e0 FIX: so-import utilities should hyperlink to dashboards #9373 2022-12-13 13:30:38 -05:00
Doug Burks ca3c99ac99 FIX: so-import utilities should hyperlink to dashboards #9373 2022-12-13 13:29:59 -05:00
doug 6eedae601f improve welcome screen 2022-12-13 12:35:43 -05:00
doug d58579d916 improve grammar 2022-12-13 12:05:02 -05:00
weslambert 09b012ad4e Merge pull request #9372 from Security-Onion-Solutions/fix/sensoroni_analyzers_configuration_check_2_4
Fix localfile analyzer 'file_path' check and add new list value verification function for helpers
2022-12-13 11:47:18 -05:00
doug 0072cc42db add extra newline 2022-12-13 11:34:29 -05:00
doug 0f84f419b2 fix sizing 2022-12-13 11:31:12 -05:00
Wes 3ab8a0be60 Update tests to account for change in 'file_path' value verification 2022-12-13 16:29:18 +00:00
Wes eae05e83e6 Use new list verification function for 'file_path' 2022-12-13 16:28:50 +00:00
Wes 117d230b9d Add new test for list value verification function 2022-12-13 16:28:22 +00:00
Wes 5422c5b3e2 Add new function to verify list value 2022-12-13 16:27:58 +00:00
doug d3a8bdff52 setup improvements 2022-12-13 11:20:00 -05:00
Doug Burks f94eb243e4 Merge pull request #9367 from Security-Onion-Solutions/dougburks-patch-1
Upgrade to Elastic 8.5.3
2022-12-13 10:14:41 -05:00
Doug Burks 3dd4e31f49 Upgrade to Elastic 8.5.3 in config_saved_objects.ndjson 2022-12-13 10:07:52 -05:00
Doug Burks 2004184b72 Upgrade to Elastic 8.5.3 in so-kibana-config-load 2022-12-13 10:06:23 -05:00
Doug Burks ed8bf884eb Merge pull request #9355 from Security-Onion-Solutions/fix/2.4-ics
Fix ICS and other issues in 2.4
2022-12-12 09:18:14 -05:00
Doug Burks e1d200e6ce Remove duplicate TDS dashboard from defaults.yaml 2022-12-11 14:39:08 -05:00
Doug Burks 72f71ba695 Fix TDS dashboard in defaults.yaml 2022-12-11 14:36:27 -05:00
Doug Burks be75062612 Update so-import-pcap 2022-12-10 15:17:02 -05:00
Doug Burks da8e098655 update so-import-evtx 2022-12-10 15:16:32 -05:00
Doug Burks cb16bd36fb fix descriptions in defaults.yaml 2022-12-10 14:31:59 -05:00
Doug Burks cf7d8076e9 remove old Wazuh Hunt queries in defaults.yaml 2022-12-10 14:21:58 -05:00
Doug Burks cd664b2d39 remove old Modbus dashboard from defaults.yaml 2022-12-10 14:16:39 -05:00
Doug Burks 7f07a94a98 remove old DNP3 and Wazuh dashboards from defaults.yaml 2022-12-10 14:14:24 -05:00
Doug Burks 8a0f94f8df increase window width to accommodate extra text in so-whiptail 2022-12-10 11:24:11 -05:00
Doug Burks 66ad10cf77 fix airgap text in so-whiptail 2022-12-10 10:41:30 -05:00
Doug Burks de2427cabe add -p option to mkdir in so-elastic-fleet-setup 2022-12-10 08:20:38 -05:00
Doug Burks 187ca4c453 Update soc defaults.yaml to include dnp3_control and dnp3_objects eventfields 2022-12-10 07:33:09 -05:00
Doug Burks c4ea39d1ba Merge pull request #9349 from Security-Onion-Solutions/fix/2.4-ics
2.4: Fix multiple ICS issues and keep import indices open as in 2.3
2022-12-09 15:09:49 -05:00
doug c2e10a4359 remove duplicate import iteration from so-functions 2022-12-09 11:00:06 -05:00
doug 90093395b6 keep so-import indices open as in 2.3 2022-12-09 10:23:09 -05:00
doug 565ca4e94f keep so-import indices open as in 2.3 2022-12-09 08:49:25 -05:00
weslambert 69c7bb11c6 Merge pull request #9343 from Security-Onion-Solutions/fix/analyzers_localfile_file_path
FIX: Ensure file path is ascertainable by localfile.py for localfile analyzer
2022-12-08 17:08:19 -05:00
weslambert 9477f29432 Remove double quotes to fix issue with file path sourcing from 'localfile.py' 2022-12-08 17:06:43 -05:00
doug 5c00ab7b7f correct order in defaults.yaml 2022-12-08 16:50:34 -05:00
doug 07a4919cd3 remove old opcua files 2022-12-08 16:43:11 -05:00
doug 7cfb688890 update defaults.yaml 2022-12-08 16:32:04 -05:00
Doug Burks cf53242cf8 Merge pull request #9334 from Security-Onion-Solutions/dougburks-patch-1
update wording in so-whiptail
2022-12-08 10:43:22 -05:00
Doug Burks c01486b009 update wording in so-whiptail 2022-12-08 10:32:03 -05:00
Mike Reeves 8af9dddd2e Merge pull request #9326 from Security-Onion-Solutions/config
Switch back to older style redirect due to incompatibility with Ubuntu 18
2022-12-07 14:10:23 -05:00
Jason Ertel 0bbc68edae Switch back to older style redirect due to incompatibility with Ub 18 2022-12-07 14:08:11 -05:00
Jason Ertel ef3def156d Switch back to older style redirect due to incompatibility with Ubuntu 18 2022-12-07 14:03:31 -05:00
Mike Reeves 71e0d7c499 Merge pull request #9325 from Security-Onion-Solutions/config
Switch back to grep instead of pgrep
2022-12-07 12:13:27 -05:00
Jason Ertel 9f72cfa1fc roll back to grep instead of pgrep due to cron issue 2022-12-07 12:08:31 -05:00
Jason Ertel fde33de030 Use original style due to pgrep conflict with cron 2022-12-07 11:51:49 -05:00
Jason Ertel d1f554723a Merge pull request #9317 from Security-Onion-Solutions/config
Reduce cron noise; ensure filecheck is restarted if modified
2022-12-07 08:41:04 -05:00
Jason Ertel e849783a86 Reduce cron noise; ensure filecheck is restarted if modified 2022-12-07 08:36:56 -05:00
weslambert 2240283457 Merge pull request #9316 from Security-Onion-Solutions/fix/ics_scada_filebeat_disable_ecat_arp_info
Disable Filebeat input for 'ecat_arp_info' Zeek logs
2022-12-07 08:08:42 -05:00
weslambert def0c85349 Disable Filebeat input for 'ecat_arp_info' Zeek logs 2022-12-07 08:00:21 -05:00
weslambert 31832ae150 Merge pull request #9309 from Security-Onion-Solutions/fix/ignore_additional_strelka_rules_causing_compilation_errors
Ignore additional rules causing YARA compilation errors
2022-12-06 14:01:14 -05:00
weslambert 7ce0924382 Ignore additional rules causing compilation errors 2022-12-06 13:59:21 -05:00
weslambert 73304e049c Merge pull request #9304 from Security-Onion-Solutions/feature/ics_scada_additions
Port STUN, TDS, WireGuard, and ICS/SCADA Changes from 2.3 to 2.4
2022-12-06 13:14:47 -05:00
weslambert a626acced0 Add new ICS/SCADA event fields to the dashboards section of the configuration and remove extra space in key names. 2022-12-06 13:11:55 -05:00
Jason Ertel 6443e702a5 Merge pull request #9305 from Security-Onion-Solutions/config
Filecheck support for Suricata
2022-12-06 12:53:19 -05:00
Jason Ertel 88410bc8f8 Merge branch '2.4/dev' into config 2022-12-06 12:38:43 -05:00
Jason Ertel 168cd00e1b Handle suricata extracted with filecheck 2022-12-06 12:34:02 -05:00
Wes 1b5c1fecd4 Revert SOC default 'alerts' event fields and specify additional event fields for ICS/SCADA events 2022-12-06 17:28:30 +00:00
Wes b048eec3c0 Add STUN, TDS, WireGuard, and ICS/SCADA dashboard queries 2022-12-06 17:17:49 +00:00
Wes f44eee134a Add default queries and ICS/SCADA queries 2022-12-06 16:52:20 +00:00
Wes c741fe6b4d Ensure ICS/SCADA plugins/scripts are enabled 2022-12-06 16:23:26 +00:00
Wes be5775e4a0 Ensure Filebeat defaults file is updated with ICS/SCADA log references 2022-12-06 16:15:09 +00:00
Wes 499b5d95f2 Add 'ics' tag for 'bsap'-prefixed events/logs 2022-12-06 16:01:57 +00:00
Wes 14af1d36cb Ensure ICS/SCADA pipelines are present 2022-12-06 15:58:47 +00:00
Jason Ertel fd13c7ccc0 Additional metadata for soc 2022-12-05 09:03:22 -05:00
Mike Reeves 7e102949a6 Merge pull request #9268 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update init.sls
2022-12-02 12:58:12 -05:00
Mike Reeves f083b3867b Update init.sls 2022-12-02 09:40:35 -05:00
Mike Reeves 55444288bc Merge pull request #9254 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update filecheck
2022-11-30 11:04:18 -05:00
Mike Reeves f83545c556 Update filecheck 2022-11-30 11:02:56 -05:00
weslambert 117a3d486a Merge pull request #9210 from Security-Onion-Solutions/fix/add_missing_opcua_activate_session_pipelines_2_4
Add Missing OPCUA Activate Session Pipelines
2022-11-22 16:01:45 -05:00
Wes 7f324bc47e Remove extra space used during testing 2022-11-22 20:52:08 +00:00
Wes a6bc5b108f Add missing OPCUA 'activate_session' pipelines 2022-11-22 20:51:44 +00:00
weslambert 090f8309c2 Merge pull request #9207 from Security-Onion-Solutions/fix/ingest_typos_2_4
Fix spelling of 'wireguard.responses' field name
2022-11-22 15:36:04 -05:00
m0duspwnens b95a83b016 Merge remote-tracking branch 'remotes/origin/2.4/dev' into dockerips 2022-11-22 14:17:19 -05:00
m0duspwnens b05839bb93 use single quote 2022-11-22 13:07:58 -05:00
weslambert 356904f751 Fix spelling of 'wireguard.responses' field name 2022-11-22 13:03:04 -05:00
weslambert f9cc7888f4 Merge pull request #9204 from Security-Onion-Solutions/fix/ics_ingest_field_names_2_4
Fix ICS Ingest Field Names
2022-11-22 12:30:17 -05:00
weslambert 6b77843e52 Fix format/speliing for 'enip.status_code' field name 2022-11-22 12:07:55 -05:00
weslambert 13faf63770 Fix spelling for 'stun.class' field name 2022-11-22 12:07:15 -05:00
m0duspwnens 6d89d58c50 ensure createrepo and yum-utils is installed from so repo 2022-11-22 11:10:30 -05:00
m0duspwnens 4b6b42f9b9 dont try to add sosnet if it exists 2022-11-22 10:19:18 -05:00
weslambert b801997709 Merge pull request #9196 from Security-Onion-Solutions/fix/missing_ics_pipelines_2_4
Add COTP and TDS ingest pipelines
2022-11-22 08:44:19 -05:00
Wes a38e312df4 Add COTP and TDS ingest pipelines 2022-11-22 13:36:27 +00:00
weslambert bde899e7cb Merge pull request #9194 from Security-Onion-Solutions/fix/ics_tag_syntax_error_2_4
Fix syntax error for 'ics' tag logic
2022-11-22 07:32:54 -05:00
weslambert d2bc1a5523 Fix syntax error for 'ics' tag logic 2022-11-22 07:24:54 -05:00
weslambert 68efd817e0 Merge pull request #9189 from Security-Onion-Solutions/feature/filebeat_config_ics_event_tag_2_4
Add 'ics' tag to events generated from ICS protocol logs
2022-11-21 17:06:14 -05:00
weslambert fe180d5657 Fix indentation 2022-11-21 17:02:17 -05:00
weslambert 9994d47a43 Add 'ics' tag to events generated from ICS protocol logs 2022-11-21 16:46:47 -05:00
Doug Burks 6e1e6e15e8 Merge pull request #9186 from Security-Onion-Solutions/dougburks-patch-2
Add ICS/SCADA logs to filebeat defaults.yaml
2022-11-21 13:30:35 -05:00
Doug Burks febb781428 Add ICS/SCADA logs to filebeat defaults.yaml 2022-11-21 12:10:55 -05:00
weslambert 061f0b0595 Merge pull request #9159 from Security-Onion-Solutions/feature/additional_ics_scada_ingest_pipelines_2_4
Add additional ICS/SCADA ingest node pipelines
2022-11-21 10:32:00 -05:00
Doug Burks 5a0fe6050b Merge pull request #9179 from Security-Onion-Solutions/dougburks-patch-2
Simplify version in README.md to just 2.4
2022-11-21 08:46:33 -05:00
Doug Burks 778ee4b00f Simplify version in README.md to just 2.4 2022-11-21 08:39:18 -05:00
Jason Ertel 5f59ae52d5 Merge pull request #9162 from Security-Onion-Solutions/config
Config
2022-11-17 11:50:35 -05:00
Wes 05b9a067fd Add additional ICS/SCADA ingest node pipelines 2022-11-17 16:03:21 +00:00
Jason Ertel ed9aa5b73f Ensure filecheck is up by checking every minute 2022-11-17 10:48:53 -05:00
Jason Ertel 7f7e5474ed Add more logging for filecheck monitoring, and ensure scripts are accessible to salt-relay 2022-11-17 10:43:05 -05:00
Jason Ertel 0ffef75d7b Move background jobs to cron 2022-11-17 09:50:41 -05:00
Jason Ertel c572848ece temporarily remove filecheck for debug purposes 2022-11-17 08:06:24 -05:00
Jason Ertel 7cd5d625d1 temporarily remove salt-pipe for debug purposes 2022-11-16 20:45:50 -05:00
Jason Ertel 4497037442 Use bg:True to send cmd to background 2022-11-16 20:03:54 -05:00
weslambert c14c8c1306 Merge pull request #9154 from Security-Onion-Solutions/fix/ics_scada_ingest_pipeline_updates_2_4
Update ingest node pipelines for ICS/SCADA protocols
2022-11-16 16:17:19 -05:00
Wes 638a3568b0 Update ingest node pipelines for ICS/SCADA protocols 2022-11-16 21:11:21 +00:00
m0duspwnens d97e13b473 add /24 back to default bip, rever daemon.json 2022-11-16 14:47:40 -05:00
m0duspwnens a3b505971b remove /24 from docker bip 2022-11-16 12:51:43 -05:00
Josh Brower 98af16055c Merge pull request #9151 from Security-Onion-Solutions/2.4/elasticfleet-ag
Initial support for Elastic Fleet Package Registry
2022-11-16 08:45:29 -05:00
Josh Brower 8db49feb32 Use our docker image 2022-11-16 08:24:25 -05:00
m0duspwnens 9ffde8bff5 ensure options are strings 2022-11-15 17:46:08 -05:00
m0duspwnens 19f043cfe2 add some options for sosnet 2022-11-15 17:39:08 -05:00
m0duspwnens 54e4749ddf remove comma 2022-11-15 17:30:55 -05:00
m0duspwnens d246aa6a80 we dont need default network config 2022-11-15 17:14:33 -05:00
m0duspwnens 75825617da add soc to sosnet 2022-11-15 17:13:25 -05:00
m0duspwnens edd993fd82 change dupe soc to elastalert 2022-11-15 16:02:17 -05:00
Mike Reeves 813e59aa61 Add statics 2022-11-15 13:23:35 -05:00
Josh Brower 48d191b656 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/elasticfleet-ag 2022-11-15 12:13:05 -05:00
Josh Patterson a371c89f38 Update top.sls 2022-11-15 11:52:51 -05:00
Josh Patterson 1c242fb7f3 Update top.sls 2022-11-15 11:52:25 -05:00
Josh Patterson c0afcca87a Update init.sls 2022-11-15 11:16:18 -05:00
Mike Reeves 591616fe5b Add statics to all containers 2022-11-15 11:05:17 -05:00
Mike Reeves efc8621524 Fix some settings and add all defaults 2022-11-15 10:31:37 -05:00
Mike Reeves 6016b0e38a Add dynamic ability for IP range for sosnet 2022-11-14 20:20:38 -05:00
Mike Reeves e41361e127 Add Docker IP Skeleton 2022-11-14 17:43:14 -05:00
Mike Reeves a40e10da83 Add Docker IP Skeleton 2022-11-14 17:41:38 -05:00
Mike Reeves 3378f58300 Add Docker IP Skeleton 2022-11-14 17:07:42 -05:00
Mike Reeves a2d3b95e92 Add Docker IP Skeleton 2022-11-14 13:04:31 -05:00
Mike Reeves 5c50fdb74c Add Docker IP Skeleton 2022-11-14 13:00:56 -05:00
Mike Reeves f1135342a9 Add Docker IP Skeleton 2022-11-14 11:17:48 -05:00
Doug Burks a2da8e5e08 Merge pull request #9129 from Security-Onion-Solutions/dougburks-patch-1
fix descriptions in files related to analyzers
2022-11-12 19:26:34 +00:00
Doug Burks 632464335f fix descriptions in files related to analyzers 2022-11-12 13:14:02 -05:00
Doug Burks f77db78219 fix descriptions in files related to analyzers 2022-11-12 13:13:30 -05:00
Doug Burks 2f4ce91678 fix descriptions in files related to analyzers 2022-11-12 13:12:58 -05:00
Doug Burks 154dff98de fix descriptions in files related to analyzers 2022-11-12 13:12:23 -05:00
Doug Burks a15ca3cc49 fix descriptions in files related to analyzers 2022-11-12 13:11:38 -05:00
Doug Burks a6ad7fa3ac Merge pull request #9125 from Security-Onion-Solutions/dougburks-patch-2
FIX: Avoid deprecation warning in Zeek file extraction script #9123
2022-11-11 21:33:43 +00:00
Doug Burks 40f5bb25ef FIX: Avoid deprecation warning in Zeek file extraction script #9123 2022-11-11 16:28:23 -05:00
Josh Patterson 7420c31411 Merge pull request #9096 from Security-Onion-Solutions/salt3005.1_2.4
roll back to salt 3004.2
2022-11-08 15:47:00 -05:00
m0duspwnens 00cb0f5abb roll back to salt 3004.2 2022-11-08 15:45:18 -05:00
Mike Reeves bf31b593ed Merge pull request #9055 from Security-Onion-Solutions/strelkastuff
Strelkastuff
2022-11-08 13:45:42 -05:00
Josh Patterson 4870b4b91f Merge pull request #9095 from Security-Onion-Solutions/salt3005.1_2.4
upgrade to salt 3005.1
2022-11-08 13:45:24 -05:00
m0duspwnens 1a678064dc upgrade to salt 3005.1 2022-11-08 13:42:24 -05:00
Josh Brower c389944e5c Initial support for Elastic Package Registry 2022-11-08 09:56:53 -05:00
Mike Reeves de19a4dc53 Add Strelka Filecheck 2022-11-02 10:04:33 -04:00
Mike Reeves d97de9fd0d Add Strelka Filecheck 2022-11-02 10:02:21 -04:00
Mike Reeves bf5df1ac51 Add Strelka Filecheck 2022-11-02 09:57:07 -04:00
Mike Reeves 225c33e5c9 Add Strelka Filecheck 2022-11-02 09:46:23 -04:00
Mike Reeves 4187363451 Add Strelka Filecheck 2022-11-02 09:44:08 -04:00
Doug Burks f3fc52dd2c Merge pull request #9041 from Security-Onion-Solutions/dougburks-patch-1
https://github.com/Security-Onion-Solutions/securityonion/pull/8952
2022-11-01 13:40:51 +00:00
Doug Burks 2030f08b54 https://github.com/Security-Onion-Solutions/securityonion/pull/8952 2022-11-01 09:35:53 -04:00
Jason Ertel 55f22af758 Merge pull request #9017 from Security-Onion-Solutions/config
Retry so-user commands if another process is currently using so-user
2022-10-27 15:41:37 -04:00
Jason Ertel 35fab05bdd Retry so-user commands if another process is currently using so-user 2022-10-27 15:25:08 -04:00
Jason Ertel d7b370e31b Merge pull request #9010 from Security-Onion-Solutions/config
regex should match entire input against allowed logLevel values
2022-10-27 13:17:51 -04:00
Josh Patterson c6ebe5c8dd Merge pull request #9016 from Security-Onion-Solutions/patch2.4
Patch2.4
2022-10-27 13:07:54 -04:00
m0duspwnens 8af0334c3c Merge remote-tracking branch 'remotes/origin/2.4/dev' into patch2.4 2022-10-27 11:08:32 -04:00
m0duspwnens 6525e0f201 setup no longer add patch pillar to minion 2022-10-27 10:56:29 -04:00
m0duspwnens a95c2a690a add defaults and map for patch state 2022-10-27 10:54:29 -04:00
Jason Ertel 6347532dd8 regex should match entire input against allowed logLevel values 2022-10-26 18:48:20 -04:00
weslambert 8b0ea7104f Merge pull request #9003 from Security-Onion-Solutions/fix/remove_ja3er_references
Remove JA3er references
2022-10-26 10:37:45 -04:00
weslambert 0ede5a7313 Remove JA3er references 2022-10-26 10:24:25 -04:00
weslambert 409b8c276e Merge pull request #8999 from Security-Onion-Solutions/fix/sensoroni_analyzers_pyyaml_wheel_name
Fix PyYAML .whl file name and remove JA3er analyzer
2022-10-25 15:32:20 -04:00
Wes 803d2d4d75 Add PyYAML .whl files back since they were 'deleted' in the previous commit 2022-10-25 19:15:54 +00:00
Wes 0267ece4bf Fix PyYAML .whl file name and remove JA3er analyzer 2022-10-25 19:11:52 +00:00
Josh Patterson d148febc99 Merge pull request #8967 from Security-Onion-Solutions/curator2.4
add line space
2022-10-21 11:56:01 -04:00
m0duspwnens 8c5197c2ea add line space 2022-10-21 11:49:01 -04:00
Josh Patterson 8197017b6c Merge pull request #8966 from Security-Onion-Solutions/curator2.4
Curator2.4
2022-10-21 11:26:51 -04:00
m0duspwnens 8b5c79fb39 add so-kratos and so-ossec to curator defaults 2022-10-21 11:21:03 -04:00
m0duspwnens 71eaa715b6 update jinja 2022-10-21 11:09:52 -04:00
m0duspwnens c880be8d45 use curator defaults.yaml merged with pillar for actions 2022-10-21 10:38:32 -04:00
Josh Patterson 3af271a13c Merge pull request #8930 from Security-Onion-Solutions/statesglobals
Statesglobals
2022-10-17 16:06:42 -04:00
m0duspwnens 998870ac87 Merge remote-tracking branch 'remotes/origin/2.4/dev' into statesglobals 2022-10-17 15:58:44 -04:00
m0duspwnens b089a58243 use registry_host instead of manager 2022-10-17 15:53:29 -04:00
m0duspwnens 09b7af2998 fix typo 2022-10-17 15:50:48 -04:00
m0duspwnens deba743ef0 fix elasticsearch auth globals 2022-10-13 13:54:52 -04:00
m0duspwnens 04b4030eb6 only add elasticsearch.auth to elasticsearch global var if auth exists 2022-10-13 12:31:41 -04:00
Doug Burks 7ede0c3c76 Merge pull request #8915 from Security-Onion-Solutions/dougburks-patch-2
Remove destination_geo.organization_name from Sysmon Network sankey diagram
2022-10-13 13:04:23 +00:00
Doug Burks f6151b3895 Remove destination_geo.organization_name from Sysmon Network sankey diagram 2022-10-13 09:03:10 -04:00
Jason Ertel fd6bea92da Merge pull request #8913 from Security-Onion-Solutions/config
retry up to 25 minutes if APT is locked by an unattended upgrade. This is an increase from 8 minutes.
2022-10-13 07:01:00 -04:00
Jason Ertel 1c23d91a3b retry up to 25 minutes if APT is locked by an unattended upgrade. This is an increase from 8 minutes. 2022-10-13 06:57:17 -04:00
m0duspwnens 78b496a689 fix mine_functions.conf 2022-10-12 16:03:44 -04:00
m0duspwnens 95f7cb6bcd change file_mode to mode 2022-10-12 14:21:55 -04:00
m0duspwnens eed3746ebc fix some globals 2022-10-12 13:39:37 -04:00
m0duspwnens 6a17f201a2 changes for backup state 2022-10-12 11:31:42 -04:00
weslambert 078213ddb3 Merge pull request #8898 from Security-Onion-Solutions/feature/elastic-agent-configuration-log-package
Add log package for Fleet to allow for custom log ingestion
2022-10-11 12:14:15 -04:00
weslambert dd09ce7aab Add log package for Fleet to allow for custom log ingestion 2022-10-11 12:00:57 -04:00
m0duspwnens b526532ab6 use global vars in states 2022-10-11 11:57:15 -04:00
Doug Burks 2c5038aa9c Merge pull request #8879 from Security-Onion-Solutions/2.4/improve-sysmon-dashboards
improve sysmon dashboards
2022-10-07 16:46:51 +00:00
doug d65fde9536 improve sysmon dashboards 2022-10-07 12:23:40 -04:00
weslambert 8437592bb5 Merge pull request #8869 from Security-Onion-Solutions/feature/elastic-8.4.3
Elastic 8.4.3
2022-10-06 16:03:36 -04:00
weslambert bee1b06f76 Update to Kibana 8.4.3 2022-10-06 15:14:43 -04:00
weslambert 985e1728d7 Update to Kibana 8.4.3 2022-10-06 15:13:27 -04:00
Mike Reeves 46bdd1acad Merge pull request #8837 from Security-Onion-Solutions/config
Add SOC annotations
2022-10-03 08:46:46 -04:00
Jason Ertel 0fdec03fa9 use yaml anchor to avoid duplicated annotations 2022-09-30 15:15:35 -04:00
Jason Ertel 30a23a4cd0 Add SOC annotations 2022-09-30 15:00:08 -04:00
Jason Ertel fe62744c05 Merge pull request #8825 from Security-Onion-Solutions/config
resolve inode issue with soc_users_roles when deleting a user; other minor improvements
2022-09-27 17:38:20 -04:00
Jason Ertel 5708f3595e Avoid overwriting the file inode since it's mapped into a running container 2022-09-27 17:27:28 -04:00
Jason Ertel e519548557 add logLevel default and annotation for quick access to enabling debug logs 2022-09-27 16:55:28 -04:00
Jason Ertel 981371c72f log salt-relay responses for troubleshooting assistance 2022-09-27 16:48:47 -04:00
Jason Ertel 16d24d4bc9 Merge pull request #8822 from Security-Onion-Solutions/config
user management / sync
2022-09-27 11:14:32 -04:00
Jason Ertel 53b4f01921 replace quotes on minion arg 2022-09-27 10:54:08 -04:00
Jason Ertel 851e44e5fa ensure salt-relay is restarted when SOC is manually restarted 2022-09-27 10:31:14 -04:00
Jason Ertel 7f7f2c15d0 add support for querying active salt jobs (future use) 2022-09-27 10:29:21 -04:00
Josh Patterson 004fa8167e Merge pull request #8821 from Security-Onion-Solutions/fix/soc2.4
Fix/soc2.4
2022-09-27 10:15:04 -04:00
m0duspwnens 6bd4860f19 fix path 2022-09-27 09:57:01 -04:00
m0duspwnens 42b03ca6df add missing soc things 2022-09-27 09:53:48 -04:00
Jason Ertel 556ddc2ee4 sync in background 2022-09-27 09:24:34 -04:00
Jason Ertel 8e175b2d3f add manual sync 2022-09-27 07:05:04 -04:00
Mike Reeves e032a9f449 Merge pull request #8816 from Security-Onion-Solutions/funstuff 2022-09-26 18:15:14 -04:00
Mike Reeves 2066efcabf Add Rules to sync 2022-09-26 17:18:28 -04:00
Mike Reeves 37c98c14cd Fix zeek logs in filebeat 2022-09-26 17:11:10 -04:00
Mike Reeves aa7dd47b00 Fix zeek logs in filebeat 2022-09-26 17:01:44 -04:00
Doug Burks ea8d9362ae Merge pull request #8813 from Security-Onion-Solutions/dougburks-patch-1
Change managing-rules.html to rules.html in soc_idstools.yaml
2022-09-26 19:00:41 +00:00
Doug Burks 80201f1465 Change managing-rules.html to rules.html in soc_idstools.yaml 2022-09-26 14:58:51 -04:00
Jason Ertel 0ad1a1a262 so-user and salt-relay updates for user management 2022-09-26 14:57:33 -04:00
Doug Burks 1b13e454f8 Merge pull request #8812 from Security-Onion-Solutions/2.4/dev-fix-screenshots
fix screenshots in README.md
2022-09-26 17:49:10 +00:00
doug 97a6b3c2f3 fix screenshots 2022-09-26 13:46:46 -04:00
Josh Brower 97f42dcce5 Merge pull request #8811 from Security-Onion-Solutions/2.4/elastic-fleet
Live Query - View in Hunt fix
2022-09-26 09:35:12 -04:00
Josh Brower a0b579019f Live Query - View in Hunt fix 2022-09-26 09:27:09 -04:00
Doug Burks 4e5eb1cbb8 Merge pull request #8807 from Security-Onion-Solutions/2.4/dev-ocd
initial quick OCD pass
2022-09-23 20:39:54 +00:00
doug fee5a7bea9 initial quick OCD pass 2022-09-23 16:29:55 -04:00
Josh Brower d698238ed1 Merge pull request #8799 from Security-Onion-Solutions/2.4/elastic-fleet
Live Query - View in Hunt link
2022-09-23 15:00:32 -04:00
Mike Reeves e3f4a58989 Merge pull request #8804 from Security-Onion-Solutions/funstuff
Firewall and More
2022-09-23 14:00:51 -04:00
Mike Reeves d26be44df1 update soc_firewall.yaml 2022-09-23 13:09:46 -04:00
Mike Reeves 3e2be096be update soc_firewall.yaml 2022-09-23 13:08:03 -04:00
Mike Reeves 2b9322b823 Helps if you add the IP address 2022-09-23 08:52:58 -04:00
Josh Patterson 02f1d24ea6 remove minion hg 2022-09-23 08:40:25 -04:00
Josh Patterson 975c7fabcc remove minion hg 2022-09-23 08:39:48 -04:00
Josh Patterson 5e32e333c4 remove minion hg 2022-09-23 08:37:59 -04:00
Josh Brower c7eccfd0c5 Live Query - View in Hunt link 2022-09-22 20:17:57 -04:00
Mike Reeves a7872234ab Remove NTP from setup 2022-09-22 17:07:00 -04:00
Mike Reeves 4b059ce7fb Firewall Changes 2022-09-22 17:04:18 -04:00
Mike Reeves 75b058c37f Firewall Changes 2022-09-22 17:03:03 -04:00
Mike Reeves f9c77900ae Firewall Changes 2022-09-22 16:54:57 -04:00
Mike Reeves 81f79c3a02 Firewall Changes 2022-09-22 16:33:08 -04:00
Josh Patterson 3100efc954 fix syntax 2022-09-22 16:03:12 -04:00
Mike Reeves 4eebd855ac Firewall Changes 2022-09-22 15:47:16 -04:00
m0duspwnens abee5afd7b adjust standalone firewall assigned_hostgroups 2022-09-22 15:40:52 -04:00
m0duspwnens 06d3681cec 2.4/firewall 2022-09-22 13:39:10 -04:00
weslambert 49dace66de Merge pull request #8796 from Security-Onion-Solutions/fix/elasticsearch_fleet_component_template_syntax
Fix syntax for Fleet component templates
2022-09-22 11:14:16 -04:00
Wes 0fd5fee868 Fix syntax for Fleet component templates 2022-09-22 15:07:43 +00:00
m0duspwnens c77fcc74c1 merge in 2.4./firewall changes 2022-09-22 10:55:39 -04:00
m0duspwnens 2995ae32bd 2.4 fw changes 2022-09-22 10:49:26 -04:00
weslambert e35c77be62 Merge pull request #8785 from Security-Onion-Solutions/fix/elasticsearch_component_templates_fleet_main
Add additional component templates for Fleet and fix references for Elastic Agent index templates in defaults.yaml
2022-09-20 17:02:02 -04:00
Wes 46dd4c2749 Rename component mappings and references for Security Onion 2022-09-20 20:33:06 +00:00
Josh Patterson f0ddfecd42 Merge pull request #8784 from Security-Onion-Solutions/2.4/zeek
2.4/zeek
2022-09-20 16:28:40 -04:00
Wes 7f2c5bc757 Add component templates for Fleet 2022-09-20 20:27:26 +00:00
m0duspwnens e1ea3c2031 soc for zeek 2022-09-20 16:22:54 -04:00
Mike Reeves 85339d7cb1 Add helpLinks to everything 2022-09-20 15:43:34 -04:00
Doug Burks 8a537204d6 Merge pull request #8783 from Security-Onion-Solutions/2.4/fix-docs-links
fix docs links
2022-09-20 19:34:01 +00:00
m0duspwnens 1685e0e6db few more 2022-09-20 15:25:50 -04:00
Doug Burks 0137004344 Fix releaseNotesUrl in defaults.yaml 2022-09-20 15:16:53 -04:00
Doug Burks 530c497800 Update motd.md 2022-09-20 15:16:04 -04:00
Doug Burks 0eafed32a4 Update docs links in README.md 2022-09-20 15:13:14 -04:00
Mike Reeves 097c05b114 Cleanup on aisle 4 2022-09-20 13:49:26 -04:00
Mike Reeves 0ade4d7847 Adjust portgroup yaml 2022-09-20 13:45:29 -04:00
Mike Reeves b622940f3f Remvoe NTP from setup 2022-09-20 13:32:41 -04:00
Mike Reeves 555bd678fb Change Firewall Pillar Structure 2022-09-20 13:28:32 -04:00
Mike Reeves 27a9edbef7 Change Firewall Pillar Structure 2022-09-20 13:20:16 -04:00
m0duspwnens 75aa121b2d fix some things 2022-09-20 13:19:15 -04:00
Doug Burks bc57a74ac8 Merge pull request #8782 from Security-Onion-Solutions/dougburks-patch-1
change version to 2.4.0
2022-09-20 16:52:39 +00:00
Doug Burks aadce055d1 change version to 2.4.0 2022-09-20 12:49:14 -04:00
Mike Reeves 678d5c5c9c Replace so-firewall 2022-09-20 11:22:20 -04:00
m0duspwnens 29285b8fb1 fix conflixt in zeek/init.sls 2022-09-20 11:12:44 -04:00
m0duspwnens d1ee3a7d04 zeek 2.4 2022-09-20 11:11:29 -04:00
Mike Reeves 9fffe1b5fa Replace so-firewall 2022-09-20 11:11:19 -04:00
Doug Burks 8c88285365 Merge pull request #8780 from Security-Onion-Solutions/2.4/sysmon-fix-bryant
2.4/sysmon fix bryant
2022-09-20 14:32:35 +00:00
Doug Burks df18f8f886 Merge pull request #8779 from Security-Onion-Solutions/2.4/dev
2.4/dev
2022-09-20 13:32:54 +00:00
Josh Brower 0815b607e6 Merge pull request #8778 from Security-Onion-Solutions/2.4/elastic-fleet
Hunt Query - Elastic Agent Live Osquery Logs
2022-09-20 08:29:47 -04:00
Josh Brower 120fdef173 Hunt Query - Elastic Agent Live Osquery Logs 2022-09-20 08:27:47 -04:00
Josh Brower da8d09713f Merge pull request #8776 from Security-Onion-Solutions/2.4/elastic-fleet
Hunt Query - Elastic Agent Live Osquery Logs
2022-09-20 06:20:51 -04:00
Josh Brower 3eb4adc5c3 Hunt Query - Elastic Agent Live Osquery Logs 2022-09-19 20:12:47 -04:00
Mike Reeves 512c044d80 Thresholding 2022-09-19 16:53:51 -04:00
weslambert d4fb78fe3b Merge pull request #8775 from Security-Onion-Solutions/fix/elasticsearch_elastic_agent_index_templates_load
Update so-elasticsearch-templates-load to allow for proper loading of differently formatted Elastic Agent index templates
2022-09-19 16:44:21 -04:00
weslambert 509c32482f Update so-elasticsearch-templates-load to allow for proper loading of differently formatted Elastic Agent index templates 2022-09-19 16:39:49 -04:00
Mike Reeves a1aae627a2 Merge pull request #8771 from Security-Onion-Solutions/funstuff
Add NTP and NGINX
2022-09-19 16:33:05 -04:00
Mike Reeves e72eae2e8a NGINX fun 2022-09-19 16:23:46 -04:00
Mike Reeves fad0e0a145 NGINX fun 2022-09-19 16:14:37 -04:00
Mike Reeves cb2e46f275 NGINX fun 2022-09-19 16:11:49 -04:00
Josh Brower b38804840d Merge pull request #8772 from Security-Onion-Solutions/2.4/grafana-ids
Grafana SOC Redirect
2022-09-19 16:02:41 -04:00
Josh Brower 80919827c6 Fixup index patterns 2022-09-19 15:55:23 -04:00
Josh Patterson 0367365225 Merge pull request #8773 from Security-Onion-Solutions/fix/soc2.4
fix some soc defaults
2022-09-19 15:54:25 -04:00
m0duspwnens 30afc88322 fix some soc defaults 2022-09-19 15:51:29 -04:00
Josh Brower ea7979cfdd Add Elastic Agent datastreams to SOC index 2022-09-19 15:33:15 -04:00
m0duspwnens 79785fc053 zeek jinja 2022-09-19 15:26:32 -04:00
Mike Reeves 22e8c7ef3e Add NTP 2022-09-19 15:10:11 -04:00
Mike Reeves 2abfcdc042 Add NTP 2022-09-19 14:48:40 -04:00
doug fdffac83e1 sysmon fix by bryant 2022-09-19 14:47:45 -04:00
Mike Reeves 17cbe38c25 Add NTP 2022-09-19 14:32:29 -04:00
Mike Reeves 74ccf333e0 Add NTP 2022-09-19 14:30:23 -04:00
Mike Reeves 44be7b4969 Add NTP 2022-09-19 14:26:16 -04:00
Mike Reeves 03ea714dc1 Add NTP 2022-09-19 14:06:46 -04:00
Mike Reeves f7e614f358 Add NTP 2022-09-19 14:06:30 -04:00
Josh Brower d28a9ecec2 Set Dashboard UUID 2022-09-19 13:32:04 -04:00
weslambert 4c2ac9dd93 Merge pull request #8770 from Security-Onion-Solutions/fix/elasticsearch_cluster_settings
Re-establish Elasticsearch cluster (search) settings
2022-09-19 12:10:55 -04:00
Wes 9095bc2205 Re-establish Elasticsearch cluster (search) settings 2022-09-19 15:41:54 +00:00
Mike Reeves 0a885221e8 Merge pull request #8769 from Security-Onion-Solutions/funstuff
Firewall and Sensoroni Fix
2022-09-19 11:05:46 -04:00
Mike Reeves 32034078fa Fix sensoroni Agent 2022-09-19 10:48:36 -04:00
Mike Reeves aa8ce074f7 Fix sensoroni Agent 2022-09-19 10:43:05 -04:00
Mike Reeves 04a0be8247 Merge branch '2.4/dev' into funstuff 2022-09-19 10:41:53 -04:00
Mike Reeves e3e6e7b4e8 Fix sensoroni Agent 2022-09-19 10:41:01 -04:00
Jason Ertel 21f8b3b61c Merge pull request #8768 from Security-Onion-Solutions/config
refactor sostatus telegraf input script
2022-09-19 10:35:22 -04:00
Jason Ertel ae6fbab45d refactor sostatus telegraf input script 2022-09-19 10:27:20 -04:00
Mike Reeves f4508aa534 Fix sensoroni Agent 2022-09-19 10:22:32 -04:00
Mike Reeves 61f3479d92 Merge branch '2.4/dev' into funstuff 2022-09-19 09:40:27 -04:00
Mike Reeves 9bdb364122 Firewall Fun 2022-09-19 09:39:42 -04:00
Jason Ertel f2b09c84d4 Merge pull request #8767 from Security-Onion-Solutions/config
Config
2022-09-19 09:18:10 -04:00
Jason Ertel 7d965b5cda Ensure so-status does not get jinjafied 2022-09-19 09:17:06 -04:00
Jason Ertel b4add5ebb3 Merge pull request #8766 from Security-Onion-Solutions/config
complete rewrite of so-status
2022-09-19 07:40:51 -04:00
Mike Reeves d7585e1b3d Firewall Fun 2022-09-17 10:03:18 -04:00
Mike Reeves 4a68a5e054 Firewall Fun 2022-09-17 09:57:43 -04:00
Mike Reeves 98ae6149dc Firewall Fun 2022-09-17 09:54:20 -04:00
Mike Reeves e717579113 Firewall Fun 2022-09-17 09:51:26 -04:00
Mike Reeves 8a26b3fa04 Firewall Fun 2022-09-17 09:47:15 -04:00
Mike Reeves 724d5d952a Firewall Fun 2022-09-17 09:46:07 -04:00
Mike Reeves b6a1040090 Firewall Fun 2022-09-17 09:42:35 -04:00
Mike Reeves f3056c7057 Firewall Fun 2022-09-17 09:39:49 -04:00
Mike Reeves 4b1031efa4 Firewall Fun 2022-09-17 09:34:35 -04:00
Jason Ertel 9542a5ada2 complete rewrite of so-status 2022-09-16 17:46:52 -04:00
weslambert 0a8aae8180 Merge pull request #8757 from Security-Onion-Solutions/fix/elastic_agent_templates_managed_by_securityonion
Change managed_by value from 'fleet' to 'security_onion' for Elastic Agent templates in defaults.yaml
2022-09-16 17:20:03 -04:00
Wes 12e940f809 Change managed_by value from 'fleet' to 'security_onion' for Elastic Agent templates in defaults.yaml 2022-09-16 20:55:49 +00:00
Mike Reeves d02c6808a4 Firewall Fun 2022-09-16 13:44:54 -04:00
Mike Reeves 1c9069690f Firewall Fun 2022-09-16 13:38:07 -04:00
Mike Reeves 0eb6388ea3 Firewall Fun 2022-09-16 13:34:11 -04:00
Mike Reeves 6649ffd8b5 Firewall Fun 2022-09-16 13:33:26 -04:00
Mike Reeves 70c95c7c7b Firewall Fun 2022-09-16 13:31:23 -04:00
Mike Reeves bc1921bd0e Firewall Fun 2022-09-16 13:30:07 -04:00
Josh Brower eba82553a1 Merge pull request #8755 from Security-Onion-Solutions/2.4/tls
Change ssl_ecdh_curve
2022-09-16 13:28:35 -04:00
Mike Reeves 384478836a Firewall Fun 2022-09-16 13:02:11 -04:00
Mike Reeves f14a8f3d01 Firewall Fun 2022-09-16 12:55:56 -04:00
Mike Reeves 943b98f091 IDS Tools rule management 2022-09-16 11:16:05 -04:00
Mike Reeves f9e9e4ce1d IDS Tools rule management 2022-09-16 11:14:09 -04:00
Mike Reeves ae5eea6e3a IDS Tools rule management 2022-09-16 11:12:03 -04:00
Mike Reeves 5e151a9fed Fix minion pillar for remote sensors 2022-09-16 10:43:36 -04:00
Mike Reeves 958d2494a8 Zeek Test 2022-09-16 10:27:42 -04:00
Mike Reeves 2a51ecb1ac Zeek Test 2022-09-16 09:10:09 -04:00
Josh Brower d5debd9b6b Change ssl_ecdh_curve 2022-09-16 09:06:09 -04:00
Mike Reeves f02db7a815 Zeek Test 2022-09-16 09:05:16 -04:00
Mike Reeves 58ab91ea84 Add BPF 2022-09-16 08:50:17 -04:00
Mike Reeves 9a6fe3e8de Add BPF 2022-09-16 08:36:44 -04:00
Mike Reeves 2c0d90bea4 Make test ping retry 2022-09-15 17:07:02 -04:00
Mike Reeves c50a1608af Make test ping retry 2022-09-15 17:01:53 -04:00
weslambert 6212a288e4 Merge pull request #8752 from Security-Onion-Solutions/fix/logstash_remove_osquery_livequery_output_configuration
Remove Osquery live query Logstash output configuration
2022-09-15 15:53:49 -04:00
Mike Reeves e6c0c2ce19 Modify Steno Config 2022-09-15 15:46:28 -04:00
Wes 1a90eeb1b1 Remove Osquery live query Logstash output configuration 2022-09-15 19:45:28 +00:00
m0duspwnens 5a9b3f6821 fix diskfreepercantage 2022-09-15 15:39:31 -04:00
m0duspwnens 62f5ee04a4 fix source for steno config 2022-09-15 15:13:40 -04:00
m0duspwnens 52b58ad6ae jinja for steno/pcap 2022-09-15 15:12:40 -04:00
Mike Reeves 9a75d939b4 Modify Steno Config 2022-09-15 13:55:39 -04:00
Mike Reeves 3286d55ef2 Modify Steno Config 2022-09-15 13:46:14 -04:00
Mike Reeves c49c7348ff Merge pull request #8751 from Security-Onion-Solutions/funstuff
Funstuff
2022-09-15 13:15:51 -04:00
Mike Reeves 7d6e847f86 Fix Zeek PIllar 2022-09-15 13:11:03 -04:00
Mike Reeves 73d45bd9fc Update defaults for Steno 2022-09-15 12:56:02 -04:00
Mike Reeves 383714ec06 Fix pcap error 2022-09-15 12:38:55 -04:00
Mike Reeves 4357f013f0 Merge pull request #8748 from Security-Onion-Solutions/funstuff
Fix setup error
2022-09-15 11:12:21 -04:00
Mike Reeves 2e4f122e57 Fix setup error 2022-09-15 11:10:33 -04:00
Mike Reeves b93c38759b Merge pull request #8747 from Security-Onion-Solutions/funstuff
Fix setup error
2022-09-15 10:58:59 -04:00
Mike Reeves 8e99e02787 Fix setup error 2022-09-15 10:57:52 -04:00
Mike Reeves 1c00344327 Merge pull request #8746 from Security-Onion-Solutions/funstuff
Fix for Suricata
2022-09-15 10:53:22 -04:00
Mike Reeves 0351ef4ff5 Fix Suricata analyzers list 2022-09-15 10:48:08 -04:00
m0duspwnens 845d2e33bd remove dupe afpacket 2022-09-15 10:44:39 -04:00
m0duspwnens 4cb955fe8d jinja for the suricata outputs 2022-09-15 10:35:59 -04:00
Josh Brower 99f54acef1 Merge pull request #8742 from Security-Onion-Solutions/2.4/elastic-fleet
2.4/elastic fleet
2022-09-15 07:16:37 -04:00
Josh Brower bdfde669f3 remove outdated scripts 2022-09-14 18:38:08 -04:00
Josh Brower 798b39ec09 elastic-fleet so-status & restart scripts 2022-09-14 18:36:26 -04:00
Mike Reeves 8528645c2c Update suricata_config.map.jinja 2022-09-14 15:02:55 -04:00
Mike Reeves f8c1571a91 Update suricata_config.map.jinja 2022-09-14 14:43:04 -04:00
Mike Reeves 30a469ea63 Update afpacket.map.jinja 2022-09-14 14:36:13 -04:00
Josh Brower 0c1f9eaa37 Merge pull request #8739 from Security-Onion-Solutions/2.4/elastic-fleet
EA Certs & image
2022-09-14 14:20:17 -04:00
Mike Reeves 90ed4fd4cb Fix Suricata 2022-09-14 14:18:10 -04:00
Josh Brower 1c671b47d7 Run container as elastic-fleet user 2022-09-14 14:17:54 -04:00
Mike Reeves ee59822097 Fix Suricata 2022-09-14 14:15:50 -04:00
Mike Reeves 74a8bd17ea Fix Suricata 2022-09-14 13:56:17 -04:00
Mike Reeves c60afba450 Fix core count 2022-09-14 12:30:22 -04:00
Mike Reeves 8049f9b9e4 Fix so-minion error for setup 2022-09-14 12:22:10 -04:00
Mike Reeves 8a5a58c647 Fix so-minion error for setup 2022-09-14 12:21:21 -04:00
Mike Reeves 547abb0fe1 Remove learn 2022-09-14 12:12:33 -04:00
Mike Reeves be4c15877a Improve pcap defaults 2022-09-14 11:11:21 -04:00
Mike Reeves 0a40bfcb88 Change how pcap is written to the minion file 2022-09-14 11:00:22 -04:00
Josh Brower b7b92c73a3 add so-elastic-agent to container list 2022-09-14 11:00:16 -04:00
Josh Brower 334a0d7b1c Start using so-elastic-agent container 2022-09-14 10:33:27 -04:00
weslambert 39c7c8cf80 Merge pull request #8738 from Security-Onion-Solutions/fix/remove_old_pipeline_config
Remove old Logstash pipeline configuration - initial cleanup
2022-09-14 10:30:37 -04:00
Wes 926a1e0189 Remove Snort output configuration 2022-09-14 14:22:00 +00:00
Wes ce3ea456b6 Remove flow output configuration 2022-09-14 14:21:21 +00:00
Wes d1a8b88eb9 Remove postprocess configuration 2022-09-14 14:20:24 +00:00
Wes e3cd8a9c6a Remove main pipeline configuration 2022-09-14 14:20:08 +00:00
Wes 43f89adbd4 Remove preprocess configuration 2022-09-14 14:19:07 +00:00
Mike Reeves a4dc63f3a4 Change how zeek and suri are populated in the minion file 2022-09-14 09:53:57 -04:00
Josh Brower 6945596eee Tweak elastic agent ssl gen 2022-09-14 08:10:42 -04:00
Josh Brower bf14612258 Change out Elastic Fleet certs 2022-09-13 15:58:53 -04:00
Jason Ertel 0d32cc38d6 Merge pull request #8733 from Security-Onion-Solutions/config
Always use local docs
2022-09-13 14:40:10 -04:00
Mike Reeves d36f2f642f Merge pull request #8734 from Security-Onion-Solutions/funstuff
Updates for grafana
2022-09-13 14:39:49 -04:00
Jason Ertel deb19d24b8 Always use local docs 2022-09-13 14:24:35 -04:00
Jason Ertel d1eb7ef849 Always use local docs 2022-09-13 14:23:50 -04:00
Mike Reeves 064b64f68a Add Grafana annotation 2022-09-13 14:00:04 -04:00
Mike Reeves de047cea8e Add Grafana annotation 2022-09-13 13:56:37 -04:00
Jason Ertel 810d89eb6c Merge pull request #8731 from Security-Onion-Solutions/config
Remove comments to avoid confusing config viewers within SOC
2022-09-13 12:16:38 -04:00
Mike Reeves 8e8223b767 Merge pull request #8732 from Security-Onion-Solutions/funstuff
Update watermark settings
2022-09-13 12:16:17 -04:00
Mike Reeves b38f0fa996 Update watermark settings 2022-09-13 12:13:45 -04:00
Jason Ertel d12ff79af0 Remove comments to avoid confusing config viewers within SOC 2022-09-13 12:08:19 -04:00
Jason Ertel 8c5cba58aa Merge pull request #8730 from Security-Onion-Solutions/config
Config
2022-09-13 11:52:05 -04:00
Mike Reeves 8144588534 Merge pull request #8729 from Security-Onion-Solutions/funstuff
Fix advanced view
2022-09-13 11:50:43 -04:00
Jason Ertel d2fc712400 Initial SOC annotations 2022-09-13 11:49:19 -04:00
Jason Ertel 21c7f940d7 Update copyrights 2022-09-13 11:48:25 -04:00
Mike Reeves df1a64b5e0 Modify more defaults 2022-09-13 11:45:59 -04:00
Mike Reeves a32ff6f403 Modify Suricata defaults 2022-09-13 11:29:31 -04:00
Mike Reeves bc2aced20d Merge pull request #8726 from Security-Onion-Solutions/funstuff
Fix Typeo
2022-09-13 07:22:06 -04:00
Josh Brower 0c7ee56ee3 Merge pull request #8725 from Security-Onion-Solutions/2.4/elastic-fleet
Fix elastic agent gen script
2022-09-13 07:18:47 -04:00
Mike Reeves 74d991da45 Fix Typeo 2022-09-13 07:17:03 -04:00
Josh Brower 4a28841a7c Fix elastic agent gen script 2022-09-13 06:38:05 -04:00
Mike Reeves 85e74485e7 Merge pull request #8723 from Security-Onion-Solutions/funstuff
Fix Dev
2022-09-12 17:43:34 -04:00
Mike Reeves ec187e9d85 Pull in dev 2022-09-12 17:35:42 -04:00
Mike Reeves 6e052a3063 Pull in dev 2022-09-12 17:17:14 -04:00
Mike Reeves 440861998c Merge pull request #8722 from Security-Onion-Solutions/funstuff
Add More Logging
2022-09-12 16:50:28 -04:00
Mike Reeves a01fadd067 Add more logging to setup process 2022-09-12 15:56:08 -04:00
Mike Reeves 7ec66d1cd1 Add more logging to setup process 2022-09-12 15:46:33 -04:00
Mike Reeves ea7c8e1fd9 Add more logging to setup process 2022-09-12 15:43:18 -04:00
weslambert 94f47a847d Merge pull request #8721 from Security-Onion-Solutions/fix/elasticsearch_elastic_agent_template_defaults
Add back Elastic Agent default templates
2022-09-12 15:23:23 -04:00
Mike Reeves 17239ac6e4 Add more logging to setup process 2022-09-12 15:18:09 -04:00
weslambert 030f4d228a Add back Elastic Agent default templates 2022-09-12 15:10:24 -04:00
Mike Reeves f555846544 Add more logging to setup process 2022-09-12 15:06:29 -04:00
Mike Reeves a168aa8b81 Add more logging to setup process 2022-09-12 14:53:34 -04:00
Mike Reeves 181e94a69d Add more logging to setup process 2022-09-12 14:35:32 -04:00
Mike Reeves 2de2b0eb23 Add more logging to setup process 2022-09-12 14:31:10 -04:00
Mike Reeves 07263e03cb Add more logging to setup process 2022-09-12 14:30:28 -04:00
Mike Reeves c8a9fc2f26 Add more logging to setup process 2022-09-12 14:27:35 -04:00
Mike Reeves 9ca2e6e871 Add more logging to setup process 2022-09-12 14:20:59 -04:00
Josh Brower 905068f7bf Merge pull request #8720 from Security-Onion-Solutions/2.4/elastic-fleet
Add so-elastic-agent-builder
2022-09-12 13:40:28 -04:00
Mike Reeves 2254512a2a Add more logging to setup process 2022-09-12 12:48:02 -04:00
Josh Brower 0df7d0249a Add so-elastic-agent-builder 2022-09-12 12:22:35 -04:00
Josh Brower 3708c9b4d9 Merge pull request #8715 from Security-Onion-Solutions/2.4/elastic-fleet
Add links to tools menu
2022-09-12 09:34:17 -04:00
Josh Brower 9f99939bda Add links to tools menu 2022-09-12 09:28:10 -04:00
Josh Brower e700a43a40 Merge pull request #8714 from Security-Onion-Solutions/2.4/elastic-fleet
2.4/elastic fleet
2022-09-12 08:34:28 -04:00
Mike Reeves 8b9fdef25c Merge pull request #8708 from Security-Onion-Solutions/funstuff 2022-09-11 07:35:35 -04:00
Mike Reeves 3de4e56db9 Fix ES merge 2022-09-10 19:25:01 -04:00
Mike Reeves a3d9b1d83b Merge pull request #8707 from Security-Onion-Solutions/funstuff
Funstuff
2022-09-09 16:32:32 -04:00
Mike Reeves f2ff8ca4e2 Create advanced files 2022-09-09 16:29:50 -04:00
Mike Reeves 9df2aaacb0 Create advanced files 2022-09-09 16:26:59 -04:00
Mike Reeves 8a7b194f2b Create advanced files 2022-09-09 16:24:41 -04:00
Mike Reeves 57c303b9ca Create advanced files 2022-09-09 16:23:32 -04:00
Mike Reeves f8c6b82ed9 Merge pull request #8706 from Security-Onion-Solutions/funstuff
Fix yaml for idh,es,kib,esalert
2022-09-09 15:57:04 -04:00
Mike Reeves 037d5d1c46 Fix yaml for idh,es,kib,esalert 2022-09-09 15:55:51 -04:00
Mike Reeves aa17837936 Merge pull request #8705 from Security-Onion-Solutions/funstuff
Fix yaml for idh,es,kib,esalert
2022-09-09 15:47:59 -04:00
Mike Reeves 16f2059f17 Fix yaml for idh,es,kib,esalert 2022-09-09 15:46:48 -04:00
Mike Reeves e2eaefab6e Fix yaml for idh,es,kib,esalert 2022-09-09 15:45:13 -04:00
Josh Patterson c6421275f7 Merge pull request #8704 from Security-Onion-Solutions/influx/defaults
remove jinja from influxdb defaults.yaml
2022-09-09 15:42:46 -04:00
m0duspwnens 9a08decadb remove jinja from influxdb defaults.yaml 2022-09-09 15:41:20 -04:00
Mike Reeves cc08e5a42c Merge pull request #8703 from Security-Onion-Solutions/funstuff
Fix yaml for idh,es,kib,esalert
2022-09-09 15:38:07 -04:00
Mike Reeves 1f3b170213 Fix yaml for idh,es,kib,esalert 2022-09-09 15:36:57 -04:00
Mike Reeves 74ef6c0ed0 Fix yaml for idh,es,kib,esalert 2022-09-09 15:30:28 -04:00
Josh Brower 09a1032f77 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/elastic-fleet 2022-09-09 15:08:25 -04:00
Josh Brower 921d644a0b Elastic Fleet wrapper 2022-09-09 15:05:31 -04:00
Josh Patterson 54f7cefa28 Merge pull request #8702 from Security-Onion-Solutions/fix/soc2.4
add salt bind for soc
2022-09-09 14:45:31 -04:00
m0duspwnens b5fb7596b0 add salt bind for soc 2022-09-09 14:44:41 -04:00
Josh Patterson 7dd65909f2 Merge pull request #8701 from Security-Onion-Solutions/fix/soc2.4
add saltPipe
2022-09-09 14:40:08 -04:00
m0duspwnens 0f2e9764ab add saltPipe 2022-09-09 14:39:20 -04:00
Josh Patterson deaecad8fd Merge pull request #8700 from Security-Onion-Solutions/fix/soc2.4
Fix/soc2.4
2022-09-09 14:32:41 -04:00
m0duspwnens 5ccc103083 fix soc dashboards and things 2022-09-09 14:31:04 -04:00
m0duspwnens 5bb001281b soc defaults changes - client child of server 2022-09-08 15:57:18 -04:00
Mike Reeves ce59a8a225 Merge pull request #8697 from Security-Onion-Solutions/funstuff
move endgamehost
2022-09-08 14:12:43 -04:00
Mike Reeves 8c12b26847 touch the soc file 2022-09-08 14:08:24 -04:00
Mike Reeves 9c9509594a move endgamehost 2022-09-08 13:55:35 -04:00
Jason Ertel cfb3893c2b Merge pull request #8694 from Security-Onion-Solutions/salt-relay
Salt relay
2022-09-08 10:31:28 -04:00
Jason Ertel b7bbe7d69f Add copyright notice 2022-09-08 10:27:56 -04:00
Jason Ertel 193c3fc4cd Add salt relay 2022-09-08 10:26:39 -04:00
Mike Reeves 6ab9cc6d53 Merge pull request #8693 from Security-Onion-Solutions/funstuff
Add an older version of so-status
2022-09-08 09:04:41 -04:00
Mike Reeves 3785b97d95 so-status 2022-09-08 08:48:49 -04:00
weslambert c25b981c50 Merge pull request #8688 from Security-Onion-Solutions/elastic_agent_security_subfield_additions
Elastic Agent .security subfield additions
2022-09-08 08:05:16 -04:00
Wes 86d60e444d Add Elastic Agent index/template configuration to defaults file 2022-09-08 00:20:22 +00:00
Josh Brower d9ae646ef2 Merge pull request #8682 from Security-Onion-Solutions/2.4/elastic-fleet
2.4/elastic fleet
2022-09-07 18:53:35 -04:00
Wes b39a5061ca Load Elastic Agent component templates (managed by Security Onion) 2022-09-07 21:26:43 +00:00
Wes eeffded248 Remove duplicate security subfield configuration from component templates 2022-09-07 21:23:04 +00:00
Josh Brower f00aafdfb2 Elastic Agent - move gen installers 2022-09-07 16:57:11 -04:00
Josh Brower e8af315e40 Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/elastic-fleet 2022-09-07 16:32:31 -04:00
Jason Ertel df6ba5cbe9 initial salt relay script for comms with soc 2022-09-07 16:19:16 -04:00
Josh Brower e3e0e4c6ed Merge pull request #8681 from Security-Onion-Solutions/playbookfix
Update so-playbook-reset
2022-09-07 16:01:37 -04:00
Josh Brower 39ed582a72 Update so-playbook-reset 2022-09-07 15:59:54 -04:00
Mike Reeves 40131daeed Merge pull request #8680 from Security-Onion-Solutions/funstuff
Funstuff
2022-09-07 15:46:48 -04:00
Mike Reeves 5b65fdcc1c Remove crossthestreams 2022-09-07 15:42:22 -04:00
Mike Reeves 6d1bc78f7b Remove crossthestreams 2022-09-07 15:41:21 -04:00
Mike Reeves 6adcb4c968 Remove crossthestreams 2022-09-07 15:38:55 -04:00
Wes 3c50072690 Add Elastic Agent component templates 2022-09-07 18:51:57 +00:00
Josh Brower ce688cfb91 Elastic Agent setup changes 2022-09-07 10:23:26 -04:00
Mike Reeves f7f5d414c4 Merge pull request #8677 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update VERSION
2022-09-07 09:56:26 -04:00
Mike Reeves 2fb1f14d09 Update VERSION 2022-09-07 09:55:41 -04:00
Josh Patterson de456a402c Merge pull request #8676 from Security-Onion-Solutions/index_settings_False
Update so-functions
2022-09-07 09:40:12 -04:00
Josh Patterson dfd505dfaa Update so-functions 2022-09-07 09:38:22 -04:00
Mike Reeves b76bf0a6e0 Merge pull request #8675 from Security-Onion-Solutions/gitfoo
Move In Day
2022-09-07 09:21:03 -04:00
Mike Reeves c9dd2beaaa Move In Day 2022-09-07 09:15:58 -04:00
Mike Reeves 2bd9dd80e2 Move In Day 2022-09-07 09:06:25 -04:00
Josh Patterson dcb7b49dbe Merge pull request #8451 from Security-Onion-Solutions/issue/8441_3
manage salt-minion start delay with systemd drop-in file -
2022-08-02 16:39:45 -04:00
m0duspwnens a965301b2e manage salt-minion start delay with systemd drop-in file - https://github.com/Security-Onion-Solutions/securityonion/issues/8441 2022-08-02 16:37:27 -04:00
1926 changed files with 822581 additions and 467194 deletions
+1 -2
View File
@@ -536,11 +536,10 @@ secretGroup = 4
[allowlist]
description = "global allow lists"
regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}''']
regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}''', '''RPM-GPG-KEY.*''', '''.*:.*StrelkaHexDump.*''', '''.*:.*PLACEHOLDER.*''']
paths = [
'''gitleaks.toml''',
'''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''',
'''(go.mod|go.sum)$''',
'''salt/nginx/files/enterprise-attack.json'''
]
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
steps:
- name: "Contributor Check"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: cla-assistant/github-action@v2.1.3-beta
uses: cla-assistant/github-action@v2.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
+11 -3
View File
@@ -1,6 +1,14 @@
name: python-test
on: [push, pull_request]
on:
push:
paths:
- "salt/sensoroni/files/analyzers/**"
- "salt/manager/tools/sbin"
pull_request:
paths:
- "salt/sensoroni/files/analyzers/**"
- "salt/manager/tools/sbin"
jobs:
build:
@@ -10,7 +18,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10"]
python-code-path: ["salt/sensoroni/files/analyzers"]
python-code-path: ["salt/sensoroni/files/analyzers", "salt/manager/tools/sbin"]
steps:
- uses: actions/checkout@v3
@@ -28,4 +36,4 @@ jobs:
flake8 ${{ matrix.python-code-path }} --show-source --max-complexity=12 --doctests --max-line-length=200 --statistics
- name: Test with pytest
run: |
pytest ${{ matrix.python-code-path }} --cov=${{ matrix.python-code-path }} --doctest-modules --cov-report=term --cov-fail-under=100 --cov-config=${{ matrix.python-code-path }}/pytest.ini
pytest ${{ matrix.python-code-path }} --cov=${{ matrix.python-code-path }} --doctest-modules --cov-report=term --cov-fail-under=100 --cov-config=pytest.ini
+14 -15
View File
@@ -1,47 +1,46 @@
### 2.3.140-20220718 ISO image built on 2022/07/18
### 2.4.50-20240220 ISO image released on 2024/02/20
### Download and Verify
2.3.140-20220718 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.3.140-20220718.iso
2.4.50-20240220 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.4.50-20240220.iso
MD5: 9570065548DBFA6230F28FF623A8B61A
SHA1: D48B2CC81DF459C3EBBC0C54BD9AAFAB4327CB75
SHA256: 0E31E15EDFD3392B9569FCCAF1E4518432ECB0D7A174CCA745F2F22CDAC4A034
MD5: BCA6476EF1BF79773D8EFB11700FDE8E
SHA1: 9FF0A304AA368BCD2EF2BE89AD47E65650241927
SHA256: 49D7695EFFF6F3C4840079BF564F3191B585639816ADE98672A38017F25E9570
Signature for ISO image:
https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.140-20220718.iso.sig
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.50-20240220.iso.sig
Signing key:
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2.4/main/KEYS
For example, here are the steps you can use on most Linux distributions to download and verify our Security Onion ISO image.
Download and import the signing key:
```
wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS -O - | gpg --import -
wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2.4/main/KEYS -O - | gpg --import -
```
Download the signature file for the ISO:
```
wget https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.140-20220718.iso.sig
wget https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.50-20240220.iso.sig
```
Download the ISO image:
```
wget https://download.securityonion.net/file/securityonion/securityonion-2.3.140-20220718.iso
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.50-20240220.iso
```
Verify the downloaded ISO image using the signature file:
```
gpg --verify securityonion-2.3.140-20220718.iso.sig securityonion-2.3.140-20220718.iso
gpg --verify securityonion-2.4.50-20240220.iso.sig securityonion-2.4.50-20240220.iso
```
The output should show "Good signature" and the Primary key fingerprint should match what's shown below:
```
gpg: Signature made Mon 18 Jul 2022 10:16:05 AM EDT using RSA key ID FE507013
gpg: Signature made Fri 16 Feb 2024 11:36:25 AM 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.
@@ -49,4 +48,4 @@ Primary key fingerprint: C804 A93D 36BE 0C73 3EA1 9644 7C10 60B7 FE50 7013
```
Once you've verified the ISO image, you're ready to proceed to our Installation guide:
https://docs.securityonion.net/en/2.3/installation.html
https://docs.securityonion.net/en/2.4/installation.html
-1
View File
@@ -1 +0,0 @@
+19 -13
View File
@@ -1,41 +1,47 @@
## Security Onion 2.3.140
## Security Onion 2.4
Security Onion 2.3.140 is here!
Security Onion 2.4 is here!
## Screenshots
Alerts
![Alerts](./assets/images/screenshots/alerts.png)
![Alerts](https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion-docs/2.4/images/50_alerts.png)
Dashboards
![Dashboards](./assets/images/screenshots/dashboards.png)
![Dashboards](https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion-docs/2.4/images/51_dashboards.png)
Hunt
![Hunt](./assets/images/screenshots/hunt.png)
![Hunt](https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion-docs/2.4/images/52_hunt.png)
Cases
![Cases](./assets/images/screenshots/cases-comments.png)
PCAP
![PCAP](https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion-docs/2.4/images/53_pcap.png)
Grid
![Grid](https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion-docs/2.4/images/57_grid.png)
Config
![Config](https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion-docs/2.4/images/61_config.png)
### Release Notes
https://docs.securityonion.net/en/2.3/release-notes.html
https://docs.securityonion.net/en/2.4/release-notes.html
### Requirements
https://docs.securityonion.net/en/2.3/hardware.html
https://docs.securityonion.net/en/2.4/hardware.html
### Download
https://docs.securityonion.net/en/2.3/download.html
https://docs.securityonion.net/en/2.4/download.html
### Installation
https://docs.securityonion.net/en/2.3/installation.html
https://docs.securityonion.net/en/2.4/installation.html
### FAQ
https://docs.securityonion.net/en/2.3/faq.html
https://docs.securityonion.net/en/2.4/faq.html
### Feedback
https://docs.securityonion.net/en/2.3/community-support.html
https://docs.securityonion.net/en/2.4/community-support.html
+2 -1
View File
@@ -4,7 +4,8 @@
| Version | Supported |
| ------- | ------------------ |
| 2.x.x | :white_check_mark: |
| 2.4.x | :white_check_mark: |
| 2.3.x | :white_check_mark: |
| 16.04.x | :x: |
Security Onion 16.04 has reached End Of Life and is no longer supported.
+1 -1
View File
@@ -1 +1 @@
2.3.140
2.4.50
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@@ -1,8 +1,8 @@
{% import_yaml 'firewall/portgroups.yaml' as default_portgroups %}
{% set default_portgroups = default_portgroups.firewall.aliases.ports %}
{% import_yaml 'firewall/portgroups.local.yaml' as local_portgroups %}
{% if local_portgroups.firewall.aliases.ports %}
{% set local_portgroups = local_portgroups.firewall.aliases.ports %}
{% import_yaml 'firewall/ports/ports.yaml' as default_portgroups %}
{% set default_portgroups = default_portgroups.firewall.ports %}
{% import_yaml 'firewall/ports/ports.local.yaml' as local_portgroups %}
{% if local_portgroups.firewall.ports %}
{% set local_portgroups = local_portgroups.firewall.ports %}
{% else %}
{% set local_portgroups = {} %}
{% endif %}
@@ -12,7 +12,6 @@ role:
eval:
fleet:
heavynode:
helixsensor:
idh:
import:
manager:
-82
View File
@@ -1,82 +0,0 @@
firewall:
hostgroups:
analyst:
ips:
delete:
insert:
beats_endpoint:
ips:
delete:
insert:
beats_endpoint_ssl:
ips:
delete:
insert:
elasticsearch_rest:
ips:
delete:
insert:
endgame:
ips:
delete:
insert:
fleet:
ips:
delete:
insert:
heavy_node:
ips:
delete:
insert:
idh:
ips:
delete:
insert:
manager:
ips:
delete:
insert:
minion:
ips:
delete:
insert:
node:
ips:
delete:
insert:
osquery_endpoint:
ips:
delete:
insert:
receiver:
ips:
delete:
insert:
search_node:
ips:
delete:
insert:
sensor:
ips:
delete:
insert:
strelka_frontend:
ips:
delete:
insert:
syslog:
ips:
delete:
insert:
wazuh_agent:
ips:
delete:
insert:
wazuh_api:
ips:
delete:
insert:
wazuh_authd:
ips:
delete:
insert:
-3
View File
@@ -1,3 +0,0 @@
firewall:
aliases:
ports:
+2
View File
@@ -0,0 +1,2 @@
firewall:
ports:
+2 -7
View File
@@ -41,7 +41,8 @@ file_roots:
base:
- /opt/so/saltstack/local/salt
- /opt/so/saltstack/default/salt
- /nsm/elastic-fleet/artifacts
- /opt/so/rules/nids
# The master_roots setting configures a master-only copy of the file_roots dictionary,
# used by the state compiler.
@@ -64,10 +65,4 @@ peer:
.*:
- x509.sign_remote_certificate
reactor:
- 'so/fleet':
- salt://reactor/fleet.sls
- 'salt/beacon/*/watch_sqlite_db//opt/so/conf/kratos/db/sqlite.db':
- salt://reactor/kratos.sls
-2
View File
@@ -45,12 +45,10 @@ echo " rootfs: $ROOTFS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " nsmfs: $NSM" >> $local_salt_dir/pillar/data/$TYPE.sls
if [ $TYPE == 'sensorstab' ]; then
echo " monint: bond0" >> $local_salt_dir/pillar/data/$TYPE.sls
salt-call state.apply grafana queue=True
fi
if [ $TYPE == 'evaltab' ] || [ $TYPE == 'standalonetab' ]; then
echo " monint: bond0" >> $local_salt_dir/pillar/data/$TYPE.sls
if [ ! $10 ]; then
salt-call state.apply grafana queue=True
salt-call state.apply utility queue=True
fi
fi
-13
View File
@@ -1,13 +0,0 @@
logrotate:
conf: |
daily
rotate 14
missingok
copytruncate
compress
create
extension .log
dateext
dateyesterday
group_conf: |
su root socore
-42
View File
@@ -1,42 +0,0 @@
logstash:
pipelines:
helix:
config:
- so/0010_input_hhbeats.conf
- so/1033_preprocess_snort.conf
- so/1100_preprocess_bro_conn.conf
- so/1101_preprocess_bro_dhcp.conf
- so/1102_preprocess_bro_dns.conf
- so/1103_preprocess_bro_dpd.conf
- so/1104_preprocess_bro_files.conf
- so/1105_preprocess_bro_ftp.conf
- so/1106_preprocess_bro_http.conf
- so/1107_preprocess_bro_irc.conf
- so/1108_preprocess_bro_kerberos.conf
- so/1109_preprocess_bro_notice.conf
- so/1110_preprocess_bro_rdp.conf
- so/1111_preprocess_bro_signatures.conf
- so/1112_preprocess_bro_smtp.conf
- so/1113_preprocess_bro_snmp.conf
- so/1114_preprocess_bro_software.conf
- so/1115_preprocess_bro_ssh.conf
- so/1116_preprocess_bro_ssl.conf
- so/1117_preprocess_bro_syslog.conf
- so/1118_preprocess_bro_tunnel.conf
- so/1119_preprocess_bro_weird.conf
- so/1121_preprocess_bro_mysql.conf
- so/1122_preprocess_bro_socks.conf
- so/1123_preprocess_bro_x509.conf
- so/1124_preprocess_bro_intel.conf
- so/1125_preprocess_bro_modbus.conf
- so/1126_preprocess_bro_sip.conf
- so/1127_preprocess_bro_radius.conf
- so/1128_preprocess_bro_pe.conf
- so/1129_preprocess_bro_rfb.conf
- so/1130_preprocess_bro_dnp3.conf
- so/1131_preprocess_bro_smb_files.conf
- so/1132_preprocess_bro_smb_mapping.conf
- so/1133_preprocess_bro_ntlm.conf
- so/1134_preprocess_bro_dce_rpc.conf
- so/8001_postprocess_common_ip_augmentation.conf
- so/9997_output_helix.conf.jinja
+2
View File
@@ -3,6 +3,8 @@ logstash:
port_bindings:
- 0.0.0.0:3765:3765
- 0.0.0.0:5044:5044
- 0.0.0.0:5055:5055
- 0.0.0.0:5056:5056
- 0.0.0.0:5644:5644
- 0.0.0.0:6050:6050
- 0.0.0.0:6051:6051
-9
View File
@@ -1,9 +0,0 @@
logstash:
pipelines:
manager:
config:
- so/0009_input_beats.conf
- so/0010_input_hhbeats.conf
- so/0011_input_endgame.conf
- so/9999_output_redis.conf.jinja
+13 -9
View File
@@ -2,24 +2,28 @@
{% set cached_grains = salt.saltutil.runner('cache.grains', tgt='*') %}
{% for minionid, ip in salt.saltutil.runner(
'mine.get',
tgt='G@role:so-manager or G@role:so-managersearch or G@role:so-standalone or G@role:so-node or G@role:so-heavynode or G@role:so-receiver or G@role:so-helix',
tgt='G@role:so-manager or G@role:so-managersearch or G@role:so-standalone or G@role:so-searchnode or G@role:so-heavynode or G@role:so-receiver or G@role:so-fleet ',
fun='network.ip_addrs',
tgt_type='compound') | dictsort()
%}
{% set hostname = cached_grains[minionid]['host'] %}
{% set node_type = minionid.split('_')[1] %}
{% if node_type not in node_types.keys() %}
{% do node_types.update({node_type: {hostname: ip[0]}}) %}
{% else %}
{% if hostname not in node_types[node_type] %}
{% do node_types[node_type].update({hostname: ip[0]}) %}
# only add a node to the pillar if it returned an ip from the mine
{% if ip | length > 0%}
{% set hostname = cached_grains[minionid]['host'] %}
{% set node_type = minionid.split('_')[1] %}
{% if node_type not in node_types.keys() %}
{% do node_types.update({node_type: {hostname: ip[0]}}) %}
{% else %}
{% do node_types[node_type][hostname].update(ip[0]) %}
{% if hostname not in node_types[node_type] %}
{% do node_types[node_type].update({hostname: ip[0]}) %}
{% else %}
{% do node_types[node_type][hostname].update(ip[0]) %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
logstash:
nodes:
{% for node_type, values in node_types.items() %}
-9
View File
@@ -1,9 +0,0 @@
logstash:
pipelines:
receiver:
config:
- so/0009_input_beats.conf
- so/0010_input_hhbeats.conf
- so/0011_input_endgame.conf
- so/9999_output_redis.conf.jinja
-18
View File
@@ -1,18 +0,0 @@
logstash:
pipelines:
search:
config:
- so/0900_input_redis.conf.jinja
- so/9000_output_zeek.conf.jinja
- so/9002_output_import.conf.jinja
- so/9034_output_syslog.conf.jinja
- so/9050_output_filebeatmodules.conf.jinja
- so/9100_output_osquery.conf.jinja
- so/9400_output_suricata.conf.jinja
- so/9500_output_beats.conf.jinja
- so/9600_output_ossec.conf.jinja
- so/9700_output_strelka.conf.jinja
- so/9800_output_logscan.conf.jinja
- so/9801_output_rita.conf.jinja
- so/9802_output_kratos.conf.jinja
- so/9900_output_endgame.conf.jinja
+18 -16
View File
@@ -1,33 +1,35 @@
{% set node_types = {} %}
{% set manage_alived = salt.saltutil.runner('manage.alived', show_ip=True) %}
{% set manager = grains.master %}
{% set manager_type = manager.split('_')|last %}
{% for minionid, ip in salt.saltutil.runner('mine.get', tgt='*', fun='network.ip_addrs', tgt_type='glob') | dictsort() %}
{% set hostname = minionid.split('_')[0] %}
{% set node_type = minionid.split('_')[1] %}
{% set is_alive = False %}
{% if minionid in manage_alived.keys() %}
{% if ip[0] == manage_alived[minionid] %}
{% set is_alive = True %}
# only add a node to the pillar if it returned an ip from the mine
{% if ip | length > 0%}
{% if minionid in manage_alived.keys() %}
{% if ip[0] == manage_alived[minionid] %}
{% set is_alive = True %}
{% endif %}
{% endif %}
{% endif %}
{% if node_type not in node_types.keys() %}
{% do node_types.update({node_type: {hostname: {'ip':ip[0], 'alive':is_alive }}}) %}
{% else %}
{% if hostname not in node_types[node_type] %}
{% do node_types[node_type].update({hostname: {'ip':ip[0], 'alive':is_alive}}) %}
{% if node_type not in node_types.keys() %}
{% do node_types.update({node_type: {hostname: {'ip':ip[0], 'alive':is_alive }}}) %}
{% else %}
{% do node_types[node_type][hostname].update({'ip':ip[0], 'alive':is_alive}) %}
{% if hostname not in node_types[node_type] %}
{% do node_types[node_type].update({hostname: {'ip':ip[0], 'alive':is_alive}}) %}
{% else %}
{% do node_types[node_type][hostname].update({'ip':ip[0], 'alive':is_alive}) %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
node_data:
{% for node_type, host_values in node_types.items() %}
{{node_type}}:
{% for hostname, details in host_values.items() %}
{{hostname}}:
ip: {{details.ip}}
alive: {{ details.alive }}
{{hostname}}:
ip: {{details.ip}}
alive: {{ details.alive }}
role: {{node_type}}
{% endfor %}
{% endfor %}
+14
View File
@@ -0,0 +1,14 @@
# Copyright Jason Ertel (github.com/jertel).
# 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.
# Note: Per the Elastic License 2.0, the second limitation states:
#
# "You may not move, change, disable, or circumvent the license key functionality
# in the software, and you may not remove or obscure any functionality in the
# software that is protected by the license key."
# This file is generated by Security Onion and contains a list of license-enabled features.
features: []
-44
View File
@@ -1,44 +0,0 @@
thresholding:
sids:
8675309:
- threshold:
gen_id: 1
type: threshold
track: by_src
count: 10
seconds: 10
- threshold:
gen_id: 1
type: limit
track: by_dst
count: 100
seconds: 30
- rate_filter:
gen_id: 1
track: by_rule
count: 50
seconds: 30
new_action: alert
timeout: 30
- suppress:
gen_id: 1
track: by_either
ip: 10.10.3.7
11223344:
- threshold:
gen_id: 1
type: limit
track: by_dst
count: 10
seconds: 10
- rate_filter:
gen_id: 1
track: by_src
count: 50
seconds: 20
new_action: pass
timeout: 60
- suppress:
gen_id: 1
track: by_src
ip: 10.10.3.0/24
-20
View File
@@ -1,20 +0,0 @@
thresholding:
sids:
<signature id>:
- threshold:
gen_id: <generator id>
type: <threshold | limit | both>
track: <by_src | by_dst>
count: <count>
seconds: <seconds>
- rate_filter:
gen_id: <generator id>
track: <by_src | by_dst | by_rule | by_both>
count: <count>
seconds: <seconds>
new_action: <alert | pass>
timeout: <seconds>
- suppress:
gen_id: <generator id>
track: <by_src | by_dst | by_either>
ip: <ip | subnet>
+248 -81
View File
@@ -1,136 +1,303 @@
base:
'*':
- global.soc_global
- global.adv_global
- docker.soc_docker
- docker.adv_docker
- influxdb.token
- logrotate.soc_logrotate
- logrotate.adv_logrotate
- ntp.soc_ntp
- ntp.adv_ntp
- patch.needs_restarting
- logrotate
- patch.soc_patch
- patch.adv_patch
- sensoroni.soc_sensoroni
- sensoroni.adv_sensoroni
- telegraf.soc_telegraf
- telegraf.adv_telegraf
'* and not *_eval and not *_import':
- logstash.nodes
'*_eval or *_helixsensor or *_heavynode or *_sensor or *_standalone or *_import':
- match: compound
- zeek
'*_managersearch or *_heavynode':
- match: compound
- logstash
- logstash.manager
- logstash.search
- elasticsearch.index_templates
'*_manager':
- logstash
- logstash.manager
- elasticsearch.index_templates
'* and not *_desktop':
- firewall.soc_firewall
- firewall.adv_firewall
- nginx.soc_nginx
- nginx.adv_nginx
- node_data.ips
'*_manager or *_managersearch':
- match: compound
- data.*
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
{% endif %}
- secrets
- global
- manager.soc_manager
- manager.adv_manager
- idstools.soc_idstools
- idstools.adv_idstools
- logstash.nodes
- logstash.soc_logstash
- logstash.adv_logstash
- soc.soc_soc
- soc.adv_soc
- soc.license
- soctopus.soc_soctopus
- soctopus.adv_soctopus
- kibana.soc_kibana
- kibana.adv_kibana
- kratos.soc_kratos
- kratos.adv_kratos
- redis.soc_redis
- redis.adv_redis
- influxdb.soc_influxdb
- influxdb.adv_influxdb
- elasticsearch.soc_elasticsearch
- elasticsearch.adv_elasticsearch
- elasticfleet.soc_elasticfleet
- elasticfleet.adv_elasticfleet
- elastalert.soc_elastalert
- elastalert.adv_elastalert
- backup.soc_backup
- backup.adv_backup
- soctopus.soc_soctopus
- soctopus.adv_soctopus
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
- stig.soc_stig
'*_sensor':
- zeeklogs
- healthcheck.sensor
- global
- strelka.soc_strelka
- strelka.adv_strelka
- zeek.soc_zeek
- zeek.adv_zeek
- bpf.soc_bpf
- bpf.adv_bpf
- pcap.soc_pcap
- pcap.adv_pcap
- suricata.soc_suricata
- suricata.adv_suricata
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
- stig.soc_stig
- soc.license
'*_eval':
- data.*
- zeeklogs
- secrets
- healthcheck.eval
- elasticsearch.index_templates
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- global
{% endif %}
- kratos.soc_kratos
- elasticsearch.soc_elasticsearch
- elasticsearch.adv_elasticsearch
- elasticfleet.soc_elasticfleet
- elasticfleet.adv_elasticfleet
- elastalert.soc_elastalert
- elastalert.adv_elastalert
- manager.soc_manager
- manager.adv_manager
- idstools.soc_idstools
- idstools.adv_idstools
- soc.soc_soc
- soc.adv_soc
- soc.license
- soctopus.soc_soctopus
- soctopus.adv_soctopus
- kibana.soc_kibana
- kibana.adv_kibana
- strelka.soc_strelka
- strelka.adv_strelka
- kratos.soc_kratos
- kratos.adv_kratos
- redis.soc_redis
- redis.adv_redis
- influxdb.soc_influxdb
- influxdb.adv_influxdb
- backup.soc_backup
- backup.adv_backup
- zeek.soc_zeek
- zeek.adv_zeek
- bpf.soc_bpf
- bpf.adv_bpf
- pcap.soc_pcap
- pcap.adv_pcap
- suricata.soc_suricata
- suricata.adv_suricata
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
'*_standalone':
- logstash
- logstash.manager
- logstash.search
- logstash.nodes
- logstash.soc_logstash
- logstash.adv_logstash
- elasticsearch.index_templates
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- data.*
- zeeklogs
{% endif %}
- secrets
- healthcheck.standalone
- global
- minions.{{ grains.id }}
'*_node':
- global
- idstools.soc_idstools
- idstools.adv_idstools
- kratos.soc_kratos
- kratos.adv_kratos
- redis.soc_redis
- redis.adv_redis
- influxdb.soc_influxdb
- influxdb.adv_influxdb
- elasticsearch.soc_elasticsearch
- elasticsearch.adv_elasticsearch
- elasticfleet.soc_elasticfleet
- elasticfleet.adv_elasticfleet
- elastalert.soc_elastalert
- elastalert.adv_elastalert
- manager.soc_manager
- manager.adv_manager
- soc.soc_soc
- soc.adv_soc
- soc.license
- soctopus.soc_soctopus
- soctopus.adv_soctopus
- kibana.soc_kibana
- kibana.adv_kibana
- strelka.soc_strelka
- strelka.adv_strelka
- backup.soc_backup
- backup.adv_backup
- zeek.soc_zeek
- zeek.adv_zeek
- bpf.soc_bpf
- bpf.adv_bpf
- pcap.soc_pcap
- pcap.adv_pcap
- suricata.soc_suricata
- suricata.adv_suricata
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
- stig.soc_stig
'*_heavynode':
- zeeklogs
- elasticsearch.auth
- global
- minions.{{ grains.id }}
'*_helixsensor':
- fireeye
- zeeklogs
- logstash
- logstash.helix
- global
- minions.{{ grains.id }}
'*_fleet':
- data.*
- secrets
- global
- logstash.nodes
- logstash.soc_logstash
- logstash.adv_logstash
- elasticsearch.soc_elasticsearch
- elasticsearch.adv_elasticsearch
- redis.soc_redis
- redis.adv_redis
- zeek.soc_zeek
- zeek.adv_zeek
- bpf.soc_bpf
- bpf.adv_bpf
- pcap.soc_pcap
- pcap.adv_pcap
- suricata.soc_suricata
- suricata.adv_suricata
- strelka.soc_strelka
- strelka.adv_strelka
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
'*_idh':
- data.*
- global
- idh.soc_idh
- idh.adv_idh
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
'*_searchnode':
- logstash
- logstash.search
- elasticsearch.index_templates
- logstash.nodes
- logstash.soc_logstash
- logstash.adv_logstash
- elasticsearch.soc_elasticsearch
- elasticsearch.adv_elasticsearch
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
- global
{% endif %}
- redis.soc_redis
- redis.adv_redis
- minions.{{ grains.id }}
- data.nodestab
- minions.adv_{{ grains.id }}
- stig.soc_stig
- soc.license
'*_receiver':
- logstash
- logstash.receiver
- logstash.nodes
- logstash.soc_logstash
- logstash.adv_logstash
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
- global
{% endif %}
- redis.soc_redis
- redis.adv_redis
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
'*_import':
- zeeklogs
- secrets
- elasticsearch.index_templates
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- global
{% endif %}
- kratos.soc_kratos
- elasticsearch.soc_elasticsearch
- elasticsearch.adv_elasticsearch
- elasticfleet.soc_elasticfleet
- elasticfleet.adv_elasticfleet
- elastalert.soc_elastalert
- elastalert.adv_elastalert
- manager.soc_manager
- manager.adv_manager
- soc.soc_soc
- soc.adv_soc
- soc.license
- soctopus.soc_soctopus
- soctopus.adv_soctopus
- kibana.soc_kibana
- kibana.adv_kibana
- backup.soc_backup
- backup.adv_backup
- kratos.soc_kratos
- kratos.adv_kratos
- redis.soc_redis
- redis.adv_redis
- influxdb.soc_influxdb
- influxdb.adv_influxdb
- zeek.soc_zeek
- zeek.adv_zeek
- bpf.soc_bpf
- bpf.adv_bpf
- pcap.soc_pcap
- pcap.adv_pcap
- suricata.soc_suricata
- suricata.adv_suricata
- strelka.soc_strelka
- strelka.adv_strelka
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
'*_workstation':
'*_fleet':
- backup.soc_backup
- backup.adv_backup
- logstash.nodes
- logstash.soc_logstash
- logstash.adv_logstash
- elasticfleet.soc_elasticfleet
- elasticfleet.adv_elasticfleet
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
'*_desktop':
- minions.{{ grains.id }}
- minions.adv_{{ grains.id }}
-54
View File
@@ -1,55 +1 @@
zeek:
zeekctl:
MailTo: root@localhost
MailConnectionSummary: 1
MinDiskSpace: 5
MailHostUpDown: 1
LogRotationInterval: 3600
LogExpireInterval: 0
StatsLogEnable: 1
StatsLogExpireInterval: 0
StatusCmdShowAll: 0
CrashExpireInterval: 0
SitePolicyScripts: local.zeek
LogDir: /nsm/zeek/logs
SpoolDir: /nsm/zeek/spool
CfgDir: /opt/zeek/etc
CompressLogs: 1
local:
'@load':
- misc/loaded-scripts
- tuning/defaults
- misc/capture-loss
- misc/stats
- frameworks/software/vulnerable
- frameworks/software/version-changes
- protocols/ftp/software
- protocols/smtp/software
- protocols/ssh/software
- protocols/http/software
- protocols/dns/detect-external-names
- protocols/ftp/detect
- protocols/conn/known-hosts
- protocols/conn/known-services
- protocols/ssl/known-certs
- protocols/ssl/validate-certs
- protocols/ssl/log-hostcerts-only
- protocols/ssh/geo-data
- protocols/ssh/detect-bruteforcing
- protocols/ssh/interesting-hostnames
- protocols/http/detect-sqli
- frameworks/files/hash-all-files
- frameworks/files/detect-MHR
- policy/frameworks/notice/extend-email/hostnames
- ja3
- hassh
- intel
- cve-2020-0601
- securityonion/bpfconf
- securityonion/communityid
- securityonion/file-extraction
'@load-sigs':
- frameworks/signatures/detect-windows-shells
redef:
- LogAscii::use_json = T;
- CaptureLoss::watch_interval = 5 mins;
Executable
+26
View File
@@ -0,0 +1,26 @@
#!/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.
if [[ $# -ne 1 ]]; then
echo "Usage: $0 <python_script_dir>"
echo "Runs tests on all *_test.py files in the given directory."
exit 1
fi
HOME_DIR=$(dirname "$0")
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"
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"
+3 -3
View File
@@ -3,14 +3,14 @@ import subprocess
def check():
os = __grains__['os']
osfam = __grains__['os_family']
retval = 'False'
if os == 'Ubuntu':
if osfam == 'Debian':
if path.exists('/var/run/reboot-required'):
retval = 'True'
elif os == 'CentOS':
elif osfam == 'RedHat':
cmd = 'needs-restarting -r > /dev/null 2>&1'
try:
+2
View File
@@ -5,6 +5,8 @@ import logging
def status():
return __salt__['cmd.run']('/usr/sbin/so-status')
def version():
return __salt__['cp.get_file_str']('/etc/soversion')
def mysql_conn(retry):
log = logging.getLogger(__name__)
+51 -115
View File
@@ -1,18 +1,8 @@
{% set ZEEKVER = salt['pillar.get']('global:mdengine', '') %}
{% set WAZUH = salt['pillar.get']('global:wazuh', '0') %}
{% set PLAYBOOK = salt['pillar.get']('manager:playbook', '0') %}
{% set FREQSERVER = salt['pillar.get']('manager:freq', '0') %}
{% set DOMAINSTATS = salt['pillar.get']('manager:domainstats', '0') %}
{% set FLEETMANAGER = salt['pillar.get']('global:fleet_manager', False) %}
{% set FLEETNODE = salt['pillar.get']('global:fleet_node', False) %}
{% set ELASTALERT = salt['pillar.get']('elastalert:enabled', True) %}
{% set ELASTICSEARCH = salt['pillar.get']('elasticsearch:enabled', True) %}
{% set FILEBEAT = salt['pillar.get']('filebeat:enabled', True) %}
{% set KIBANA = salt['pillar.get']('kibana:enabled', True) %}
{% set LOGSTASH = salt['pillar.get']('logstash:enabled', True) %}
{% set CURATOR = salt['pillar.get']('curator:enabled', True) %}
{% set REDIS = salt['pillar.get']('redis:enabled', True) %}
{% set STRELKA = salt['pillar.get']('strelka:enabled', '0') %}
# 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.
{% set ISAIRGAP = salt['pillar.get']('global:airgap', False) %}
{% import_yaml 'salt/minion.defaults.yaml' as saltversion %}
{% set saltversion = saltversion.salt.minion.version %}
@@ -32,9 +22,10 @@
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'elasticfleet',
'elastic-fleet-package-registry',
'firewall',
'idstools',
'suricata.manager',
@@ -45,8 +36,7 @@
'schedule',
'soctopus',
'tcpreplay',
'docker_clean',
'learn'
'docker_clean'
],
'so-heavynode': [
'ssl',
@@ -56,46 +46,15 @@
'pcap',
'suricata',
'healthcheck',
'elasticagent',
'schedule',
'tcpreplay',
'docker_clean'
],
'so-helixsensor': [
'salt.master',
'ca',
'ssl',
'registry',
'telegraf',
'firewall',
'idstools',
'suricata.manager',
'zeek',
'redis',
'elasticsearch',
'logstash',
'schedule',
'tcpreplay',
'docker_clean'
],
'so-fleet': [
'ssl',
'nginx',
'telegraf',
'firewall',
'mysql',
'redis',
'fleet',
'fleet.install_package',
'filebeat',
'schedule',
'docker_clean'
],
'so-idh': [
'ssl',
'telegraf',
'firewall',
'fleet.install_package',
'filebeat',
'idh',
'schedule',
'docker_clean'
@@ -109,6 +68,8 @@
'nginx',
'soc',
'kratos',
'influxdb',
'telegraf',
'firewall',
'idstools',
'suricata.manager',
@@ -119,7 +80,8 @@
'schedule',
'tcpreplay',
'docker_clean',
'learn'
'elasticfleet',
'elastic-fleet-package-registry'
],
'so-manager': [
'salt.master',
@@ -130,9 +92,10 @@
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'elasticfleet',
'elastic-fleet-package-registry',
'firewall',
'idstools',
'suricata.manager',
@@ -140,7 +103,7 @@
'schedule',
'soctopus',
'docker_clean',
'learn'
'stig'
],
'so-managersearch': [
'salt.master',
@@ -150,9 +113,10 @@
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'elastic-fleet-package-registry',
'elasticfleet',
'firewall',
'manager',
'idstools',
@@ -161,15 +125,16 @@
'schedule',
'soctopus',
'docker_clean',
'learn'
'stig'
],
'so-node': [
'so-searchnode': [
'ssl',
'nginx',
'telegraf',
'firewall',
'schedule',
'docker_clean'
'docker_clean',
'stig'
],
'so-standalone': [
'salt.master',
@@ -180,9 +145,10 @@
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'elastic-fleet-package-registry',
'elasticfleet',
'firewall',
'idstools',
'suricata.manager',
@@ -194,7 +160,7 @@
'soctopus',
'tcpreplay',
'docker_clean',
'learn'
'stig'
],
'so-sensor': [
'ssl',
@@ -204,10 +170,20 @@
'pcap',
'suricata',
'healthcheck',
'wazuh',
'filebeat',
'schedule',
'tcpreplay',
'docker_clean',
'stig'
],
'so-fleet': [
'ssl',
'telegraf',
'firewall',
'logstash',
'nginx',
'healthcheck',
'schedule',
'elasticfleet',
'docker_clean'
],
'so-receiver': [
@@ -217,94 +193,54 @@
'schedule',
'docker_clean'
],
'so-workstation': [
'so-desktop': [
'ssl',
'docker_clean',
'telegraf'
],
}, grain='role') %}
{% if FILEBEAT and grains.role in ['so-helixsensor', 'so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-import', 'so-receiver'] %}
{% do allowed_states.append('filebeat') %}
{% endif %}
{% if ((FLEETMANAGER or FLEETNODE) or PLAYBOOK != 0) and grains.role in ['so-eval', 'so-manager', 'so-managersearch', 'so-standalone'] %}
{% if grains.role in ['so-eval', 'so-manager', 'so-managersearch', 'so-standalone'] %}
{% do allowed_states.append('mysql') %}
{% endif %}
{% if (FLEETMANAGER or FLEETNODE) and grains.role in ['so-sensor', 'so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% do allowed_states.append('fleet.install_package') %}
{% endif %}
{% if (FLEETMANAGER or FLEETNODE) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-heavynode'] %}
{% do allowed_states.append('fleet') %}
{% endif %}
{% if (FLEETMANAGER or FLEETNODE) and grains.role in ['so-eval'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{%- if ZEEKVER != 'SURICATA' and grains.role in ['so-sensor', 'so-eval', 'so-standalone', 'so-heavynode'] %}
{%- if grains.role in ['so-sensor', 'so-eval', 'so-standalone', 'so-heavynode'] %}
{% do allowed_states.append('zeek') %}
{%- endif %}
{% if STRELKA and grains.role in ['so-sensor', 'so-eval', 'so-standalone', 'so-heavynode'] %}
{% if grains.role in ['so-sensor', 'so-eval', 'so-standalone', 'so-heavynode'] %}
{% do allowed_states.append('strelka') %}
{% endif %}
{% if WAZUH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver','so-idh']%}
{% do allowed_states.append('wazuh') %}
{% endif %}
{% if ELASTICSEARCH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-import'] %}
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-searchnode', 'so-managersearch', 'so-heavynode', 'so-import'] %}
{% do allowed_states.append('elasticsearch') %}
{% endif %}
{% if ELASTICSEARCH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% do allowed_states.append('elasticsearch.auth') %}
{% endif %}
{% if KIBANA and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% do allowed_states.append('kibana') %}
{% do allowed_states.append('kibana.secrets') %}
{% endif %}
{% if grains.role in ['so-eval', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-manager'] %}
{% do allowed_states.append('curator') %}
{% endif %}
{% if ELASTALERT and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('elastalert') %}
{% endif %}
{% if (PLAYBOOK !=0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('playbook') %}
{% endif %}
{% if (PLAYBOOK !=0) and grains.role in ['so-eval'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{% if (FREQSERVER !=0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('freqserver') %}
{% endif %}
{% if (DOMAINSTATS !=0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('domainstats') %}
{% endif %}
{% if LOGSTASH and grains.role in ['so-helixsensor', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% if grains.role in ['so-manager', 'so-standalone', 'so-searchnode', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% do allowed_states.append('logstash') %}
{% endif %}
{% if REDIS and grains.role in ['so-manager', 'so-standalone', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% if grains.role in ['so-manager', 'so-standalone', 'so-managersearch', 'so-heavynode', 'so-receiver', 'so-eval'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{% if grains.os == 'CentOS' %}
{% if not ISAIRGAP %}
{% do allowed_states.append('yum') %}
{% endif %}
{% do allowed_states.append('yum.packages') %}
{% endif %}
{# all nodes on the right salt version can run the following states #}
{% do allowed_states.append('common') %}
{% do allowed_states.append('patch.os.schedule') %}
+34
View File
@@ -0,0 +1,34 @@
{% from 'backup/map.jinja' import BACKUP_MERGED %}
# Lock permissions on the backup directory
backupdir:
file.directory:
- name: /nsm/backup
- user: 0
- group: 0
- makedirs: True
- mode: 700
config_backup_script:
file.managed:
- name: /usr/sbin/so-config-backup
- user: root
- group: root
- mode: 755
- template: jinja
- source: salt://backup/tools/sbin/so-config-backup.jinja
- defaults:
BACKUPLOCATIONS: {{ BACKUP_MERGED.locations }}
DESTINATION: {{ BACKUP_MERGED.destination }}
# Add config backup
so_config_backup:
cron.present:
- name: /usr/sbin/so-config-backup > /dev/null 2>&1
- identifier: so_config_backup
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
+7
View File
@@ -0,0 +1,7 @@
backup:
locations:
- /opt/so/saltstack/local
- /etc/pki
- /etc/salt
- /nsm/kratos
destination: "/nsm/backup"
+2
View File
@@ -0,0 +1,2 @@
{% import_yaml 'backup/defaults.yaml' as BACKUP_DEFAULTS %}
{% set BACKUP_MERGED = salt['pillar.get']('backup', BACKUP_DEFAULTS.backup, merge=true, merge_nested_lists=true) %}
+10
View File
@@ -0,0 +1,10 @@
backup:
locations:
description: List of locations to back up to the destination.
helpLink: backup.html
global: True
destination:
description: Directory to store the configuration backups in.
helpLink: backup.html
global: True
+37
View File
@@ -0,0 +1,37 @@
#!/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-common
TODAY=$(date '+%Y_%m_%d')
BACKUPDIR={{ DESTINATION }}
BACKUPFILE="$BACKUPDIR/so-config-backup-$TODAY.tar"
MAXBACKUPS=7
# Create backup dir if it does not exist
mkdir -p /nsm/backup
# If we haven't already written a backup file for today, let's do so
if [ ! -f $BACKUPFILE ]; then
# Create empty backup file
tar -cf $BACKUPFILE -T /dev/null
# Loop through all paths defined in global.sls, and append them to backup file
{%- for LOCATION in BACKUPLOCATIONS %}
tar -rf $BACKUPFILE {{ LOCATION }}
{%- endfor %}
fi
# Find oldest backup files and remove them
NUMBACKUPS=$(find /nsm/backup/ -type f -name "so-config-backup*" | wc -l)
while [ "$NUMBACKUPS" -gt "$MAXBACKUPS" ]; do
OLDESTBACKUP=$(find /nsm/backup/ -type f -name "so-config-backup*" -type f -printf '%T+ %p\n' | sort | head -n 1 | awk -F" " '{print $2}')
rm -f $OLDESTBACKUP
NUMBACKUPS=$(find /nsm/backup/ -type f -name "so-config-backup*" | wc -l)
done
+4
View File
@@ -0,0 +1,4 @@
bpf:
pcap: []
suricata: []
zeek: []
+10
View File
@@ -0,0 +1,10 @@
{% macro remove_comments(bpfmerged, app) %}
{# remove comments from the bpf #}
{% for bpf in bpfmerged[app] %}
{% if bpf.strip().startswith('#') %}
{% do bpfmerged[app].pop(loop.index0) %}
{% endif %}
{% endfor %}
{% endmacro %}
+7
View File
@@ -0,0 +1,7 @@
{% import_yaml 'bpf/defaults.yaml' as BPFDEFAULTS %}
{% set BPFMERGED = salt['pillar.get']('bpf', BPFDEFAULTS.bpf, merge=True) %}
{% import 'bpf/macros.jinja' as MACROS %}
{{ MACROS.remove_comments(BPFMERGED, 'pcap') }}
{% set PCAPBPF = BPFMERGED.pcap %}
+16
View File
@@ -0,0 +1,16 @@
bpf:
pcap:
description: List of BPF filters to apply to PCAP.
multiline: True
forcedType: "[]string"
helpLink: bpf.html
suricata:
description: List of BPF filters to apply to Suricata.
multiline: True
forcedType: "[]string"
helpLink: bpf.html
zeek:
description: List of BPF filters to apply to Zeek.
multiline: True
forcedType: "[]string"
helpLink: bpf.html
+7
View File
@@ -0,0 +1,7 @@
{% import_yaml 'bpf/defaults.yaml' as BPFDEFAULTS %}
{% set BPFMERGED = salt['pillar.get']('bpf', BPFDEFAULTS.bpf, merge=True) %}
{% import 'bpf/macros.jinja' as MACROS %}
{{ MACROS.remove_comments(BPFMERGED, 'suricata') }}
{% set SURICATABPF = BPFMERGED.suricata %}
+7
View File
@@ -0,0 +1,7 @@
{% import_yaml 'bpf/defaults.yaml' as BPFDEFAULTS %}
{% set BPFMERGED = salt['pillar.get']('bpf', BPFDEFAULTS.bpf, merge=True) %}
{% import 'bpf/macros.jinja' as MACROS %}
{{ MACROS.remove_comments(BPFMERGED, 'zeek') }}
{% set ZEEKBPF = BPFMERGED.zeek %}
+3 -4
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
@@ -57,7 +57,7 @@ x509_signing_policies:
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/
fleet:
elasticfleet:
- minions: '*'
- signing_private_key: /etc/pki/ca.key
- signing_cert: /etc/pki/ca.crt
@@ -65,9 +65,8 @@ x509_signing_policies:
- ST: Utah
- L: Salt Lake City
- basicConstraints: "critical CA:false"
- keyUsage: "critical keyEncipherment"
- keyUsage: "digitalSignature, nonRepudiation"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/
+16 -5
View File
@@ -1,10 +1,16 @@
# 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.
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %}
{% from 'vars/globals.map.jinja' import GLOBALS %}
include:
- ca.dirs
{% set manager = salt['grains.get']('master') %}
/etc/salt/minion.d/signing_policies.conf:
file.managed:
- source: salt://ca/files/signing_policies.conf
@@ -12,9 +18,8 @@ include:
pki_private_key:
x509.private_key_managed:
- name: /etc/pki/ca.key
- bits: 4096
- keysize: 4096
- passphrase:
- cipher: aes_256_cbc
- backup: True
{% if salt['file.file_exists']('/etc/pki/ca.key') -%}
- prereq:
@@ -25,7 +30,7 @@ pki_public_ca_crt:
x509.certificate_managed:
- name: /etc/pki/ca.crt
- signing_private_key: /etc/pki/ca.key
- CN: {{ manager }}
- CN: {{ GLOBALS.manager }}
- C: US
- ST: Utah
- L: Salt Lake City
@@ -33,7 +38,7 @@ pki_public_ca_crt:
- keyUsage: "critical cRLSign, keyCertSign"
- extendedkeyUsage: "serverAuth, clientAuth"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- authorityKeyIdentifier: keyid:always, issuer
- days_valid: 3650
- days_remaining: 0
- backup: True
@@ -45,6 +50,12 @@ pki_public_ca_crt:
attempts: 5
interval: 30
mine_update_ca_crt:
module.run:
- mine.update: []
- onchanges:
- x509: pki_public_ca_crt
cakeyperms:
file.managed:
- replace: False
-2
View File
@@ -1,2 +0,0 @@
#!/bin/bash
/usr/sbin/logrotate -f /opt/so/conf/log-rotate.conf > /dev/null 2>&1
-2
View File
@@ -1,2 +0,0 @@
#!/bin/bash
/usr/sbin/logrotate -f /opt/so/conf/sensor-rotate.conf > /dev/null 2>&1
-79
View File
@@ -1,79 +0,0 @@
The following GUI tools are available on the analyst workstation:
chromium
url: https://www.chromium.org/Home
To run chromium, click Applications > Internet > Chromium Web Browser
Wireshark
url: https://www.wireshark.org/
To run Wireshark, click Applications > Internet > Wireshark Network Analyzer
NetworkMiner
url: https://www.netresec.com
To run NetworkMiner, click Applications > Internet > NetworkMiner
The following CLI tools are available on the analyst workstation:
bit-twist
url: http://bittwist.sourceforge.net
To run bit-twist, open a terminal and type: bittwist -h
chaosreader
url: http://chaosreader.sourceforge.net
To run chaosreader, open a terminal and type: chaosreader -h
dnsiff
url: https://www.monkey.org/~dugsong/dsniff/
To run dsniff, open a terminal and type: dsniff -h
foremost
url: http://foremost.sourceforge.net
To run foremost, open a terminal and type: foremost -h
hping3
url: http://www.hping.org/hping3.html
To run hping3, open a terminal and type: hping3 -h
netsed
url: http://silicone.homelinux.org/projects/netsed/
To run netsed, open a terminal and type: netsed -h
ngrep
url: https://github.com/jpr5/ngrep
To run ngrep, open a terminal and type: ngrep -h
scapy
url: http://www.secdev.org/projects/scapy/
To run scapy, open a terminal and type: scapy
ssldump
url: http://www.rtfm.com/ssldump/
To run ssldump, open a terminal and type: ssldump -h
sslsplit
url: https://github.com/droe/sslsplit
To run sslsplit, open a terminal and type: sslsplit -h
tcpdump
url: http://www.tcpdump.org
To run tcpdump, open a terminal and type: tcpdump -h
tcpflow
url: https://github.com/simsong/tcpflow
To run tcpflow, open a terminal and type: tcpflow -h
tcpstat
url: https://frenchfries.net/paul/tcpstat/
To run tcpstat, open a terminal and type: tcpstat -h
tcptrace
url: http://www.tcptrace.org
To run tcptrace, open a terminal and type: tcptrace -h
tcpxtract
url: http://tcpxtract.sourceforge.net/
To run tcpxtract, open a terminal and type: tcpxtract -h
whois
url: http://www.linux.it/~md/software/
To run whois, open a terminal and type: whois -h
+10 -10
View File
@@ -1,12 +1,12 @@
{%- set DOCKERRANGE = salt['pillar.get']('docker:range', '172.17.0.0/24') %}
{%- set DOCKERBIND = salt['pillar.get']('docker:bip', '172.17.0.1/24') %}
{
"registry-mirrors": [ "https://:5000" ],
"bip": "{{ DOCKERBIND }}",
"default-address-pools": [
{
"base" : "{{ DOCKERRANGE }}",
"size" : 24
}
]
"registry-mirrors": [
"https://:5000"
],
"bip": "172.17.0.1/24",
"default-address-pools": [
{
"base": "172.17.0.0/24",
"size": 24
}
]
}
-37
View File
@@ -1,37 +0,0 @@
{%- set logrotate_conf = salt['pillar.get']('logrotate:conf') %}
{%- set group_conf = salt['pillar.get']('logrotate:group_conf') %}
/opt/so/log/aptcacher-ng/*.log
/opt/so/log/idstools/*.log
/opt/so/log/nginx/*.log
/opt/so/log/soc/*.log
/opt/so/log/kratos/*.log
/opt/so/log/kibana/*.log
/opt/so/log/influxdb/*.log
/opt/so/log/elastalert/*.log
/opt/so/log/soctopus/*.log
/opt/so/log/curator/*.log
/opt/so/log/fleet/*.log
/opt/so/log/suricata/*.log
/opt/so/log/mysql/*.log
/opt/so/log/telegraf/*.log
/opt/so/log/redis/*.log
/opt/so/log/sensoroni/*.log
/opt/so/log/stenographer/*.log
/opt/so/log/salt/so-salt-minion-check
/opt/so/log/salt/minion
/opt/so/log/salt/master
/opt/so/log/logscan/*.log
/nsm/idh/*.log
{
{{ logrotate_conf | indent(width=4) }}
}
# Playbook's log directory needs additional configuration
# because Playbook requires a more permissive directory
/opt/so/log/playbook/*.log
{
{{ logrotate_conf | indent(width=4) }}
{{ group_conf | indent(width=4) }}
}
-22
View File
@@ -1,22 +0,0 @@
/opt/so/log/sensor_clean.log
{
daily
rotate 2
missingok
nocompress
create
sharedscripts
}
/nsm/strelka/log/strelka.log
{
daily
rotate 14
missingok
copytruncate
compress
create
extension .log
dateext
dateyesterday
}
-1
View File
@@ -3,4 +3,3 @@ filetype plugin indent on
" Sets .sls files to use YAML syntax highlighting
autocmd BufNewFile,BufRead *.sls set syntax=yaml
set number
+75 -225
View File
@@ -1,25 +1,24 @@
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %}
{% set role = grains.id.split('_') | last %}
{% from 'elasticsearch/auth.map.jinja' import ELASTICAUTH with context %}
{% from 'vars/globals.map.jinja' import GLOBALS %}
include:
- common.soup_scripts
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
- common.packages
{% if GLOBALS.role in GLOBALS.manager_roles %}
- manager.elasticsearch # needed for elastic_curl_config state
- manager.kibana
{% endif %}
net.core.wmem_default:
sysctl.present:
- value: 26214400
# Remove variables.txt from /tmp - This is temp
rmvariablesfile:
file.absent:
- name: /tmp/variables.txt
dockergroup:
group.present:
- name: docker
- gid: 920
# Add socore Group
socoregroup:
group.present:
@@ -38,15 +37,15 @@ socore:
soconfperms:
file.directory:
- name: /opt/so/conf
- uid: 939
- gid: 939
- user: 939
- group: 939
- dir_mode: 770
sostatusconf:
file.directory:
- name: /opt/so/conf/so-status
- uid: 939
- gid: 939
- user: 939
- group: 939
- dir_mode: 770
so-status.conf:
@@ -54,12 +53,11 @@ so-status.conf:
- name: /opt/so/conf/so-status/so-status.conf
- unless: ls /opt/so/conf/so-status/so-status.conf
sosaltstackperms:
socore_opso_perms:
file.directory:
- name: /opt/so/saltstack
- uid: 939
- gid: 939
- dir_mode: 770
- name: /opt/so
- user: 939
- group: 939
so_log_perms:
file.directory:
@@ -88,92 +86,6 @@ vimconfig:
- source: salt://common/files/vimrc
- replace: False
# Install common packages
{% if grains['os'] != 'CentOS' %}
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- apache2-utils
- wget
- ntpdate
- jq
- python3-docker
- curl
- ca-certificates
- software-properties-common
- apt-transport-https
- openssl
- netcat
- python3-mysqldb
- sqlite3
- libssl-dev
- python3-dateutil
- python3-m2crypto
- python3-mysqldb
- python3-packaging
- python3-lxml
- git
- vim
heldpackages:
pkg.installed:
- pkgs:
{% if grains['oscodename'] == 'bionic' %}
- containerd.io: 1.4.4-1
- docker-ce: 5:20.10.5~3-0~ubuntu-bionic
- docker-ce-cli: 5:20.10.5~3-0~ubuntu-bionic
- docker-ce-rootless-extras: 5:20.10.5~3-0~ubuntu-bionic
{% elif grains['oscodename'] == 'focal' %}
- 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
{% endif %}
- hold: True
- update_holds: True
{% else %}
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- wget
- ntpdate
- bind-utils
- jq
- tcpdump
- httpd-tools
- net-tools
- curl
- sqlite
- mariadb-devel
- nmap-ncat
- python3
- python36-docker
- python36-dateutil
- python36-m2crypto
- python36-mysql
- python36-packaging
- python36-lxml
- yum-utils
- device-mapper-persistent-data
- lvm2
- openssl
- git
- vim-enhanced
heldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.4.4-3.1.el7
- docker-ce: 3:20.10.5-3.el7
- docker-ce-cli: 1:20.10.5-3.el7
- docker-ce-rootless-extras: 20.10.5-3.el7
- hold: True
- update_holds: True
{% endif %}
# Always keep these packages up to date
alwaysupdated:
@@ -188,7 +100,8 @@ alwaysupdated:
Etc/UTC:
timezone.system
{% if salt['pillar.get']('elasticsearch:auth:enabled', False) %}
# Sync curl configuration for Elasticsearch authentication
{% if GLOBALS.role in ['so-eval', 'so-heavynode', 'so-import', 'so-manager', 'so-managersearch', 'so-searchnode', 'so-standalone'] %}
elastic_curl_config:
file.managed:
- name: /opt/so/conf/elasticsearch/curl.config
@@ -196,87 +109,62 @@ elastic_curl_config:
- mode: 600
- show_changes: False
- makedirs: True
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% if GLOBALS.role in GLOBALS.manager_roles %}
- require:
- file: elastic_curl_config_distributed
{% endif %}
{% endif %}
# Sync some Utilities
utilsyncscripts:
common_sbin:
file.recurse:
- name: /usr/sbin
- user: root
- group: root
- source: salt://common/tools/sbin
- user: 939
- group: 939
- file_mode: 755
common_sbin_jinja:
file.recurse:
- name: /usr/sbin
- source: salt://common/tools/sbin_jinja
- user: 939
- group: 939
- file_mode: 755
- template: jinja
- source: salt://common/tools/sbin
- defaults:
ELASTICCURL: 'curl'
- context:
ELASTICCURL: {{ ELASTICAUTH.elasticcurl }}
- exclude_pat:
- so-common
- so-firewall
- so-image-common
- soup
{% if role in ['eval', 'standalone', 'sensor', 'heavynode'] %}
{% if not GLOBALS.is_manager%}
# prior to 2.4.50 these scripts were in common/tools/sbin on the manager because of soup and distributed to non managers
# these two states remove the scripts from non manager nodes
remove_soup:
file.absent:
- name: /usr/sbin/soup
remove_so-firewall:
file.absent:
- name: /usr/sbin/so-firewall
{% endif %}
so-status_script:
file.managed:
- name: /usr/sbin/so-status
- source: salt://common/tools/sbin/so-status
- mode: 755
{% if GLOBALS.role in GLOBALS.sensor_roles %}
# Add sensor cleanup
/usr/sbin/so-sensor-clean:
so-sensor-clean:
cron.present:
- name: /usr/sbin/so-sensor-clean
- identifier: so-sensor-clean
- user: root
- minute: '*'
- hour: '*'
- daymonth: '*'
- month: '*'
- dayweek: '*'
sensorrotatescript:
file.managed:
- name: /usr/local/bin/sensor-rotate
- source: salt://common/cron/sensor-rotate
- mode: 755
sensorrotateconf:
file.managed:
- name: /opt/so/conf/sensor-rotate.conf
- source: salt://common/files/sensor-rotate.conf
- mode: 644
/usr/local/bin/sensor-rotate:
cron.present:
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% endif %}
commonlogrotatescript:
file.managed:
- name: /usr/local/bin/common-rotate
- source: salt://common/cron/common-rotate
- mode: 755
commonlogrotateconf:
file.managed:
- name: /opt/so/conf/log-rotate.conf
- source: salt://common/files/log-rotate.conf
- template: jinja
- mode: 644
/usr/local/bin/common-rotate:
cron.present:
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
# Create the status directory
sostatusdir:
file.directory:
@@ -290,9 +178,11 @@ sostatus_log:
- name: /opt/so/log/sostatus/status.log
- mode: 644
# Install sostatus check cron
'/usr/sbin/so-status -q; echo $? > /opt/so/log/sostatus/status.log 2>&1':
# Install sostatus check cron. This is used to populate Grid.
so-status_check_cron:
cron.present:
- name: '/usr/sbin/so-status -j > /opt/so/log/sostatus/status.log 2>&1'
- identifier: so-status_check_cron
- user: root
- minute: '*/1'
- hour: '*'
@@ -300,36 +190,21 @@ sostatus_log:
- month: '*'
- dayweek: '*'
{% if role in ['eval', 'manager', 'managersearch', 'standalone'] %}
# Install cron job to determine size of influxdb for telegraf
'du -s -k /nsm/influxdb | cut -f1 > /opt/so/log/telegraf/influxdb_size.log 2>&1':
# This cronjob/script runs a check if the node needs restarted, but should be used for future status checks as well
common_status_check_cron:
cron.present:
- name: '/usr/sbin/so-common-status-check > /dev/null 2>&1'
- identifier: common_status_check
- user: root
- minute: '*/1'
- hour: '*'
- daymonth: '*'
- month: '*'
- dayweek: '*'
- minute: '*/10'
# Lock permissions on the backup directory
backupdir:
file.directory:
- name: /nsm/backup
- user: 0
- group: 0
- makedirs: True
- mode: 700
remove_post_setup_cron:
cron.absent:
- name: 'PATH=$PATH:/usr/sbin salt-call state.highstate'
- identifier: post_setup_cron
{% if GLOBALS.role not in ['eval', 'manager', 'managersearch', 'standalone'] %}
# Add config backup
/usr/sbin/so-config-backup > /dev/null 2>&1:
cron.present:
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% else %}
soversionfile:
file.managed:
- name: /etc/soversion
@@ -339,34 +214,8 @@ soversionfile:
{% endif %}
# Manager daemon.json
docker_daemon:
file.managed:
- source: salt://common/files/daemon.json
- name: /etc/docker/daemon.json
- template: jinja
# Make sure Docker is always running
docker:
service.running:
- enable: True
- watch:
- file: docker_daemon
# Reserve OS ports for Docker proxy in case boot settings are not already applied/present
# 55000 = Wazuh, 57314 = Strelka, 47760-47860 = Zeek
dockerapplyports:
cmd.run:
- name: if [ ! -s /etc/sysctl.d/99-reserved-ports.conf ]; then sysctl -w net.ipv4.ip_local_reserved_ports="55000,57314,47760-47860"; fi
# Reserve OS ports for Docker proxy
dockerreserveports:
file.managed:
- source: salt://common/files/99-reserved-ports.conf
- name: /etc/sysctl.d/99-reserved-ports.conf
{% if salt['grains.get']('sosmodel', '') %}
{% if grains['os'] == 'CentOS' %}
{% if GLOBALS.so_model and GLOBALS.so_model not in ['SO2AMI01', 'SO2AZI01', 'SO2GCI01'] %}
{% if GLOBALS.os == 'OEL' %}
# Install Raid tools
raidpkgs:
pkg.installed:
@@ -377,8 +226,10 @@ raidpkgs:
{% endif %}
# Install raid check cron
/usr/sbin/so-raid-status > /dev/null 2>&1:
so-raid-status:
cron.present:
- name: '/usr/sbin/so-raid-status > /dev/null 2>&1'
- identifier: so-raid-status
- user: root
- minute: '*/15'
- hour: '*'
@@ -386,8 +237,7 @@ raidpkgs:
- month: '*'
- dayweek: '*'
{% endif %}
{% endif %}
{% else %}
{{sls}}_state_not_allowed:
+86
View File
@@ -0,0 +1,86 @@
{% from 'vars/globals.map.jinja' import GLOBALS %}
{% if GLOBALS.os_family == 'Debian' %}
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- apache2-utils
- wget
- ntpdate
- jq
- curl
- ca-certificates
- software-properties-common
- apt-transport-https
- openssl
- netcat-openbsd
- sqlite3
- libssl-dev
- procps
- python3-dateutil
- python3-docker
- python3-packaging
- python3-lxml
- git
- rsync
- vim
- tar
- unzip
{% if grains.oscodename != 'focal' %}
- python3-rich
{% endif %}
{% if grains.oscodename == 'focal' %}
# since Ubuntu requires and internet connection we can use pip to install modules
python3-pip:
pkg.installed
python-rich:
pip.installed:
- name: rich
- target: /usr/local/lib/python3.8/dist-packages/
- require:
- pkg: python3-pip
{% endif %}
{% endif %}
{% if GLOBALS.os_family == 'RedHat' %}
remove_mariadb:
pkg.removed:
- name: mariadb-devel
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- python3-dnf-plugin-versionlock
- curl
- device-mapper-persistent-data
- fuse
- fuse-libs
- fuse-overlayfs
- fuse-common
- fuse3
- fuse3-libs
- git
- httpd-tools
- jq
- lvm2
- net-tools
- nmap-ncat
- procps-ng
- python3-docker
- python3-m2crypto
- python3-packaging
- python3-pyyaml
- python3-rich
- rsync
- sqlite
- tcpdump
- unzip
- wget
- yum-utils
{% endif %}
+70 -13
View File
@@ -1,13 +1,70 @@
# Sync some Utilities
soup_scripts:
file.recurse:
- name: /usr/sbin
- user: root
- group: root
- file_mode: 755
- source: salt://common/tools/sbin
- include_pat:
- so-common
- so-firewall
- so-image-common
- soup
{% import_yaml '/opt/so/saltstack/local/pillar/global/soc_global.sls' as SOC_GLOBAL %}
{% if SOC_GLOBAL.global.airgap %}
{% set UPDATE_DIR='/tmp/soagupdate/SecurityOnion' %}
{% else %}
{% set UPDATE_DIR='/tmp/sogh/securityonion' %}
{% endif %}
remove_common_soup:
file.absent:
- name: /opt/so/saltstack/default/salt/common/tools/sbin/soup
remove_common_so-firewall:
file.absent:
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-firewall
copy_so-common_common_tools_sbin:
file.copy:
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-common
- source: {{UPDATE_DIR}}/salt/common/tools/sbin/so-common
- force: True
- preserve: True
copy_so-image-common_common_tools_sbin:
file.copy:
- name: /opt/so/saltstack/default/salt/common/tools/sbin/so-image-common
- source: {{UPDATE_DIR}}/salt/common/tools/sbin/so-image-common
- force: True
- preserve: True
copy_soup_manager_tools_sbin:
file.copy:
- name: /opt/so/saltstack/default/salt/manager/tools/sbin/soup
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/soup
- force: True
- preserve: True
copy_so-firewall_manager_tools_sbin:
file.copy:
- name: /opt/so/saltstack/default/salt/manager/tools/sbin/so-firewall
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-firewall
- force: True
- preserve: True
copy_so-common_sbin:
file.copy:
- name: /usr/sbin/so-common
- source: {{UPDATE_DIR}}/salt/common/tools/sbin/so-common
- force: True
- preserve: True
copy_so-image-common_sbin:
file.copy:
- name: /usr/sbin/so-image-common
- source: {{UPDATE_DIR}}/salt/common/tools/sbin/so-image-common
- force: True
- preserve: True
copy_soup_sbin:
file.copy:
- name: /usr/sbin/soup
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/soup
- force: True
- preserve: True
copy_so-firewall_sbin:
file.copy:
- name: /usr/sbin/so-firewall
- source: {{UPDATE_DIR}}/salt/manager/tools/sbin/so-firewall
- force: True
- preserve: True
-207
View File
@@ -1,207 +0,0 @@
#!/usr/bin/env python3
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import ipaddress
import textwrap
import os
import subprocess
import sys
import argparse
import re
from lxml import etree as ET
from datetime import datetime as dt
from datetime import timezone as tz
LOCAL_SALT_DIR='/opt/so/saltstack/local'
WAZUH_CONF='/nsm/wazuh/etc/ossec.conf'
VALID_ROLES = {
'a': { 'role': 'analyst','desc': 'Analyst - 80/tcp, 443/tcp' },
'b': { 'role': 'beats_endpoint', 'desc': 'Logstash Beat - 5044/tcp' },
'e': { 'role': 'elasticsearch_rest', 'desc': 'Elasticsearch REST API - 9200/tcp' },
'f': { 'role': 'strelka_frontend', 'desc': 'Strelka frontend - 57314/tcp' },
'o': { 'role': 'osquery_endpoint', 'desc': 'Osquery endpoint - 8090/tcp' },
's': { 'role': 'syslog', 'desc': 'Syslog device - 514/tcp/udp' },
'w': { 'role': 'wazuh_agent', 'desc': 'Wazuh agent - 1514/tcp/udp' },
'p': { 'role': 'wazuh_api', 'desc': 'Wazuh API - 55000/tcp' },
'r': { 'role': 'wazuh_authd', 'desc': 'Wazuh registration service - 1515/tcp' }
}
def validate_ip_cidr(ip_cidr: str) -> bool:
try:
ipaddress.ip_address(ip_cidr)
except ValueError:
try:
ipaddress.ip_network(ip_cidr)
except ValueError:
return False
return True
def role_prompt() -> str:
print()
print('Choose the role for the IP or Range you would like to allow')
print()
for role in VALID_ROLES:
print(f'[{role}] - {VALID_ROLES[role]["desc"]}')
print()
role = input('Please enter your selection: ')
if role in VALID_ROLES.keys():
return VALID_ROLES[role]['role']
else:
print(f'Invalid role \'{role}\', please try again.', file=sys.stderr)
sys.exit(1)
def ip_prompt() -> str:
ip = input('Enter a single ip address or range to allow (ex: 10.10.10.10 or 10.10.0.0/16): ')
if validate_ip_cidr(ip):
return ip
else:
print(f'Invalid IP address or CIDR block \'{ip}\', please try again.', file=sys.stderr)
sys.exit(1)
def wazuh_enabled() -> bool:
file = f'{LOCAL_SALT_DIR}/pillar/global.sls'
with open(file, 'r') as pillar:
if 'wazuh: 1' in pillar.read():
return True
return False
def root_to_str(root: ET.ElementTree) -> str:
return ET.tostring(root, encoding='unicode', method='xml', xml_declaration=False, pretty_print=True)
def add_wl(ip):
parser = ET.XMLParser(remove_blank_text=True)
with open(WAZUH_CONF, 'rb') as wazuh_conf:
tree = ET.parse(wazuh_conf, parser)
root = tree.getroot()
source_comment = ET.Comment(f'Address {ip} added by /usr/sbin/so-allow on {dt.utcnow().replace(tzinfo=tz.utc).strftime("%a %b %e %H:%M:%S %Z %Y")}')
new_global = ET.Element("global")
new_wl = ET.SubElement(new_global, 'white_list')
new_wl.text = ip
root.append(source_comment)
root.append(new_global)
with open(WAZUH_CONF, 'w') as add_out:
add_out.write(root_to_str(root))
def apply(role: str, ip: str) -> int:
firewall_cmd = ['so-firewall', 'includehost', role, ip]
salt_cmd = ['salt-call', 'state.apply', '-l', 'quiet', 'firewall', 'queue=True']
restart_wazuh_cmd = ['so-wazuh-restart']
print(f'Adding {ip} to the {role} role. This can take a few seconds...')
cmd = subprocess.run(firewall_cmd)
if cmd.returncode == 0:
cmd = subprocess.run(salt_cmd, stdout=subprocess.DEVNULL)
else:
return cmd.returncode
if cmd.returncode == 0:
if wazuh_enabled() and role=='analyst':
try:
add_wl(ip)
print(f'Added whitelist entry for {ip} from {WAZUH_CONF}', file=sys.stderr)
except Exception as e:
print(f'Failed to add whitelist entry for {ip} from {WAZUH_CONF}', file=sys.stderr)
print(e)
return 1
print('Restarting OSSEC Server...')
cmd = subprocess.run(restart_wazuh_cmd)
else:
return cmd.returncode
else:
print(f'Commmand \'{" ".join(salt_cmd)}\' failed.', file=sys.stderr)
return cmd.returncode
if cmd.returncode != 0:
print('Failed to restart OSSEC server.')
return cmd.returncode
def main():
if os.geteuid() != 0:
print('You must run this script as root', file=sys.stderr)
sys.exit(1)
main_parser = argparse.ArgumentParser(
formatter_class=argparse.RawDescriptionHelpFormatter,
epilog=textwrap.dedent(f'''\
additional information:
To use this script in interactive mode call it with no arguments
'''
))
group = main_parser.add_argument_group(title='roles')
group.add_argument('-a', dest='roles', action='append_const', const=VALID_ROLES['a']['role'], help="Analyst - 80/tcp, 443/tcp")
group.add_argument('-b', dest='roles', action='append_const', const=VALID_ROLES['b']['role'], help="Logstash Beat - 5044/tcp")
group.add_argument('-e', dest='roles', action='append_const', const=VALID_ROLES['e']['role'], help="Elasticsearch REST API - 9200/tcp")
group.add_argument('-f', dest='roles', action='append_const', const=VALID_ROLES['f']['role'], help="Strelka frontend - 57314/tcp")
group.add_argument('-o', dest='roles', action='append_const', const=VALID_ROLES['o']['role'], help="Osquery endpoint - 8090/tcp")
group.add_argument('-s', dest='roles', action='append_const', const=VALID_ROLES['s']['role'], help="Syslog device - 514/tcp/udp")
group.add_argument('-w', dest='roles', action='append_const', const=VALID_ROLES['w']['role'], help="Wazuh agent - 1514/tcp/udp")
group.add_argument('-p', dest='roles', action='append_const', const=VALID_ROLES['p']['role'], help="Wazuh API - 55000/tcp")
group.add_argument('-r', dest='roles', action='append_const', const=VALID_ROLES['r']['role'], help="Wazuh registration service - 1515/tcp")
ip_g = main_parser.add_argument_group(title='allow')
ip_g.add_argument('-i', help="IP or CIDR block to disallow connections from, requires at least one role argument", metavar='', dest='ip')
args = main_parser.parse_args(sys.argv[1:])
if args.roles is None:
role = role_prompt()
ip = ip_prompt()
try:
return_code = apply(role, ip)
except Exception as e:
print(f'Unexpected exception occurred: {e}', file=sys.stderr)
return_code = e.errno
sys.exit(return_code)
elif args.roles is not None and args.ip is None:
if os.environ.get('IP') is None:
main_parser.print_help()
sys.exit(1)
else:
args.ip = os.environ['IP']
if validate_ip_cidr(args.ip):
try:
for role in args.roles:
return_code = apply(role, args.ip)
if return_code > 0:
break
except Exception as e:
print(f'Unexpected exception occurred: {e}', file=sys.stderr)
return_code = e.errno
else:
print(f'Invalid IP address or CIDR block \'{args.ip}\', please try again.', file=sys.stderr)
return_code = 1
sys.exit(return_code)
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
sys.exit(1)
-23
View File
@@ -1,23 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
echo ""
echo "Hosts/Networks that have access to login to the Security Onion Console:"
so-firewall includedhosts analyst
-100
View File
@@ -1,100 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
doc_workstation_url="https://docs.securityonion.net/en/2.3/analyst-vm.html"
{# we only want the script to install the workstation if it is CentOS -#}
{% if grains.os == 'CentOS' -%}
{# if this is a manager -#}
{% if grains.master == grains.id.split('_')|first -%}
source /usr/sbin/so-common
pillar_file="/opt/so/saltstack/local/pillar/minions/{{grains.id}}.sls"
if [ -f "$pillar_file" ]; then
if ! grep -q "^workstation:$" "$pillar_file"; then
FIRSTPASS=yes
while [[ $INSTALL != "yes" ]] && [[ $INSTALL != "no" ]]; do
if [[ "$FIRSTPASS" == "yes" ]]; then
echo "###########################################"
echo "## ** W A R N I N G ** ##"
echo "## _______________________________ ##"
echo "## ##"
echo "## Installing the Security Onion ##"
echo "## analyst node on this device will ##"
echo "## make permanent changes to ##"
echo "## the system. ##"
echo "## A system reboot will be required ##"
echo "## to complete the install. ##"
echo "## ##"
echo "###########################################"
echo "Do you wish to continue? (Type the entire word 'yes' to proceed or 'no' to exit)"
FIRSTPASS=no
else
echo "Please type 'yes' to continue or 'no' to exit."
fi
read INSTALL
done
if [[ $INSTALL == "no" ]]; then
echo "Exiting analyst node installation."
exit 0
fi
# Add workstation pillar to the minion's pillar file
printf '%s\n'\
"workstation:"\
" gui:"\
" enabled: true"\
"" >> "$pillar_file"
echo "Applying the workstation state. This could take some time since there are many packages that need to be installed."
if salt-call state.apply workstation -linfo queue=True; then # make sure the state ran successfully
echo ""
echo "Analyst workstation has been installed!"
echo "Press ENTER to reboot or Ctrl-C to cancel."
read pause
reboot;
else
echo "There was an issue applying the workstation state. Please review the log above or at /opt/so/logs/salt/minion."
fi
else # workstation is already added
echo "The workstation pillar already exists in $pillar_file."
echo "To enable/disable the gui, set 'workstation:gui:enabled' to true or false in $pillar_file."
echo "Additional documentation can be found at $doc_workstation_url."
fi
else # if the pillar file doesn't exist
echo "Could not find $pillar_file and add the workstation pillar."
fi
{#- if this is not a manager #}
{% else -%}
echo "Since this is not a manager, the pillar values to enable analyst workstation must be set manually. Please view the documentation at $doc_workstation_url."
{#- endif if this is a manager #}
{% endif -%}
{#- if not CentOS #}
{%- else %}
echo "The Analyst Workstation can only be installed on CentOS. Please view the documentation at $doc_workstation_url."
{#- endif grains.os == CentOS #}
{% endif -%}
exit 0
+6 -14
View File
@@ -1,19 +1,11 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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-common
+267 -96
View File
@@ -1,26 +1,34 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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.
# Elastic agent is not managed by salt. Because of this we must store this base information in a
# script that accompanies the soup system. Since so-common is one of those special soup files,
# and since this same logic is required during installation, it's included in this file.
ELASTIC_AGENT_TARBALL_VERSION="8.10.4"
ELASTIC_AGENT_URL="https://repo.securityonion.net/file/so-repo/prod/2.4/elasticagent/elastic-agent_SO-$ELASTIC_AGENT_TARBALL_VERSION.tar.gz"
ELASTIC_AGENT_MD5_URL="https://repo.securityonion.net/file/so-repo/prod/2.4/elasticagent/elastic-agent_SO-$ELASTIC_AGENT_TARBALL_VERSION.md5"
ELASTIC_AGENT_FILE="/nsm/elastic-fleet/artifacts/elastic-agent_SO-$ELASTIC_AGENT_TARBALL_VERSION.tar.gz"
ELASTIC_AGENT_MD5="/nsm/elastic-fleet/artifacts/elastic-agent_SO-$ELASTIC_AGENT_TARBALL_VERSION.md5"
ELASTIC_AGENT_EXPANSION_DIR=/nsm/elastic-fleet/artifacts/beats/elastic-agent
DEFAULT_SALT_DIR=/opt/so/saltstack/default
DOC_BASE_URL="https://docs.securityonion.net/en/2.4"
# Check for prerequisites
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
if [ -z $NOROOT ]; then
# Check for prerequisites
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
fi
fi
# Ensure /usr/sbin is in path
if ! echo "$PATH" | grep -q "/usr/sbin"; then
export PATH="$PATH:/usr/sbin"
fi
# Define a banner to separate sections
@@ -56,33 +64,37 @@ add_interface_bond0() {
ethtool -K "$BNIC" $i off &>/dev/null
fi
done
# Check if the bond slave connection has already been created
nmcli -f name,uuid -p con | grep -q "bond0-slave-$BNIC"
local found_int=$?
if [[ $found_int != 0 ]]; then
# Create the slave interface and assign it to the bond
nmcli con add type ethernet ifname "$BNIC" con-name "bond0-slave-$BNIC" master bond0 -- \
ethernet.mtu "$MTU" \
connection.autoconnect "yes"
else
local int_uuid
int_uuid=$(nmcli -f name,uuid -p con | sed -n "s/bond0-slave-$BNIC //p" | tr -d ' ')
if ! [[ $is_cloud ]]; then
# Check if the bond slave connection has already been created
nmcli -f name,uuid -p con | grep -q "bond0-slave-$BNIC"
local found_int=$?
nmcli con mod "$int_uuid" \
ethernet.mtu "$MTU" \
connection.autoconnect "yes"
fi
if [[ $found_int != 0 ]]; then
# Create the slave interface and assign it to the bond
nmcli con add type ethernet ifname "$BNIC" con-name "bond0-slave-$BNIC" master bond0 -- \
ethernet.mtu "$MTU" \
connection.autoconnect "yes"
else
local int_uuid
int_uuid=$(nmcli -f name,uuid -p con | sed -n "s/bond0-slave-$BNIC //p" | tr -d ' ')
nmcli con mod "$int_uuid" \
ethernet.mtu "$MTU" \
connection.autoconnect "yes"
fi
fi
ip link set dev "$BNIC" arp off multicast off allmulticast off promisc on
# Bring the slave interface up
if [[ $verbose == true ]]; then
nmcli con up "bond0-slave-$BNIC"
else
nmcli con up "bond0-slave-$BNIC" &>/dev/null
if ! [[ $is_cloud ]]; then
# Bring the slave interface up
if [[ $verbose == true ]]; then
nmcli con up "bond0-slave-$BNIC"
else
nmcli con up "bond0-slave-$BNIC" &>/dev/null
fi
fi
if [ "$nic_error" != 0 ]; then
return "$nic_error"
fi
@@ -121,34 +133,47 @@ check_elastic_license() {
}
check_salt_master_status() {
local timeout=$1
echo "Checking if we can talk to the salt master"
salt-call state.show_top concurrent=true
return
local count=0
local attempts="${1:- 10}"
current_time="$(date '+%b %d %H:%M:%S')"
echo "Checking if we can access the salt master and that it is ready at: ${current_time}"
while ! salt-call state.show_top -l error concurrent=true 1> /dev/null; do
current_time="$(date '+%b %d %H:%M:%S')"
echo "Can't access salt master or it is not ready at: ${current_time}"
((count+=1))
if [[ $count -eq $attempts ]]; then
# 10 attempts takes about 5.5 minutes
echo "Gave up trying to access salt-master"
return 1
fi
done
current_time="$(date '+%b %d %H:%M:%S')"
echo "Successfully accessed and salt master ready at: ${current_time}"
return 0
}
# this is only intended to be used to check the status of the minion from a salt master
check_salt_minion_status() {
local timeout=$1
echo "Checking if the salt minion will respond to jobs" >> "$setup_log" 2>&1
salt "$MINION_ID" test.ping -t $timeout > /dev/null 2>&1
local minion="$1"
local timeout="${2:-5}"
local logfile="${3:-'/dev/stdout'}"
echo "Checking if the salt minion: $minion will respond to jobs" >> "$logfile" 2>&1
salt "$minion" test.ping -t $timeout > /dev/null 2>&1
local status=$?
if [ $status -gt 0 ]; then
echo " Minion did not respond" >> "$setup_log" 2>&1
echo " Minion did not respond" >> "$logfile" 2>&1
else
echo " Received job response from salt minion" >> "$setup_log" 2>&1
echo " Received job response from salt minion" >> "$logfile" 2>&1
fi
return $status
}
copy_new_files() {
# Copy new files over to the salt dir
cd $UPDATE_DIR
rsync -a salt $DEFAULT_SALT_DIR/
rsync -a pillar $DEFAULT_SALT_DIR/
rsync -a salt $DEFAULT_SALT_DIR/ --delete
rsync -a pillar $DEFAULT_SALT_DIR/ --delete
chown -R socore:socore $DEFAULT_SALT_DIR/
chmod 755 $DEFAULT_SALT_DIR/pillar/firewall/addfirewall.sh
cd /tmp
@@ -158,19 +183,44 @@ disable_fastestmirror() {
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
}
download_and_verify() {
source_url=$1
source_md5_url=$2
dest_file=$3
md5_file=$4
expand_dir=$5
if [[ -n "$expand_dir" ]]; then
mkdir -p "$expand_dir"
fi
if ! verify_md5_checksum "$dest_file" "$md5_file"; then
retry 15 10 "curl --fail --retry 5 --retry-delay 15 -L '$source_url' --output '$dest_file'" "" ""
retry 15 10 "curl --fail --retry 5 --retry-delay 15 -L '$source_md5_url' --output '$md5_file'" "" ""
if verify_md5_checksum "$dest_file" "$md5_file"; then
echo "Source file and checksum are good."
else
echo "Unable to download and verify the source file and checksum."
return 1
fi
fi
if [[ -n "$expand_dir" ]]; then
tar -xf "$dest_file" -C "$expand_dir"
fi
}
elastic_license() {
read -r -d '' message <<- EOM
\n
Starting in Elastic Stack version 7.11, the Elastic Stack binaries are only available under the Elastic License:
https://securityonion.net/elastic-license
Elastic Stack binaries and Security Onion components are only available under the Elastic License version 2 (ELv2):
https://securityonion.net/license/
Please review the Elastic License:
https://www.elastic.co/licensing/elastic-license
Do you agree to the terms of ELv2?
Do you agree to the terms of the Elastic License?
If so, type AGREE to accept the Elastic License and continue. Otherwise, press Enter to exit this program without making any changes.
If so, type AGREE to accept ELv2 and continue. Otherwise, press Enter to exit this program without making any changes.
EOM
AGREED=$(whiptail --title "$whiptail_title" --inputbox \
@@ -199,19 +249,20 @@ get_random_value() {
}
gpg_rpm_import() {
if [[ "$OS" == "centos" ]]; then
if [[ $is_oracle ]]; then
if [[ "$WHATWOULDYOUSAYYAHDOHERE" == "setup" ]]; then
local RPMKEYSLOC="../salt/repo/client/files/centos/keys"
local RPMKEYSLOC="../salt/repo/client/files/$OS/keys"
else
local RPMKEYSLOC="$UPDATE_DIR/salt/repo/client/files/centos/keys"
local RPMKEYSLOC="$UPDATE_DIR/salt/repo/client/files/$OS/keys"
fi
RPMKEYS=('RPM-GPG-KEY-EPEL-7' 'GPG-KEY-WAZUH' 'docker.pub' 'SALTSTACK-GPG-KEY.pub' 'securityonion.pub')
for RPMKEY in "${RPMKEYS[@]}"; do
RPMKEYS=('RPM-GPG-KEY-oracle' 'RPM-GPG-KEY-EPEL-9' 'SALT-PROJECT-GPG-PUBKEY-2023.pub' 'docker.pub' 'securityonion.pub')
for RPMKEY in "${RPMKEYS[@]}"; do
rpm --import $RPMKEYSLOC/$RPMKEY
echo "Imported $RPMKEY"
done
elif [[ $is_rpm ]]; then
echo "Importing the security onion GPG key"
rpm --import ../salt/repo/client/files/oracle/keys/securityonion.pub
fi
}
@@ -224,12 +275,15 @@ init_monitor() {
if [[ $MONITORNIC == "bond0" ]]; then
BIFACES=$(lookup_bond_interfaces)
for i in rx tx sg tso ufo gso gro lro rx-vlan-offload tx-vlan-offload generic-receive-offload generic-segmentation-offload tcp-segmentation-offload; do
ethtool -K "$MONITORNIC" "$i" off;
done
else
BIFACES=$MONITORNIC
fi
for DEVICE_IFACE in $BIFACES; do
for i in rx tx sg tso ufo gso gro lro; do
for i in rx tx sg tso ufo gso gro lro rx-vlan-offload tx-vlan-offload generic-receive-offload generic-segmentation-offload tcp-segmentation-offload; do
ethtool -K "$DEVICE_IFACE" "$i" off;
done
ip link set dev "$DEVICE_IFACE" arp off multicast off allmulticast off promisc on
@@ -237,31 +291,17 @@ init_monitor() {
}
is_manager_node() {
# Check to see if this is a manager node
role=$(lookup_role)
is_single_node_grid && return 0
[ $role == 'manager' ] && return 0
[ $role == 'managersearch' ] && return 0
[ $role == 'helix' ] && return 0
return 1
grep "role: so-" /etc/salt/grains | grep -E "manager|eval|managersearch|standalone|import" &> /dev/null
}
is_sensor_node() {
# Check to see if this is a sensor (forward) node
role=$(lookup_role)
is_single_node_grid && return 0
[ $role == 'sensor' ] && return 0
[ $role == 'heavynode' ] && return 0
[ $role == 'helix' ] && return 0
return 1
grep "role: so-" /etc/salt/grains | grep -E "sensor|heavynode" &> /dev/null
}
is_single_node_grid() {
role=$(lookup_role)
[ $role == 'eval' ] && return 0
[ $role == 'standalone' ] && return 0
[ $role == 'import' ] && return 0
return 1
grep "role: so-" /etc/salt/grains | grep -E "eval|standalone|import" &> /dev/null
}
lookup_bond_interfaces() {
@@ -315,6 +355,24 @@ lookup_role() {
echo ${pieces[1]}
}
is_feature_enabled() {
feature=$1
enabled=$(lookup_salt_value features)
for cur in $enabled; do
if [[ "$feature" == "$cur" ]]; then
return 0
fi
done
return 1
}
read_feat() {
if [ -f /opt/so/log/sostatus/lks_enabled ]; then
lic_id=$(cat /opt/so/saltstack/local/pillar/soc/license.sls | grep license_id: | awk '{print $2}')
echo "$lic_id/$(cat /opt/so/log/sostatus/lks_enabled)/$(cat /opt/so/log/sostatus/fps_enabled)"
fi
}
require_manager() {
if is_manager_node; then
echo "This is a manager, so we can proceed."
@@ -346,6 +404,10 @@ retry() {
echo "<Start of output>"
echo "$output"
echo "<End of output>"
if [[ $exitcode -eq 0 ]]; then
echo "Forcing exit code to 1"
exitcode=1
fi
fi
elif [ -n "$failedOutput" ]; then
if [[ "$output" =~ "$failedOutput" ]]; then
@@ -354,7 +416,7 @@ retry() {
echo "$output"
echo "<End of output>"
if [[ $exitcode -eq 0 ]]; then
echo "The exitcode was 0, but we are setting to 1 since we found $failedOutput in the output."
echo "Forcing exit code to 1"
exitcode=1
fi
else
@@ -392,19 +454,82 @@ run_check_net_err() {
fi
}
set_cron_service_name() {
if [[ "$OS" == "centos" ]]; then
cron_service_name="crond"
else
cron_service_name="cron"
fi
wait_for_salt_minion() {
local minion="$1"
local timeout="${2:-5}"
local logfile="${3:-'/dev/stdout'}"
retry 60 5 "journalctl -u salt-minion.service | grep 'Minion is ready to receive requests'" >> "$logfile" 2>&1 || fail
local attempt=0
# each attempts would take about 15 seconds
local maxAttempts=20
until check_salt_minion_status "$minion" "$timeout" "$logfile"; do
attempt=$((attempt+1))
if [[ $attempt -eq $maxAttempts ]]; then
return 1
fi
sleep 10
done
return 0
}
salt_minion_count() {
local MINIONDIR="/opt/so/saltstack/local/pillar/minions"
MINIONCOUNT=$(ls -la $MINIONDIR/*.sls | grep -v adv_ | wc -l)
}
set_os() {
if [ -f /etc/redhat-release ]; then
OS=centos
else
OS=ubuntu
if grep -q "Rocky Linux release 9" /etc/redhat-release; then
OS=rocky
OSVER=9
is_rocky=true
is_rpm=true
elif grep -q "CentOS Stream release 9" /etc/redhat-release; then
OS=centos
OSVER=9
is_centos=true
is_rpm=true
elif grep -q "AlmaLinux release 9" /etc/redhat-release; then
OS=alma
OSVER=9
is_alma=true
is_rpm=true
elif grep -q "Red Hat Enterprise Linux release 9" /etc/redhat-release; then
if [ -f /etc/oracle-release ]; then
OS=oracle
OSVER=9
is_oracle=true
is_rpm=true
else
OS=rhel
OSVER=9
is_rhel=true
is_rpm=true
fi
fi
cron_service_name="crond"
elif [ -f /etc/os-release ]; then
if grep -q "UBUNTU_CODENAME=focal" /etc/os-release; then
OSVER=focal
UBVER=20.04
OS=ubuntu
is_ubuntu=true
is_deb=true
elif grep -q "UBUNTU_CODENAME=jammy" /etc/os-release; then
OSVER=jammy
UBVER=22.04
OS=ubuntu
is_ubuntu=true
is_deb=true
elif grep -q "VERSION_CODENAME=bookworm" /etc/os-release; then
OSVER=bookworm
DEBVER=12
is_debian=true
OS=debian
is_deb=true
fi
cron_service_name="cron"
fi
}
@@ -413,7 +538,7 @@ set_minionid() {
}
set_palette() {
if [ "$OS" == ubuntu ]; then
if [[ $is_deb ]]; then
update-alternatives --set newt-palette /etc/newt/palette.original
fi
}
@@ -437,6 +562,18 @@ set_version() {
fi
}
status () {
printf "\n=========================================================================\n$(date) | $1\n=========================================================================\n"
}
sync_options() {
set_version
set_os
salt_minion_count
echo "$VERSION/$OS/$(uname -r)/$MINIONCOUNT/$(read_feat)"
}
systemctl_func() {
local action=$1
local echo_action=$1
@@ -460,6 +597,11 @@ has_uppercase() {
|| return 1
}
update_elastic_agent() {
echo "Checking if Elastic Agent update is necessary..."
download_and_verify "$ELASTIC_AGENT_URL" "$ELASTIC_AGENT_MD5_URL" "$ELASTIC_AGENT_FILE" "$ELASTIC_AGENT_MD5" "$ELASTIC_AGENT_EXPANSION_DIR"
}
valid_cidr() {
# Verify there is a backslash in the string
echo "$1" | grep -qP "^[^/]+/[^/]+$" || return 1
@@ -518,6 +660,18 @@ valid_hostname() {
[[ $hostname =~ ^[a-zA-Z0-9\-]+$ ]] && [[ $hostname != 'localhost' ]] && return 0 || return 1
}
verify_ip4() {
local ip=$1
# Is this an IP or CIDR?
if grep -qP "^[^/]+/[^/]+$" <<< $ip; then
# Looks like a CIDR
valid_ip4_cidr_mask "$ip"
else
# We know this is not a CIDR - Is it an IP?
valid_ip4 "$ip"
fi
}
valid_ip4() {
local ip=$1
@@ -601,6 +755,23 @@ valid_username() {
echo "$user" | grep -qP '^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\$)$' && return 0 || return 1
}
verify_md5_checksum() {
data_file=$1
md5_file=${2:-${data_file}.md5}
if [[ ! -f "$dest_file" || ! -f "$md5_file" ]]; then
return 2
fi
SOURCEHASH=$(md5sum "$data_file" | awk '{ print $1 }')
HASH=$(cat "$md5_file")
if [[ "$HASH" == "$SOURCEHASH" ]]; then
return 0
fi
return 1
}
wait_for_web_response() {
url=$1
expected=$2
@@ -0,0 +1,99 @@
#!/usr/bin/env python3
# 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.
import sys
import subprocess
import os
import json
sys.path.append('/opt/saltstack/salt/lib/python3.10/site-packages/')
import salt.config
import salt.loader
__opts__ = salt.config.minion_config('/etc/salt/minion')
__grains__ = salt.loader.grains(__opts__)
def check_needs_restarted():
osfam = __grains__['os_family']
val = '0'
outfile = "/opt/so/log/sostatus/needs_restarted"
if osfam == 'Debian':
if os.path.exists('/var/run/reboot-required'):
val = '1'
elif osfam == 'RedHat':
cmd = 'needs-restarting -r > /dev/null 2>&1'
try:
needs_restarting = subprocess.check_call(cmd, shell=True)
except subprocess.CalledProcessError:
val = '1'
else:
fail("Unsupported OS")
with open(outfile, 'w') as f:
f.write(val)
def check_for_fps():
feat = 'fps'
feat_full = feat.replace('ps', 'ips')
fps = 0
try:
result = subprocess.run([feat_full + '-mode-setup', '--is-enabled'], stdout=subprocess.PIPE)
if result.returncode == 0:
fps = 1
except FileNotFoundError:
fn = '/proc/sys/crypto/' + feat_full + '_enabled'
with open(fn, 'r') as f:
contents = f.read()
if '1' in contents:
fps = 1
with open('/opt/so/log/sostatus/lks_enabled', 'w') as f:
f.write(str(fps))
def check_for_lks():
feat = 'Lks'
feat_full = feat.replace('ks', 'uks')
lks = 0
result = subprocess.run(['lsblk', '-p', '-J'], check=True, stdout=subprocess.PIPE)
data = json.loads(result.stdout)
for device in data['blockdevices']:
if 'children' in device:
for gc in device['children']:
if 'children' in gc:
try:
arg = 'is' + feat_full
result = subprocess.run(['cryptsetup', arg, gc['name']], stdout=subprocess.PIPE)
if result.returncode == 0:
lks = 1
except FileNotFoundError:
for ggc in gc['children']:
if 'crypt' in ggc['type']:
lks = 1
if lks:
break
with open('/opt/so/log/sostatus/fps_enabled', 'w') as f:
f.write(str(lks))
def fail(msg):
print(msg, file=sys.stderr)
sys.exit(1)
def main():
proc = subprocess.run(['id', '-u'], stdout=subprocess.PIPE, encoding="utf-8")
if proc.stdout.strip() != "0":
fail("This program must be run as root")
# Ensure that umask is 0022 so that files created by this script have rw-r-r permissions
org_umask = os.umask(0o022)
check_needs_restarted()
check_for_fps()
check_for_lks()
# Restore umask to whatever value was set before this script was run. SXIG sets to 0077 rw---
os.umask(org_umask)
if __name__ == "__main__":
main()
-48
View File
@@ -1,48 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.. /usr/sbin/so-common
{% set BACKUPLOCATIONS = salt['pillar.get']('backup:locations', {}) %}
TODAY=$(date '+%Y_%m_%d')
BACKUPFILE="/nsm/backup/so-config-backup-$TODAY.tar"
MAXBACKUPS=7
# Create backup dir if it does not exist
mkdir -p /nsm/backup
# If we haven't already written a backup file for today, let's do so
if [ ! -f $BACKUPFILE ]; then
# Create empty backup file
tar -cf $BACKUPFILE -T /dev/null
# Loop through all paths defined in global.sls, and append them to backup file
{%- for LOCATION in BACKUPLOCATIONS %}
tar -rf $BACKUPFILE {{ LOCATION }}
{%- endfor %}
tar -rf $BACKUPFILE /etc/pki
tar -rf $BACKUPFILE /etc/salt
tar -rf $BACKUPFILE /opt/so/conf/kratos
fi
# Find oldest backup files and remove them
NUMBACKUPS=$(find /nsm/backup/ -type f -name "so-config-backup*" | wc -l)
while [ "$NUMBACKUPS" -gt "$MAXBACKUPS" ]; do
OLDESTBACKUP=$(find /nsm/backup/ -type f -name "so-config-backup*" -type f -printf '%T+ %p\n' | sort | head -n 1 | awk -F" " '{print $2}')
rm -f $OLDESTBACKUP
NUMBACKUPS=$(find /nsm/backup/ -type f -name "so-config-backup*" | wc -l)
done
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
echo "TheHive and its components are no longer part of Security Onion"
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
echo "TheHive and its components are no longer part of Security Onion"
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
echo "TheHive and its components are no longer part of Security Onion"
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
echo "TheHive and its components are no longer part of Security Onion"
@@ -1,20 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
echo "TheHive and its components are no longer part of Security Onion"
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart curator $1
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start curator $1
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop curator $1
+6 -14
View File
@@ -1,19 +1,11 @@
#!/usr/bin/env python3
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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.
import sys, argparse, re, docker
from packaging.version import Version, InvalidVersion
-22
View File
@@ -1,22 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
. /usr/sbin/so-image-common
require_manager
update_docker_containers "refresh"
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart elastalert $1
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start elastalert $1
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop elastalert $1
-67
View File
@@ -1,67 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if [ -f "/usr/sbin/so-common" ]; then
. /usr/sbin/so-common
fi
ES_AUTH_PILLAR=${ELASTIC_AUTH_PILLAR:-/opt/so/saltstack/local/pillar/elasticsearch/auth.sls}
ES_USERS_FILE=${ELASTIC_USERS_FILE:-/opt/so/saltstack/local/salt/elasticsearch/files/users}
authEnable=$1
if ! grep -q "enabled: " "$ES_AUTH_PILLAR"; then
echo "Elastic auth pillar file is invalid. Unable to proceed."
exit 1
fi
function restart() {
if [[ -z "$ELASTIC_AUTH_SKIP_HIGHSTATE" ]]; then
echo "Elasticsearch on all affected minions will now be stopped and then restarted..."
salt -C 'G@role:so-standalone or G@role:so-eval or G@role:so-import or G@role:so-manager or G@role:so-managersearch or G@role:so-node or G@role:so-heavynode' cmd.run so-elastic-stop queue=True
echo "Applying highstate to all affected minions..."
salt -C 'G@role:so-standalone or G@role:so-eval or G@role:so-import or G@role:so-manager or G@role:so-managersearch or G@role:so-node or G@role:so-heavynode' state.highstate queue=True
fi
}
if [[ "$authEnable" == "true" ]]; then
if grep -q "enabled: False" "$ES_AUTH_PILLAR"; then
sed -i 's/enabled: False/enabled: True/g' "$ES_AUTH_PILLAR"
restart
echo "Elastic auth is now enabled."
if grep -q "argon" "$ES_USERS_FILE"; then
echo ""
echo "IMPORTANT: The following users will need to change their password, after logging into SOC, in order to access Kibana:"
grep argon "$ES_USERS_FILE" | cut -d ":" -f 1
fi
else
echo "Auth is already enabled."
fi
elif [[ "$authEnable" == "false" ]]; then
if grep -q "enabled: True" "$ES_AUTH_PILLAR"; then
sed -i 's/enabled: True/enabled: False/g' "$ES_AUTH_PILLAR"
restart
echo "Elastic auth is now disabled."
else
echo "Auth is already disabled."
fi
else
echo "Usage: $0 <true|false>"
echo ""
echo "Toggles Elastic authentication. Elasticsearch will be restarted on each affected minion."
echo ""
fi
-116
View File
@@ -1,116 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
SKIP=0
#########################################
# Options
#########################################
usage()
{
cat <<EOF
Security Onion Elastic Clear
Options:
-h This message
-y Skip interactive mode
EOF
}
while getopts "h:y" OPTION
do
case $OPTION in
h)
usage
exit 0
;;
y)
SKIP=1
;;
*)
usage
exit 0
;;
esac
done
if [ $SKIP -ne 1 ]; then
# List indices
echo
{{ ELASTICCURL }} -k -L https://{{ NODEIP }}:9200/_cat/indices?v
echo
# Inform user we are about to delete all data
echo
echo "This script will delete all data (documents, indices, etc.) in the Elasticsearch database."
echo
echo "If you would like to proceed, please type "AGREE" and hit ENTER."
echo
# Read user input
read INPUT
if [ "$INPUT" != "AGREE" ] ; then exit 0; fi
fi
# Check to see if Logstash/Filebeat are running
LS_ENABLED=$(so-status | grep logstash)
FB_ENABLED=$(so-status | grep filebeat)
EA_ENABLED=$(so-status | grep elastalert)
if [ ! -z "$FB_ENABLED" ]; then
/usr/sbin/so-filebeat-stop
fi
if [ ! -z "$LS_ENABLED" ]; then
/usr/sbin/so-logstash-stop
fi
if [ ! -z "$EA_ENABLED" ]; then
/usr/sbin/so-elastalert-stop
fi
# Delete data
echo "Deleting data..."
INDXS=$({{ ELASTICCURL }} -s -XGET -k -L https://{{ NODEIP }}:9200/_cat/indices?v | egrep 'logstash|elastalert|so-' | awk '{ print $3 }')
for INDX in ${INDXS}
do
{{ ELASTICCURL }} -XDELETE -k -L https://"{{ NODEIP }}:9200/${INDX}" > /dev/null 2>&1
done
#Start Logstash/Filebeat
if [ ! -z "$FB_ENABLED" ]; then
/usr/sbin/so-filebeat-start
fi
if [ ! -z "$LS_ENABLED" ]; then
/usr/sbin/so-logstash-start
fi
if [ ! -z "$EA_ENABLED" ]; then
/usr/sbin/so-elastalert-start
fi
@@ -1,33 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Source common settings
. /usr/sbin/so-common
# Check for log files
for FILE in /opt/so/log/elasticsearch/*.log /opt/so/log/logstash/*.log /opt/so/log/kibana/*.log /opt/so/log/elastalert/*.log /opt/so/log/curator/*.log /opt/so/log/freqserver/*.log /opt/so/log/nginx/*.log; do
# If file exists, then look for errors or warnings
if [ -f $FILE ]; then
MESSAGE=`grep -i 'ERROR\|FAIL\|WARN' $FILE`
if [ ! -z "$MESSAGE" ]; then
header $FILE
echo $MESSAGE | sed 's/WARN/\nWARN/g' | sed 's/WARNING/\nWARNING/g' | sed 's/ERROR/\nERROR/g' | sort | uniq -c | sort -nr
echo
fi
fi
done
-43
View File
@@ -1,43 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
{%- if grains['role'] in ['so-eval','so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node', 'so-import']%}
/usr/sbin/so-restart elasticsearch $1
{%- endif %}
{%- if grains['role'] in ['so-eval', 'so-manager', 'so-managersearch', 'so-standalone', 'so-import']%}
/usr/sbin/so-restart kibana $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node']%}
/usr/sbin/so-restart logstash $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node', 'so-sensor']%}
/usr/sbin/so-restart filebeat $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node']%}
/usr/sbin/so-restart curator $1
{%- endif %}
{%- if grains['role'] in ['so-eval','so-manager', 'so-managersearch', 'so-standalone']%}
/usr/sbin/so-restart elastalert $1
{%- endif %}
-43
View File
@@ -1,43 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
{%- if grains['role'] in ['so-eval','so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node', 'so-import']%}
/usr/sbin/so-start elasticsearch $1
{%- endif %}
{%- if grains['role'] in ['so-eval', 'so-manager', 'so-managersearch', 'so-standalone', 'so-import']%}
/usr/sbin/so-start kibana $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node']%}
/usr/sbin/so-start logstash $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node', 'so-sensor']%}
/usr/sbin/so-start filebeat $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node']%}
/usr/sbin/so-start curator $1
{%- endif %}
{%- if grains['role'] in ['so-eval','so-manager', 'so-managersearch', 'so-standalone']%}
/usr/sbin/so-start elastalert $1
{%- endif %}
-43
View File
@@ -1,43 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
{%- if grains['role'] in ['so-eval','so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node', 'so-import']%}
/usr/sbin/so-stop elasticsearch $1
{%- endif %}
{%- if grains['role'] in ['so-eval', 'so-manager', 'so-managersearch', 'so-standalone', 'so-import']%}
/usr/sbin/so-stop kibana $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node']%}
/usr/sbin/so-stop logstash $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node', 'so-sensor']%}
/usr/sbin/so-stop filebeat $1
{%- endif %}
{%- if grains['role'] in ['so-manager', 'so-managersearch', 'so-standalone', 'so-heavynode', 'so-node']%}
/usr/sbin/so-stop curator $1
{%- endif %}
{%- if grains['role'] in ['so-eval','so-manager', 'so-managersearch', 'so-standalone']%}
/usr/sbin/so-stop elastalert $1
{%- endif %}
@@ -1,23 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_component_template | jq '.component_templates[] |.name'| sort
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_component_template/$1 | jq
fi
@@ -1,23 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_index_template | jq '.index_templates[] |.name'| sort
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_index_template/$1 | jq
fi
@@ -1,21 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
{{ ELASTICCURL }} -s -k -L "https://{{ NODEIP }}:9200/_cat/indices?pretty&v&s=index"
@@ -1,23 +0,0 @@
#!/bin/bash
#
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
IP={{ salt['grains.get']('ip_interfaces').get(salt['pillar.get']('sensor:mainint', salt['pillar.get']('manager:mainint', salt['pillar.get']('elasticsearch:mainint', salt['pillar.get']('host:mainint')))))[0] }}
ESPORT=9200
echo "Removing read only attributes for indices..."
echo
{{ ELASTICCURL }} -s -k -XPUT -H "Content-Type: application/json" -L https://$IP:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}' 2>&1 | if grep -q ack; then echo "Index settings updated..."; else echo "There was any issue updating the read-only attribute. Please ensure Elasticsearch is running.";fi;
@@ -1,25 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines"
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines.\"$1\""
fi
@@ -1,25 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/* | jq .
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/$1 | jq .[]
fi
@@ -1,23 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/* | jq 'keys'
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_ingest/pipeline/$1 | jq
fi
@@ -1,37 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
. /usr/sbin/so-common
if [[ $# -lt 1 ]]; then
echo "Submit a cURL request to the local Security Onion Elasticsearch host."
echo ""
echo "Usage: $0 <PATH> [ARGS,...]"
echo ""
echo "Where "
echo " PATH represents the elastic function being requested."
echo " ARGS is used to specify additional, optional curl parameters."
echo ""
echo "Examples:"
echo " $0 /"
echo " $0 '*:so-*/_search' -d '{\"query\": {\"match_all\": {}},\"size\": 1}' | jq"
exit 1
fi
QUERYPATH=$1
shift
{{ ELASTICCURL }} -s -k -L -H "Content-Type: application/json" "https://localhost:9200/${QUERYPATH}" "$@"
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart elasticsearch $1
@@ -1,21 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_cat/shards?pretty
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start elasticsearch $1
@@ -1,20 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop elasticsearch $1
@@ -1,21 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
{{ ELASTICCURL }} -s -k -L -XDELETE https://{{ NODEIP }}:9200/_template/$1
@@ -1,25 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_template/* | jq .
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_template/$1 | jq .
fi
@@ -1,23 +0,0 @@
#!/bin/bash
#
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
. /usr/sbin/so-common
if [ "$1" == "" ]; then
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_template/* | jq 'keys'
else
{{ ELASTICCURL }} -s -k -L https://{{ NODEIP }}:9200/_template/$1 | jq
fi
@@ -1,66 +0,0 @@
#!/bin/bash
# Copyright 2014-2022 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set mainint = salt['pillar.get']('host:mainint') %}
{%- set MYIP = salt['grains.get']('ip_interfaces:' ~ mainint)[0] %}
default_conf_dir=/opt/so/conf
ELASTICSEARCH_HOST="{{ MYIP }}"
ELASTICSEARCH_PORT=9200
#ELASTICSEARCH_AUTH=""
# Define a default directory to load pipelines from
FB_MODULE_YML="/usr/share/filebeat/module-setup.yml"
# Wait for ElasticSearch to initialize
echo -n "Waiting for ElasticSearch..."
COUNT=0
ELASTICSEARCH_CONNECTED="no"
while [[ "$COUNT" -le 240 ]]; do
{{ ELASTICCURL }} -k --output /dev/null --silent --head --fail -L https://"$ELASTICSEARCH_HOST":"$ELASTICSEARCH_PORT"
if [ $? -eq 0 ]; then
ELASTICSEARCH_CONNECTED="yes"
echo "connected!"
break
else
((COUNT+=1))
sleep 1
echo -n "."
fi
done
if [ "$ELASTICSEARCH_CONNECTED" == "no" ]; then
echo
echo -e "Connection attempt timed out. Unable to connect to ElasticSearch. \nPlease try: \n -checking log(s) in /var/log/elasticsearch/\n -running 'sudo docker ps' \n -running 'sudo so-elastic-restart'"
echo
fi
echo "Testing to see if the pipelines are already applied"
ESVER=$({{ ELASTICCURL }} -sk https://"$ELASTICSEARCH_HOST":"$ELASTICSEARCH_PORT" |jq .version.number |tr -d \")
PIPELINES=$({{ ELASTICCURL }} -sk https://"$ELASTICSEARCH_HOST":"$ELASTICSEARCH_PORT"/_ingest/pipeline/filebeat-$ESVER-elasticsearch-server-pipeline | jq . | wc -c)
if [[ "$PIPELINES" -lt 5 ]] || [ "$2" != "--force" ]; then
echo "Setting up ingest pipeline(s)"
{% from 'filebeat/modules.map.jinja' import MODULESMERGED with context %}
{%- for module in MODULESMERGED.modules.keys() %}
{%- for fileset in MODULESMERGED.modules[module] %}
echo "{{ module }}.{{ fileset}}"
docker exec -i so-filebeat filebeat setup --pipelines --modules {{ module }} -M "{{ module }}.{{ fileset }}.enabled=true" -c $FB_MODULE_YML
sleep 0.5
{% endfor %}
{%- endfor %}
else
exit 0
fi

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