m0duspwnens
21c9c7b8f4
only render main script if a manager type node
2021-07-01 07:56:45 -04:00
m0duspwnens
108fb12612
s/Migrating/Downsampling
2021-06-30 17:53:09 -04:00
m0duspwnens
eb8a030966
reset vars in jinja loop
2021-06-30 17:41:38 -04:00
m0duspwnens
9235bb35a1
fix jinja whatspace and add defaults
2021-06-30 17:30:33 -04:00
m0duspwnens
7b281abf0c
migrate script now goes through each day and measurement
2021-06-30 17:21:18 -04:00
Mike Reeves
26ff50f85c
Merge pull request #4659 from Security-Onion-Solutions/kilo
2021-06-30 16:34:16 -04:00
William Wernert
4dbb869952
Fix typo
2021-06-30 16:21:09 -04:00
Jason Ertel
f3041a8d7e
Ensure all curl's to Kibana are properly sessioned and/or authenticated depending on elastic auth toggle
2021-06-30 16:09:08 -04:00
William Wernert
4109cdec53
Refactor so-docker-prune to prevent exceptions when removing images
...
* Prune containers at beginning of script so stopped containers using old images are removed
* Add force=True arg to remove() call to ensure an image is still deleted on the off chance a container is still using that image
* Add exception handling to continue removing containers instead of exiting if the script fails to remove a container
2021-06-30 15:35:01 -04:00
m0duspwnens
ada729087d
add script to drop autogen, rename so-influxdb-migrate to so-influxdb-downsample
2021-06-30 08:14:52 -04:00
m0duspwnens
aa47a72656
source common to require root
2021-06-30 07:25:51 -04:00
Jason Ertel
cad4efdded
Fixed PCAP files are readable by root only, which prevents Suricata from being able to scan the file during import
2021-06-29 17:51:04 -04:00
Doug Burks
822165f168
Move salt lines after shebang
2021-06-29 13:32:02 -04:00
doug
a3d7f4e35d
fix grammar
2021-06-25 11:16:26 -04:00
Mike Reeves
3f8cb23cf6
remove some debug statements
2021-06-24 13:29:16 -04:00
Mike Reeves
81bb7c6534
remove a net check
2021-06-24 11:32:01 -04:00
Mike Reeves
bdd1074be7
remove a net check
2021-06-24 11:24:12 -04:00
Mike Reeves
42a63f8ea5
remove a net check
2021-06-24 11:15:16 -04:00
Mike Reeves
3c85db1769
Fix regression
2021-06-24 11:04:56 -04:00
Mike Reeves
930d5b3627
Revert "Move up script verification"
...
This reverts commit 66e88cef42 .
2021-06-24 10:52:53 -04:00
Mike Reeves
a1ec40b547
Revert "Move up script verification"
...
This reverts commit 2681903c93 .
2021-06-24 10:52:27 -04:00
Mike Reeves
2681903c93
Move up script verification
2021-06-24 10:24:00 -04:00
Mike Reeves
66e88cef42
Move up script verification
2021-06-24 10:03:38 -04:00
Mike Reeves
4af2f6d84a
Fix airgap check
2021-06-24 09:49:57 -04:00
Jason Ertel
243e888717
Add queue=True -- needed for all salt commands, not just state changes
2021-06-23 14:41:38 -04:00
weslambert
c5b81f2f4b
Fix output so that it can be redirected to local file with appropriate syntax
2021-06-23 14:41:38 -04:00
Mike Reeves
caa14e0cad
Fix Retry Spam
2021-06-23 14:41:38 -04:00
Jason Ertel
26bb6cc011
Require either true | false in parameter to so-elastic-auth and ensure all minions are fully updated with the new auth setting
2021-06-22 15:29:48 -04:00
m0duspwnens
9fad0876c5
only attempt to upgrade salt on minions if the minion count it > 1
2021-06-22 11:31:31 -04:00
Mike Reeves
f7675a5dea
Merge pull request #4588 from Security-Onion-Solutions/souperduper
...
let the first highstate pass
2021-06-22 09:58:00 -04:00
Jason Ertel
cb167f3d74
Merge pull request #4584 from Security-Onion-Solutions/kilo
...
retry on so-dockerregistry
2021-06-22 08:08:28 -04:00
Jason Ertel
dcc9af946a
Avoid logging when sync is unnecessary due to cronjob log output spam
2021-06-22 08:07:52 -04:00
Jason Ertel
5135beb036
Merge pull request #4579 from Security-Onion-Solutions/kilo
...
Improve user sync algorithm
2021-06-21 12:40:27 -04:00
Jason Ertel
f36ef86ccc
Improve algorithm for determining if a user sync is necessary; Apply salt state in foreground to avoid collisions with setup salt states.
2021-06-21 12:38:02 -04:00
Jason Ertel
5e042bf4b8
Improve algorithm for determining if a user sync is necessary; Apply salt state in foreground to avoid collisions with setup salt states.
2021-06-21 12:16:47 -04:00
Jason Ertel
e7afbab6a1
Merge pull request #4576 from Security-Onion-Solutions/kilo
...
Fix intermittent 'like' failures; Ensure bash is on first line of loa…
2021-06-21 07:09:10 -04:00
Jason Ertel
5298cb8cfb
Update copyrights
2021-06-21 07:06:49 -04:00
Jason Ertel
777bece2eb
Fix intermittent 'like' failures; Ensure bash is on first line of load templates script
2021-06-20 22:14:13 -04:00
Mike Reeves
78d53af27c
Merge pull request #4562 from Security-Onion-Solutions/kilo
...
Fix wrong grep file
2021-06-17 21:19:05 -04:00
Jason Ertel
188b4424e4
Fix wrong grep file
2021-06-17 21:00:56 -04:00
Mike Reeves
0615d635eb
let the first highstate pass
2021-06-17 16:12:39 -04:00
Jason Ertel
98526af82a
Merge pull request #4558 from Security-Onion-Solutions/kilo
...
Lock so-user to avoid two processes from overwriting eachother
2021-06-17 15:23:42 -04:00
Jason Ertel
0cb4562254
Lock so-user to avoid two processes from overwriting eachother
2021-06-17 15:19:39 -04:00
m0duspwnens
63b120e9e2
use just curl for elastic in soup
2021-06-17 14:56:05 -04:00
m0duspwnens
d587120613
set ELASTICCUURL default as curl
2021-06-17 14:42:04 -04:00
Jason Ertel
f1429632d2
Merge pull request #4549 from Security-Onion-Solutions/kilo
...
Elastic auth: Fun with Salt
2021-06-16 17:57:58 -04:00
Jason Ertel
2d34208269
Elastic auth: Fun with Salt
2021-06-16 17:52:22 -04:00
Jason Ertel
36c9054744
Merge pull request #4547 from Security-Onion-Solutions/kilo
...
Kilo
2021-06-16 14:55:27 -04:00
William Wernert
703988b376
Fix merge issue in soup
2021-06-16 14:28:20 -04:00
Jason Ertel
fefd2677fb
Only include so-common if available. It only is used for requiring root, but since this script is needed before common is installed, we can safely assume that it's being run as root already (during the install)
2021-06-16 14:26:26 -04:00