Jason Ertel
bad9a16ebb
support non-async state apply
2025-10-08 13:02:44 -04:00
Jason Ertel
1236c8c1f2
support pcap imports for sensors in distributed grids
2025-03-21 10:34:55 -04:00
Jason Ertel
ad8f3dfde7
use specified role on new user add
2025-03-17 14:55:40 -04:00
Jason Ertel
c9f6b5206a
connect
2024-11-01 16:18:40 -04:00
Jason Ertel
825dbb36dd
connect
2024-11-01 15:37:59 -04:00
Jason Ertel
cd2e5bf2d0
rename role
2024-10-31 17:20:44 -04:00
Jason Ertel
a146153ee9
switch to json
2024-10-30 12:44:01 -04:00
Jason Ertel
3f3ac21f50
connect
2024-10-29 12:28:24 -04:00
Jason Ertel
11820a16f0
connect
2024-10-29 12:04:38 -04:00
Jason Ertel
1243c7588b
connect
2024-10-28 19:42:01 -04:00
Jason Ertel
624c4855c8
connect
2024-10-28 19:25:20 -04:00
Jason Ertel
12a76a9d35
connect
2024-10-28 19:11:26 -04:00
Jason Ertel
5e6dd2e8b3
connect
2024-10-23 16:49:02 -04: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
m0duspwnens
99662c999f
log operation and minion target
2023-10-20 13:41:24 -04:00
Jason Ertel
951f04c265
remove use of pipe
2023-06-29 12:10:12 -04:00
Jason Ertel
b21b545756
use cluster-unique password for import encryption
2023-06-23 09:37:41 -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
Jason Ertel
0d92a1594a
fix quotations
2023-06-22 14:41:39 -04: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
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
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
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
Jason Ertel
4930ae4ba6
add missing var for local dev
2023-05-17 18:14:21 -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
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
35fab05bdd
Retry so-user commands if another process is currently using so-user
2022-10-27 15:25:08 -04:00
Jason Ertel
981371c72f
log salt-relay responses for troubleshooting assistance
2022-09-27 16:48:47 -04:00
Jason Ertel
53b4f01921
replace quotes on minion arg
2022-09-27 10:54:08 -04:00
Jason Ertel
7f7f2c15d0
add support for querying active salt jobs (future use)
2022-09-27 10:29:21 -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
Jason Ertel
0ad1a1a262
so-user and salt-relay updates for user management
2022-09-26 14:57:33 -04:00
Jason Ertel
b7bbe7d69f
Add copyright notice
2022-09-08 10:27:56 -04:00
Jason Ertel
df6ba5cbe9
initial salt relay script for comms with soc
2022-09-07 16:19:16 -04:00