@veltrosecurity/sdk 0.15.30 → 0.16.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/dist/index.cjs +2 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -15
- package/dist/index.d.ts +1 -15
- package/dist/index.js +2 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -53,7 +53,7 @@ var DEFAULT_MAX_RESPONSE_BYTES = 32 * 1024 * 1024;
|
|
|
53
53
|
var DEFAULT_RETRIES = 2;
|
|
54
54
|
var RETRY_STATUSES = /* @__PURE__ */ new Set([429, 502, 503, 504]);
|
|
55
55
|
var RETRY_METHODS = /* @__PURE__ */ new Set(["GET", "HEAD", "OPTIONS", "PUT", "DELETE"]);
|
|
56
|
-
var USER_AGENT = "veltro-sdk/0.
|
|
56
|
+
var USER_AGENT = "veltro-sdk/0.16.0 (+https://github.com/veltrosecurity/veltro)";
|
|
57
57
|
var VeltroError = class extends Error {
|
|
58
58
|
constructor(message) {
|
|
59
59
|
super(message);
|
|
@@ -747,12 +747,6 @@ var ChadAuditSettings = class extends Resource {
|
|
|
747
747
|
return this.request("PUT", "/api/audit-settings", options);
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
|
-
var ChadAuthorityRevisions = class extends Resource {
|
|
751
|
-
/** POST /api/authority/revisions — Ingest Authority Revisions. */
|
|
752
|
-
ingest(options = {}) {
|
|
753
|
-
return this.request("POST", "/api/authority/revisions", options);
|
|
754
|
-
}
|
|
755
|
-
};
|
|
756
750
|
var ChadCircuitBreakers = class extends Resource {
|
|
757
751
|
/** GET /api/circuit-breakers — List Circuit Breakers. */
|
|
758
752
|
list(options = {}) {
|
|
@@ -1298,10 +1292,6 @@ var ChadHealth = class extends Resource {
|
|
|
1298
1292
|
clusterRetryFailedShards(options = {}) {
|
|
1299
1293
|
return this.request("POST", "/api/health/cluster/retry-failed-shards", options);
|
|
1300
1294
|
}
|
|
1301
|
-
/** GET /api/health/authority-revision — Get Authority Revision Health. */
|
|
1302
|
-
getAuthorityRevision(options = {}) {
|
|
1303
|
-
return this.request("GET", "/api/health/authority-revision", options);
|
|
1304
|
-
}
|
|
1305
1295
|
/** GET /api/health/cluster — Get Cluster Health. */
|
|
1306
1296
|
getCluster(options = {}) {
|
|
1307
1297
|
return this.request("GET", "/api/health/cluster", options);
|
|
@@ -2545,12 +2535,6 @@ var WardenAudit = class extends Resource {
|
|
|
2545
2535
|
return this.request("GET", "/api/audit/verify", options);
|
|
2546
2536
|
}
|
|
2547
2537
|
};
|
|
2548
|
-
var WardenAuthorityRevisions = class extends Resource {
|
|
2549
|
-
/** POST /api/authority/revisions — Ingest Authority Revisions. */
|
|
2550
|
-
ingest(options = {}) {
|
|
2551
|
-
return this.request("POST", "/api/authority/revisions", options);
|
|
2552
|
-
}
|
|
2553
|
-
};
|
|
2554
2538
|
var WardenBindings = class extends Resource {
|
|
2555
2539
|
/** POST /api/bindings — Create Binding. */
|
|
2556
2540
|
create(options = {}) {
|
|
@@ -3226,7 +3210,6 @@ var ChadResources = class {
|
|
|
3226
3210
|
attackNarratives;
|
|
3227
3211
|
audit;
|
|
3228
3212
|
auditSettings;
|
|
3229
|
-
authorityRevisions;
|
|
3230
3213
|
circuitBreakers;
|
|
3231
3214
|
compliance;
|
|
3232
3215
|
contentUpdates;
|
|
@@ -3284,7 +3267,6 @@ var ChadResources = class {
|
|
|
3284
3267
|
this.attackNarratives = new ChadAttackNarratives(transport);
|
|
3285
3268
|
this.audit = new ChadAudit(transport);
|
|
3286
3269
|
this.auditSettings = new ChadAuditSettings(transport);
|
|
3287
|
-
this.authorityRevisions = new ChadAuthorityRevisions(transport);
|
|
3288
3270
|
this.circuitBreakers = new ChadCircuitBreakers(transport);
|
|
3289
3271
|
this.compliance = new ChadCompliance(transport);
|
|
3290
3272
|
this.contentUpdates = new ChadContentUpdates(transport);
|
|
@@ -3367,7 +3349,6 @@ var WardenResources = class {
|
|
|
3367
3349
|
alerts;
|
|
3368
3350
|
approvals;
|
|
3369
3351
|
audit;
|
|
3370
|
-
authorityRevisions;
|
|
3371
3352
|
bindings;
|
|
3372
3353
|
capacity;
|
|
3373
3354
|
casePolicies;
|
|
@@ -3400,7 +3381,6 @@ var WardenResources = class {
|
|
|
3400
3381
|
this.alerts = new WardenAlerts(transport);
|
|
3401
3382
|
this.approvals = new WardenApprovals(transport);
|
|
3402
3383
|
this.audit = new WardenAudit(transport);
|
|
3403
|
-
this.authorityRevisions = new WardenAuthorityRevisions(transport);
|
|
3404
3384
|
this.bindings = new WardenBindings(transport);
|
|
3405
3385
|
this.capacity = new WardenCapacity(transport);
|
|
3406
3386
|
this.casePolicies = new WardenCasePolicies(transport);
|
|
@@ -3547,7 +3527,7 @@ var VeltroClient = class _VeltroClient {
|
|
|
3547
3527
|
};
|
|
3548
3528
|
|
|
3549
3529
|
// src/index.ts
|
|
3550
|
-
var VERSION = "0.
|
|
3530
|
+
var VERSION = "0.16.0";
|
|
3551
3531
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3552
3532
|
0 && (module.exports = {
|
|
3553
3533
|
BearerToken,
|