@dx-do/client 7.9.0 → 7.11.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.js +775 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +740 -13
- package/dist/index.esm.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/lib/model/situations/clustering-policy.d.ts +492 -0
- package/dist/src/lib/model/situations/clustering-policy.d.ts.map +1 -0
- package/dist/src/lib/services/clustering-policy.service.d.ts +159 -0
- package/dist/src/lib/services/clustering-policy.service.d.ts.map +1 -0
- package/dist/src/lib/services/service-monolith.d.ts +2 -0
- package/dist/src/lib/services/service-monolith.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -39917,7 +39917,7 @@ var EXP_LIMIT = 9e15, // 0 to 9e15
|
|
|
39917
39917
|
isOctal = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,
|
|
39918
39918
|
isDecimal = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,
|
|
39919
39919
|
|
|
39920
|
-
BASE = 1e7,
|
|
39920
|
+
BASE$1 = 1e7,
|
|
39921
39921
|
LOG_BASE = 7,
|
|
39922
39922
|
MAX_SAFE_INTEGER$2 = 9007199254740991,
|
|
39923
39923
|
|
|
@@ -41188,9 +41188,9 @@ P$2.minus = P$2.sub = function (y) {
|
|
|
41188
41188
|
for (i = yd.length; i > k;) {
|
|
41189
41189
|
|
|
41190
41190
|
if (xd[--i] < yd[i]) {
|
|
41191
|
-
for (j = i; j && xd[--j] === 0;) xd[j] = BASE - 1;
|
|
41191
|
+
for (j = i; j && xd[--j] === 0;) xd[j] = BASE$1 - 1;
|
|
41192
41192
|
--xd[j];
|
|
41193
|
-
xd[i] += BASE;
|
|
41193
|
+
xd[i] += BASE$1;
|
|
41194
41194
|
}
|
|
41195
41195
|
|
|
41196
41196
|
xd[i] -= yd[i];
|
|
@@ -41419,8 +41419,8 @@ P$2.plus = P$2.add = function (y) {
|
|
|
41419
41419
|
|
|
41420
41420
|
// Only start adding at yd.length - 1 as the further digits of xd can be left as they are.
|
|
41421
41421
|
for (carry = 0; i;) {
|
|
41422
|
-
carry = (xd[--i] = xd[i] + yd[i] + carry) / BASE | 0;
|
|
41423
|
-
xd[i] %= BASE;
|
|
41422
|
+
carry = (xd[--i] = xd[i] + yd[i] + carry) / BASE$1 | 0;
|
|
41423
|
+
xd[i] %= BASE$1;
|
|
41424
41424
|
}
|
|
41425
41425
|
|
|
41426
41426
|
if (carry) {
|
|
@@ -41718,11 +41718,11 @@ P$2.times = P$2.mul = function (y) {
|
|
|
41718
41718
|
carry = 0;
|
|
41719
41719
|
for (k = xdL + i; k > i;) {
|
|
41720
41720
|
t = r[k] + yd[i] * xd[k - i - 1] + carry;
|
|
41721
|
-
r[k--] = t % BASE | 0;
|
|
41722
|
-
carry = t / BASE | 0;
|
|
41721
|
+
r[k--] = t % BASE$1 | 0;
|
|
41722
|
+
carry = t / BASE$1 | 0;
|
|
41723
41723
|
}
|
|
41724
41724
|
|
|
41725
|
-
r[k] = (r[k] + carry) % BASE | 0;
|
|
41725
|
+
r[k] = (r[k] + carry) % BASE$1 | 0;
|
|
41726
41726
|
}
|
|
41727
41727
|
|
|
41728
41728
|
// Remove trailing zeros.
|
|
@@ -42548,7 +42548,7 @@ var divide$1 = (function () {
|
|
|
42548
42548
|
logBase = 1;
|
|
42549
42549
|
e = x.e - y.e;
|
|
42550
42550
|
} else {
|
|
42551
|
-
base = BASE;
|
|
42551
|
+
base = BASE$1;
|
|
42552
42552
|
logBase = LOG_BASE;
|
|
42553
42553
|
e = mathfloor(x.e / logBase) - mathfloor(y.e / logBase);
|
|
42554
42554
|
}
|
|
@@ -42871,13 +42871,13 @@ var divide$1 = (function () {
|
|
|
42871
42871
|
// if i != k the length has increased.
|
|
42872
42872
|
if (i != k) {
|
|
42873
42873
|
x.e++;
|
|
42874
|
-
if (xd[0] == BASE) xd[0] = 1;
|
|
42874
|
+
if (xd[0] == BASE$1) xd[0] = 1;
|
|
42875
42875
|
}
|
|
42876
42876
|
|
|
42877
42877
|
break;
|
|
42878
42878
|
} else {
|
|
42879
42879
|
xd[xdi] += k;
|
|
42880
|
-
if (xd[xdi] != BASE) break;
|
|
42880
|
+
if (xd[xdi] != BASE$1) break;
|
|
42881
42881
|
xd[xdi--] = 0;
|
|
42882
42882
|
k = 1;
|
|
42883
42883
|
}
|
|
@@ -43453,7 +43453,7 @@ function parseOther(x, str) {
|
|
|
43453
43453
|
divisor = intPow(Ctor, new Ctor(base), i, i * 2);
|
|
43454
43454
|
}
|
|
43455
43455
|
|
|
43456
|
-
xd = convertBase(str, base, BASE);
|
|
43456
|
+
xd = convertBase(str, base, BASE$1);
|
|
43457
43457
|
xe = xd.length - 1;
|
|
43458
43458
|
|
|
43459
43459
|
// Remove trailing zeros.
|
|
@@ -63410,6 +63410,506 @@ var Situations;
|
|
|
63410
63410
|
(function (Situations) {
|
|
63411
63411
|
})(Situations || (Situations = {}));
|
|
63412
63412
|
|
|
63413
|
+
/**
|
|
63414
|
+
* Custom situation policies — the product calls them "custom situation
|
|
63415
|
+
* definitions"; the API calls them clustering policies (`clusteringpolicy`).
|
|
63416
|
+
*
|
|
63417
|
+
* Situations are alarm clusters. A policy controls how and when a cluster
|
|
63418
|
+
* forms, in three independent parts over one alarm stream:
|
|
63419
|
+
*
|
|
63420
|
+
* 1. `filterCriteria` — which raw alarms the policy may cluster at all.
|
|
63421
|
+
* 2. `rcFilterCriteria` — which of those are root-cause candidates (nullable).
|
|
63422
|
+
* 3. `clusteringCriteria` — the ranked fields the grouping keys on, each with
|
|
63423
|
+
* a match weight and optional per-field properties.
|
|
63424
|
+
*
|
|
63425
|
+
* Shapes measured from HARs of the lab tenant's UI
|
|
63426
|
+
* (`docs/internal/custom-situation.har`, `custom-situation-preview.har`,
|
|
63427
|
+
* 2026-09-20) plus a live preview probe against seeded alarms.
|
|
63428
|
+
*/
|
|
63429
|
+
// ---------------------------------------------------------------------------
|
|
63430
|
+
// Vocabularies
|
|
63431
|
+
// ---------------------------------------------------------------------------
|
|
63432
|
+
/**
|
|
63433
|
+
* Conditions accepted in criteria atoms. `equals`, `contains` and `not_empty`
|
|
63434
|
+
* are observed in UI-authored policies; the rest come from the platform's
|
|
63435
|
+
* shared alarm-filter component, which the policy editor reuses.
|
|
63436
|
+
*/
|
|
63437
|
+
const CLUSTERING_POLICY_CONDITIONS = [
|
|
63438
|
+
'equals',
|
|
63439
|
+
'not_equals',
|
|
63440
|
+
'contains',
|
|
63441
|
+
'not_contains',
|
|
63442
|
+
'starts_with',
|
|
63443
|
+
'ends_with',
|
|
63444
|
+
'not_empty',
|
|
63445
|
+
'exists',
|
|
63446
|
+
'does_not_exists',
|
|
63447
|
+
'greater_than',
|
|
63448
|
+
'less_than',
|
|
63449
|
+
];
|
|
63450
|
+
/** `not_empty` / `exists` / `does_not_exists` are presence tests; the UI sends `*` as their value. */
|
|
63451
|
+
const CLUSTERING_POLICY_PRESENCE_CONDITIONS = [
|
|
63452
|
+
'not_empty',
|
|
63453
|
+
'exists',
|
|
63454
|
+
'does_not_exists',
|
|
63455
|
+
];
|
|
63456
|
+
const CLUSTERING_POLICY_STATUSES = ['ACTIVE', 'INACTIVE'];
|
|
63457
|
+
/**
|
|
63458
|
+
* The preview windows the UI offers, in seconds. `time=` on the preview call
|
|
63459
|
+
* accepts any integer; these are the labelled choices.
|
|
63460
|
+
*/
|
|
63461
|
+
const CLUSTERING_POLICY_PREVIEW_RANGES = {
|
|
63462
|
+
'1h': 3600,
|
|
63463
|
+
'4h': 14400,
|
|
63464
|
+
'8h': 28800,
|
|
63465
|
+
'24h': 86400,
|
|
63466
|
+
'3d': 259200,
|
|
63467
|
+
'1w': 604800,
|
|
63468
|
+
};
|
|
63469
|
+
/** `updatedBy` values the platform stamps on its own seeded policies. */
|
|
63470
|
+
const CLUSTERING_POLICY_BUILTIN_AUTHORS = ['DefaultPolicy', 'DefaultSpectrum'];
|
|
63471
|
+
// ---------------------------------------------------------------------------
|
|
63472
|
+
// Criteria
|
|
63473
|
+
// ---------------------------------------------------------------------------
|
|
63474
|
+
/**
|
|
63475
|
+
* Per-field clustering options. `hierarchy` makes a service match walk the
|
|
63476
|
+
* service hierarchy; `leftElementTrim` drops N leading dot-separated elements
|
|
63477
|
+
* of the value before comparing (e.g. trimming a host's subdomain).
|
|
63478
|
+
*/
|
|
63479
|
+
const ClusteringCriterionPropertiesSchema = z.looseObject({
|
|
63480
|
+
hierarchy: z.boolean().optional().describe('Match up the service hierarchy rather than on the exact service'),
|
|
63481
|
+
leftElementTrim: z
|
|
63482
|
+
.number()
|
|
63483
|
+
.int()
|
|
63484
|
+
.optional()
|
|
63485
|
+
.describe('Drop this many leading dot-separated elements of the value before matching'),
|
|
63486
|
+
});
|
|
63487
|
+
/** One ranked clustering field and how strongly its values must match. */
|
|
63488
|
+
const ClusteringCriterionSchema = z.looseObject({
|
|
63489
|
+
field: z
|
|
63490
|
+
.string()
|
|
63491
|
+
.min(1)
|
|
63492
|
+
.describe('Clustering field name from `policyfields.clusteringFields` (host, message, product, services_impacted, severity)'),
|
|
63493
|
+
value: z
|
|
63494
|
+
.number()
|
|
63495
|
+
.min(0)
|
|
63496
|
+
.max(100)
|
|
63497
|
+
.describe('Match weight as a percentage; the field catalog gives the allowed [min, max] per field'),
|
|
63498
|
+
rank: z.number().int().min(1).describe('Evaluation order, 1-based; lower ranks are applied first'),
|
|
63499
|
+
properties: ClusteringCriterionPropertiesSchema.optional().describe('Optional per-field matching options'),
|
|
63500
|
+
});
|
|
63501
|
+
/**
|
|
63502
|
+
* Criteria are the platform's shared AND-of-OR-groups filter tree — the same
|
|
63503
|
+
* shape as a notification policy's `filterExpressionV1`, so the atom and
|
|
63504
|
+
* expression schemas are shared. The UI emits one OR-group per field.
|
|
63505
|
+
*/
|
|
63506
|
+
const ClusteringPolicyCriteriaSchema = PolicyFilterExpressionSchema;
|
|
63507
|
+
/**
|
|
63508
|
+
* An unset criteria tree. The server does not store `null` — it normalizes an
|
|
63509
|
+
* omitted or null `rcFilterCriteria` to an empty object and returns `{}`,
|
|
63510
|
+
* which is not a valid atom / and / or node. Measured on the lab tenant.
|
|
63511
|
+
*/
|
|
63512
|
+
const EmptyCriteriaSchema = z.strictObject({});
|
|
63513
|
+
/** A criteria tree as the server may return it: a real tree, `{}`, or null. */
|
|
63514
|
+
const StoredCriteriaSchema = z.union([ClusteringPolicyCriteriaSchema, EmptyCriteriaSchema]);
|
|
63515
|
+
/** True for the server's `{}` representation of "no criteria", and for null/undefined. */
|
|
63516
|
+
function isEmptyCriteria(criteria) {
|
|
63517
|
+
if (criteria === null || criteria === undefined) {
|
|
63518
|
+
return true;
|
|
63519
|
+
}
|
|
63520
|
+
return typeof criteria === 'object' && Object.keys(criteria).length === 0;
|
|
63521
|
+
}
|
|
63522
|
+
// ---------------------------------------------------------------------------
|
|
63523
|
+
// The policy record
|
|
63524
|
+
// ---------------------------------------------------------------------------
|
|
63525
|
+
/**
|
|
63526
|
+
* A policy as the server returns it. `filterSearchFields`,
|
|
63527
|
+
* `rcFilterSearchFields` and `clusteringSearchFields` are derived by the
|
|
63528
|
+
* server from the criteria — never send them.
|
|
63529
|
+
*/
|
|
63530
|
+
const ClusteringPolicySchema = z.looseObject({
|
|
63531
|
+
policy_id: z
|
|
63532
|
+
.string()
|
|
63533
|
+
.describe('Policy id. NOTE: an update can mint a NEW id (it does for a policy created ACTIVE); the name is the stable handle'),
|
|
63534
|
+
tenant_id: z.string().optional().describe('Owning tenant, uppercase-hyphenated'),
|
|
63535
|
+
name: z.string().describe('Policy name as shown in the UI'),
|
|
63536
|
+
situation_custom_name: z
|
|
63537
|
+
.string()
|
|
63538
|
+
.optional()
|
|
63539
|
+
.describe('Naming template for situations this policy creates, e.g. "{rootcausealarm(product)}"'),
|
|
63540
|
+
priority: z
|
|
63541
|
+
.number()
|
|
63542
|
+
.describe('Evaluation order, ascending; the UI seeds new policies with a creation timestamp so they evaluate last'),
|
|
63543
|
+
version: z.number().optional().describe('Increments on every update'),
|
|
63544
|
+
created: z.number().optional().describe('Creation time, epoch milliseconds'),
|
|
63545
|
+
lastUpdated: z.number().optional().describe('Last update time, epoch milliseconds'),
|
|
63546
|
+
updatedBy: z.string().optional().describe('User or platform component that last wrote the policy'),
|
|
63547
|
+
stableWindow: z
|
|
63548
|
+
.number()
|
|
63549
|
+
.describe('Minutes a cluster stays open with no new alarms before it is considered stable'),
|
|
63550
|
+
extensionWindow: z
|
|
63551
|
+
.number()
|
|
63552
|
+
.optional()
|
|
63553
|
+
.describe('Minutes a stable cluster may still absorb a late alarm; 0 disables extension'),
|
|
63554
|
+
maxStableWindow: z
|
|
63555
|
+
.number()
|
|
63556
|
+
.optional()
|
|
63557
|
+
.describe('Hard ceiling in minutes on how long a cluster may stay open; 0 means no ceiling'),
|
|
63558
|
+
status: z.string().describe('ACTIVE (the policy runs) or INACTIVE (it is saved but not applied)'),
|
|
63559
|
+
filterCriteria: StoredCriteriaSchema.describe('Which raw alarms this policy may cluster'),
|
|
63560
|
+
rcFilterCriteria: StoredCriteriaSchema.nullable()
|
|
63561
|
+
.optional()
|
|
63562
|
+
.describe('Which matched alarms count as root-cause candidates; the server returns {} when unset'),
|
|
63563
|
+
clusteringCriteria: z
|
|
63564
|
+
.array(ClusteringCriterionSchema)
|
|
63565
|
+
.describe('Ranked fields the clustering groups on'),
|
|
63566
|
+
filterSearchFields: z.array(z.string()).optional().describe('Server-derived: fields used in filterCriteria'),
|
|
63567
|
+
rcFilterSearchFields: z.array(z.string()).optional().describe('Server-derived: fields used in rcFilterCriteria'),
|
|
63568
|
+
clusteringSearchFields: z.array(z.string()).optional().describe('Server-derived: fields used in clusteringCriteria'),
|
|
63569
|
+
});
|
|
63570
|
+
/**
|
|
63571
|
+
* The envelope of `POST clusteringpolicy/search` — and of
|
|
63572
|
+
* `GET clusteringpolicy/{id}`, which returns the same shape with one result.
|
|
63573
|
+
*/
|
|
63574
|
+
const ClusteringPolicySearchResponseSchema = z.looseObject({
|
|
63575
|
+
searchPolicyResults: z.array(ClusteringPolicySchema).describe('The matching policies'),
|
|
63576
|
+
displayCount: z.number().describe('Total number of policies matching the search'),
|
|
63577
|
+
});
|
|
63578
|
+
const ClusteringPolicySearchRequestSchema = z.looseObject({
|
|
63579
|
+
recordFrom: z.number().int().min(0).describe('Zero-based index of the first record'),
|
|
63580
|
+
recordTo: z.number().int().min(1).describe('Exclusive upper bound of the record window'),
|
|
63581
|
+
sortCol: z.string().describe('Sort spec, e.g. "priority:asc"'),
|
|
63582
|
+
});
|
|
63583
|
+
/**
|
|
63584
|
+
* The body of `PUT clusteringpolicy`. There is no POST: the presence of
|
|
63585
|
+
* `policy_id` is the only thing that distinguishes an update from a create.
|
|
63586
|
+
*/
|
|
63587
|
+
const ClusteringPolicyWriteBodySchema = z.looseObject({
|
|
63588
|
+
policy_id: z.string().optional().describe('Present on update, absent on create'),
|
|
63589
|
+
name: z.string().min(1).describe('Policy name'),
|
|
63590
|
+
situation_custom_name: z.string().describe('Naming template; empty string when unset'),
|
|
63591
|
+
stableWindow: z.number().int().describe('Minutes before a cluster is stable'),
|
|
63592
|
+
maxStableWindow: z.number().int().describe('Ceiling in minutes on cluster lifetime; 0 for none'),
|
|
63593
|
+
extensionWindow: z.number().int().describe('Minutes a stable cluster may still absorb alarms; 0 for none'),
|
|
63594
|
+
status: z.enum(CLUSTERING_POLICY_STATUSES).describe('ACTIVE or INACTIVE'),
|
|
63595
|
+
filterCriteria: ClusteringPolicyCriteriaSchema.describe('Which raw alarms this policy may cluster'),
|
|
63596
|
+
rcFilterCriteria: StoredCriteriaSchema.nullable()
|
|
63597
|
+
.optional()
|
|
63598
|
+
.describe('Root-cause candidates; null when unset'),
|
|
63599
|
+
clusteringCriteria: z.array(ClusteringCriterionSchema).describe('Ranked clustering fields'),
|
|
63600
|
+
priority: z.number().describe('Evaluation order, ascending'),
|
|
63601
|
+
version: z.number().optional().describe('Update only: echoed from the fetched policy'),
|
|
63602
|
+
created: z.number().optional().describe('Update only: echoed from the fetched policy'),
|
|
63603
|
+
lastUpdated: z.number().optional().describe('Update only: echoed from the fetched policy'),
|
|
63604
|
+
updatedBy: z.string().optional().describe('Update only: echoed from the fetched policy'),
|
|
63605
|
+
});
|
|
63606
|
+
// ---------------------------------------------------------------------------
|
|
63607
|
+
// Preview
|
|
63608
|
+
// ---------------------------------------------------------------------------
|
|
63609
|
+
/** For one clustering field: every value seen, and those that actually matched. */
|
|
63610
|
+
const ClusteringCriteriaValuesSchema = z.record(z.string(), z.looseObject({
|
|
63611
|
+
allValues: z.array(z.string()).describe('Every value of this field across the previewed alarms'),
|
|
63612
|
+
matchingValues: z.array(z.string()).describe('The values that met the field weight'),
|
|
63613
|
+
}));
|
|
63614
|
+
/**
|
|
63615
|
+
* One alarm template inside a previewed cluster. `alarms` carries the full raw
|
|
63616
|
+
* alarm documents, so a preview response grows quickly with `size` — render a
|
|
63617
|
+
* summary, never the whole thing.
|
|
63618
|
+
*/
|
|
63619
|
+
const ClusteringPreviewTemplateSchema = z.looseObject({
|
|
63620
|
+
templateId: z.number().describe('Template id within the preview'),
|
|
63621
|
+
clusterId: z.number().describe('Id of the cluster this template belongs to'),
|
|
63622
|
+
message: z.string().optional().describe('Normalized template message (variable parts removed)'),
|
|
63623
|
+
earliestAlarmMessage: z.string().optional().describe('Verbatim message of the earliest alarm'),
|
|
63624
|
+
host: z.string().optional().describe('Host of the template'),
|
|
63625
|
+
product: z.string().optional().describe('Source product of the template'),
|
|
63626
|
+
severity: z.string().optional().describe('Highest severity in the template'),
|
|
63627
|
+
lastAlarmsCount: z.number().optional().describe('Alarms in the template'),
|
|
63628
|
+
highestSeverityAlarmCount: z.number().optional().describe('Alarms at the highest severity'),
|
|
63629
|
+
highestSeverityEarliestAlarmTime: z.number().optional().describe('Epoch ms of the earliest highest-severity alarm'),
|
|
63630
|
+
alarms: z.array(z.unknown()).optional().describe('Full raw alarm documents — large; summarize before output'),
|
|
63631
|
+
totalAlarmIds: z.array(z.string()).optional().describe('alarm_unique_id of every alarm in the template'),
|
|
63632
|
+
closedAlarmIds: z.array(z.string()).optional().describe('Subset of totalAlarmIds already closed'),
|
|
63633
|
+
servicesImpacted: z.array(z.unknown()).optional().describe('Services the alarms in this template impact'),
|
|
63634
|
+
earliestSourceAlarmURL: z.string().optional().describe('Deep link to the earliest alarm in its source product'),
|
|
63635
|
+
customAttributeMap: z.record(z.string(), z.unknown()).optional().describe('Custom alarm attributes carried through'),
|
|
63636
|
+
templateMetaDataMap: z
|
|
63637
|
+
.record(z.string(), z.looseObject({
|
|
63638
|
+
alarmCount: z.number().describe('Alarms at this severity'),
|
|
63639
|
+
earliestAlarmTime: z.number().describe('Epoch ms of the earliest alarm at this severity'),
|
|
63640
|
+
earliestAlarmMessage: z.string().optional().describe('Message of that earliest alarm'),
|
|
63641
|
+
}))
|
|
63642
|
+
.optional()
|
|
63643
|
+
.describe('Per-severity rollup for the template'),
|
|
63644
|
+
});
|
|
63645
|
+
/** One cluster the policy would have produced over the previewed window. */
|
|
63646
|
+
const ClusteringPreviewClusterSchema = z.looseObject({
|
|
63647
|
+
clusterId: z.number().describe('Id of the cluster within this preview'),
|
|
63648
|
+
clusterName: z.string().optional().describe('Name the policy would give the situation'),
|
|
63649
|
+
templates: z.array(ClusteringPreviewTemplateSchema).describe('Alarm templates grouped into this cluster'),
|
|
63650
|
+
totalTemplates: z.number().optional().describe('Templates in the cluster'),
|
|
63651
|
+
totalAlarms: z.number().optional().describe('Alarms in the cluster'),
|
|
63652
|
+
severity: z.string().optional().describe('Highest severity in the cluster'),
|
|
63653
|
+
product: z.array(z.string()).optional().describe('Distinct source products in the cluster'),
|
|
63654
|
+
mostImpacted_alarmId: z.string().optional().describe('alarm_unique_id of the most impacted alarm'),
|
|
63655
|
+
clusteringCriteriaValues: ClusteringCriteriaValuesSchema.optional().describe('Per clustering field: the values seen and the values that matched'),
|
|
63656
|
+
});
|
|
63657
|
+
/** Response of `PUT clusteringpolicy/preview?size=&time=`. */
|
|
63658
|
+
const ClusteringPolicyPreviewResponseSchema = z.looseObject({
|
|
63659
|
+
tenantId: z.string().optional().describe('Tenant the preview ran against'),
|
|
63660
|
+
clusteringList: z.array(ClusteringPreviewClusterSchema).describe('Clusters the policy would have produced'),
|
|
63661
|
+
totalAlarms: z.number().describe('Raw alarms matched by filterCriteria in the window'),
|
|
63662
|
+
totalClusters: z.number().describe('Situations the policy would have created'),
|
|
63663
|
+
totalTemplates: z.number().describe('Distinct alarm templates across all clusters'),
|
|
63664
|
+
noiseReductionPercent: z
|
|
63665
|
+
.number()
|
|
63666
|
+
.describe('Percentage fewer items an operator would see: 100 * (1 - totalClusters / totalAlarms)'),
|
|
63667
|
+
});
|
|
63668
|
+
// ---------------------------------------------------------------------------
|
|
63669
|
+
// Catalogs
|
|
63670
|
+
// ---------------------------------------------------------------------------
|
|
63671
|
+
/**
|
|
63672
|
+
* A catalog entry. `values` is NOT a closed vocabulary: for the window fields
|
|
63673
|
+
* it is `[min, max, default]` and for clustering fields `[min, max]`. Only
|
|
63674
|
+
* filtering fields use it as a value suggestion list.
|
|
63675
|
+
*/
|
|
63676
|
+
const PolicyFieldSchema = z.looseObject({
|
|
63677
|
+
field: z.string().describe('Field name to use in criteria'),
|
|
63678
|
+
fieldDescription: z.string().describe('Human label the UI shows'),
|
|
63679
|
+
values: z.array(z.string()).optional().describe('Bounds or suggested values — see the schema note'),
|
|
63680
|
+
hideMoreOptions: z.boolean().optional().describe('UI hint; no CLI meaning'),
|
|
63681
|
+
});
|
|
63682
|
+
/** One custom-naming operation usable inside `situation_custom_name`. */
|
|
63683
|
+
const PolicyNamingOperationSchema = z.looseObject({
|
|
63684
|
+
opName: z.string().describe('Operation name as written in the template, e.g. "rootcausealarm"'),
|
|
63685
|
+
displayName: z.string().optional().describe('Human label'),
|
|
63686
|
+
parameters: z
|
|
63687
|
+
.array(z.looseObject({
|
|
63688
|
+
paramNumber: z.number().describe('1-based parameter position'),
|
|
63689
|
+
isMandatory: z.boolean().describe('Whether the parameter must be supplied'),
|
|
63690
|
+
type: z.string().describe('String or Integer'),
|
|
63691
|
+
defaultValue: z.string().optional().describe('Value used when the parameter is omitted'),
|
|
63692
|
+
}))
|
|
63693
|
+
.optional()
|
|
63694
|
+
.describe('Positional parameters the operation accepts'),
|
|
63695
|
+
supportedFields: z
|
|
63696
|
+
.array(z.looseObject({ field: z.string(), fieldDescription: z.string().optional() }))
|
|
63697
|
+
.optional()
|
|
63698
|
+
.describe('Alarm fields this operation may be applied to'),
|
|
63699
|
+
});
|
|
63700
|
+
/** Response of `GET policyfields` — everything the policy editor needs. */
|
|
63701
|
+
const PolicyFieldsResponseSchema = z.looseObject({
|
|
63702
|
+
filteringFields: z.array(PolicyFieldSchema).describe('Alarm fields usable in filterCriteria / rcFilterCriteria'),
|
|
63703
|
+
clusteringFields: z.array(PolicyFieldSchema).describe('Fields usable in clusteringCriteria; values are [min, max] weights'),
|
|
63704
|
+
operationsDefinition: z.array(PolicyNamingOperationSchema).describe('Operations usable in situation_custom_name'),
|
|
63705
|
+
stableWindow: PolicyFieldSchema.describe('Bounds for stableWindow: values are [min, max, default] minutes'),
|
|
63706
|
+
maxStableWindow: PolicyFieldSchema.describe('Bounds for maxStableWindow: values are [min, max, default] minutes'),
|
|
63707
|
+
extensionWindow: PolicyFieldSchema.describe('Bounds for extensionWindow: values are [min, max, default] minutes'),
|
|
63708
|
+
});
|
|
63709
|
+
/** Response of `GET tenantConfigAttributes` — tenant-wide clustering knobs. */
|
|
63710
|
+
const TenantConfigAttributeSchema = z.looseObject({
|
|
63711
|
+
key: z
|
|
63712
|
+
.string()
|
|
63713
|
+
.describe('Clustering engine attribute name. Internal tuning surface, not a documented API: only ' +
|
|
63714
|
+
'enable_algorithm_cluster has verified semantics — treat every other key as unverified'),
|
|
63715
|
+
value: z
|
|
63716
|
+
.unknown()
|
|
63717
|
+
.describe('Attribute value; shape given by `type`. The server accepts out-of-range and nonsensical ' +
|
|
63718
|
+
'values without error, so a bad write fails silently and shows up later as broken clustering'),
|
|
63719
|
+
type: z.string().describe('double, boolean, integer or list — a wrong type corrupts that attribute'),
|
|
63720
|
+
});
|
|
63721
|
+
const TenantConfigAttributesResponseSchema = z.looseObject({
|
|
63722
|
+
tenantId: z.string().optional().describe('Tenant the attributes belong to'),
|
|
63723
|
+
configAttrList: z.array(TenantConfigAttributeSchema).describe('The tenant clustering configuration'),
|
|
63724
|
+
});
|
|
63725
|
+
/**
|
|
63726
|
+
* The body of `PUT tenantConfigAttributes`. A **partial** update: send only the
|
|
63727
|
+
* attributes to change, not the whole list. Measured on the lab tenant.
|
|
63728
|
+
*
|
|
63729
|
+
* **These attributes are the clustering engine's internal tuning surface, not a
|
|
63730
|
+
* documented public API.** Of the ~three dozen keys a tenant exposes, only
|
|
63731
|
+
* {@link ALGORITHMIC_SITUATIONS_KEY} has semantics established here; the rest
|
|
63732
|
+
* are unverified, the server accepts nonsensical values without complaint, the
|
|
63733
|
+
* effect is tenant-wide and continuous, and there is no reset-to-defaults. Read
|
|
63734
|
+
* the hazards in full on `ClusteringPolicyService.setTenantConfigAttributes`
|
|
63735
|
+
* before writing anything else.
|
|
63736
|
+
*/
|
|
63737
|
+
const TenantConfigAttributesWriteBodySchema = z.looseObject({
|
|
63738
|
+
tenantId: z.string().min(1).describe('Tenant to write to, as returned by the GET'),
|
|
63739
|
+
configAttrList: z
|
|
63740
|
+
.array(TenantConfigAttributeSchema)
|
|
63741
|
+
.min(1)
|
|
63742
|
+
.describe('Only the attributes being changed; omitted keys keep their value. Send the narrowest set ' +
|
|
63743
|
+
'that does the job — this is a tenant-wide write with no reset-to-defaults'),
|
|
63744
|
+
});
|
|
63745
|
+
/** Response of `PUT tenantConfigAttributes`. */
|
|
63746
|
+
const TenantConfigAttributesWriteResponseSchema = z.looseObject({
|
|
63747
|
+
Status: z.string().describe('"Success" when the attributes were written'),
|
|
63748
|
+
});
|
|
63749
|
+
/**
|
|
63750
|
+
* The tenant attribute behind the UI's "Enable Algorithmic Situations" toggle.
|
|
63751
|
+
*
|
|
63752
|
+
* When it is on, the platform clusters alarms with its own algorithm and custom
|
|
63753
|
+
* situation policies are ignored or behave unpredictably — the single most
|
|
63754
|
+
* common reason a correct-looking policy produces nothing.
|
|
63755
|
+
*/
|
|
63756
|
+
const ALGORITHMIC_SITUATIONS_KEY = 'enable_algorithm_cluster';
|
|
63757
|
+
/** Reads one attribute out of a `tenantConfigAttributes` response. */
|
|
63758
|
+
function tenantConfigAttribute(config, key) {
|
|
63759
|
+
return (config.configAttrList ?? []).find((attribute) => attribute.key === key);
|
|
63760
|
+
}
|
|
63761
|
+
/**
|
|
63762
|
+
* Whether algorithmic situations are on for the tenant. `undefined` when the
|
|
63763
|
+
* attribute is absent, which is not the same as "off" — say so rather than
|
|
63764
|
+
* guessing.
|
|
63765
|
+
*/
|
|
63766
|
+
function algorithmicSituationsEnabled(config) {
|
|
63767
|
+
const attribute = tenantConfigAttribute(config, ALGORITHMIC_SITUATIONS_KEY);
|
|
63768
|
+
return attribute === undefined ? undefined : attribute.value === true;
|
|
63769
|
+
}
|
|
63770
|
+
// ---------------------------------------------------------------------------
|
|
63771
|
+
// Helpers
|
|
63772
|
+
// ---------------------------------------------------------------------------
|
|
63773
|
+
/** Platform-seeded policies, which a tenant user should not be editing casually. */
|
|
63774
|
+
function isBuiltInClusteringPolicy(policy) {
|
|
63775
|
+
return CLUSTERING_POLICY_BUILTIN_AUTHORS.includes(policy.updatedBy ?? '');
|
|
63776
|
+
}
|
|
63777
|
+
/** `[min, max]` from a catalog entry's `values`, when it carries bounds. */
|
|
63778
|
+
function policyFieldBounds(entry) {
|
|
63779
|
+
const values = entry?.values;
|
|
63780
|
+
if (!values || values.length < 2) {
|
|
63781
|
+
return undefined;
|
|
63782
|
+
}
|
|
63783
|
+
const min = Number(values[0]);
|
|
63784
|
+
const max = Number(values[1]);
|
|
63785
|
+
return Number.isFinite(min) && Number.isFinite(max) ? { min, max } : undefined;
|
|
63786
|
+
}
|
|
63787
|
+
/**
|
|
63788
|
+
* The create body with the UI's defaults filled in. `priority` defaults to
|
|
63789
|
+
* the current epoch-ms the way the UI seeds it, which sorts a new policy
|
|
63790
|
+
* after every platform-seeded one.
|
|
63791
|
+
*/
|
|
63792
|
+
function toClusteringPolicyWriteBody(input) {
|
|
63793
|
+
return {
|
|
63794
|
+
name: input.name,
|
|
63795
|
+
situation_custom_name: input.situationName ?? '',
|
|
63796
|
+
stableWindow: input.stableWindow ?? 30,
|
|
63797
|
+
maxStableWindow: input.maxStableWindow ?? 0,
|
|
63798
|
+
extensionWindow: input.extensionWindow ?? 0,
|
|
63799
|
+
status: input.status ?? 'ACTIVE',
|
|
63800
|
+
filterCriteria: input.filterCriteria,
|
|
63801
|
+
rcFilterCriteria: input.rcFilterCriteria ?? null,
|
|
63802
|
+
clusteringCriteria: input.clusteringCriteria,
|
|
63803
|
+
priority: input.priority ?? Date.now(),
|
|
63804
|
+
};
|
|
63805
|
+
}
|
|
63806
|
+
/** Renders `clusteringCriteria` as a short, comparable string for change lines. */
|
|
63807
|
+
function describeClusteringCriteria(criteria) {
|
|
63808
|
+
if (criteria.length === 0) {
|
|
63809
|
+
return '(none)';
|
|
63810
|
+
}
|
|
63811
|
+
return criteria
|
|
63812
|
+
.map((criterion) => {
|
|
63813
|
+
const properties = criterion.properties ?? {};
|
|
63814
|
+
const extras = Object.entries(properties)
|
|
63815
|
+
.filter(([, value]) => value !== undefined)
|
|
63816
|
+
.map(([key, value]) => `${key}=${String(value)}`);
|
|
63817
|
+
return `${criterion.field}@${criterion.value}${extras.length > 0 ? ` (${extras.join(', ')})` : ''}`;
|
|
63818
|
+
})
|
|
63819
|
+
.join(', ');
|
|
63820
|
+
}
|
|
63821
|
+
/**
|
|
63822
|
+
* The update body for an existing policy with only the patched fields changed;
|
|
63823
|
+
* everything else is echoed back verbatim, including the envelope fields the
|
|
63824
|
+
* server needs (`version`, `created`, `lastUpdated`, `updatedBy`).
|
|
63825
|
+
*
|
|
63826
|
+
* Returns human-readable `changes`; an empty list means nothing to save.
|
|
63827
|
+
*/
|
|
63828
|
+
function buildClusteringPolicyUpdateBody(existing, patch) {
|
|
63829
|
+
const changes = [];
|
|
63830
|
+
const scalar = (label, current, next) => {
|
|
63831
|
+
if (next === undefined || next === current) {
|
|
63832
|
+
return current;
|
|
63833
|
+
}
|
|
63834
|
+
changes.push(`${label}: ${String(current)} -> ${String(next)}`);
|
|
63835
|
+
return next;
|
|
63836
|
+
};
|
|
63837
|
+
const name = scalar('name', existing.name, patch.name);
|
|
63838
|
+
const situationName = scalar('situationName', existing.situation_custom_name ?? '', patch.situationName);
|
|
63839
|
+
const stableWindow = scalar('stableWindow', existing.stableWindow, patch.stableWindow);
|
|
63840
|
+
const maxStableWindow = scalar('maxStableWindow', existing.maxStableWindow ?? 0, patch.maxStableWindow);
|
|
63841
|
+
const extensionWindow = scalar('extensionWindow', existing.extensionWindow ?? 0, patch.extensionWindow);
|
|
63842
|
+
const status = scalar('status', existing.status, patch.status);
|
|
63843
|
+
const priority = scalar('priority', existing.priority, patch.priority);
|
|
63844
|
+
let filterCriteria = existing.filterCriteria;
|
|
63845
|
+
if (patch.filterCriteria !== undefined) {
|
|
63846
|
+
changes.push('filter: replaced');
|
|
63847
|
+
filterCriteria = patch.filterCriteria;
|
|
63848
|
+
}
|
|
63849
|
+
// The server returns `{}` for an unset root-cause filter; normalize it back
|
|
63850
|
+
// to null so an untouched policy does not echo an invalid criteria tree.
|
|
63851
|
+
let rcFilterCriteria = isEmptyCriteria(existing.rcFilterCriteria)
|
|
63852
|
+
? null
|
|
63853
|
+
: existing.rcFilterCriteria;
|
|
63854
|
+
if (patch.rcFilterCriteria !== undefined) {
|
|
63855
|
+
const cleared = patch.rcFilterCriteria === null;
|
|
63856
|
+
if (!cleared || rcFilterCriteria !== null) {
|
|
63857
|
+
changes.push(cleared ? 'rcFilter: cleared' : 'rcFilter: replaced');
|
|
63858
|
+
}
|
|
63859
|
+
rcFilterCriteria = patch.rcFilterCriteria;
|
|
63860
|
+
}
|
|
63861
|
+
let clusteringCriteria = existing.clusteringCriteria;
|
|
63862
|
+
if (patch.clusteringCriteria !== undefined) {
|
|
63863
|
+
const before = describeClusteringCriteria(existing.clusteringCriteria);
|
|
63864
|
+
const after = describeClusteringCriteria(patch.clusteringCriteria);
|
|
63865
|
+
if (before !== after) {
|
|
63866
|
+
changes.push(`clustering: ${before} -> ${after}`);
|
|
63867
|
+
clusteringCriteria = patch.clusteringCriteria;
|
|
63868
|
+
}
|
|
63869
|
+
}
|
|
63870
|
+
const body = {
|
|
63871
|
+
policy_id: existing.policy_id,
|
|
63872
|
+
name,
|
|
63873
|
+
situation_custom_name: situationName,
|
|
63874
|
+
stableWindow,
|
|
63875
|
+
maxStableWindow,
|
|
63876
|
+
extensionWindow,
|
|
63877
|
+
status,
|
|
63878
|
+
filterCriteria,
|
|
63879
|
+
rcFilterCriteria,
|
|
63880
|
+
clusteringCriteria,
|
|
63881
|
+
priority,
|
|
63882
|
+
};
|
|
63883
|
+
if (existing.version !== undefined) {
|
|
63884
|
+
body.version = existing.version;
|
|
63885
|
+
}
|
|
63886
|
+
if (existing.created !== undefined) {
|
|
63887
|
+
body.created = existing.created;
|
|
63888
|
+
}
|
|
63889
|
+
if (existing.lastUpdated !== undefined) {
|
|
63890
|
+
body.lastUpdated = existing.lastUpdated;
|
|
63891
|
+
}
|
|
63892
|
+
if (existing.updatedBy !== undefined) {
|
|
63893
|
+
body.updatedBy = existing.updatedBy;
|
|
63894
|
+
}
|
|
63895
|
+
return { body, changes };
|
|
63896
|
+
}
|
|
63897
|
+
/**
|
|
63898
|
+
* The seven-key subset `PUT clusteringpolicy/preview` accepts. Sending the
|
|
63899
|
+
* full write body is rejected, so the pick is deliberate.
|
|
63900
|
+
*/
|
|
63901
|
+
function toClusteringPolicyPreviewBody(body) {
|
|
63902
|
+
return {
|
|
63903
|
+
clusteringCriteria: body.clusteringCriteria,
|
|
63904
|
+
filterCriteria: body.filterCriteria,
|
|
63905
|
+
rcFilterCriteria: body.rcFilterCriteria ?? null,
|
|
63906
|
+
stableWindow: body.stableWindow,
|
|
63907
|
+
status: body.status,
|
|
63908
|
+
name: body.name,
|
|
63909
|
+
situation_custom_name: body.situation_custom_name,
|
|
63910
|
+
};
|
|
63911
|
+
}
|
|
63912
|
+
|
|
63413
63913
|
/**
|
|
63414
63914
|
* One row of an SLI group's match criteria. SLI groups select the metrics they
|
|
63415
63915
|
* watch by a list of these AND-ed filters (e.g. "Source contains bd605" AND
|
|
@@ -70589,6 +71089,232 @@ class ChannelService {
|
|
|
70589
71089
|
}
|
|
70590
71090
|
}
|
|
70591
71091
|
|
|
71092
|
+
var NullSimpleLog$6 = Logging.NullSimpleLog;
|
|
71093
|
+
const BASE = 'oi/v2/api/clusteralarms';
|
|
71094
|
+
const POLICY = `${BASE}/clusteringpolicy`;
|
|
71095
|
+
/**
|
|
71096
|
+
* Custom situation policies (the product's "custom situation definitions";
|
|
71097
|
+
* the API's clustering policies). Backs the `situation *-custom-situation-policy`
|
|
71098
|
+
* CLI commands.
|
|
71099
|
+
*
|
|
71100
|
+
* Uses `oiPost`/`oiGet`/`oiPut`/`oiDelete` (OI namespace). Requests are
|
|
71101
|
+
* validated with `parse` (throws); responses with `safeParse` (warn + return
|
|
71102
|
+
* raw on mismatch).
|
|
71103
|
+
*/
|
|
71104
|
+
class ClusteringPolicyService {
|
|
71105
|
+
dxSaasService;
|
|
71106
|
+
log;
|
|
71107
|
+
constructor(dxSaasService, log = new NullSimpleLog$6()) {
|
|
71108
|
+
this.dxSaasService = dxSaasService;
|
|
71109
|
+
this.log = log;
|
|
71110
|
+
}
|
|
71111
|
+
/**
|
|
71112
|
+
* Lists policies, lowest `priority` first.
|
|
71113
|
+
*
|
|
71114
|
+
* `POST oi/v2/api/clusteralarms/clusteringpolicy/search`
|
|
71115
|
+
*
|
|
71116
|
+
* @remarks The response is validated, not thrown on.
|
|
71117
|
+
* @throws ZodError when the request window is malformed.
|
|
71118
|
+
*/
|
|
71119
|
+
async listPolicies(request = {}) {
|
|
71120
|
+
const body = {
|
|
71121
|
+
recordFrom: 0,
|
|
71122
|
+
recordTo: 1000,
|
|
71123
|
+
sortCol: 'priority:asc',
|
|
71124
|
+
...request,
|
|
71125
|
+
};
|
|
71126
|
+
ClusteringPolicySearchRequestSchema.parse(body);
|
|
71127
|
+
const raw = await this.dxSaasService.oiPost(`${POLICY}/search`, body);
|
|
71128
|
+
const result = ClusteringPolicySearchResponseSchema.safeParse(raw);
|
|
71129
|
+
if (!result.success) {
|
|
71130
|
+
this.log.warn('ClusteringPolicySearchResponse validation warning:', result.error.message);
|
|
71131
|
+
}
|
|
71132
|
+
return raw;
|
|
71133
|
+
}
|
|
71134
|
+
/**
|
|
71135
|
+
* One policy by id.
|
|
71136
|
+
*
|
|
71137
|
+
* `GET oi/v2/api/clusteralarms/clusteringpolicy/{policyId}`
|
|
71138
|
+
*
|
|
71139
|
+
* @remarks The server returns the same `{searchPolicyResults, displayCount}`
|
|
71140
|
+
* envelope as the search, with one result; this unwraps it.
|
|
71141
|
+
* @throws Error when no policy has that id.
|
|
71142
|
+
*/
|
|
71143
|
+
async getPolicy(policyId) {
|
|
71144
|
+
const raw = await this.dxSaasService.oiGet(`${POLICY}/${encodeURIComponent(policyId)}`);
|
|
71145
|
+
const result = ClusteringPolicySearchResponseSchema.safeParse(raw);
|
|
71146
|
+
if (!result.success) {
|
|
71147
|
+
this.log.warn('ClusteringPolicy detail validation warning:', result.error.message);
|
|
71148
|
+
}
|
|
71149
|
+
const policy = raw.searchPolicyResults?.[0];
|
|
71150
|
+
if (!policy) {
|
|
71151
|
+
throw new Error(`No custom situation policy with policyId '${policyId}' was found.`);
|
|
71152
|
+
}
|
|
71153
|
+
return policy;
|
|
71154
|
+
}
|
|
71155
|
+
/**
|
|
71156
|
+
* Creates or updates a policy. There is no POST — the presence of
|
|
71157
|
+
* `policy_id` in the body is what makes this an update.
|
|
71158
|
+
*
|
|
71159
|
+
* `PUT oi/v2/api/clusteralarms/clusteringpolicy`
|
|
71160
|
+
*
|
|
71161
|
+
* @remarks An update can return a policy with a **new** `policy_id` and an
|
|
71162
|
+
* incremented `version`, after which the id that was sent stops resolving.
|
|
71163
|
+
* Measured on the lab tenant: it does for a policy created ACTIVE, and does
|
|
71164
|
+
* not for one created INACTIVE (even after switching that one to ACTIVE).
|
|
71165
|
+
* Callers must read the id back off the response rather than reusing theirs.
|
|
71166
|
+
* @throws ZodError when the body is malformed.
|
|
71167
|
+
*/
|
|
71168
|
+
async savePolicy(body) {
|
|
71169
|
+
ClusteringPolicyWriteBodySchema.parse(body);
|
|
71170
|
+
const raw = await this.dxSaasService.oiPut(POLICY, body);
|
|
71171
|
+
const result = ClusteringPolicySchema.safeParse(raw);
|
|
71172
|
+
if (!result.success) {
|
|
71173
|
+
this.log.warn('ClusteringPolicy save response validation warning:', result.error.message);
|
|
71174
|
+
}
|
|
71175
|
+
return raw;
|
|
71176
|
+
}
|
|
71177
|
+
/**
|
|
71178
|
+
* Permanently deletes a policy.
|
|
71179
|
+
*
|
|
71180
|
+
* `DELETE oi/v2/api/clusteralarms/clusteringpolicy/{policyId}`
|
|
71181
|
+
*
|
|
71182
|
+
* @remarks The server answers with an empty body; callers should verify by
|
|
71183
|
+
* re-listing rather than trusting the response.
|
|
71184
|
+
*/
|
|
71185
|
+
async deletePolicy(policyId) {
|
|
71186
|
+
await this.dxSaasService.oiDelete(`${POLICY}/${encodeURIComponent(policyId)}`);
|
|
71187
|
+
}
|
|
71188
|
+
/**
|
|
71189
|
+
* Replays a candidate policy over recent alarms without saving it: how many
|
|
71190
|
+
* raw alarms it would match, how many situations it would create, and the
|
|
71191
|
+
* resulting noise reduction.
|
|
71192
|
+
*
|
|
71193
|
+
* `PUT oi/v2/api/clusteralarms/clusteringpolicy/preview?size=&time=`
|
|
71194
|
+
*
|
|
71195
|
+
* @param body - The policy to preview; only the seven keys the endpoint
|
|
71196
|
+
* accepts are sent (see `toClusteringPolicyPreviewBody`).
|
|
71197
|
+
* @param timeSeconds - Look-back window in seconds, e.g. 86400 for a day.
|
|
71198
|
+
* @param size - Maximum raw alarms to scan (the UI sends 1000).
|
|
71199
|
+
* @remarks `clusteringList[].templates[].alarms` carries whole raw alarm
|
|
71200
|
+
* documents, so the response grows quickly with `size` — summarize it.
|
|
71201
|
+
* @example
|
|
71202
|
+
* ```ts
|
|
71203
|
+
* const preview = await service.previewPolicy(body, 86400);
|
|
71204
|
+
* console.log(preview.totalAlarms, preview.totalClusters, preview.noiseReductionPercent);
|
|
71205
|
+
* ```
|
|
71206
|
+
*/
|
|
71207
|
+
async previewPolicy(body, timeSeconds, size = 1000) {
|
|
71208
|
+
const raw = await this.dxSaasService.oiPut(`${POLICY}/preview`, toClusteringPolicyPreviewBody(body), { size, time: timeSeconds });
|
|
71209
|
+
const result = ClusteringPolicyPreviewResponseSchema.safeParse(raw);
|
|
71210
|
+
if (!result.success) {
|
|
71211
|
+
this.log.warn('ClusteringPolicyPreviewResponse validation warning:', result.error.message);
|
|
71212
|
+
}
|
|
71213
|
+
return raw;
|
|
71214
|
+
}
|
|
71215
|
+
/**
|
|
71216
|
+
* The policy editor's catalogs: filterable alarm fields, clustering fields
|
|
71217
|
+
* with their weight bounds, the custom-naming operations, and the window
|
|
71218
|
+
* bounds.
|
|
71219
|
+
*
|
|
71220
|
+
* `GET oi/v2/api/clusteralarms/policyfields`
|
|
71221
|
+
*
|
|
71222
|
+
* @remarks A catalog entry's `values` is not a closed vocabulary — for the
|
|
71223
|
+
* window fields it is `[min, max, default]` and for clustering fields
|
|
71224
|
+
* `[min, max]`.
|
|
71225
|
+
*/
|
|
71226
|
+
async listPolicyFields() {
|
|
71227
|
+
const raw = await this.dxSaasService.oiGet(`${BASE}/policyfields`);
|
|
71228
|
+
const result = PolicyFieldsResponseSchema.safeParse(raw);
|
|
71229
|
+
if (!result.success) {
|
|
71230
|
+
this.log.warn('PolicyFieldsResponse validation warning:', result.error.message);
|
|
71231
|
+
}
|
|
71232
|
+
return raw;
|
|
71233
|
+
}
|
|
71234
|
+
/**
|
|
71235
|
+
* Tenant-wide clustering configuration — the weights, thresholds and
|
|
71236
|
+
* feature flags that govern clustering for every policy.
|
|
71237
|
+
*
|
|
71238
|
+
* `GET oi/v2/api/clusteralarms/tenantConfigAttributes`
|
|
71239
|
+
*/
|
|
71240
|
+
async getTenantConfigAttributes() {
|
|
71241
|
+
const raw = await this.dxSaasService.oiGet(`${BASE}/tenantConfigAttributes`);
|
|
71242
|
+
const result = TenantConfigAttributesResponseSchema.safeParse(raw);
|
|
71243
|
+
if (!result.success) {
|
|
71244
|
+
this.log.warn('TenantConfigAttributesResponse validation warning:', result.error.message);
|
|
71245
|
+
}
|
|
71246
|
+
return raw;
|
|
71247
|
+
}
|
|
71248
|
+
/**
|
|
71249
|
+
* **RAW, UNGUARDED WRITE TO TENANT-WIDE CLUSTERING INTERNALS — read this
|
|
71250
|
+
* before calling it with anything but {@link ALGORITHMIC_SITUATIONS_KEY}.**
|
|
71251
|
+
*
|
|
71252
|
+
* `PUT oi/v2/api/clusteralarms/tenantConfigAttributes`
|
|
71253
|
+
*
|
|
71254
|
+
* This writes whatever key you hand it into the tenant's clustering engine
|
|
71255
|
+
* configuration. It is the platform's own internal tuning surface — roughly
|
|
71256
|
+
* three dozen attributes governing scoring weights, thresholds, HDBSCAN
|
|
71257
|
+
* parameters, stop words, retention and feature flags — and it is **not a
|
|
71258
|
+
* documented public API**.
|
|
71259
|
+
*
|
|
71260
|
+
* What we actually know, and what we do not:
|
|
71261
|
+
*
|
|
71262
|
+
* - **Only one key's semantics are established here.**
|
|
71263
|
+
* {@link ALGORITHMIC_SITUATIONS_KEY} was verified end to end against a lab
|
|
71264
|
+
* tenant. Every other key's meaning, valid range, interactions and blast
|
|
71265
|
+
* radius are **unverified** — the names are suggestive, not authoritative.
|
|
71266
|
+
* - **The server validates almost nothing.** Every write observed returned
|
|
71267
|
+
* `{"Status":"Success"}`, including ones the UI would never produce. A
|
|
71268
|
+
* nonsensical value is accepted, not rejected, and the damage shows up
|
|
71269
|
+
* later as situations that silently stop forming or form wrongly.
|
|
71270
|
+
* - **Tenant-wide, and it affects data you cannot re-derive.** Clustering is
|
|
71271
|
+
* continuous. A bad value corrupts the situations produced while it is set;
|
|
71272
|
+
* restoring the attribute does not reconstruct them.
|
|
71273
|
+
* - **There is no reset-to-defaults.** Nothing returns the platform's
|
|
71274
|
+
* shipped values, so an overwritten attribute is only recoverable if the
|
|
71275
|
+
* caller captured the previous value first.
|
|
71276
|
+
* - **The update is partial**, which cuts both ways: omitted keys are safe,
|
|
71277
|
+
* but a wrong `type` on a key you *do* send corrupts just that one quietly.
|
|
71278
|
+
*
|
|
71279
|
+
* Because of all that, no CLI command exposes this generically. The only
|
|
71280
|
+
* callers in this repo are `situation enable-algorithmic-situations` and
|
|
71281
|
+
* `situation disable-algorithmic-situations`, which touch exactly one boolean
|
|
71282
|
+
* and verify it by re-reading.
|
|
71283
|
+
*
|
|
71284
|
+
* If you are adding a caller for another attribute, the bar is: establish the
|
|
71285
|
+
* semantics empirically against a lab tenant first (never a customer tenant),
|
|
71286
|
+
* read and record the current value, make the change reversible, and verify
|
|
71287
|
+
* by re-reading. Prefer {@link getTenantConfigAttributes} — reading is free.
|
|
71288
|
+
*
|
|
71289
|
+
* @param tenantId - Tenant to write to; use the id {@link getTenantConfigAttributes}
|
|
71290
|
+
* returned rather than composing one, since the write expects that exact form.
|
|
71291
|
+
* @param attributes - Only the attributes to change. The update is partial:
|
|
71292
|
+
* keys that are not sent keep their current value. Send the narrowest set
|
|
71293
|
+
* that does the job.
|
|
71294
|
+
* @throws ZodError when the body is malformed. Note this validates the
|
|
71295
|
+
* *envelope* only — it cannot tell you whether a key or value is sane.
|
|
71296
|
+
* @example
|
|
71297
|
+
* ```ts
|
|
71298
|
+
* // The one supported use: flip algorithmic situations, having read it first.
|
|
71299
|
+
* const config = await service.getTenantConfigAttributes();
|
|
71300
|
+
* const before = algorithmicSituationsEnabled(config);
|
|
71301
|
+
* await service.setTenantConfigAttributes(config.tenantId, [
|
|
71302
|
+
* { key: ALGORITHMIC_SITUATIONS_KEY, value: false, type: 'boolean' },
|
|
71303
|
+
* ]);
|
|
71304
|
+
* ```
|
|
71305
|
+
*/
|
|
71306
|
+
async setTenantConfigAttributes(tenantId, attributes) {
|
|
71307
|
+
const body = { tenantId, configAttrList: attributes };
|
|
71308
|
+
TenantConfigAttributesWriteBodySchema.parse(body);
|
|
71309
|
+
const raw = await this.dxSaasService.oiPut(`${BASE}/tenantConfigAttributes`, body);
|
|
71310
|
+
const result = TenantConfigAttributesWriteResponseSchema.safeParse(raw);
|
|
71311
|
+
if (!result.success) {
|
|
71312
|
+
this.log.warn('TenantConfigAttributesWriteResponse validation warning:', result.error.message);
|
|
71313
|
+
}
|
|
71314
|
+
return raw;
|
|
71315
|
+
}
|
|
71316
|
+
}
|
|
71317
|
+
|
|
70592
71318
|
var PermissionType = DashboardPermissionsUpdateRequest.PermissionType;
|
|
70593
71319
|
/**
|
|
70594
71320
|
* Service for Grafana-style dashboard API: themes, API keys, dashboards,
|
|
@@ -85631,6 +86357,7 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
|
|
|
85631
86357
|
dxBlobService: new BlobService(dxSaaSService, log),
|
|
85632
86358
|
dxBlobStorageService: new DataStoreBlobStorageService(dxSaaSService, log),
|
|
85633
86359
|
dxChannelService: new ChannelService(dxSaaSService, log),
|
|
86360
|
+
dxClusteringPolicyService: new ClusteringPolicyService(dxSaaSService, log),
|
|
85634
86361
|
dxDashboardService: new DashboardService(dxSaaSService),
|
|
85635
86362
|
dxDataStoreMetricsMetadataService: new DataStoreMetricsMetadataService(dxSaaSService, log),
|
|
85636
86363
|
dxDataStoreNASSService: new DataStoreNASSService(dxSaaSService, log),
|
|
@@ -85671,5 +86398,5 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
|
|
|
85671
86398
|
};
|
|
85672
86399
|
}
|
|
85673
86400
|
|
|
85674
|
-
export { ALARM_CATEGORIES, ALARM_FILTER_CATEGORIES, ALARM_FILTER_DEFAULT_COLUMN_ORDER, ALARM_FILTER_DEFAULT_VISIBLE_COLUMNS, ALARM_FILTER_DISPLAY_COLUMN_KEYS, ALARM_FILTER_FIELD_PATHS, ALARM_QUEUE_CATEGORIES, ALARM_QUEUE_DEFAULT_COLUMN_ORDER, ALARM_QUEUE_DEFAULT_FILTER_SETTINGS, ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS, ALARM_QUEUE_DISPLAY_COLUMN_KEYS, ALARM_QUEUE_FILTER_CONDITIONS, ALARM_QUEUE_FILTER_SETTING_KEYS, ALARM_VIEW_CATEGORIES, ALARM_VIEW_FIELD_PATHS, ALARM_VIEW_SEARCH_PATHS, AXAActivities, AccService, AgentService, AgentTrace, AlarmCategorySchema, AlarmEnrichment, AlarmEnrichmentFilter, AlarmFilterFieldSchema, AlarmFilterFieldsResponseSchema, AlarmFilterWriteBodySchema, AlarmFilterWriteResponseSchema, AlarmQueueDeleteResponseSchema, AlarmQueueDetailSchema, AlarmQueueFieldSchema, AlarmQueueFieldsResponseSchema, AlarmQueueFilterSettingsSchema, AlarmQueueListResponseSchema, AlarmQueuePreferencesResponseSchema, AlarmQueuePreferencesSchema, AlarmQueueSchema, AlarmQueueWriteBodySchema, AlarmQueueWriteResponseSchema, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, AllAlarmQueuesResponseSchema, AnyChannelSchema, ApmUniverseService, AppVersionSchema, AppVersionsResponseSchema, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuditGlobalQueryRequestSchema, AuditQueryRequestSchema, AuditQueryResponseSchema, AuditRecordEsSchema, AuditRecordSchema, AuditStoreResponseSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CURL_COHORT_VAR, CURL_HOST_VAR, CURL_TOKEN_VAR, CUSTOM_FIELD_PATTERN, CalendarIntervalSchema, CancelRevokeRequestSchema, ChannelDeleteResponseSchema, ChannelEnvelopeSchema, ChannelLinkedEntitySchema, ChannelListResponseSchema, ChannelService, ChannelTemplateRefSchema, ChannelWriteBodySchema, ChannelWriteResponseSchema, CreateAgentTokenRequestSchema, CreateInternalTokenRequestSchema, CreateServices, CreateTenantTokenRequestSchema, CreateUserTokenRequestSchema, DEFAULT_EXPERIENCE_REQUEST_BODY, DEFAULT_EXTERNAL_ID_FORMAT, DEFAULT_WEBHOOK_AUTH_DETAILS, DEFAULT_WEBHOOK_PAYLOAD_FIELDS, DRAFT_FILE_SUFFIX, DXChannel, DXO2_SAAS_GATEWAYS, DXO2_SAAS_GATEWAY_HOSTNAMES, DXO2_STATUS_PAGE_URL, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DefaultViewsResponseSchema, DeleteTokenRequestSchema, DeleteTokensResponseSchema, DxO2SaasRegionSchema, DxSaasService, DxoiService, ENRICHMENT_FILTER_CONDITIONS, ENRICHMENT_PREVIEW_WINDOWS, ENRICHMENT_SOURCES, EXPORT_INCLUDE_TOKEN_ENV, EdgeNumericIdSchema, EnrichmentCustomFieldSchema, EnrichmentCustomFieldsResponseSchema, EnrichmentMappingSchema, EnrichmentPreviewResponseSchema, EnrichmentRuleSchema, EnrichmentRuleWriteBodySchema, EnrichmentRulesResponseSchema, EnrichmentSchema, EventService, ExperienceService, FILTER_FIELDS, FeatureAttributesSchema, FeatureDatascopeSchema, FeatureDeleteRequestSchema, FeatureFieldSchema, FeatureFieldTypeSchema, FeatureFilterSchema, FeatureFilterTemplateSchema, FeatureFilterTemplateTypeSchema, FeatureIdFilterSchema, FeatureListResponseSchema, FeatureNodeSchema, FeatureQueryRequestSchema, FeatureStoreRequestSchema, FeatureStoreResponseSchema, FeatureToggleListResponseSchema, FeatureToggleListSchema, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GenericChannelSchema, GraphResponse, GraphService, INVENTORY_QUEUE_CATEGORY, INVENTORY_QUEUE_DEFAULT_SELECT_TOGGLES, INVENTORY_QUEUE_DEFAULT_VISIBLE_COLUMNS, INVENTORY_QUEUE_FILTER_CONDITIONS, INVENTORY_QUEUE_NO_GROUP, ITSM_DEFAULT_TICKET_TEMPLATE, ITSM_SECRET_KEYS, ImportTokenRequestSchema, InventorizeDeleteResponseSchema, InventorizeDraftSchema, InventorizeLayerSchema, InventorizePreviewResponseSchema, InventorizePreviewSchema, InventorizeRuleListResponseSchema, InventorizeRuleSchema, InventorizeSaveResponseSchema, Inventory, InventoryAttributes, InventoryGroupSchema, InventoryGroupsResponseSchema, InventoryQueueDeleteResponseSchema, InventoryQueueDetailSchema, InventoryQueueFieldSchema, InventoryQueueFieldsResponseSchema, InventoryQueueFilterAtomSchema, InventoryQueueListResponseSchema, InventoryQueuePreferencesResponseSchema, InventoryQueuePreferencesSchema, InventoryQueueSchema, InventoryQueueWriteBodySchema, InventoryQueueWriteResponseSchema, InventoryService, ItsmChannelSchema, ItsmPropertySchema, ItsmTestConnectionRequestSchema, ItsmTestConnectionResponseSchema, JavaRegexError, JexlEvalError, JexlSyntaxError, JoinTypeSchema, JsExtensionService, LOG_ANALYTICS_PRODUCT, LogIngest, LogQuery, LogsService, MAX_SLIS_PER_GROUP, MESSAGE_TEMPLATE_ALARM_TYPES, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, MaintenanceBulkDeleteResponseSchema, MaintenanceCreateRequestSchema, MaintenanceCreateResponseSchema, MaintenanceDeleteRequestSchema, MaintenanceDetailSchema, MaintenanceExcludedMemberSchema, MaintenanceFilterLeafSchema, MaintenanceFilterSchema, MaintenanceMemberSchema, MaintenanceMemberSourceSchema, MaintenanceMemberTypeSchema, MaintenancePreviewRequestSchema, MaintenancePreviewResponseSchema, MaintenanceScheduleSchema, MaintenanceSearchRequestSchema, MaintenanceSearchResponseSchema, MaintenanceService, MaintenanceSummarySchema, ManagementModuleIdSchema, ManagementModuleService, MatchType, MessageTemplateFieldSchema, MessageTemplateFieldsResponseSchema, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterInputSchema, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OIUsersV2, OperatorSchema, POLICY_ALARM_CATEGORIES, POLICY_FILTER_CONDITIONS, POSTMAN_TOKEN_VAR, PRODUCT_STATUS_PROVISIONED, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, PolicyDeleteResponseSchema, PolicyFilterAtomSchema, PolicyFilterExpressionSchema, PolicyLinkedEntitySchema, PolicyWriteBodySchema, PolicyWriteResponseSchema, PublicKeyJsonResponseSchema, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, REDACTED_SECRET, RecurrencePattern, RevokeTokenRequestSchema, RevokeTokensResponseSchema, SLIService, SLI_DERIVED_METRIC_SOURCE, SMTP_DEFAULT_TEMPLATES, SQLService, ServiceDeskFieldSchema, ServiceDeskFieldsResponseSchema, ServiceExport, ServiceFilterSpecifierSchema, ServiceService, ServiceTransform, ServiceUniverseAccessEntrySchema, ServiceUniverseAccessSchema, ServiceUniverseAttributesSchema, ServiceUniverseBodySchema, ServiceUniverseListItemSchema, ServiceUniverseListResponseSchema, ServiceUniverseNassViewSchema, ServiceUniversePermissionSchema, ServiceUniverseQueryResponseSchema, ServiceUniverseSchema, ServiceUniverseService, ServiceUniverseTasSpecSchema, ServiceUniverseTasViewSchema, ServiceUniverseViewSchema, SessionService, SessionValidateRequestSchema, SessionValidateResponseSchema, SetDefaultViewRequestSchema, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SliAggregationIntervalSchema, SliAlertEntrySchema, SliAlertOperatorSchema, SliAlertTargetSchema, SliDerivedMetricAttributeSchema, SliDerivedMetricsSchema, SliExpressionSchema, SliFilterSchema, SliFunctionCustomParamsSchema, SliFunctionInputSchema, SliFunctionOpSchema, SliFunctionOutputSchema, SliFunctionSchema, SliGroupDeleteResponseSchema, SliGroupMetricsEntrySchema, SliGroupMetricsRequestSchema, SliGroupMetricsResponseSchema, SliGroupSaveRequestSchema, SliGroupSaveResponseSchema, SliGroupSchema, SliGroupSearchRequestSchema, SliGroupSearchResponseSchema, SliMetricFieldSchema, SliMetricFieldsRequestSchema, SliMetricFieldsResponseSchema, SliThresholdComparatorSchema, SliThresholdSchema, SloCalendarPeriodSchema, SloFunctionOpSchema, SloFunctionSchema, SmtpChannelConfigsSchema, SmtpChannelSchema, SmtpTestInputSchema, SmtpTestRequestSchema, SmtpTestResponseSchema, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, StatusPageComponentSchema, StatusPageComponentsSchema, TAGS_ATTRIBUTE_KEY, TAS, TASGraph, TASService, TC_METRIC_CAP, TICKET_ENRICHMENT_ALARM_TYPES, TICKET_ENRICHMENT_FIELD_CODES, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreAttributeValueSchema, TasStoreChangeSchema, TasStoreEdgeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasStoreGraphSchema, TasStoreVertexSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, TemplateDeleteResponseSchema, TemplateWriteBodySchema, TemplateWriteResponseSchema, TenantProductSchema, TenantProductsResponseSchema, TenantRoleSchema, TenantRolesResponseSchema, TenantService, TicketEnrichmentAlarmFieldSchema, TicketEnrichmentAlarmFieldsResponseSchema, TicketEnrichmentListResponseSchema, TicketEnrichmentMappingSchema, TicketEnrichmentRuleSchema, TicketEnrichmentWriteBodySchema, TicketEnrichmentWriteResponseSchema, TokenCreateResponseSchema, TokenDetailsSchema, TokenGetAndVerifyRequestSchema, TokenMetadataSchema, TokenQueryRequestSchema, TokenQueryResponseSchema, TokenVerifyRequestSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, UIM_LOGS_INGESTION_PATH, UpdateAgentTokenRequestSchema, UpdateTenantTokenRequestSchema, UpdateUserTokenRequestSchema, VertexGroupSchema, VertexMappingConfigurationModule, VertexService, VertexStateAlertFilterSchema, VertexStateAllFilterSchema, VertexStateAnalyticResultSchema, VertexStateAndFilterSchema, VertexStateClampSettingSchema, VertexStateCollectVertexGroupStatusFilterSchema, VertexStateEmptyFilterSchema, VertexStateExternalIdInputSchema, VertexStateExternalIdResponseSchema, VertexStateExternalIdSchema, VertexStateFetchRequestSchema, VertexStateFetchResponseSchema, VertexStateFilterSchema, VertexStateGroupResultSchema, VertexStateInputSchema, VertexStateManagementModuleFilterSchema, VertexStateMetricFilterSchema, VertexStateNamespaceFilterSchema, VertexStateNumericIdSchema, VertexStateOrFilterSchema, VertexStateProjectionSchema, VertexStateRangeRequestSchema, VertexStateRangeResponseSchema, VertexStateRepublishRequestSchema, VertexStateResponseItemSchema, VertexStateSchema, VertexStateStateFilterSchema, VertexStateStoreRequestSchema, VertexStateStoreResponseSchema, VertexStateVertexIdFilterSchema, VertexStatusChanges, ViewAccessEntrySchema, ViewAccessRoleSchema, ViewAccessSchema, ViewActiveFilterSchema, ViewAllFilterSchema, ViewAndFilterSchema, ViewAttributeExpressionSchema, ViewAttributeFilterSchema, ViewAttributesSchema, ViewBodySchema, ViewFilterSchema, ViewIdFilterSchema, ViewListResponseSchema, ViewNassSpecSchema, ViewOrFilterSchema, ViewOwnerSchema, ViewQueryRequestSchema, ViewQueryResponseSchema, ViewResponseSchema, ViewSearchRequestSchema, ViewSpecsSchema, ViewTasSpecSchema, WebhookAuthDetailsSchema, WebhookChannelSchema, WebhookSpecSchema, WebhookTestInputSchema, WebhookTestRequestSchema, WebhookTestResponseSchema, ags, agsresponse, alarmFilterDisplayColumnsFor, alertsForSliIndex, allAlarmQueues, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, appendSli, appendSloTriplet, authHeaderValue, buildAlarmFilterUpdateBody, buildAlarmQueueFilterExpression, buildAlarmQueueUpdateBody, buildAlertEntry, buildEnrichmentRuleUpdateBody, buildInventoryCustomFilter, buildInventoryQueueUpdateBody, buildPolicyFilterExpression, buildSliFunction, buildSloTriplet, buildTemplateRefs, buildUimLogPayload, capVertexDetail, checkGet, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createCurlCommand, createCurlScript, createPostmanRequest, createServiceMonolith, decodeMetricTypeBits, defaultItsmPropertyList, defaultRuleName, deriveSliAs, deriveVertexName, displayColumnsFor, dottedFileSlot, draftKey, encodeItsmSecret, ensureParallelAlerts, escapeRegExp, evaluate, evaluateTemplate, example, excludedAttributes, exportFileLabel, exportIncludesToken, expressionPipelineNames, extractComponentGridData, findAlertByTarget, findInventoryGroup, findProduct, findRedactedSecretPaths, findSliByName, flattenAxiosHeaders, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, formExternalId, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasTypeTagsFlag, hasVertexAttribute, impliedDxo2Version, incrementVariant, inventoryDisplayColumnsFor, inventoryQueuesOf, inventorySearchRequestBodyExample, inventorySearchResponseBody, isAlarmFilter, isAlarmQueue, isAlarmQueueNotFound, isAuthorizationHeader, isBuiltInPolicy, isBuiltInTemplate, isDataStoreSchemaType, isInventoryQueueNotFound, isPersonalQueue, isProductProvisioned, isTemplate, isTenantToken, isUserToken, itsmMapToProperties, itsmPropertiesToMap, javaFullMatch, javaRegexToJs, javaReplaceAll, javaReplaceFirst, javaSplit, listDataStoreSchemaOps, listSlis, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, logIngestionURLForGateway, maintenanceDelete, maintenanceDeleteWindows, maintenanceFilter, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, messageGet, messageTemplateVariables, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, normalizeAlarmQueueSharing, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseExpression, parseFilter, parseSaasGateway, parseServiceNowUrl, planEnrichmentReorder, policyCategoryGuard, policyFilterAtoms, producedMetricName, projectCustomAttributes, projectRule, pruneOrphanSloFunctions, redactChannelSecrets, reencodeItsmForWrite, removeAlert, removeSli, removeSloTriplet, resolveEnrichmentMappings, resolveWebhookPayload, sampleServiceDetailRequestBody, searchUniverse, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, sharedRoleDelta, sliHumanName, sloTripletFor, sortRulesByPriority, splitAttributePath, splitTemplate, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, tcSourceNameMatches, tcSourceNameToMmPattern, templateUsage, timezonesList, toAlarmFilterWriteBody, toAlarmQueueWriteBody, toChannelWriteBody, toEnrichmentRuleCreateBody, toGroupMetricsRequest, toInventoryQueueWriteBody, toItsmTestConnectionRequest, toPolicyWriteBody, toSliGroupSaveRequest, toTemplateWriteBody, toTicketEnrichmentWriteBody, tokenize, translateRuleToMmQuery, truthy, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters, visibleAlarmQueueColumns, visibleInventoryColumns };
|
|
86401
|
+
export { ALARM_CATEGORIES, ALARM_FILTER_CATEGORIES, ALARM_FILTER_DEFAULT_COLUMN_ORDER, ALARM_FILTER_DEFAULT_VISIBLE_COLUMNS, ALARM_FILTER_DISPLAY_COLUMN_KEYS, ALARM_FILTER_FIELD_PATHS, ALARM_QUEUE_CATEGORIES, ALARM_QUEUE_DEFAULT_COLUMN_ORDER, ALARM_QUEUE_DEFAULT_FILTER_SETTINGS, ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS, ALARM_QUEUE_DISPLAY_COLUMN_KEYS, ALARM_QUEUE_FILTER_CONDITIONS, ALARM_QUEUE_FILTER_SETTING_KEYS, ALARM_VIEW_CATEGORIES, ALARM_VIEW_FIELD_PATHS, ALARM_VIEW_SEARCH_PATHS, ALGORITHMIC_SITUATIONS_KEY, AXAActivities, AccService, AgentService, AgentTrace, AlarmCategorySchema, AlarmEnrichment, AlarmEnrichmentFilter, AlarmFilterFieldSchema, AlarmFilterFieldsResponseSchema, AlarmFilterWriteBodySchema, AlarmFilterWriteResponseSchema, AlarmQueueDeleteResponseSchema, AlarmQueueDetailSchema, AlarmQueueFieldSchema, AlarmQueueFieldsResponseSchema, AlarmQueueFilterSettingsSchema, AlarmQueueListResponseSchema, AlarmQueuePreferencesResponseSchema, AlarmQueuePreferencesSchema, AlarmQueueSchema, AlarmQueueWriteBodySchema, AlarmQueueWriteResponseSchema, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, AllAlarmQueuesResponseSchema, AnyChannelSchema, ApmUniverseService, AppVersionSchema, AppVersionsResponseSchema, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuditGlobalQueryRequestSchema, AuditQueryRequestSchema, AuditQueryResponseSchema, AuditRecordEsSchema, AuditRecordSchema, AuditStoreResponseSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CLUSTERING_POLICY_BUILTIN_AUTHORS, CLUSTERING_POLICY_CONDITIONS, CLUSTERING_POLICY_PRESENCE_CONDITIONS, CLUSTERING_POLICY_PREVIEW_RANGES, CLUSTERING_POLICY_STATUSES, CURL_COHORT_VAR, CURL_HOST_VAR, CURL_TOKEN_VAR, CUSTOM_FIELD_PATTERN, CalendarIntervalSchema, CancelRevokeRequestSchema, ChannelDeleteResponseSchema, ChannelEnvelopeSchema, ChannelLinkedEntitySchema, ChannelListResponseSchema, ChannelService, ChannelTemplateRefSchema, ChannelWriteBodySchema, ChannelWriteResponseSchema, ClusteringCriteriaValuesSchema, ClusteringCriterionPropertiesSchema, ClusteringCriterionSchema, ClusteringPolicyCriteriaSchema, ClusteringPolicyPreviewResponseSchema, ClusteringPolicySchema, ClusteringPolicySearchRequestSchema, ClusteringPolicySearchResponseSchema, ClusteringPolicyService, ClusteringPolicyWriteBodySchema, ClusteringPreviewClusterSchema, ClusteringPreviewTemplateSchema, CreateAgentTokenRequestSchema, CreateInternalTokenRequestSchema, CreateServices, CreateTenantTokenRequestSchema, CreateUserTokenRequestSchema, DEFAULT_EXPERIENCE_REQUEST_BODY, DEFAULT_EXTERNAL_ID_FORMAT, DEFAULT_WEBHOOK_AUTH_DETAILS, DEFAULT_WEBHOOK_PAYLOAD_FIELDS, DRAFT_FILE_SUFFIX, DXChannel, DXO2_SAAS_GATEWAYS, DXO2_SAAS_GATEWAY_HOSTNAMES, DXO2_STATUS_PAGE_URL, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DefaultViewsResponseSchema, DeleteTokenRequestSchema, DeleteTokensResponseSchema, DxO2SaasRegionSchema, DxSaasService, DxoiService, ENRICHMENT_FILTER_CONDITIONS, ENRICHMENT_PREVIEW_WINDOWS, ENRICHMENT_SOURCES, EXPORT_INCLUDE_TOKEN_ENV, EdgeNumericIdSchema, EmptyCriteriaSchema, EnrichmentCustomFieldSchema, EnrichmentCustomFieldsResponseSchema, EnrichmentMappingSchema, EnrichmentPreviewResponseSchema, EnrichmentRuleSchema, EnrichmentRuleWriteBodySchema, EnrichmentRulesResponseSchema, EnrichmentSchema, EventService, ExperienceService, FILTER_FIELDS, FeatureAttributesSchema, FeatureDatascopeSchema, FeatureDeleteRequestSchema, FeatureFieldSchema, FeatureFieldTypeSchema, FeatureFilterSchema, FeatureFilterTemplateSchema, FeatureFilterTemplateTypeSchema, FeatureIdFilterSchema, FeatureListResponseSchema, FeatureNodeSchema, FeatureQueryRequestSchema, FeatureStoreRequestSchema, FeatureStoreResponseSchema, FeatureToggleListResponseSchema, FeatureToggleListSchema, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GenericChannelSchema, GraphResponse, GraphService, INVENTORY_QUEUE_CATEGORY, INVENTORY_QUEUE_DEFAULT_SELECT_TOGGLES, INVENTORY_QUEUE_DEFAULT_VISIBLE_COLUMNS, INVENTORY_QUEUE_FILTER_CONDITIONS, INVENTORY_QUEUE_NO_GROUP, ITSM_DEFAULT_TICKET_TEMPLATE, ITSM_SECRET_KEYS, ImportTokenRequestSchema, InventorizeDeleteResponseSchema, InventorizeDraftSchema, InventorizeLayerSchema, InventorizePreviewResponseSchema, InventorizePreviewSchema, InventorizeRuleListResponseSchema, InventorizeRuleSchema, InventorizeSaveResponseSchema, Inventory, InventoryAttributes, InventoryGroupSchema, InventoryGroupsResponseSchema, InventoryQueueDeleteResponseSchema, InventoryQueueDetailSchema, InventoryQueueFieldSchema, InventoryQueueFieldsResponseSchema, InventoryQueueFilterAtomSchema, InventoryQueueListResponseSchema, InventoryQueuePreferencesResponseSchema, InventoryQueuePreferencesSchema, InventoryQueueSchema, InventoryQueueWriteBodySchema, InventoryQueueWriteResponseSchema, InventoryService, ItsmChannelSchema, ItsmPropertySchema, ItsmTestConnectionRequestSchema, ItsmTestConnectionResponseSchema, JavaRegexError, JexlEvalError, JexlSyntaxError, JoinTypeSchema, JsExtensionService, LOG_ANALYTICS_PRODUCT, LogIngest, LogQuery, LogsService, MAX_SLIS_PER_GROUP, MESSAGE_TEMPLATE_ALARM_TYPES, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, MaintenanceBulkDeleteResponseSchema, MaintenanceCreateRequestSchema, MaintenanceCreateResponseSchema, MaintenanceDeleteRequestSchema, MaintenanceDetailSchema, MaintenanceExcludedMemberSchema, MaintenanceFilterLeafSchema, MaintenanceFilterSchema, MaintenanceMemberSchema, MaintenanceMemberSourceSchema, MaintenanceMemberTypeSchema, MaintenancePreviewRequestSchema, MaintenancePreviewResponseSchema, MaintenanceScheduleSchema, MaintenanceSearchRequestSchema, MaintenanceSearchResponseSchema, MaintenanceService, MaintenanceSummarySchema, ManagementModuleIdSchema, ManagementModuleService, MatchType, MessageTemplateFieldSchema, MessageTemplateFieldsResponseSchema, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterInputSchema, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OIUsersV2, OperatorSchema, POLICY_ALARM_CATEGORIES, POLICY_FILTER_CONDITIONS, POSTMAN_TOKEN_VAR, PRODUCT_STATUS_PROVISIONED, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, PolicyDeleteResponseSchema, PolicyFieldSchema, PolicyFieldsResponseSchema, PolicyFilterAtomSchema, PolicyFilterExpressionSchema, PolicyLinkedEntitySchema, PolicyNamingOperationSchema, PolicyWriteBodySchema, PolicyWriteResponseSchema, PublicKeyJsonResponseSchema, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, REDACTED_SECRET, RecurrencePattern, RevokeTokenRequestSchema, RevokeTokensResponseSchema, SLIService, SLI_DERIVED_METRIC_SOURCE, SMTP_DEFAULT_TEMPLATES, SQLService, ServiceDeskFieldSchema, ServiceDeskFieldsResponseSchema, ServiceExport, ServiceFilterSpecifierSchema, ServiceService, ServiceTransform, ServiceUniverseAccessEntrySchema, ServiceUniverseAccessSchema, ServiceUniverseAttributesSchema, ServiceUniverseBodySchema, ServiceUniverseListItemSchema, ServiceUniverseListResponseSchema, ServiceUniverseNassViewSchema, ServiceUniversePermissionSchema, ServiceUniverseQueryResponseSchema, ServiceUniverseSchema, ServiceUniverseService, ServiceUniverseTasSpecSchema, ServiceUniverseTasViewSchema, ServiceUniverseViewSchema, SessionService, SessionValidateRequestSchema, SessionValidateResponseSchema, SetDefaultViewRequestSchema, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SliAggregationIntervalSchema, SliAlertEntrySchema, SliAlertOperatorSchema, SliAlertTargetSchema, SliDerivedMetricAttributeSchema, SliDerivedMetricsSchema, SliExpressionSchema, SliFilterSchema, SliFunctionCustomParamsSchema, SliFunctionInputSchema, SliFunctionOpSchema, SliFunctionOutputSchema, SliFunctionSchema, SliGroupDeleteResponseSchema, SliGroupMetricsEntrySchema, SliGroupMetricsRequestSchema, SliGroupMetricsResponseSchema, SliGroupSaveRequestSchema, SliGroupSaveResponseSchema, SliGroupSchema, SliGroupSearchRequestSchema, SliGroupSearchResponseSchema, SliMetricFieldSchema, SliMetricFieldsRequestSchema, SliMetricFieldsResponseSchema, SliThresholdComparatorSchema, SliThresholdSchema, SloCalendarPeriodSchema, SloFunctionOpSchema, SloFunctionSchema, SmtpChannelConfigsSchema, SmtpChannelSchema, SmtpTestInputSchema, SmtpTestRequestSchema, SmtpTestResponseSchema, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, StatusPageComponentSchema, StatusPageComponentsSchema, StoredCriteriaSchema, TAGS_ATTRIBUTE_KEY, TAS, TASGraph, TASService, TC_METRIC_CAP, TICKET_ENRICHMENT_ALARM_TYPES, TICKET_ENRICHMENT_FIELD_CODES, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreAttributeValueSchema, TasStoreChangeSchema, TasStoreEdgeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasStoreGraphSchema, TasStoreVertexSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, TemplateDeleteResponseSchema, TemplateWriteBodySchema, TemplateWriteResponseSchema, TenantConfigAttributeSchema, TenantConfigAttributesResponseSchema, TenantConfigAttributesWriteBodySchema, TenantConfigAttributesWriteResponseSchema, TenantProductSchema, TenantProductsResponseSchema, TenantRoleSchema, TenantRolesResponseSchema, TenantService, TicketEnrichmentAlarmFieldSchema, TicketEnrichmentAlarmFieldsResponseSchema, TicketEnrichmentListResponseSchema, TicketEnrichmentMappingSchema, TicketEnrichmentRuleSchema, TicketEnrichmentWriteBodySchema, TicketEnrichmentWriteResponseSchema, TokenCreateResponseSchema, TokenDetailsSchema, TokenGetAndVerifyRequestSchema, TokenMetadataSchema, TokenQueryRequestSchema, TokenQueryResponseSchema, TokenVerifyRequestSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, UIM_LOGS_INGESTION_PATH, UpdateAgentTokenRequestSchema, UpdateTenantTokenRequestSchema, UpdateUserTokenRequestSchema, VertexGroupSchema, VertexMappingConfigurationModule, VertexService, VertexStateAlertFilterSchema, VertexStateAllFilterSchema, VertexStateAnalyticResultSchema, VertexStateAndFilterSchema, VertexStateClampSettingSchema, VertexStateCollectVertexGroupStatusFilterSchema, VertexStateEmptyFilterSchema, VertexStateExternalIdInputSchema, VertexStateExternalIdResponseSchema, VertexStateExternalIdSchema, VertexStateFetchRequestSchema, VertexStateFetchResponseSchema, VertexStateFilterSchema, VertexStateGroupResultSchema, VertexStateInputSchema, VertexStateManagementModuleFilterSchema, VertexStateMetricFilterSchema, VertexStateNamespaceFilterSchema, VertexStateNumericIdSchema, VertexStateOrFilterSchema, VertexStateProjectionSchema, VertexStateRangeRequestSchema, VertexStateRangeResponseSchema, VertexStateRepublishRequestSchema, VertexStateResponseItemSchema, VertexStateSchema, VertexStateStateFilterSchema, VertexStateStoreRequestSchema, VertexStateStoreResponseSchema, VertexStateVertexIdFilterSchema, VertexStatusChanges, ViewAccessEntrySchema, ViewAccessRoleSchema, ViewAccessSchema, ViewActiveFilterSchema, ViewAllFilterSchema, ViewAndFilterSchema, ViewAttributeExpressionSchema, ViewAttributeFilterSchema, ViewAttributesSchema, ViewBodySchema, ViewFilterSchema, ViewIdFilterSchema, ViewListResponseSchema, ViewNassSpecSchema, ViewOrFilterSchema, ViewOwnerSchema, ViewQueryRequestSchema, ViewQueryResponseSchema, ViewResponseSchema, ViewSearchRequestSchema, ViewSpecsSchema, ViewTasSpecSchema, WebhookAuthDetailsSchema, WebhookChannelSchema, WebhookSpecSchema, WebhookTestInputSchema, WebhookTestRequestSchema, WebhookTestResponseSchema, ags, agsresponse, alarmFilterDisplayColumnsFor, alertsForSliIndex, algorithmicSituationsEnabled, allAlarmQueues, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, appendSli, appendSloTriplet, authHeaderValue, buildAlarmFilterUpdateBody, buildAlarmQueueFilterExpression, buildAlarmQueueUpdateBody, buildAlertEntry, buildClusteringPolicyUpdateBody, buildEnrichmentRuleUpdateBody, buildInventoryCustomFilter, buildInventoryQueueUpdateBody, buildPolicyFilterExpression, buildSliFunction, buildSloTriplet, buildTemplateRefs, buildUimLogPayload, capVertexDetail, checkGet, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createCurlCommand, createCurlScript, createPostmanRequest, createServiceMonolith, decodeMetricTypeBits, defaultItsmPropertyList, defaultRuleName, deriveSliAs, deriveVertexName, describeClusteringCriteria, displayColumnsFor, dottedFileSlot, draftKey, encodeItsmSecret, ensureParallelAlerts, escapeRegExp, evaluate, evaluateTemplate, example, excludedAttributes, exportFileLabel, exportIncludesToken, expressionPipelineNames, extractComponentGridData, findAlertByTarget, findInventoryGroup, findProduct, findRedactedSecretPaths, findSliByName, flattenAxiosHeaders, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, formExternalId, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasTypeTagsFlag, hasVertexAttribute, impliedDxo2Version, incrementVariant, inventoryDisplayColumnsFor, inventoryQueuesOf, inventorySearchRequestBodyExample, inventorySearchResponseBody, isAlarmFilter, isAlarmQueue, isAlarmQueueNotFound, isAuthorizationHeader, isBuiltInClusteringPolicy, isBuiltInPolicy, isBuiltInTemplate, isDataStoreSchemaType, isEmptyCriteria, isInventoryQueueNotFound, isPersonalQueue, isProductProvisioned, isTemplate, isTenantToken, isUserToken, itsmMapToProperties, itsmPropertiesToMap, javaFullMatch, javaRegexToJs, javaReplaceAll, javaReplaceFirst, javaSplit, listDataStoreSchemaOps, listSlis, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, logIngestionURLForGateway, maintenanceDelete, maintenanceDeleteWindows, maintenanceFilter, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, messageGet, messageTemplateVariables, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, normalizeAlarmQueueSharing, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseExpression, parseFilter, parseSaasGateway, parseServiceNowUrl, planEnrichmentReorder, policyCategoryGuard, policyFieldBounds, policyFilterAtoms, producedMetricName, projectCustomAttributes, projectRule, pruneOrphanSloFunctions, redactChannelSecrets, reencodeItsmForWrite, removeAlert, removeSli, removeSloTriplet, resolveEnrichmentMappings, resolveWebhookPayload, sampleServiceDetailRequestBody, searchUniverse, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, sharedRoleDelta, sliHumanName, sloTripletFor, sortRulesByPriority, splitAttributePath, splitTemplate, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, tcSourceNameMatches, tcSourceNameToMmPattern, templateUsage, tenantConfigAttribute, timezonesList, toAlarmFilterWriteBody, toAlarmQueueWriteBody, toChannelWriteBody, toClusteringPolicyPreviewBody, toClusteringPolicyWriteBody, toEnrichmentRuleCreateBody, toGroupMetricsRequest, toInventoryQueueWriteBody, toItsmTestConnectionRequest, toPolicyWriteBody, toSliGroupSaveRequest, toTemplateWriteBody, toTicketEnrichmentWriteBody, tokenize, translateRuleToMmQuery, truthy, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters, visibleAlarmQueueColumns, visibleInventoryColumns };
|
|
85675
86402
|
//# sourceMappingURL=index.esm.js.map
|