@revfleet/hscli 0.5.3 → 0.7.0
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/CHANGELOG.md +169 -0
- package/README.md +3 -3
- package/dist/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/audit/index.d.ts +3 -0
- package/dist/commands/audit/index.js +226 -0
- package/dist/commands/audit/index.js.map +1 -0
- package/dist/commands/auth/index.js +2 -2
- package/dist/commands/auth/index.js.map +1 -1
- package/dist/commands/crm/sync.js +1 -1
- package/dist/commands/crm/sync.js.map +1 -1
- package/dist/commands/policy/index.d.ts +3 -0
- package/dist/commands/policy/index.js +217 -0
- package/dist/commands/policy/index.js.map +1 -0
- package/dist/commands/trace/index.d.ts +3 -0
- package/dist/commands/trace/index.js +455 -0
- package/dist/commands/trace/index.js.map +1 -0
- package/dist/core/auth.js +19 -1
- package/dist/core/auth.js.map +1 -1
- package/dist/core/http.js +37 -2
- package/dist/core/http.js.map +1 -1
- package/dist/core/policy.d.ts +75 -0
- package/dist/core/policy.js +124 -6
- package/dist/core/policy.js.map +1 -1
- package/dist/core/vault.js +1 -1
- package/dist/mcp/server.js +17 -1
- package/dist/mcp/server.js.map +1 -1
- package/docs/policy-templates/business-hours.json +21 -0
- package/docs/policy-templates/change-ticket-required.json +35 -0
- package/docs/policy-templates/compliance-strict.json +36 -0
- package/docs/policy-templates/no-deletes.json +17 -0
- package/docs/policy-templates/read-only.json +17 -0
- package/package.json +6 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"description": "Allow POST/PATCH/PUT but block all DELETE operations. Good for environments where accidental deletion is expensive and archiving is preferred.",
|
|
4
|
+
"profiles": {
|
|
5
|
+
"default": {
|
|
6
|
+
"defaultAction": "allow",
|
|
7
|
+
"rules": [
|
|
8
|
+
{
|
|
9
|
+
"name": "block-all-deletes",
|
|
10
|
+
"match": { "method": "DELETE", "path": "**" },
|
|
11
|
+
"action": "deny"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"allowDelete": false
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"description": "Block all writes on the 'default' profile. For ops/support engineers exploring a portal without risking accidental mutation.",
|
|
4
|
+
"profiles": {
|
|
5
|
+
"default": {
|
|
6
|
+
"defaultAction": "deny",
|
|
7
|
+
"rules": [
|
|
8
|
+
{
|
|
9
|
+
"name": "allow-all-reads",
|
|
10
|
+
"match": { "method": "GET", "path": "**" },
|
|
11
|
+
"action": "allow"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"allowWrite": false
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revfleet/hscli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Headless HubSpot CLI + MCP server. 100% public API coverage (1180 endpoints, 55+ command domains) — full portal, no UI dependency. Enterprise safety rails, self-hosted.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"audit"
|
|
37
37
|
],
|
|
38
38
|
"license": "MIT",
|
|
39
|
-
"homepage": "https://github.com/
|
|
39
|
+
"homepage": "https://github.com/revfleet/hscli#readme",
|
|
40
40
|
"bugs": {
|
|
41
|
-
"url": "https://github.com/
|
|
41
|
+
"url": "https://github.com/revfleet/hscli/issues"
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|
|
44
44
|
"type": "git",
|
|
45
|
-
"url": "git+https://github.com/
|
|
45
|
+
"url": "git+https://github.com/revfleet/hscli.git"
|
|
46
46
|
},
|
|
47
|
-
"author": "Luigi Vermeulen",
|
|
47
|
+
"author": "Luigi Vermeulen (revfleet)",
|
|
48
48
|
"exports": {
|
|
49
49
|
".": "./dist/cli.js",
|
|
50
50
|
"./plugins": "./dist/core/plugins.js",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"files": [
|
|
58
58
|
"dist",
|
|
59
|
+
"docs/policy-templates",
|
|
59
60
|
"README.md",
|
|
60
61
|
"LICENSE",
|
|
61
62
|
"SECURITY.md",
|