@dynatrace-sdk/client-classic-environment-v2 1.3.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/cjs/index.js +3187 -2920
- package/docs/DOCS.md +393 -188
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +3187 -2920
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +91 -23
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +18 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +36 -14
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +29 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +7 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.transformation.d.ts +5 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group-info-dto.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group-info-dto.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups-info-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups-info-dto.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-info-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-info-dto.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-certificate-response-element.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-certificate-response-element.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-username-password-response-element.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-username-password-response-element.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +16 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/main-event.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/main-event.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link-update.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link-update.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link.transformation.d.ts +9 -0
- package/types/packages/http-client/src/lib/platform/http-client-response-error.d.ts +4 -1
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +2 -0
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +3 -0
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element-scopes-item.d.ts +0 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element-scopes-item.transformation.d.ts +0 -4
package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { RemediationItemsBulkMute } from '../models/remediation-items-bulk-mute'
|
|
|
6
6
|
import { RemediationItemsBulkMuteResponse } from '../models/remediation-items-bulk-mute-response';
|
|
7
7
|
import { RemediationItemsBulkUnmute } from '../models/remediation-items-bulk-unmute';
|
|
8
8
|
import { RemediationItemsBulkUnmuteResponse } from '../models/remediation-items-bulk-unmute-response';
|
|
9
|
+
import { RemediationItemsBulkUpdateDeleteDto } from '../models/remediation-items-bulk-update-delete-dto';
|
|
9
10
|
import { RemediationProgressEntityList } from '../models/remediation-progress-entity-list';
|
|
10
11
|
import { SecurityProblemDetails } from '../models/security-problem-details';
|
|
11
12
|
import { SecurityProblemEventsList } from '../models/security-problem-events-list';
|
|
@@ -25,7 +26,7 @@ export declare class SecurityProblemsClient {
|
|
|
25
26
|
/**
|
|
26
27
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SecurityProblemsClient. Custom http client should implement {HttpClient} interface.
|
|
27
28
|
* @example
|
|
28
|
-
* const
|
|
29
|
+
* const securityProblemsClientNodeJs = new SecurityProblemsClient(yourCustomImplementation);
|
|
29
30
|
*/
|
|
30
31
|
constructor(httpClientImplementation: HttpClient);
|
|
31
32
|
/**
|
|
@@ -123,9 +124,11 @@ export declare class SecurityProblemsClient {
|
|
|
123
124
|
* * `securityProblemId`: The auto-generated ID of the security problem (`+` lower number first or `-` higher number first)
|
|
124
125
|
* * `externalVulnerabilityId`: The ID of the external vulnerability (`+` lower number first or `-` higher number first)
|
|
125
126
|
* * `displayId`: The display ID (`+` lower number first or `-` higher number first)
|
|
126
|
-
* * `riskAssessment.riskScore`:
|
|
127
|
-
* * `riskAssessment.riskLevel`:
|
|
127
|
+
* * `riskAssessment.riskScore`: Davis Security Score (`+` lower score first or `-` higher score first)
|
|
128
|
+
* * `riskAssessment.riskLevel`: Davis Security Score level (`+` lower level first or `-` higher level first)
|
|
128
129
|
* * `riskAssessment.exposure`: Whether the problem is exposed to the internet
|
|
130
|
+
* * `riskAssessment.baseRiskScore`: The CVSS score (`+` lower score first or `-` higher score first)
|
|
131
|
+
* * `riskAssessment.baseRiskLevel`: The CVSS level (`+` lower level first or `-` higher level first)
|
|
129
132
|
* * `riskAssessment.dataAssets`: Whether data assets are affected
|
|
130
133
|
* * `riskAssessment.vulnerableFunctionUsage`: Whether vulnerable functions are used
|
|
131
134
|
* * `riskAssessment.assessmentAccuracy`: The assessments accuracy (`+` less accuracy first or `-` more accuracy first)
|
|
@@ -252,7 +255,7 @@ export declare class SecurityProblemsClient {
|
|
|
252
255
|
* });
|
|
253
256
|
*/
|
|
254
257
|
getSecurityProblem(config: {
|
|
255
|
-
/** The ID of the
|
|
258
|
+
/** The ID of the requested security problem. */ id: string;
|
|
256
259
|
/**
|
|
257
260
|
* A list of additional security problem properties you can add to the response.
|
|
258
261
|
*
|
|
@@ -315,7 +318,7 @@ export declare class SecurityProblemsClient {
|
|
|
315
318
|
* });
|
|
316
319
|
*/
|
|
317
320
|
getEventsForSecurityProblem(config: {
|
|
318
|
-
/** The ID of the
|
|
321
|
+
/** The ID of the requested security problem. */ id: string;
|
|
319
322
|
/**
|
|
320
323
|
* The start of the requested timeframe.
|
|
321
324
|
*
|
|
@@ -370,7 +373,7 @@ export declare class SecurityProblemsClient {
|
|
|
370
373
|
*/
|
|
371
374
|
muteSecurityProblem(config: {
|
|
372
375
|
body: SecurityProblemMute;
|
|
373
|
-
/** The ID of the
|
|
376
|
+
/** The ID of the requested security problem. */ id: string;
|
|
374
377
|
abortSignal?: AbortSignal;
|
|
375
378
|
}): Promise<void>;
|
|
376
379
|
/**
|
|
@@ -391,7 +394,7 @@ export declare class SecurityProblemsClient {
|
|
|
391
394
|
* });
|
|
392
395
|
*/
|
|
393
396
|
getRemediationItems(config: {
|
|
394
|
-
/** The ID of the
|
|
397
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
395
398
|
/**
|
|
396
399
|
* Defines the scope of the query. Only remediable entities matching the specified criteria are included in the response.
|
|
397
400
|
*
|
|
@@ -405,6 +408,7 @@ export declare class SecurityProblemsClient {
|
|
|
405
408
|
* * Vulnerable function in use contains: `assessment.vulnerableFunctionInUseContains("value")`. Possible values are `class::function`, `class::` and `function`. The `CONTAINS` operator is used. Only vulnerable functions in use are considered.
|
|
406
409
|
* * Assessment accuracy: `assessment.accuracy("value")` Possible values are `FULL` and `REDUCED`.
|
|
407
410
|
* * Entity name contains: `entityNameContains("value-1")`. The `CONTAINS` operator is used.
|
|
411
|
+
* * Tracking link display name: `trackingLink.displayNameContains("value")`. The `CONTAINS` operator is used.
|
|
408
412
|
*
|
|
409
413
|
* To set several criteria, separate them with a comma (`,`). Only results matching **all** criteria are included in the response.
|
|
410
414
|
*
|
|
@@ -432,9 +436,27 @@ export declare class SecurityProblemsClient {
|
|
|
432
436
|
*/
|
|
433
437
|
bulkMuteRemediationItems(config: {
|
|
434
438
|
body: RemediationItemsBulkMute;
|
|
435
|
-
/** The ID of the
|
|
439
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
436
440
|
abortSignal?: AbortSignal;
|
|
437
441
|
}): Promise<RemediationItemsBulkMuteResponse>;
|
|
442
|
+
/**
|
|
443
|
+
* Updates the external tracking links of the remediation items. | maturity=EARLY_ADOPTER
|
|
444
|
+
*
|
|
445
|
+
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
446
|
+
*
|
|
447
|
+
* @example <caption>Code example</caption>
|
|
448
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
449
|
+
*
|
|
450
|
+
* const data =
|
|
451
|
+
* await securityProblemsClient.trackingLinkBulkUpdateAndDelete(
|
|
452
|
+
* { id: "...", body: {} },
|
|
453
|
+
* );
|
|
454
|
+
*/
|
|
455
|
+
trackingLinkBulkUpdateAndDelete(config: {
|
|
456
|
+
body: RemediationItemsBulkUpdateDeleteDto;
|
|
457
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
458
|
+
abortSignal?: AbortSignal;
|
|
459
|
+
}): Promise<void>;
|
|
438
460
|
/**
|
|
439
461
|
* Un-mutes several remediation items
|
|
440
462
|
*
|
|
@@ -453,7 +475,7 @@ export declare class SecurityProblemsClient {
|
|
|
453
475
|
*/
|
|
454
476
|
bulkUnmuteRemediationItems(config: {
|
|
455
477
|
body: RemediationItemsBulkUnmute;
|
|
456
|
-
/** The ID of the
|
|
478
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
457
479
|
abortSignal?: AbortSignal;
|
|
458
480
|
}): Promise<RemediationItemsBulkUnmuteResponse>;
|
|
459
481
|
/**
|
|
@@ -475,7 +497,7 @@ export declare class SecurityProblemsClient {
|
|
|
475
497
|
* });
|
|
476
498
|
*/
|
|
477
499
|
getRemediationItem(config: {
|
|
478
|
-
/** The ID of the
|
|
500
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
479
501
|
/** The ID of the remediation item. */ remediationItemId: string;
|
|
480
502
|
abortSignal?: AbortSignal;
|
|
481
503
|
}): Promise<RemediationDetailsItem>;
|
|
@@ -496,7 +518,7 @@ export declare class SecurityProblemsClient {
|
|
|
496
518
|
*/
|
|
497
519
|
setRemediationItemMuteState(config: {
|
|
498
520
|
body: RemediationItemMuteStateChange;
|
|
499
|
-
/** The ID of the
|
|
521
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
500
522
|
/** The ID of the remediation item. */ remediationItemId: string;
|
|
501
523
|
abortSignal?: AbortSignal;
|
|
502
524
|
}): Promise<void>;
|
|
@@ -518,7 +540,7 @@ export declare class SecurityProblemsClient {
|
|
|
518
540
|
* );
|
|
519
541
|
*/
|
|
520
542
|
getRemediationProgressEntities(config: {
|
|
521
|
-
/** The ID of the
|
|
543
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
522
544
|
/** The ID of the remediation item. */ remediationItemId: string;
|
|
523
545
|
/**
|
|
524
546
|
* Defines the scope of the query. Only remediation progress entities matching the specified criteria are included in the response.
|
|
@@ -554,7 +576,7 @@ export declare class SecurityProblemsClient {
|
|
|
554
576
|
*/
|
|
555
577
|
unmuteSecurityProblem(config: {
|
|
556
578
|
body: SecurityProblemUnmute;
|
|
557
|
-
/** The ID of the
|
|
579
|
+
/** The ID of the requested security problem. */ id: string;
|
|
558
580
|
abortSignal?: AbortSignal;
|
|
559
581
|
}): Promise<void>;
|
|
560
582
|
/**
|
|
@@ -575,7 +597,7 @@ export declare class SecurityProblemsClient {
|
|
|
575
597
|
* });
|
|
576
598
|
*/
|
|
577
599
|
getVulnerableFunctions(config: {
|
|
578
|
-
/** The ID of the
|
|
600
|
+
/** The ID of the requested third-party security problem. */ id: string;
|
|
579
601
|
/**
|
|
580
602
|
* Defines the scope of the query. Only vulnerable functions matching the specified criteria are included in the response.
|
|
581
603
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
17
17
|
/**
|
|
18
18
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ServiceLevelObjectivesClient. Custom http client should implement {HttpClient} interface.
|
|
19
19
|
* @example
|
|
20
|
-
* const
|
|
20
|
+
* const serviceLevelObjectivesClientNodeJs = new ServiceLevelObjectivesClient(yourCustomImplementation);
|
|
21
21
|
*/
|
|
22
22
|
constructor(httpClientImplementation: HttpClient);
|
|
23
23
|
/**
|
|
@@ -99,8 +99,8 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
99
99
|
* * Health state: `healthState("HEALTHY")` or `healthState("UNHEALTHY")`. Filters for SLOs that have no related open problems (`HEALTHY`) or SLOs that have related open problems (`UNHEALTHY`). You can specify only one health state.
|
|
100
100
|
* * Text: `text("value")`. Filters for all SLOs that contain the given value in their name or description. The filter is case-insensitive.
|
|
101
101
|
* * Problem: `problemDisplayName("value")`. Filters for all SLOs that are related to a given problem display name (e.g. P-12345).
|
|
102
|
-
* * Management zone name: `managementZone("MZ-A")`. Filters for all SLOs that are related to the given management zone name.
|
|
103
|
-
* * Management zone ID: `managementZoneID("123")`. Filters for all SLOs that are related to the given management zone ID.
|
|
102
|
+
* * Management zone name: `managementZone("MZ-A")`. Filters for all SLOs that are related to the given management zone name. Returned SLOs are evaluated against the given management zone.
|
|
103
|
+
* * Management zone ID: `managementZoneID("123")`. Filters for all SLOs that are related to the given management zone ID. Returned SLOs are evaluated against the given management zone.
|
|
104
104
|
*
|
|
105
105
|
* To set several criteria, separate them with comma (`,`). Only SLOs matching all criteria are included in the response. Examples:
|
|
106
106
|
* * .../api/v2/slo?sloSelector=name("Service Availability")
|
|
@@ -13,7 +13,7 @@ export declare class SettingsObjectsClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsObjectsClient. Custom http client should implement {HttpClient} interface.
|
|
15
15
|
* @example
|
|
16
|
-
* const
|
|
16
|
+
* const settingsObjectsClientNodeJs = new SettingsObjectsClient(yourCustomImplementation);
|
|
17
17
|
*/
|
|
18
18
|
constructor(httpClientImplementation: HttpClient);
|
|
19
19
|
/**
|
|
@@ -125,6 +125,34 @@ export declare class SettingsObjectsClient {
|
|
|
125
125
|
*
|
|
126
126
|
* Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `createdBy`, `modifiedBy`, `author`, `updateToken`, `scope`, `modificationInfo`, `schemaId`, `schemaVersion`, `value`, `externalId`.
|
|
127
127
|
*/ fields?: string;
|
|
128
|
+
/**
|
|
129
|
+
* The filter parameter, as explained [here](https://dt-url.net/platform-services-filtering).
|
|
130
|
+
*
|
|
131
|
+
* Filtering is supported on the following fields:
|
|
132
|
+
* * `created`
|
|
133
|
+
* * `modified`
|
|
134
|
+
* * `createdBy`
|
|
135
|
+
* * `modifiedBy`
|
|
136
|
+
* * `author`
|
|
137
|
+
* * `value` with properties and sub-properties separated by dot (for example, `value.owningApp = 'Notebooks'`)
|
|
138
|
+
*
|
|
139
|
+
* If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 512.
|
|
140
|
+
*
|
|
141
|
+
* Note that only fields included to the response via `fields` can be used for filtering.
|
|
142
|
+
*/ filter?: string;
|
|
143
|
+
/**
|
|
144
|
+
* The sort parameter, as explained [here](https://dt-url.net/platform-services-filtering).
|
|
145
|
+
*
|
|
146
|
+
* Sorting is supported on the following fields:
|
|
147
|
+
* * `created`
|
|
148
|
+
* * `modified`
|
|
149
|
+
* * `createdBy`
|
|
150
|
+
* * `modifiedBy`
|
|
151
|
+
* * `author`
|
|
152
|
+
* * `value` with properties and sub-properties separated by dot (for example, `value.owningApp`)
|
|
153
|
+
*
|
|
154
|
+
* Note that only fields included to the response via `fields` can be used for sorting.
|
|
155
|
+
*/ sort?: string;
|
|
128
156
|
/**
|
|
129
157
|
* The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
|
|
130
158
|
*
|
|
@@ -9,7 +9,7 @@ export declare class SettingsSchemasClient {
|
|
|
9
9
|
/**
|
|
10
10
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsSchemasClient. Custom http client should implement {HttpClient} interface.
|
|
11
11
|
* @example
|
|
12
|
-
* const
|
|
12
|
+
* const settingsSchemasClientNodeJs = new SettingsSchemasClient(yourCustomImplementation);
|
|
13
13
|
*/
|
|
14
14
|
constructor(httpClientImplementation: HttpClient);
|
|
15
15
|
/**
|
|
@@ -6,7 +6,7 @@ export declare class SyntheticHttpMonitorExecutionsClient {
|
|
|
6
6
|
/**
|
|
7
7
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticHttpMonitorExecutionsClient. Custom http client should implement {HttpClient} interface.
|
|
8
8
|
* @example
|
|
9
|
-
* const
|
|
9
|
+
* const syntheticHttpMonitorExecutionsClientNodeJs = new SyntheticHttpMonitorExecutionsClient(yourCustomImplementation);
|
|
10
10
|
*/
|
|
11
11
|
constructor(httpClientImplementation: HttpClient);
|
|
12
12
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
15
15
|
/**
|
|
16
16
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticLocationsNodesAndConfigurationClient. Custom http client should implement {HttpClient} interface.
|
|
17
17
|
* @example
|
|
18
|
-
* const
|
|
18
|
+
* const syntheticLocationsNodesAndConfigurationClientNodeJs = new SyntheticLocationsNodesAndConfigurationClient(yourCustomImplementation);
|
|
19
19
|
*/
|
|
20
20
|
constructor(httpClientImplementation: HttpClient);
|
|
21
21
|
/**
|
|
@@ -14,7 +14,7 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
14
14
|
/**
|
|
15
15
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticOnDemandMonitorExecutionsClient. Custom http client should implement {HttpClient} interface.
|
|
16
16
|
* @example
|
|
17
|
-
* const
|
|
17
|
+
* const syntheticOnDemandMonitorExecutionsClientNodeJs = new SyntheticOnDemandMonitorExecutionsClient(yourCustomImplementation);
|
|
18
18
|
*/
|
|
19
19
|
constructor(httpClientImplementation: HttpClient);
|
|
20
20
|
/**
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AbstractCredentialsResponseElementScope } from './abstract-credentials-response-element-scope';
|
|
2
|
-
import { AbstractCredentialsResponseElementScopesItem } from './abstract-credentials-response-element-scopes-item';
|
|
3
2
|
import { AbstractCredentialsResponseElementType } from './abstract-credentials-response-element-type';
|
|
4
|
-
import { CredentialAccessData } from './credential-access-data';
|
|
5
3
|
import { CredentialUsageHandler } from './credential-usage-handler';
|
|
6
4
|
import { ExternalVaultConfig } from './external-vault-config';
|
|
7
5
|
/**
|
|
@@ -9,26 +7,17 @@ import { ExternalVaultConfig } from './external-vault-config';
|
|
|
9
7
|
*/
|
|
10
8
|
export interface AbstractCredentialsResponseElement {
|
|
11
9
|
/**
|
|
12
|
-
* The
|
|
13
|
-
*/
|
|
14
|
-
allowedEntities?: CredentialAccessData[];
|
|
15
|
-
/**
|
|
16
|
-
* The list contains summary data related to the use of credentials.
|
|
17
|
-
*/
|
|
18
|
-
credentialUsageSummary: CredentialUsageHandler[];
|
|
19
|
-
/**
|
|
20
|
-
* A short description of the credentials set.
|
|
10
|
+
* The name of the credentials set.
|
|
21
11
|
*/
|
|
22
|
-
|
|
23
|
-
externalVault?: ExternalVaultConfig;
|
|
12
|
+
name: string;
|
|
24
13
|
/**
|
|
25
14
|
* The ID of the credentials set.
|
|
26
15
|
*/
|
|
27
16
|
id?: string;
|
|
28
17
|
/**
|
|
29
|
-
*
|
|
18
|
+
* A short description of the credentials set.
|
|
30
19
|
*/
|
|
31
|
-
|
|
20
|
+
description: string;
|
|
32
21
|
/**
|
|
33
22
|
* The owner of the credential (user for which used API token was created).
|
|
34
23
|
*/
|
|
@@ -38,9 +27,10 @@ export interface AbstractCredentialsResponseElement {
|
|
|
38
27
|
*/
|
|
39
28
|
ownerAccessOnly: boolean;
|
|
40
29
|
scope?: AbstractCredentialsResponseElementScope;
|
|
30
|
+
externalVault?: ExternalVaultConfig;
|
|
41
31
|
/**
|
|
42
|
-
* The
|
|
32
|
+
* The list contains summary data related to the use of credentials.
|
|
43
33
|
*/
|
|
44
|
-
|
|
34
|
+
credentialUsageSummary: CredentialUsageHandler[];
|
|
45
35
|
type: AbstractCredentialsResponseElementType;
|
|
46
36
|
}
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import { AbstractCredentialsResponseElement } from './abstract-credentials-response-element';
|
|
2
2
|
import * as _AbstractCredentialsResponseElementScopeTransformation from './abstract-credentials-response-element-scope.transformation';
|
|
3
|
-
import * as _AbstractCredentialsResponseElementScopesItemTransformation from './abstract-credentials-response-element-scopes-item.transformation';
|
|
4
3
|
import * as _AbstractCredentialsResponseElementTypeTransformation from './abstract-credentials-response-element-type.transformation';
|
|
5
|
-
import * as _CredentialAccessDataTransformation from './credential-access-data.transformation';
|
|
6
4
|
import * as _CredentialUsageHandlerTransformation from './credential-usage-handler.transformation';
|
|
7
5
|
import { CredentialsDetailsCertificateResponseElement } from './credentials-details-certificate-response-element';
|
|
8
6
|
import { CredentialsDetailsTokenResponseElement } from './credentials-details-token-response-element';
|
|
9
7
|
import { CredentialsDetailsUsernamePasswordResponseElement } from './credentials-details-username-password-response-element';
|
|
10
8
|
import * as _ExternalVaultConfigTransformation from './external-vault-config.transformation';
|
|
9
|
+
export declare function isCredentialsDetailsUsernamePasswordResponseElement($model: AbstractCredentialsResponseElement): $model is CredentialsDetailsUsernamePasswordResponseElement;
|
|
11
10
|
export declare function isCredentialsDetailsCertificateResponseElement($model: AbstractCredentialsResponseElement): $model is CredentialsDetailsCertificateResponseElement;
|
|
12
11
|
export declare function isCredentialsDetailsTokenResponseElement($model: AbstractCredentialsResponseElement): $model is CredentialsDetailsTokenResponseElement;
|
|
13
|
-
export declare function isCredentialsDetailsUsernamePasswordResponseElement($model: AbstractCredentialsResponseElement): $model is CredentialsDetailsUsernamePasswordResponseElement;
|
|
14
12
|
export interface AsJson {
|
|
15
|
-
allowedEntities?: _CredentialAccessDataTransformation.AsJson[];
|
|
16
|
-
credentialUsageSummary: _CredentialUsageHandlerTransformation.AsJson[];
|
|
17
|
-
description: string;
|
|
18
|
-
externalVault?: _ExternalVaultConfigTransformation.AsJson;
|
|
19
|
-
id?: string;
|
|
20
13
|
name: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
description: string;
|
|
21
16
|
owner: string;
|
|
22
17
|
ownerAccessOnly: boolean;
|
|
23
18
|
scope?: _AbstractCredentialsResponseElementScopeTransformation.AsJson;
|
|
24
|
-
|
|
19
|
+
externalVault?: _ExternalVaultConfigTransformation.AsJson;
|
|
20
|
+
credentialUsageSummary: _CredentialUsageHandlerTransformation.AsJson[];
|
|
25
21
|
type: _AbstractCredentialsResponseElementTypeTransformation.AsJson;
|
|
26
22
|
}
|
|
27
23
|
export declare function fromJson($model: AsJson, includeChildProps?: boolean): AbstractCredentialsResponseElement;
|
package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group-info-dto.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActiveGateInfoDto } from './active-gate-info-dto';
|
|
2
|
+
/**
|
|
3
|
+
* Metadata for each ActiveGate group.
|
|
4
|
+
*/
|
|
5
|
+
export interface ActiveGateGroupInfoDto {
|
|
6
|
+
/**
|
|
7
|
+
* ActiveGates in group.
|
|
8
|
+
*/
|
|
9
|
+
activeGates?: ActiveGateInfoDto[];
|
|
10
|
+
/**
|
|
11
|
+
* Number of ActiveGates in group available for Extension.
|
|
12
|
+
*/
|
|
13
|
+
availableActiveGates?: number;
|
|
14
|
+
/**
|
|
15
|
+
* ActiveGate group name.
|
|
16
|
+
*/
|
|
17
|
+
groupName?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActiveGateGroupInfoDto } from './active-gate-group-info-dto';
|
|
2
|
+
import * as _ActiveGateInfoDtoTransformation from './active-gate-info-dto.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
activeGates?: _ActiveGateInfoDtoTransformation.AsJson[];
|
|
5
|
+
availableActiveGates?: number;
|
|
6
|
+
groupName?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): ActiveGateGroupInfoDto;
|
|
9
|
+
export declare function toJson($model: ActiveGateGroupInfoDto): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups-info-dto.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActiveGateGroupInfoDto } from './active-gate-group-info-dto';
|
|
2
|
+
/**
|
|
3
|
+
* ActiveGate groups metadata for extensions.
|
|
4
|
+
*/
|
|
5
|
+
export interface ActiveGateGroupsInfoDto {
|
|
6
|
+
/**
|
|
7
|
+
* Metadata for each ActiveGate group.
|
|
8
|
+
*/
|
|
9
|
+
activeGateGroups: ActiveGateGroupInfoDto[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as _ActiveGateGroupInfoDtoTransformation from './active-gate-group-info-dto.transformation';
|
|
2
|
+
import { ActiveGateGroupsInfoDto } from './active-gate-groups-info-dto';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
activeGateGroups: _ActiveGateGroupInfoDtoTransformation.AsJson[];
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): ActiveGateGroupsInfoDto;
|
|
7
|
+
export declare function toJson($model: ActiveGateGroupsInfoDto): AsJson;
|
|
@@ -3,6 +3,10 @@ import { AbstractCredentialsResponseElement } from './abstract-credentials-respo
|
|
|
3
3
|
* Details of certificate credentials set.
|
|
4
4
|
*/
|
|
5
5
|
export interface CredentialsDetailsCertificateResponseElement extends AbstractCredentialsResponseElement {
|
|
6
|
+
/**
|
|
7
|
+
* Base64 encoded password
|
|
8
|
+
*/
|
|
9
|
+
password?: string;
|
|
6
10
|
/**
|
|
7
11
|
* Base64 encoded certificate bytes
|
|
8
12
|
*/
|
|
@@ -11,8 +15,4 @@ export interface CredentialsDetailsCertificateResponseElement extends AbstractCr
|
|
|
11
15
|
* Certificate type: PEM, PKCS12 or UNKNOWN
|
|
12
16
|
*/
|
|
13
17
|
certificateType?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Base64 encoded password
|
|
16
|
-
*/
|
|
17
|
-
password?: string;
|
|
18
18
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _AbstractCredentialsResponseElementTransformation from './abstract-credentials-response-element.transformation';
|
|
2
2
|
import { CredentialsDetailsCertificateResponseElement } from './credentials-details-certificate-response-element';
|
|
3
3
|
export interface AsJson extends _AbstractCredentialsResponseElementTransformation.AsJson {
|
|
4
|
+
password?: string;
|
|
4
5
|
certificate?: string;
|
|
5
6
|
certificateType?: string;
|
|
6
|
-
password?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function fromJson($model: AsJson): CredentialsDetailsCertificateResponseElement;
|
|
9
9
|
export declare function toJson($model: CredentialsDetailsCertificateResponseElement): AsJson;
|
|
@@ -3,12 +3,12 @@ import { AbstractCredentialsResponseElement } from './abstract-credentials-respo
|
|
|
3
3
|
* Details of username and password credentials set.
|
|
4
4
|
*/
|
|
5
5
|
export interface CredentialsDetailsUsernamePasswordResponseElement extends AbstractCredentialsResponseElement {
|
|
6
|
-
/**
|
|
7
|
-
* Plain text password value
|
|
8
|
-
*/
|
|
9
|
-
password?: string;
|
|
10
6
|
/**
|
|
11
7
|
* Plain text username value
|
|
12
8
|
*/
|
|
13
9
|
username?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Plain text password value
|
|
12
|
+
*/
|
|
13
|
+
password?: string;
|
|
14
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _AbstractCredentialsResponseElementTransformation from './abstract-credentials-response-element.transformation';
|
|
2
2
|
import { CredentialsDetailsUsernamePasswordResponseElement } from './credentials-details-username-password-response-element';
|
|
3
3
|
export interface AsJson extends _AbstractCredentialsResponseElementTransformation.AsJson {
|
|
4
|
-
password?: string;
|
|
5
4
|
username?: string;
|
|
5
|
+
password?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare function fromJson($model: AsJson): CredentialsDetailsUsernamePasswordResponseElement;
|
|
8
8
|
export declare function toJson($model: CredentialsDetailsUsernamePasswordResponseElement): AsJson;
|
|
@@ -2,8 +2,6 @@ export * from './abstract-credentials-response-element';
|
|
|
2
2
|
export * as _AbstractCredentialsResponseElementTransformation from './abstract-credentials-response-element.transformation';
|
|
3
3
|
export * from './abstract-credentials-response-element-scope';
|
|
4
4
|
export * as _AbstractCredentialsResponseElementScopeTransformation from './abstract-credentials-response-element-scope.transformation';
|
|
5
|
-
export * from './abstract-credentials-response-element-scopes-item';
|
|
6
|
-
export * as _AbstractCredentialsResponseElementScopesItemTransformation from './abstract-credentials-response-element-scopes-item.transformation';
|
|
7
5
|
export * from './abstract-credentials-response-element-type';
|
|
8
6
|
export * as _AbstractCredentialsResponseElementTypeTransformation from './abstract-credentials-response-element-type.transformation';
|
|
9
7
|
export * from './abstract-slo-alert-dto';
|
|
@@ -26,6 +24,12 @@ export * from './active-gate-global-auto-update-config';
|
|
|
26
24
|
export * as _ActiveGateGlobalAutoUpdateConfigTransformation from './active-gate-global-auto-update-config.transformation';
|
|
27
25
|
export * from './active-gate-global-auto-update-config-global-setting';
|
|
28
26
|
export * as _ActiveGateGlobalAutoUpdateConfigGlobalSettingTransformation from './active-gate-global-auto-update-config-global-setting.transformation';
|
|
27
|
+
export * from './active-gate-group-info-dto';
|
|
28
|
+
export * as _ActiveGateGroupInfoDtoTransformation from './active-gate-group-info-dto.transformation';
|
|
29
|
+
export * from './active-gate-groups-info-dto';
|
|
30
|
+
export * as _ActiveGateGroupsInfoDtoTransformation from './active-gate-groups-info-dto.transformation';
|
|
31
|
+
export * from './active-gate-info-dto';
|
|
32
|
+
export * as _ActiveGateInfoDtoTransformation from './active-gate-info-dto.transformation';
|
|
29
33
|
export * from './active-gate-list';
|
|
30
34
|
export * as _ActiveGateListTransformation from './active-gate-list.transformation';
|
|
31
35
|
export * from './active-gate-module';
|
|
@@ -494,6 +498,8 @@ export * from './log-records-list';
|
|
|
494
498
|
export * as _LogRecordsListTransformation from './log-records-list.transformation';
|
|
495
499
|
export * from './me-tag';
|
|
496
500
|
export * as _METagTransformation from './me-tag.transformation';
|
|
501
|
+
export * from './main-event';
|
|
502
|
+
export * as _MainEventTransformation from './main-event.transformation';
|
|
497
503
|
export * from './maintenance-window-evidence';
|
|
498
504
|
export * as _MaintenanceWindowEvidenceTransformation from './maintenance-window-evidence.transformation';
|
|
499
505
|
export * from './management-zone';
|
|
@@ -692,6 +698,10 @@ export * from './remediation-items-bulk-unmute-reason';
|
|
|
692
698
|
export * as _RemediationItemsBulkUnmuteReasonTransformation from './remediation-items-bulk-unmute-reason.transformation';
|
|
693
699
|
export * from './remediation-items-bulk-unmute-response';
|
|
694
700
|
export * as _RemediationItemsBulkUnmuteResponseTransformation from './remediation-items-bulk-unmute-response.transformation';
|
|
701
|
+
export * from './remediation-items-bulk-update-delete-dto';
|
|
702
|
+
export * as _RemediationItemsBulkUpdateDeleteDtoTransformation from './remediation-items-bulk-update-delete-dto.transformation';
|
|
703
|
+
export * from './remediation-items-bulk-update-delete-dto-updates';
|
|
704
|
+
export * as _RemediationItemsBulkUpdateDeleteDtoUpdatesTransformation from './remediation-items-bulk-update-delete-dto-updates.transformation';
|
|
695
705
|
export * from './remediation-progress';
|
|
696
706
|
export * as _RemediationProgressTransformation from './remediation-progress.transformation';
|
|
697
707
|
export * from './remediation-progress-entity';
|
|
@@ -938,6 +948,10 @@ export * from './to-position';
|
|
|
938
948
|
export * as _ToPositionTransformation from './to-position.transformation';
|
|
939
949
|
export * from './token-credentials';
|
|
940
950
|
export * as _TokenCredentialsTransformation from './token-credentials.transformation';
|
|
951
|
+
export * from './tracking-link';
|
|
952
|
+
export * as _TrackingLinkTransformation from './tracking-link.transformation';
|
|
953
|
+
export * from './tracking-link-update';
|
|
954
|
+
export * as _TrackingLinkUpdateTransformation from './tracking-link-update.transformation';
|
|
941
955
|
export * from './transactional-evidence';
|
|
942
956
|
export * as _TransactionalEvidenceTransformation from './transactional-evidence.transformation';
|
|
943
957
|
export * from './ui-button-customization';
|
|
@@ -103,10 +103,12 @@ Supported semantic attribute keys:
|
|
|
103
103
|
* dt.entity.container_group_instance
|
|
104
104
|
* dt.entity.custom_device
|
|
105
105
|
* dt.entity.host
|
|
106
|
+
* dt.entity.host_group
|
|
106
107
|
* dt.entity.kubernetes_cluster
|
|
107
108
|
* dt.entity.kubernetes_node
|
|
108
109
|
* dt.entity.process_group
|
|
109
110
|
* dt.entity.process_group_instance
|
|
111
|
+
* dt.entity.service
|
|
110
112
|
* dt.event.group_label
|
|
111
113
|
* dt.event.key
|
|
112
114
|
* dt.events.root_cause_relevant
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The main event of a problem, determined by matching root cause entity id or first event.
|
|
3
|
+
*/
|
|
4
|
+
export interface MainEvent {
|
|
5
|
+
/**
|
|
6
|
+
* The description of the event.
|
|
7
|
+
*/
|
|
8
|
+
description?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The title of the event.
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare enum MonitoredEntityStatesState {
|
|
5
5
|
AgentInjectionStatusGoDynamizerFailed = "agent_injection_status_go_dynamizer_failed",
|
|
6
|
+
AgentInjectionStatusGoPclntabFailed = "agent_injection_status_go_pclntab_failed",
|
|
6
7
|
AgentInjectionStatusGoVertigoSupportAdded = "agent_injection_status_go_vertigo_support_added",
|
|
7
8
|
AgentInjectionStatusNginxPatchedBinaryDetected = "agent_injection_status_nginx_patched_binary_detected",
|
|
8
9
|
AgentInjectionStatusPhpOpcacheDisabled = "agent_injection_status_php_opcache_disabled",
|
|
@@ -7,6 +7,16 @@ export interface MonitoredStates {
|
|
|
7
7
|
* A list of process group instances and their monitoring states.
|
|
8
8
|
*/
|
|
9
9
|
monitoringStates?: MonitoredEntityStates[];
|
|
10
|
+
/**
|
|
11
|
+
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
12
|
+
*
|
|
13
|
+
* Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
|
|
14
|
+
*/
|
|
15
|
+
nextPageKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The number of entries per page.
|
|
18
|
+
*/
|
|
19
|
+
pageSize?: number;
|
|
10
20
|
/**
|
|
11
21
|
* The total number of entities in the response.
|
|
12
22
|
*/
|
|
@@ -2,6 +2,8 @@ import * as _MonitoredEntityStatesTransformation from './monitored-entity-states
|
|
|
2
2
|
import { MonitoredStates } from './monitored-states';
|
|
3
3
|
export interface AsJson {
|
|
4
4
|
monitoringStates?: _MonitoredEntityStatesTransformation.AsJson[];
|
|
5
|
+
nextPageKey?: string;
|
|
6
|
+
pageSize?: number;
|
|
5
7
|
totalCount?: number;
|
|
6
8
|
}
|
|
7
9
|
export declare function fromJson($model: AsJson): MonitoredStates;
|
|
@@ -4,6 +4,7 @@ import { EntityStub } from './entity-stub';
|
|
|
4
4
|
import { EvidenceDetails } from './evidence-details';
|
|
5
5
|
import { ImpactAnalysis } from './impact-analysis';
|
|
6
6
|
import { LinkedProblem } from './linked-problem';
|
|
7
|
+
import { MainEvent } from './main-event';
|
|
7
8
|
import { ManagementZone } from './management-zone';
|
|
8
9
|
import { METag } from './me-tag';
|
|
9
10
|
import { ProblemImpactLevel } from './problem-impact-level';
|
|
@@ -39,6 +40,7 @@ export interface Problem {
|
|
|
39
40
|
*/
|
|
40
41
|
impactedEntities: EntityStub[];
|
|
41
42
|
linkedProblemInfo?: LinkedProblem;
|
|
43
|
+
mainEvent?: MainEvent;
|
|
42
44
|
/**
|
|
43
45
|
* A list of all management zones that the problem belongs to.
|
|
44
46
|
*/
|