@profullstack/threatcrush 0.13.13 → 0.13.15

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.
package/README.md CHANGED
@@ -170,13 +170,18 @@ Config lives at `/etc/threatcrush/threatcrushd.conf` with module configs in `/et
170
170
  The daemon reports to your ThreatCrush dashboard once the machine is logged in and linked to a server there:
171
171
 
172
172
  ```bash
173
- threatcrush login
173
+ threatcrush login # prints a link: approve it in a browser where you are signed in
174
174
  threatcrush servers link # reuses the dashboard server with this hostname, or registers one
175
175
  threatcrush servers link --org acme --name web-1
176
+ threatcrush save # store this machine's daemon config on its server (secrets redacted)
176
177
  threatcrush status # shows the link
177
178
  threatcrush servers unlink # stop reporting
178
179
  ```
179
180
 
181
+ `threatcrush login` needs no browser on the machine and never asks for a password: it prints a `threatcrush.com/cli/login` link and a short code, you approve it from any signed-in browser after checking the code matches, and the terminal finishes signing in on its own (PKCE-bound, so only the terminal that started it can redeem it; the link expires after 10 minutes). Each machine gets its own session. `threatcrush login --password` keeps the email-and-password prompt.
182
+
183
+ `threatcrush save` uploads the config the daemon reads (`/etc/threatcrush/threatcrushd.conf` as root). Values under keys that look like secrets (passwords, tokens, webhook URLs, API keys) are replaced with `[redacted]` before upload, and again by the server.
184
+
180
185
  A running daemon picks up `link` and `unlink` within a minute; no restart. It then:
181
186
 
182
187
  - uploads detections at or above `[cloud] min_severity` (rule detections, plus events from modules no rule reads, such as dns-monitor), batched (100 events or every 10 s), and every ban and unban the daemon makes;