pgbeam 0.3.11 → 0.3.13

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/dist/index.cjs CHANGED
@@ -16,6 +16,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  updateOnboardingProgress: {
17
17
  method: "PATCH",
18
18
  path: "/v1/organizations/{org_id}/onboarding"
19
+ },
20
+ listOrganizations: {
21
+ method: "GET",
22
+ path: "/v1/organizations"
19
23
  }
20
24
  },
21
25
  agents: {
@@ -56,6 +60,40 @@ Object.defineProperty(exports, '__esModule', { value: true });
56
60
  path: "/v1/projects/{project_id}/audit-logs/verify"
57
61
  }
58
62
  },
63
+ policies: {
64
+ recommendAgentPolicy: {
65
+ method: "POST",
66
+ path: "/v1/projects/{project_id}/agents/{agent_id}/policy-recommendation"
67
+ },
68
+ listPolicyProfiles: {
69
+ method: "GET",
70
+ path: "/v1/projects/{project_id}/policies"
71
+ },
72
+ createPolicyProfile: {
73
+ method: "POST",
74
+ path: "/v1/projects/{project_id}/policies"
75
+ },
76
+ getPolicyProfile: {
77
+ method: "GET",
78
+ path: "/v1/projects/{project_id}/policies/{policy_id}"
79
+ },
80
+ updatePolicyProfile: {
81
+ method: "PUT",
82
+ path: "/v1/projects/{project_id}/policies/{policy_id}"
83
+ },
84
+ deletePolicyProfile: {
85
+ method: "DELETE",
86
+ path: "/v1/projects/{project_id}/policies/{policy_id}"
87
+ },
88
+ dryEvalPolicy: {
89
+ method: "POST",
90
+ path: "/v1/projects/{project_id}/policy-evaluations"
91
+ },
92
+ replayPolicy: {
93
+ method: "POST",
94
+ path: "/v1/projects/{project_id}/policy-replays"
95
+ }
96
+ },
59
97
  anomalies: {
60
98
  listAnomalyAlerts: {
61
99
  method: "GET",
@@ -246,40 +284,32 @@ Object.defineProperty(exports, '__esModule', { value: true });
246
284
  path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}/rotate"
247
285
  }
248
286
  },
249
- migrations: {
250
- lintMigration: {
251
- method: "POST",
252
- path: "/v1/projects/{project_id}/migrations:lint"
253
- }
254
- },
255
- policies: {
256
- listPolicyProfiles: {
287
+ honeytokens: {
288
+ listHoneytokens: {
257
289
  method: "GET",
258
- path: "/v1/projects/{project_id}/policies"
290
+ path: "/v1/projects/{project_id}/honeytokens"
259
291
  },
260
- createPolicyProfile: {
292
+ createHoneytoken: {
261
293
  method: "POST",
262
- path: "/v1/projects/{project_id}/policies"
294
+ path: "/v1/projects/{project_id}/honeytokens"
263
295
  },
264
- getPolicyProfile: {
296
+ getHoneytoken: {
265
297
  method: "GET",
266
- path: "/v1/projects/{project_id}/policies/{policy_id}"
298
+ path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}"
267
299
  },
268
- updatePolicyProfile: {
300
+ updateHoneytoken: {
269
301
  method: "PUT",
270
- path: "/v1/projects/{project_id}/policies/{policy_id}"
302
+ path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}"
271
303
  },
272
- deletePolicyProfile: {
304
+ deleteHoneytoken: {
273
305
  method: "DELETE",
274
- path: "/v1/projects/{project_id}/policies/{policy_id}"
275
- },
276
- dryEvalPolicy: {
277
- method: "POST",
278
- path: "/v1/projects/{project_id}/policy-evaluations"
279
- },
280
- replayPolicy: {
306
+ path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}"
307
+ }
308
+ },
309
+ migrations: {
310
+ lintMigration: {
281
311
  method: "POST",
282
- path: "/v1/projects/{project_id}/policy-replays"
312
+ path: "/v1/projects/{project_id}/migrations:lint"
283
313
  }
284
314
  },
285
315
  support: {
@@ -373,6 +403,11 @@ const operationsByPath = {
373
403
  path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
374
404
  operationId: "rotateAgentCredential"
375
405
  },
406
+ "POST /v1/projects/{project_id}/agents/{agent_id}/policy-recommendation": {
407
+ method: "POST",
408
+ path: "/v1/projects/{project_id}/agents/{agent_id}/policy-recommendation",
409
+ operationId: "recommendAgentPolicy"
410
+ },
376
411
  "GET /v1/projects/{project_id}/anomalies": {
377
412
  method: "GET",
378
413
  path: "/v1/projects/{project_id}/anomalies",
@@ -523,6 +558,31 @@ const operationsByPath = {
523
558
  path: "/v1/health",
524
559
  operationId: "getHealth"
525
560
  },
561
+ "GET /v1/projects/{project_id}/honeytokens": {
562
+ method: "GET",
563
+ path: "/v1/projects/{project_id}/honeytokens",
564
+ operationId: "listHoneytokens"
565
+ },
566
+ "POST /v1/projects/{project_id}/honeytokens": {
567
+ method: "POST",
568
+ path: "/v1/projects/{project_id}/honeytokens",
569
+ operationId: "createHoneytoken"
570
+ },
571
+ "GET /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
572
+ method: "GET",
573
+ path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}",
574
+ operationId: "getHoneytoken"
575
+ },
576
+ "PUT /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
577
+ method: "PUT",
578
+ path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}",
579
+ operationId: "updateHoneytoken"
580
+ },
581
+ "DELETE /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
582
+ method: "DELETE",
583
+ path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}",
584
+ operationId: "deleteHoneytoken"
585
+ },
526
586
  "GET /v1/projects/{project_id}/insights": {
527
587
  method: "GET",
528
588
  path: "/v1/projects/{project_id}/insights",
@@ -543,6 +603,11 @@ const operationsByPath = {
543
603
  path: "/v1/organizations/{org_id}/onboarding",
544
604
  operationId: "updateOnboardingProgress"
545
605
  },
606
+ "GET /v1/organizations": {
607
+ method: "GET",
608
+ path: "/v1/organizations",
609
+ operationId: "listOrganizations"
610
+ },
546
611
  "GET /v1/projects/{project_id}/policies": {
547
612
  method: "GET",
548
613
  path: "/v1/projects/{project_id}/policies",