@profullstack/threatcrush 0.13.15 → 0.13.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,8 +16,13 @@ TimeoutStopSec=10
16
16
  # Security hardening — adjust as needed
17
17
  NoNewPrivileges=true
18
18
  ProtectSystem=full
19
+ # ProtectHome is read-only, but the daemon must write its own cloud session
20
+ # dir (it rotates and re-saves the access/refresh token on every refresh).
21
+ # {{CONFIG_DIR}} is the daemon user's ~/.threatcrush, punched back to writable
22
+ # here by `threatcrush install-service`. Without it the token refresh hit
23
+ # EROFS, the heartbeat stopped, and every server showed offline after an hour.
19
24
  ProtectHome=read-only
20
- ReadWritePaths=/etc/threatcrush /var/log/threatcrush /var/lib/threatcrush
25
+ ReadWritePaths=/etc/threatcrush /var/log/threatcrush /var/lib/threatcrush {{CONFIG_DIR}}
21
26
  # /var/run is a symlink to /run, which is a tmpfs — anything created there at
22
27
  # install time is gone after the next reboot. Listing it under ReadWritePaths
23
28
  # then makes the unit fail 226/NAMESPACE on every start. RuntimeDirectory has
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profullstack/threatcrush",
3
- "version": "0.13.15",
3
+ "version": "0.13.17",
4
4
  "description": "All-in-one security agent daemon — monitor, detect, scan, and protect servers in real-time",
5
5
  "bin": {
6
6
  "threatcrush": "./dist/index.js"