@knowttl/checkpoint-axi 0.0.0 → 0.1.1
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/LICENSE +21 -0
- package/README.md +164 -3
- package/axi-credential.schema.json +35 -0
- package/bin/checkpoint-axi-hook.js +9 -0
- package/bin/checkpoint-axi.js +8 -0
- package/bin/version.js +3 -0
- package/dist/src/catalogue.d.ts +317 -0
- package/dist/src/catalogue.js +103 -0
- package/dist/src/cli.d.ts +9 -0
- package/dist/src/cli.js +22 -0
- package/dist/src/doctor.d.ts +3 -0
- package/dist/src/doctor.js +37 -0
- package/dist/src/downloads.d.ts +3 -0
- package/dist/src/downloads.js +52 -0
- package/dist/src/exceptions.d.ts +37 -0
- package/dist/src/exceptions.js +81 -0
- package/dist/src/local-commands.d.ts +3 -0
- package/dist/src/local-commands.js +123 -0
- package/dist/src/private-file.d.ts +10 -0
- package/dist/src/private-file.js +65 -0
- package/dist/src/profiles.d.ts +122 -0
- package/dist/src/profiles.js +137 -0
- package/dist/src/reads.d.ts +3 -0
- package/dist/src/reads.js +169 -0
- package/dist/src/redact.d.ts +6 -0
- package/dist/src/redact.js +25 -0
- package/dist/src/regions.d.ts +9 -0
- package/dist/src/regions.js +10 -0
- package/dist/src/transport.d.ts +86 -0
- package/dist/src/transport.js +306 -0
- package/dist/src/write-exceptions.d.ts +4 -0
- package/dist/src/write-exceptions.js +97 -0
- package/dist/src/write-sectools.d.ts +5 -0
- package/dist/src/write-sectools.js +107 -0
- package/dist/src/writes.d.ts +30 -0
- package/dist/src/writes.js +295 -0
- package/docs/agent-guide.md +108 -0
- package/docs/commands.md +489 -0
- package/docs/configuration.md +63 -0
- package/docs/design.md +165 -0
- package/docs/downloads.md +30 -0
- package/docs/reads.md +84 -0
- package/docs/writes.md +200 -0
- package/inventory/capabilities.json +217 -0
- package/inventory/specs.json +12 -0
- package/package.json +48 -5
- package/skills/checkpoint-axi/SKILL.md +102 -0
package/docs/commands.md
ADDED
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
<!-- Generated by scripts/generate-docs.mjs from src/catalogue.ts. Do not hand-edit. -->
|
|
2
|
+
|
|
3
|
+
# Command reference
|
|
4
|
+
|
|
5
|
+
Inspect Check Point Email Security through compact, guarded AXI commands.
|
|
6
|
+
Email, event, task and exception reads use the regional API; doctor checks authentication and one bounded search, while discovery commands stay local.
|
|
7
|
+
Run each command with `--help` for concise help.
|
|
8
|
+
|
|
9
|
+
[attachment download](#attachment-download) | [attachment download-all](#attachment-download-all) | [auth status](#auth-status) | [config path](#config-path) | [doctor](#doctor) | [email download](#email-download) | [email quarantine](#email-quarantine) | [email restore](#email-restore) | [email search](#email-search) | [email show](#email-show) | [event action](#event-action) | [event list](#event-list) | [event show](#event-show) | [exception clear](#exception-clear) | [exception create](#exception-create) | [exception list](#exception-list) | [exception remove](#exception-remove) | [exception remove-items](#exception-remove-items) | [exception show](#exception-show) | [exception update](#exception-update) | [home](#home) | [profile list](#profile-list) | [task show](#task-show)
|
|
10
|
+
|
|
11
|
+
| Command | Purpose |
|
|
12
|
+
|---|---|
|
|
13
|
+
| `checkpoint-axi attachment download` | Download one attachment to a new private file with profile opt-in, a 50 MiB cap and verified x-av-sha256; scope behavior is unverified (guide pages 133-135) |
|
|
14
|
+
| `checkpoint-axi attachment download-all` | Download available attachments as a ZIP to a new private file with opt-in, a 50 MiB cap and mandatory SHA-256 verification; ZIP hash availability and scopes are unverified; HTTP 200 may contain only some attachments (guide pages 135-137) |
|
|
15
|
+
| `checkpoint-axi auth status` | Validate the selected local profile and secret source without API calls |
|
|
16
|
+
| `checkpoint-axi config path` | Show config and state paths without reading files; --profile does not affect paths |
|
|
17
|
+
| `checkpoint-axi doctor` | Check regional API authentication and one bounded email search without printing tenant data |
|
|
18
|
+
| `checkpoint-axi email download` | Download an email to a new private file with profile opt-in, a 50 MiB cap and mandatory SHA-256 verification; scopes and email hash availability are unverified (guide pages 131-132) |
|
|
19
|
+
| `checkpoint-axi email quarantine` | Preview or request asynchronous email quarantine through the gated write coordinator (guide pages 28-30) |
|
|
20
|
+
| `checkpoint-axi email restore` | Preview or request asynchronous email restore through the gated write coordinator (guide pages 28-30) |
|
|
21
|
+
| `checkpoint-axi email search` | Search emails with a bounded date window and scroll continuation (API guide pages 18-27) |
|
|
22
|
+
| `checkpoint-axi email show` | Show one email with verdicts, actions and available actions (API guide pages 10-18) |
|
|
23
|
+
| `checkpoint-axi event action` | Preview or request a name-only event action; parameterized actions refuse ENDPOINT_UNVERIFIED pending commissioning (guide pages 35-37, 42-45) |
|
|
24
|
+
| `checkpoint-axi event list` | List security events with bounded scroll continuation (API guide pages 37-42) |
|
|
25
|
+
| `checkpoint-axi event show` | Show one event, actions taken and available actions (API guide pages 34-37) |
|
|
26
|
+
| `checkpoint-axi exception clear` | Refuse click-time/malware/url/dlp clear with ENDPOINT_UNVERIFIED until commissioning establishes counts and delete contracts (guide pages 87-88, 96-97, 107-110, 117-120, 128-131) |
|
|
27
|
+
| `checkpoint-axi exception create` | Preview or create one exception of any kind; anomaly/click-time/malware/url/dlp response identities are unverified (guide pages 61-64, 75-78, 84-85, 91-93, 102-105, 113-116, 123-126) |
|
|
28
|
+
| `checkpoint-axi exception list` | List bounded exceptions for phishing-allow, phishing-block, spam-allow, anomaly, click-time, malware, url or dlp (guide pages 49-123) |
|
|
29
|
+
| `checkpoint-axi exception remove` | Preview or remove one phishing/spam/anomaly/click-time exception by ID; malware/url/dlp refuse ENDPOINT_UNVERIFIED before authentication (guide pages 67-69, 81-82, 85-87, 98-99, 108-110, 119-120, 129-131) |
|
|
30
|
+
| `checkpoint-axi exception remove-items` | Preview or remove 1-20 click-time items by caller-supplied IDs; existence is unverified (guide pages 97-98) |
|
|
31
|
+
| `checkpoint-axi exception show` | Show an exception by kind and ID/value; anomaly refuses ENDPOINT_UNVERIFIED pending commissioning (guide pages 52-123) |
|
|
32
|
+
| `checkpoint-axi exception update` | Preview or replace one exception; phishing/spam/click-time require an ID; malware/url/dlp identify it in --input without an ID; anomaly unsupported (guide pages 64-67, 78-81, 94-96, 105-107, 116-117, 126-127) |
|
|
33
|
+
| `checkpoint-axi home` | Show local profile context without resolving secrets or making API calls |
|
|
34
|
+
| `checkpoint-axi profile list` | List file profiles without resolving secrets; --profile does not filter this list |
|
|
35
|
+
| `checkpoint-axi task show` | Show asynchronous task status and per-action details (API guide pages 30-33) |
|
|
36
|
+
|
|
37
|
+
## attachment download
|
|
38
|
+
|
|
39
|
+
Download one attachment to a new private file with profile opt-in, a 50 MiB cap and verified x-av-sha256; scope behavior is unverified (guide pages 133-135)
|
|
40
|
+
|
|
41
|
+
| Flag | Meaning |
|
|
42
|
+
|---|---|
|
|
43
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
44
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
45
|
+
| `--help` | Show concise command help; default false |
|
|
46
|
+
| `--out` | Required absolute new output file; mode 0600, never stdout or overwrite |
|
|
47
|
+
| `--scope` | Optional authorized scope query; default profile scope when configured; live behavior unverified |
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
checkpoint-axi attachment download <entity-id> <attachment-id> --out /absolute/attachment
|
|
51
|
+
checkpoint-axi attachment download <entity-id> <attachment-id> --scope <scope> --out /absolute/attachment
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## attachment download-all
|
|
55
|
+
|
|
56
|
+
Download available attachments as a ZIP to a new private file with opt-in, a 50 MiB cap and mandatory SHA-256 verification; ZIP hash availability and scopes are unverified; HTTP 200 may contain only some attachments (guide pages 135-137)
|
|
57
|
+
|
|
58
|
+
| Flag | Meaning |
|
|
59
|
+
|---|---|
|
|
60
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
61
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
62
|
+
| `--help` | Show concise command help; default false |
|
|
63
|
+
| `--out` | Required absolute new output file; mode 0600, never stdout or overwrite |
|
|
64
|
+
| `--scope` | Optional authorized scope query; default profile scope when configured; live behavior unverified |
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
checkpoint-axi attachment download-all <entity-id> --out /absolute/attachments
|
|
68
|
+
checkpoint-axi attachment download-all <entity-id> --scope <scope> --out /absolute/attachments
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## auth status
|
|
72
|
+
|
|
73
|
+
Validate the selected local profile and secret source without API calls
|
|
74
|
+
|
|
75
|
+
| Flag | Meaning |
|
|
76
|
+
|---|---|
|
|
77
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
78
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
79
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
80
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
81
|
+
| `--help` | Show concise command help; default false |
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
checkpoint-axi auth status
|
|
85
|
+
checkpoint-axi auth status --profile example
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## config path
|
|
89
|
+
|
|
90
|
+
Show config and state paths without reading files; --profile does not affect paths
|
|
91
|
+
|
|
92
|
+
| Flag | Meaning |
|
|
93
|
+
|---|---|
|
|
94
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
95
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
96
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
97
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
98
|
+
| `--help` | Show concise command help; default false |
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
checkpoint-axi config path
|
|
102
|
+
checkpoint-axi config path --fields config
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## doctor
|
|
106
|
+
|
|
107
|
+
Check regional API authentication and one bounded email search without printing tenant data
|
|
108
|
+
|
|
109
|
+
| Flag | Meaning |
|
|
110
|
+
|---|---|
|
|
111
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
112
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
113
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
114
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
115
|
+
| `--help` | Show concise command help; default false |
|
|
116
|
+
| `--saas` | SaaS override; default selected profile saas or office365_emails |
|
|
117
|
+
|
|
118
|
+
```sh
|
|
119
|
+
checkpoint-axi doctor
|
|
120
|
+
checkpoint-axi doctor --profile example --saas office365_emails
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## email download
|
|
124
|
+
|
|
125
|
+
Download an email to a new private file with profile opt-in, a 50 MiB cap and mandatory SHA-256 verification; scopes and email hash availability are unverified (guide pages 131-132)
|
|
126
|
+
|
|
127
|
+
| Flag | Meaning |
|
|
128
|
+
|---|---|
|
|
129
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
130
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
131
|
+
| `--help` | Show concise command help; default false |
|
|
132
|
+
| `--out` | Required absolute new output file; mode 0600, never stdout or overwrite |
|
|
133
|
+
| `--original` | Download original email without processing modifications; default false |
|
|
134
|
+
|
|
135
|
+
```sh
|
|
136
|
+
checkpoint-axi email download <entity-id> --out /absolute/message
|
|
137
|
+
checkpoint-axi email download <entity-id> --original --out /absolute/original
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## email quarantine
|
|
141
|
+
|
|
142
|
+
Preview or request asynchronous email quarantine through the gated write coordinator (guide pages 28-30)
|
|
143
|
+
|
|
144
|
+
| Flag | Meaning |
|
|
145
|
+
|---|---|
|
|
146
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
147
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
148
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
149
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
150
|
+
| `--help` | Show concise command help; default false |
|
|
151
|
+
| `--ids` | Required comma-separated unique entity IDs; maximum 20 |
|
|
152
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
153
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
154
|
+
| `--confirm` | Exact operation followed by a space and the comma-separated IDs in supplied order |
|
|
155
|
+
|
|
156
|
+
```sh
|
|
157
|
+
checkpoint-axi email quarantine --ids <id>
|
|
158
|
+
checkpoint-axi email quarantine --ids <id> --execute --confirm 'email.quarantine <id>'
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## email restore
|
|
162
|
+
|
|
163
|
+
Preview or request asynchronous email restore through the gated write coordinator (guide pages 28-30)
|
|
164
|
+
|
|
165
|
+
| Flag | Meaning |
|
|
166
|
+
|---|---|
|
|
167
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
168
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
169
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
170
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
171
|
+
| `--help` | Show concise command help; default false |
|
|
172
|
+
| `--ids` | Required comma-separated unique entity IDs; maximum 20 |
|
|
173
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
174
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
175
|
+
| `--confirm` | Exact operation followed by a space and the comma-separated IDs in supplied order |
|
|
176
|
+
|
|
177
|
+
```sh
|
|
178
|
+
checkpoint-axi email restore --ids <id>
|
|
179
|
+
checkpoint-axi email restore --ids <id> --execute --confirm 'email.restore <id>'
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## email search
|
|
183
|
+
|
|
184
|
+
Search emails with a bounded date window and scroll continuation (API guide pages 18-27)
|
|
185
|
+
|
|
186
|
+
| Flag | Meaning |
|
|
187
|
+
|---|---|
|
|
188
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
189
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
190
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
191
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
192
|
+
| `--help` | Show concise command help; default false |
|
|
193
|
+
| `--saas` | SaaS override; default selected profile saas or office365_emails |
|
|
194
|
+
| `--saas-entity` | Optional SaaS entity type selector |
|
|
195
|
+
| `--start-date` | ISO timestamp with timezone; default 24 hours before end-date; maximum window 31 days |
|
|
196
|
+
| `--end-date` | ISO timestamp with timezone; default now |
|
|
197
|
+
| `--limit` | Maximum rows; default 50, range 1-1000; cannot combine with --all |
|
|
198
|
+
| `--all` | Read up to 1000 rows / 10 HTTP requests / 60 seconds / 8 MiB; default false |
|
|
199
|
+
| `--cursor` | Opaque continuation bound to profile, region, operation and selectors; repeat original selectors |
|
|
200
|
+
| `--filter` | JSON array of {saasAttrName, saasAttrOp, saasAttrValue} filters (guide pages 19-20) |
|
|
201
|
+
|
|
202
|
+
```sh
|
|
203
|
+
checkpoint-axi email search
|
|
204
|
+
checkpoint-axi email search --all --saas office365_emails
|
|
205
|
+
checkpoint-axi email search --cursor <cursor>
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
## email show
|
|
209
|
+
|
|
210
|
+
Show one email with verdicts, actions and available actions (API guide pages 10-18)
|
|
211
|
+
|
|
212
|
+
| Flag | Meaning |
|
|
213
|
+
|---|---|
|
|
214
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
215
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
216
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
217
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
218
|
+
| `--help` | Show concise command help; default false |
|
|
219
|
+
|
|
220
|
+
```sh
|
|
221
|
+
checkpoint-axi email show <id>
|
|
222
|
+
checkpoint-axi email show <id> --full
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## event action
|
|
226
|
+
|
|
227
|
+
Preview or request a name-only event action; parameterized actions refuse ENDPOINT_UNVERIFIED pending commissioning (guide pages 35-37, 42-45)
|
|
228
|
+
|
|
229
|
+
| Flag | Meaning |
|
|
230
|
+
|---|---|
|
|
231
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
232
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
233
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
234
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
235
|
+
| `--help` | Show concise command help; default false |
|
|
236
|
+
| `--ids` | Required comma-separated unique event IDs; maximum 20 |
|
|
237
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
238
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
239
|
+
| `--confirm` | Exact operation followed by a space and the comma-separated IDs in supplied order |
|
|
240
|
+
| `--name` | Required available action name; nonempty action parameters are unverified |
|
|
241
|
+
|
|
242
|
+
```sh
|
|
243
|
+
checkpoint-axi event action --ids <id> --name dismiss
|
|
244
|
+
checkpoint-axi event action --ids <id> --name dismiss --execute --confirm 'event.action.dismiss <id>'
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## event list
|
|
248
|
+
|
|
249
|
+
List security events with bounded scroll continuation (API guide pages 37-42)
|
|
250
|
+
|
|
251
|
+
| Flag | Meaning |
|
|
252
|
+
|---|---|
|
|
253
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
254
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
255
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
256
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
257
|
+
| `--help` | Show concise command help; default false |
|
|
258
|
+
| `--start-date` | ISO timestamp with timezone; default 24 hours before end-date; maximum window 31 days |
|
|
259
|
+
| `--end-date` | ISO timestamp with timezone; default now |
|
|
260
|
+
| `--limit` | Maximum rows; default 50, range 1-1000; cannot combine with --all |
|
|
261
|
+
| `--all` | Read up to 1000 rows / 10 HTTP requests / 60 seconds / 8 MiB; default false |
|
|
262
|
+
| `--cursor` | Opaque continuation bound to profile, region, operation and selectors; repeat original selectors |
|
|
263
|
+
| `--saas` | Comma-separated SaaS overrides; default selected profile saas or office365_emails |
|
|
264
|
+
| `--event-types` | Comma-separated event types; default unfiltered |
|
|
265
|
+
| `--event-states` | Comma-separated event states; default unfiltered |
|
|
266
|
+
| `--severities` | Comma-separated severities; default unfiltered |
|
|
267
|
+
| `--event-ids` | Comma-separated event IDs; default unfiltered |
|
|
268
|
+
| `--confidence-indicator` | Confidence indicator selector; default unfiltered |
|
|
269
|
+
| `--description` | Description selector; default unfiltered |
|
|
270
|
+
|
|
271
|
+
```sh
|
|
272
|
+
checkpoint-axi event list
|
|
273
|
+
checkpoint-axi event list --all --event-types phishing
|
|
274
|
+
checkpoint-axi event list --cursor <cursor>
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
## event show
|
|
278
|
+
|
|
279
|
+
Show one event, actions taken and available actions (API guide pages 34-37)
|
|
280
|
+
|
|
281
|
+
| Flag | Meaning |
|
|
282
|
+
|---|---|
|
|
283
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
284
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
285
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
286
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
287
|
+
| `--help` | Show concise command help; default false |
|
|
288
|
+
|
|
289
|
+
```sh
|
|
290
|
+
checkpoint-axi event show <id>
|
|
291
|
+
checkpoint-axi event show <id> --full
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
## exception clear
|
|
295
|
+
|
|
296
|
+
Refuse click-time/malware/url/dlp clear with ENDPOINT_UNVERIFIED until commissioning establishes counts and delete contracts (guide pages 87-88, 96-97, 107-110, 117-120, 128-131)
|
|
297
|
+
|
|
298
|
+
| Flag | Meaning |
|
|
299
|
+
|---|---|
|
|
300
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
301
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
302
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
303
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
304
|
+
| `--help` | Show concise command help; default false |
|
|
305
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
306
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
307
|
+
| `--confirm` | Exact operation followed by a space and every target from preview (payload sha256 for create and malware/url/dlp update, exception ID or comma-separated item IDs otherwise) |
|
|
308
|
+
|
|
309
|
+
```sh
|
|
310
|
+
checkpoint-axi exception clear click-time
|
|
311
|
+
checkpoint-axi exception clear click-time --dry-run
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
## exception create
|
|
315
|
+
|
|
316
|
+
Preview or create one exception of any kind; anomaly/click-time/malware/url/dlp response identities are unverified (guide pages 61-64, 75-78, 84-85, 91-93, 102-105, 113-116, 123-126)
|
|
317
|
+
|
|
318
|
+
| Flag | Meaning |
|
|
319
|
+
|---|---|
|
|
320
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
321
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
322
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
323
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
324
|
+
| `--help` | Show concise command help; default false |
|
|
325
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
326
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
327
|
+
| `--confirm` | Exact operation followed by a space and every target from preview (payload sha256 for create and malware/url/dlp update, exception ID or comma-separated item IDs otherwise) |
|
|
328
|
+
| `--input` | Required absolute private JSON file containing documented requestData fields directly; fields depend on kind; update sends a replacement PUT |
|
|
329
|
+
| `--specific` | Malware/url/dlp only: use the documented create-specific /exceptions route; default false; included in confirmation digest |
|
|
330
|
+
|
|
331
|
+
```sh
|
|
332
|
+
checkpoint-axi exception create phishing-allow --input /absolute/rule.json
|
|
333
|
+
checkpoint-axi exception create spam-allow --input /absolute/rule.json --execute --confirm 'exception.spam-allow.create sha256:<preview-digest>'
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
## exception list
|
|
337
|
+
|
|
338
|
+
List bounded exceptions for phishing-allow, phishing-block, spam-allow, anomaly, click-time, malware, url or dlp (guide pages 49-123)
|
|
339
|
+
|
|
340
|
+
| Flag | Meaning |
|
|
341
|
+
|---|---|
|
|
342
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
343
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
344
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
345
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
346
|
+
| `--help` | Show concise command help; default false |
|
|
347
|
+
| `--type` | Required for malware: hash,micro_hash,file_type,ppat_sender_name,allow_file_type,sender_email; url: allow-url,allow-domain,block-url,block-domain; dlp: hash,text_content,sender_email,recipient_email |
|
|
348
|
+
| `--items` | Click-time item routes instead of list routes; default false |
|
|
349
|
+
| `--limit` | Maximum rows; default 50, range 1-1000; cannot combine with --all |
|
|
350
|
+
| `--all` | Return up to 1000 rows within transport budgets; no server continuation parameter is documented |
|
|
351
|
+
|
|
352
|
+
```sh
|
|
353
|
+
checkpoint-axi exception list phishing-allow
|
|
354
|
+
checkpoint-axi exception list malware --type hash
|
|
355
|
+
checkpoint-axi exception list click-time --items --all
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
## exception remove
|
|
359
|
+
|
|
360
|
+
Preview or remove one phishing/spam/anomaly/click-time exception by ID; malware/url/dlp refuse ENDPOINT_UNVERIFIED before authentication (guide pages 67-69, 81-82, 85-87, 98-99, 108-110, 119-120, 129-131)
|
|
361
|
+
|
|
362
|
+
| Flag | Meaning |
|
|
363
|
+
|---|---|
|
|
364
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
365
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
366
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
367
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
368
|
+
| `--help` | Show concise command help; default false |
|
|
369
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
370
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
371
|
+
| `--confirm` | Exact operation followed by a space and every target from preview (payload sha256 for create and malware/url/dlp update, exception ID or comma-separated item IDs otherwise) |
|
|
372
|
+
|
|
373
|
+
```sh
|
|
374
|
+
checkpoint-axi exception remove phishing-allow <id>
|
|
375
|
+
checkpoint-axi exception remove spam-allow <id> --execute --confirm 'exception.spam-allow.remove <id>'
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
## exception remove-items
|
|
379
|
+
|
|
380
|
+
Preview or remove 1-20 click-time items by caller-supplied IDs; existence is unverified (guide pages 97-98)
|
|
381
|
+
|
|
382
|
+
| Flag | Meaning |
|
|
383
|
+
|---|---|
|
|
384
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
385
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
386
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
387
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
388
|
+
| `--help` | Show concise command help; default false |
|
|
389
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
390
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
391
|
+
| `--confirm` | Exact operation followed by a space and every target from preview (payload sha256 for create and malware/url/dlp update, exception ID or comma-separated item IDs otherwise) |
|
|
392
|
+
| `--ids` | Required 1-20 unique comma-separated click-time item IDs |
|
|
393
|
+
|
|
394
|
+
```sh
|
|
395
|
+
checkpoint-axi exception remove-items click-time --ids <id1>,<id2>
|
|
396
|
+
checkpoint-axi exception remove-items click-time --ids <id1>,<id2> --execute --confirm 'exception.click-time.remove-items <id1>,<id2>'
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
## exception show
|
|
400
|
+
|
|
401
|
+
Show an exception by kind and ID/value; anomaly refuses ENDPOINT_UNVERIFIED pending commissioning (guide pages 52-123)
|
|
402
|
+
|
|
403
|
+
| Flag | Meaning |
|
|
404
|
+
|---|---|
|
|
405
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
406
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
407
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
408
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
409
|
+
| `--help` | Show concise command help; default false |
|
|
410
|
+
| `--type` | Required for malware: hash,micro_hash,file_type,ppat_sender_name,allow_file_type,sender_email; url: allow-url,allow-domain,block-url,block-domain; dlp: hash,text_content,sender_email,recipient_email |
|
|
411
|
+
| `--items` | Click-time item route instead of list route; default false |
|
|
412
|
+
|
|
413
|
+
```sh
|
|
414
|
+
checkpoint-axi exception show phishing-block <id>
|
|
415
|
+
checkpoint-axi exception show url <value> --type allow-url
|
|
416
|
+
checkpoint-axi exception show click-time <id> --items --full
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
## exception update
|
|
420
|
+
|
|
421
|
+
Preview or replace one exception; phishing/spam/click-time require an ID; malware/url/dlp identify it in --input without an ID; anomaly unsupported (guide pages 64-67, 78-81, 94-96, 105-107, 116-117, 126-127)
|
|
422
|
+
|
|
423
|
+
| Flag | Meaning |
|
|
424
|
+
|---|---|
|
|
425
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
426
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
427
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
428
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
429
|
+
| `--help` | Show concise command help; default false |
|
|
430
|
+
| `--execute` | Send once after all write gates; default false (preview) |
|
|
431
|
+
| `--dry-run` | Explicit preview; cannot combine with --execute |
|
|
432
|
+
| `--confirm` | Exact operation followed by a space and every target from preview (payload sha256 for create and malware/url/dlp update, exception ID or comma-separated item IDs otherwise) |
|
|
433
|
+
| `--input` | Required absolute private JSON file containing documented requestData fields directly; fields depend on kind; update sends a replacement PUT |
|
|
434
|
+
|
|
435
|
+
```sh
|
|
436
|
+
checkpoint-axi exception update phishing-block <id> --input /absolute/rule.json
|
|
437
|
+
checkpoint-axi exception update spam-allow <id> --input /absolute/rule.json --execute --confirm 'exception.spam-allow.update <id>'
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
## home
|
|
441
|
+
|
|
442
|
+
Show local profile context without resolving secrets or making API calls
|
|
443
|
+
|
|
444
|
+
| Flag | Meaning |
|
|
445
|
+
|---|---|
|
|
446
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
447
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
448
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
449
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
450
|
+
| `--help` | Show concise command help; default false |
|
|
451
|
+
|
|
452
|
+
```sh
|
|
453
|
+
checkpoint-axi
|
|
454
|
+
checkpoint-axi home --profile example
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
## profile list
|
|
458
|
+
|
|
459
|
+
List file profiles without resolving secrets; --profile does not filter this list
|
|
460
|
+
|
|
461
|
+
| Flag | Meaning |
|
|
462
|
+
|---|---|
|
|
463
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
464
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
465
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
466
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
467
|
+
| `--help` | Show concise command help; default false |
|
|
468
|
+
|
|
469
|
+
```sh
|
|
470
|
+
checkpoint-axi profile list
|
|
471
|
+
checkpoint-axi profile list --config /example/config.json
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
## task show
|
|
475
|
+
|
|
476
|
+
Show asynchronous task status and per-action details (API guide pages 30-33)
|
|
477
|
+
|
|
478
|
+
| Flag | Meaning |
|
|
479
|
+
|---|---|
|
|
480
|
+
| `--config` | Config path; default CHECKPOINT_AXI_CONFIG or platform path |
|
|
481
|
+
| `--profile` | Profile name; default CHECKPOINT_AXI_PROFILE, env profile, config default, or sole profile |
|
|
482
|
+
| `--fields` | Comma-separated output fields; default all |
|
|
483
|
+
| `--full` | Show full strings instead of 500-character previews; default false |
|
|
484
|
+
| `--help` | Show concise command help; default false |
|
|
485
|
+
|
|
486
|
+
```sh
|
|
487
|
+
checkpoint-axi task show <id>
|
|
488
|
+
checkpoint-axi task show <id> --full
|
|
489
|
+
```
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Configuration
|
|
2
|
+
|
|
3
|
+
See [environment variables and platform defaults](../README.md#configuration) for the complete variable table.
|
|
4
|
+
|
|
5
|
+
`config path` reports platform paths without reading files.
|
|
6
|
+
Config defaults to `$XDG_CONFIG_HOME/checkpoint-axi/config.json` (or `~/.config/checkpoint-axi/config.json`) on Linux/macOS, and `%APPDATA%\checkpoint-axi\config.json` on Windows.
|
|
7
|
+
State defaults to `$XDG_STATE_HOME/checkpoint-axi` (or `~/.local/state/checkpoint-axi`), and `%LOCALAPPDATA%\checkpoint-axi` on Windows.
|
|
8
|
+
Windows ignores XDG variables.
|
|
9
|
+
XDG and Windows base-directory overrides must be absolute; relative values use the platform defaults.
|
|
10
|
+
If APPDATA or LOCALAPPDATA is absent or relative, the Windows defaults are `~/AppData/Roaming` and `~/AppData/Local` respectively.
|
|
11
|
+
No command discovers config from the current directory or writes configuration.
|
|
12
|
+
|
|
13
|
+
Create a config file with this synthetic shape and protect it from group/other writes:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"version": 1,
|
|
18
|
+
"defaultProfile": "example",
|
|
19
|
+
"profiles": {
|
|
20
|
+
"example": {
|
|
21
|
+
"region": "eu",
|
|
22
|
+
"clientId": "synthetic-client",
|
|
23
|
+
"clientSecret": { "env": "CHECKPOINT_AXI_CLIENT_SECRET" },
|
|
24
|
+
"saas": "office365_emails",
|
|
25
|
+
"downloads": { "allow": false },
|
|
26
|
+
"writes": { "allowWrites": false, "operations": [] }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Supply the secret through your environment or an absolute private file SecretRef, never chat, argv or an inline config value.
|
|
33
|
+
Omitting `clientSecret` defaults its reference to `CHECKPOINT_AXI_CLIENT_SECRET`.
|
|
34
|
+
`auth status` resolves the selected reference locally and reports only its kind (`env` or `file`); it never prints the value, client ID, variable name or secret file path.
|
|
35
|
+
It confirms local readiness, not API authentication.
|
|
36
|
+
`profile list` and home never resolve secret files.
|
|
37
|
+
Supported regions are `us`, `eu`, `ca`, `au`, `uk`, `uae` and `in`; there is no origin override.
|
|
38
|
+
Optional `saas` defaults to `office365_emails`; `doctor`, `email search` and `event list` accept `--saas <name>` to override it for that call.
|
|
39
|
+
Optional `scope` supplies the required email download `scopes` header and the default optional attachment `scope` query.
|
|
40
|
+
The host-facing [credential schema](../axi-credential.schema.json) describes one strict profile.
|
|
41
|
+
|
|
42
|
+
Config precedence is `--config`, then `CHECKPOINT_AXI_CONFIG`, then the platform path.
|
|
43
|
+
Profile precedence is `--profile`, `CHECKPOINT_AXI_PROFILE`, complete env profile, config default, sole file profile, then an explicit missing/ambiguous error.
|
|
44
|
+
An env profile requires `CHECKPOINT_AXI_REGION`, `CHECKPOINT_AXI_CLIENT_ID` and `CHECKPOINT_AXI_CLIENT_SECRET` together; optional `CHECKPOINT_AXI_SAAS` and `CHECKPOINT_AXI_SCOPE` cannot stand alone.
|
|
45
|
+
File-selected metadata never mixes with env-profile fields, though an explicit SecretRef can name an environment variable.
|
|
46
|
+
Environment profiles always disable writes and downloads.
|
|
47
|
+
`CHECKPOINT_AXI_READ_ONLY` accepts `1`/`true` or `0`/`false` case-insensitively; any other value fails closed.
|
|
48
|
+
`CHECKPOINT_AXI_WRITE_LOG` overrides the write journal, defaulting to `writes.log` in the platform state directory.
|
|
49
|
+
An empty override uses that default.
|
|
50
|
+
|
|
51
|
+
POSIX reads reject symlinks, foreign ownership, group/other-writable config and any group/other access to secret files.
|
|
52
|
+
Secret file content is UTF-8 with a leading BOM and trailing whitespace removed.
|
|
53
|
+
On Windows, regular files and reparse points are checked without interpreting mode bits; `auth status`, `doctor` and email, event, task and exception API commands also verify a protected DACL for the current user, SYSTEM and Administrators.
|
|
54
|
+
|
|
55
|
+
## Write and download permissions
|
|
56
|
+
|
|
57
|
+
File profiles are read-only by default.
|
|
58
|
+
Set `writes.allowWrites` to true and list each exact operation in the `writes` object's `operations` array only when that permission is intended.
|
|
59
|
+
Environment profiles cannot enable writes or downloads.
|
|
60
|
+
`CHECKPOINT_AXI_READ_ONLY=1` overrides all configured write permission.
|
|
61
|
+
Downloads require the separate `downloads.allow: true` file-profile opt-in.
|
|
62
|
+
See [operation gates](writes.md) and [download requirements](downloads.md); profile permission alone does not execute an operation.
|
|
63
|
+
|