domniguard 0.1.6 → 0.1.8
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 +38 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,16 +26,44 @@ sudo npm install -g domniguard@latest && sudo domniguard upgrade
|
|
|
26
26
|
```
|
|
27
27
|
`upgrade` replaces `/usr/local/bin/domniguard`, refreshes the systemd/OpenRC unit, and restarts — it never overwrites config or secrets.
|
|
28
28
|
|
|
29
|
-
##
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
## Commands
|
|
30
|
+
|
|
31
|
+
### Day-to-day ops
|
|
32
|
+
| Command | Purpose |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `domniguard status` | Service/daemon up?, webhook min_severity, MCP listen, Vira |
|
|
35
|
+
| `domniguard config show` | Safe config summary (no secret values) |
|
|
36
|
+
| `domniguard config set <key> <value>` | Set allowlisted keys (e.g. `webhook.min_severity MEDIUM`) |
|
|
37
|
+
| `domniguard doctor [--json]` | Deeper health: OS, firewall/service backends, config validity |
|
|
38
|
+
| `domniguard validate-config` | Validate `/etc/domniguard/config.yaml` |
|
|
39
|
+
| `domniguard version` | Binary version / commit |
|
|
40
|
+
|
|
41
|
+
### Install / upgrade
|
|
42
|
+
| Command | Purpose |
|
|
43
|
+
|---|---|
|
|
44
|
+
| `domniguard setup` | First-time install (dirs, secrets, TLS, unit, optional Vira) |
|
|
45
|
+
| `domniguard upgrade` | Replace binary + refresh unit + restart (keeps config) |
|
|
46
|
+
| `domniguard uninstall [--purge]` | Stop service / remove unit (`--purge` wipes data) |
|
|
47
|
+
|
|
48
|
+
### Agent / MCP / Vira
|
|
49
|
+
| Command | Purpose |
|
|
50
|
+
|---|---|
|
|
51
|
+
| `domniguard mcp credentials [--show-token]` | MCP URL + Bearer token for Vira/agents |
|
|
52
|
+
| `domniguard mcp --stdio` | Local stdio bridge to daemon socket |
|
|
53
|
+
| `domniguard vira connect\|status\|test\|disconnect\|set-webhook` | First-party Vira webhook connect |
|
|
54
|
+
|
|
55
|
+
### Incident / approvals
|
|
56
|
+
| Command | Purpose |
|
|
57
|
+
|---|---|
|
|
58
|
+
| `domniguard actions list\|approve\|reject\|rollback` | Human approval queue |
|
|
59
|
+
| `domniguard audit show <event_id>` | Incident timeline |
|
|
60
|
+
| `domniguard run` | Foreground daemon (normally via systemd) |
|
|
61
|
+
|
|
62
|
+
Example:
|
|
63
|
+
```bash
|
|
64
|
+
sudo domniguard config set webhook.min_severity MEDIUM
|
|
65
|
+
sudo domniguard status
|
|
66
|
+
```
|
|
39
67
|
|
|
40
68
|
## Connect Vira AI agent
|
|
41
69
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "domniguard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "DOmniGuard AI-Driven Linux Server Security Daemon (MCP + Webhook)",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"node": ">=18"
|
|
16
16
|
},
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"domniguard-linux-x64": "0.1.
|
|
19
|
-
"domniguard-linux-arm64": "0.1.
|
|
18
|
+
"domniguard-linux-x64": "0.1.8",
|
|
19
|
+
"domniguard-linux-arm64": "0.1.8"
|
|
20
20
|
}
|
|
21
21
|
}
|