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
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
Jason Ertel
a323aeb8fa
Allow so-elastic-auth to run before common even though the script has dependency on a common-provided script (benign error). This is needed first since common will need to know if auth is enabled
2021-06-16 14:23:58 -04:00
Jason Ertel
989f9dce42
Ensure sqlite.db exists before querying it; Execute so-elastic-auth after common state has been applied and redirect output to setup log
2021-06-15 16:57:13 -04:00
Jason Ertel
37f4caf536
Make new ECS changes Elastic-auth compatible
2021-06-14 12:13:50 -04:00
Jason Ertel
fca1c6e957
Merge branch 'dev' into kilo
2021-06-14 10:40:04 -04:00
Josh Patterson
c2339c84e7
Merge branch 'dev' into hotfix/soup_salt
2021-06-10 15:48:00 -04:00
Mike Reeves
a2e1b1de3a
Merge pull request #4484 from Security-Onion-Solutions/pipeline
...
Pipeline
2021-06-10 13:41:14 -04:00
m0duspwnens
e64059bd7b
remove unneeded function
2021-06-10 09:31:10 -04:00
m0duspwnens
46b1de97f5
change function name
2021-06-10 09:30:03 -04:00
Jason Ertel
89a02383b8
Correct cronjob path issue for sysctl; suppress diff outputs from users/roles files; suppress salt state output during user sync
2021-06-09 16:31:32 -04:00