@dynatrace-sdk/client-classic-environment-v2 5.1.0 → 5.2.3
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 +25 -0
- package/README.md +647 -212
- package/cjs/index.js +729 -80
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +729 -80
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +11 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +1 -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-locations-nodes-and-configuration-api.d.ts +81 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/availability-evidence.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/cookie-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-performance-metric.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/hashicorp-approle.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/interaction-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/java-script-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/key-strokes-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/maintenance-window-evidence.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/navigate-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/node-collection-element.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/node.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-authentication-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-keystrokes-input-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/public-certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/public-synthetic-location.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-authentication-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event-reason.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/service-impact.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/store-log-query-structure.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-primary-grail-tag-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-public-location-update.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-wait-condition-dto.d.ts +2 -2
- package/types/packages/http-client/src/index.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/abort-controller.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/abort-signal.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/apply-content-type-header.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/base-error.d.ts +0 -5
- package/types/packages/http-client/src/lib/platform/binary.d.ts +0 -13
- package/types/packages/http-client/src/lib/platform/data-type-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/decode-form-data.d.ts +0 -48
- package/types/packages/http-client/src/lib/platform/decode-response-body.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/default-status-validator.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/encode-request-body.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/http-client-abort-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-request-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-response-error-serializer.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/http-client-response-error.d.ts +0 -11
- package/types/packages/http-client/src/lib/platform/http-client-response.d.ts +0 -10
- package/types/packages/http-client/src/lib/platform/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/platform/index.d.ts +0 -12
- package/types/packages/http-client/src/lib/platform/oauth-http-client.d.ts +0 -41
- package/types/packages/http-client/src/lib/platform/unsupported-operation-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/abort-controller.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/abort-signal.d.ts +0 -18
- package/types/packages/http-client/src/lib/types/base-error.d.ts +0 -4
- package/types/packages/http-client/src/lib/types/binary.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/data-type-error.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/data-types.d.ts +0 -36
- package/types/packages/http-client/src/lib/types/form-data-request-body.d.ts +0 -83
- package/types/packages/http-client/src/lib/types/form-data-response-body.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/headers.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/http-client-abort-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-network-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-options.d.ts +0 -42
- package/types/packages/http-client/src/lib/types/http-client-response-error.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/http-client-response.d.ts +0 -33
- package/types/packages/http-client/src/lib/types/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/types/index.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/request-body-types.d.ts +0 -26
- package/types/packages/http-client/src/lib/types/response-body-types.d.ts +0 -46
- package/types/packages/http-client/src/lib/types/status-validator.d.ts +0 -7
- package/types/packages/http-client/src/lib/types/unsupported-operation-error.d.ts +0 -14
- package/types/packages/platform/error-handlers/src/index.d.ts +0 -2
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +0 -5
- package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +0 -9
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +0 -7
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +0 -10
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +0 -16
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +0 -6
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +0 -10
- package/types/packages/platform/shared/index.d.ts +0 -1
- package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +0 -1
- package/types/packages/shared-errors/src/api-client-error.d.ts +0 -23
- package/types/packages/shared-errors/src/api-gateway-error.d.ts +0 -37
- package/types/packages/shared-errors/src/client-request-error.d.ts +0 -39
- package/types/packages/shared-errors/src/index.d.ts +0 -5
- package/types/packages/shared-errors/src/invalid-response-error.d.ts +0 -26
- package/types/packages/shared-errors/src/types.d.ts +0 -88
|
@@ -188,6 +188,7 @@ Please refer to the following documentation pages:
|
|
|
188
188
|
* dt.kubernetes.workload.kind
|
|
189
189
|
* dt.kubernetes.workload.name
|
|
190
190
|
* dt.network_zone.id
|
|
191
|
+
* dt.openpipeline.source
|
|
191
192
|
* dt.os.description
|
|
192
193
|
* dt.os.type
|
|
193
194
|
* dt.process.commandline
|
|
@@ -231,6 +232,7 @@ Please refer to the following documentation pages:
|
|
|
231
232
|
* http.url
|
|
232
233
|
* journald.unit
|
|
233
234
|
* k8s.cluster.name
|
|
235
|
+
* k8s.cluster.uid
|
|
234
236
|
* k8s.container.name
|
|
235
237
|
* k8s.cronjob.name
|
|
236
238
|
* k8s.cronjob.uid
|
|
@@ -241,10 +243,12 @@ Please refer to the following documentation pages:
|
|
|
241
243
|
* k8s.job.name
|
|
242
244
|
* k8s.job.uid
|
|
243
245
|
* k8s.namespace.name
|
|
246
|
+
* k8s.node.name
|
|
244
247
|
* k8s.pod.name
|
|
245
248
|
* k8s.pod.uid
|
|
246
249
|
* k8s.replicaset.name
|
|
247
250
|
* k8s.replicaset.uid
|
|
251
|
+
* k8s.service.name
|
|
248
252
|
* k8s.statefulset.name
|
|
249
253
|
* k8s.statefulset.uid
|
|
250
254
|
* k8s.workload.kind
|
|
@@ -258,6 +262,7 @@ Please refer to the following documentation pages:
|
|
|
258
262
|
* net.peer.name
|
|
259
263
|
* net.peer.port
|
|
260
264
|
* net.transport
|
|
265
|
+
* otel.scope.name
|
|
261
266
|
* process.technology
|
|
262
267
|
* service.instance.id
|
|
263
268
|
* service.name
|
package/types/packages/client/classic-environment-v2/src/lib/models/maintenance-window-evidence.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ export interface MaintenanceWindowEvidence extends Evidence {
|
|
|
8
8
|
/**
|
|
9
9
|
* The end time of the evidence, in UTC milliseconds.
|
|
10
10
|
*/
|
|
11
|
-
endTime
|
|
11
|
+
endTime: number;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the related maintenance window.
|
|
14
14
|
*/
|
|
15
|
-
maintenanceWindowConfigId
|
|
15
|
+
maintenanceWindowConfigId: string;
|
|
16
16
|
}
|
|
@@ -10,21 +10,21 @@ export interface MetricEvidence extends Evidence {
|
|
|
10
10
|
*
|
|
11
11
|
* The value `null` indicates that the evidence is still open.
|
|
12
12
|
*/
|
|
13
|
-
endTime
|
|
13
|
+
endTime: number;
|
|
14
14
|
/**
|
|
15
15
|
* The ID of the metric.
|
|
16
16
|
*/
|
|
17
|
-
metricId
|
|
17
|
+
metricId: string;
|
|
18
18
|
/**
|
|
19
19
|
* The unit of the metric.
|
|
20
20
|
*/
|
|
21
|
-
unit
|
|
21
|
+
unit: 'Ampere' | 'Billion' | 'Bit' | 'BitPerHour' | 'BitPerMinute' | 'BitPerSecond' | 'Byte' | 'BytePerHour' | 'BytePerMinute' | 'BytePerSecond' | 'Cores' | 'Count' | 'Day' | 'DecibelMilliWatt' | 'GibiByte' | 'GibiBytePerHour' | 'GibiBytePerMinute' | 'GibiBytePerSecond' | 'Giga' | 'GigaByte' | 'GigaBytePerHour' | 'GigaBytePerMinute' | 'GigaBytePerSecond' | 'Hertz' | 'Hour' | 'KibiByte' | 'KibiBytePerHour' | 'KibiBytePerMinute' | 'KibiBytePerSecond' | 'Kilo' | 'KiloByte' | 'KiloBytePerHour' | 'KiloBytePerMinute' | 'KiloBytePerSecond' | 'KiloMetrePerHour' | 'MSU' | 'MebiByte' | 'MebiBytePerHour' | 'MebiBytePerMinute' | 'MebiBytePerSecond' | 'Mega' | 'MegaByte' | 'MegaBytePerHour' | 'MegaBytePerMinute' | 'MegaBytePerSecond' | 'MetrePerHour' | 'MetrePerSecond' | 'MicroSecond' | 'MilliCores' | 'MilliSecond' | 'MilliSecondPerMinute' | 'Million' | 'Minute' | 'Month' | 'NanoSecond' | 'NanoSecondPerMinute' | 'NotApplicable' | 'PerHour' | 'PerMinute' | 'PerSecond' | 'Percent' | 'Pixel' | 'Promille' | 'Ratio' | 'Second' | 'State' | 'Trillion' | 'Unspecified' | 'Volt' | 'Watt' | 'Week' | 'Year';
|
|
22
22
|
/**
|
|
23
23
|
* The metric's value after the problem start.
|
|
24
24
|
*/
|
|
25
|
-
valueAfterChangePoint
|
|
25
|
+
valueAfterChangePoint: number;
|
|
26
26
|
/**
|
|
27
27
|
* The metric's value before the problem start.
|
|
28
28
|
*/
|
|
29
|
-
valueBeforeChangePoint
|
|
29
|
+
valueBeforeChangePoint: number;
|
|
30
30
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface MonitoredEntityStateParam {
|
|
5
5
|
/**
|
|
6
|
-
* The key of the monitoring state
|
|
6
|
+
* The key of the monitoring state parameter.
|
|
7
7
|
*/
|
|
8
8
|
key?: string;
|
|
9
9
|
/**
|
|
10
|
-
* The value of the monitoring state
|
|
10
|
+
* The value of the monitoring state parameter.
|
|
11
11
|
*/
|
|
12
12
|
values?: string;
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MonitoredEntityStates } from './monitored-entity-states';
|
|
2
2
|
/**
|
|
3
|
-
* A list of
|
|
3
|
+
* A list of process group instances and their monitoring states.
|
|
4
4
|
*/
|
|
5
5
|
export interface MonitoredStates {
|
|
6
6
|
/**
|
|
@@ -18,7 +18,7 @@ export interface MonitoredStates {
|
|
|
18
18
|
*/
|
|
19
19
|
pageSize?: number;
|
|
20
20
|
/**
|
|
21
|
-
* The total number of
|
|
21
|
+
* The total number of unique process group instances in the response.
|
|
22
22
|
*/
|
|
23
23
|
totalCount?: number;
|
|
24
24
|
}
|
|
@@ -29,7 +29,7 @@ export interface NetworkZone {
|
|
|
29
29
|
/**
|
|
30
30
|
* The number of OneAgents from other network zones that are using ActiveGates in the network zone.
|
|
31
31
|
*
|
|
32
|
-
* This is a fraction of
|
|
32
|
+
* This is a fraction of **numOfOneAgentsUsing**.
|
|
33
33
|
*
|
|
34
34
|
* One possible reason for switching to another zone is that a firewall is preventing a OneAgent from connecting to any ActiveGate in the preferred network zone.
|
|
35
35
|
*/
|
|
@@ -6,13 +6,13 @@ export interface PublicCertificateCredentials extends Credentials {
|
|
|
6
6
|
/**
|
|
7
7
|
* The certificate in the string format.
|
|
8
8
|
*/
|
|
9
|
-
certificate
|
|
9
|
+
certificate: string;
|
|
10
10
|
/**
|
|
11
11
|
* The certificate format.
|
|
12
12
|
*/
|
|
13
|
-
certificateFormat
|
|
13
|
+
certificateFormat: 'PEM' | 'PKCS12' | 'UNKNOWN';
|
|
14
14
|
/**
|
|
15
15
|
* The password of the credential (not supported).
|
|
16
16
|
*/
|
|
17
|
-
password
|
|
17
|
+
password: string;
|
|
18
18
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/public-synthetic-location.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ export interface PublicSyntheticLocation extends SyntheticLocation {
|
|
|
8
8
|
/**
|
|
9
9
|
* The type of the browser the location is using to execute browser monitors.
|
|
10
10
|
*/
|
|
11
|
-
browserType
|
|
11
|
+
browserType: string;
|
|
12
12
|
/**
|
|
13
13
|
* The version of the browser the location is using to execute browser monitors.
|
|
14
14
|
*/
|
|
15
|
-
browserVersion
|
|
15
|
+
browserVersion: string;
|
|
16
16
|
/**
|
|
17
17
|
* A list of location capabilities.
|
|
18
18
|
*/
|
|
@@ -20,13 +20,13 @@ export interface PublicSyntheticLocation extends SyntheticLocation {
|
|
|
20
20
|
/**
|
|
21
21
|
* The cloud provider where the location is hosted.
|
|
22
22
|
*/
|
|
23
|
-
cloudPlatform
|
|
23
|
+
cloudPlatform: 'ALIBABA' | 'AMAZON_EC2' | 'AZURE' | 'DYNATRACE_CLOUD' | 'GOOGLE_CLOUD' | 'INTEROUTE' | 'OTHER' | 'UNDEFINED';
|
|
24
24
|
/**
|
|
25
25
|
* The list of IP addresses assigned to the location.
|
|
26
26
|
*/
|
|
27
|
-
ips
|
|
27
|
+
ips: string[];
|
|
28
28
|
/**
|
|
29
29
|
* The stage of the location.
|
|
30
30
|
*/
|
|
31
|
-
stage
|
|
31
|
+
stage: 'BETA' | 'COMING_SOON' | 'DELETED' | 'GA';
|
|
32
32
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AnyValue } from './any-value';
|
|
2
2
|
import { HistoryModificationInfo } from './history-modification-info';
|
|
3
|
+
import { Identity } from './identity';
|
|
3
4
|
/**
|
|
4
5
|
* The diff between two revisions.
|
|
5
6
|
*/
|
|
@@ -28,6 +29,14 @@ export interface RevisionDiff {
|
|
|
28
29
|
* The ID of the settings object.
|
|
29
30
|
*/
|
|
30
31
|
objectId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* An Identity describing either a user, a group, or the all-users group (applying to all users).
|
|
34
|
+
*/
|
|
35
|
+
ownerAfter?: Identity;
|
|
36
|
+
/**
|
|
37
|
+
* An Identity describing either a user, a group, or the all-users group (applying to all users).
|
|
38
|
+
*/
|
|
39
|
+
ownerBefore?: Identity;
|
|
31
40
|
/**
|
|
32
41
|
* The revision of the change.
|
|
33
42
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The maturity of the schema.
|
|
3
|
+
* Possible values:
|
|
4
|
+
* - PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
|
|
5
|
+
* - EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
|
|
6
|
+
* - GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.
|
|
7
|
+
*
|
|
8
|
+
* In any case, automations should make use of the `schemaVersion` field when writing settings objects.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated Use literal values.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum SchemaDefinitionRestDtoMaturity {
|
|
13
|
+
EarlyAdopter = "EARLY_ADOPTER",
|
|
14
|
+
GeneralAvailability = "GENERAL_AVAILABILITY",
|
|
15
|
+
Preview = "PREVIEW"
|
|
16
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts
CHANGED
|
@@ -44,6 +44,16 @@ export interface SchemaDefinitionRestDto {
|
|
|
44
44
|
* Name of the key property in this schema.
|
|
45
45
|
*/
|
|
46
46
|
keyProperty?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The maturity of the schema.
|
|
49
|
+
* Possible values:
|
|
50
|
+
* - PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
|
|
51
|
+
* - EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
|
|
52
|
+
* - GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.
|
|
53
|
+
*
|
|
54
|
+
* In any case, automations should make use of the `schemaVersion` field when writing settings objects.
|
|
55
|
+
*/
|
|
56
|
+
maturity?: 'EARLY_ADOPTER' | 'GENERAL_AVAILABILITY' | 'PREVIEW';
|
|
47
57
|
/**
|
|
48
58
|
* The maximum amount of objects per scope.
|
|
49
59
|
*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The maturity of the schema.
|
|
3
|
+
* Possible values:
|
|
4
|
+
* - PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
|
|
5
|
+
* - EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
|
|
6
|
+
* - GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.
|
|
7
|
+
*
|
|
8
|
+
* In any case, automations should make use of the `schemaVersion` field when writing settings objects.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated Use literal values.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum SchemaStubMaturity {
|
|
13
|
+
EarlyAdopter = "EARLY_ADOPTER",
|
|
14
|
+
GeneralAvailability = "GENERAL_AVAILABILITY",
|
|
15
|
+
Preview = "PREVIEW"
|
|
16
|
+
}
|
|
@@ -10,6 +10,16 @@ export interface SchemaStub {
|
|
|
10
10
|
* The most recent version of the schema.
|
|
11
11
|
*/
|
|
12
12
|
latestSchemaVersion?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The maturity of the schema.
|
|
15
|
+
* Possible values:
|
|
16
|
+
* - PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
|
|
17
|
+
* - EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
|
|
18
|
+
* - GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.
|
|
19
|
+
*
|
|
20
|
+
* In any case, automations should make use of the `schemaVersion` field when writing settings objects.
|
|
21
|
+
*/
|
|
22
|
+
maturity?: 'EARLY_ADOPTER' | 'GENERAL_AVAILABILITY' | 'PREVIEW';
|
|
13
23
|
/**
|
|
14
24
|
* Multi-object flag. `True` if the schema is a multi-object schema
|
|
15
25
|
*/
|
package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export interface SecureKeystrokesInputDto extends KeystrokesInputDto {
|
|
|
6
6
|
/**
|
|
7
7
|
* Enum value of the credential field.
|
|
8
8
|
*/
|
|
9
|
-
credentialField
|
|
9
|
+
credentialField: 'USERNAME' | 'PASSWORD' | 'TOKEN';
|
|
10
10
|
/**
|
|
11
11
|
* String value containing the credential id.
|
|
12
12
|
*/
|
|
13
|
-
credentialId
|
|
13
|
+
credentialId: string;
|
|
14
14
|
}
|
|
@@ -9,5 +9,7 @@ export declare enum SecurityProblemEventReason {
|
|
|
9
9
|
SecurityProblemMuted = "SECURITY_PROBLEM_MUTED",
|
|
10
10
|
SecurityProblemReopened = "SECURITY_PROBLEM_REOPENED",
|
|
11
11
|
SecurityProblemResolved = "SECURITY_PROBLEM_RESOLVED",
|
|
12
|
-
SecurityProblemUnmuted = "SECURITY_PROBLEM_UNMUTED"
|
|
12
|
+
SecurityProblemUnmuted = "SECURITY_PROBLEM_UNMUTED",
|
|
13
|
+
VulnerabilityDiscontinued = "VULNERABILITY_DISCONTINUED",
|
|
14
|
+
VulnerabilityIdChanged = "VULNERABILITY_ID_CHANGED"
|
|
13
15
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface SecurityProblemEvent {
|
|
|
11
11
|
/**
|
|
12
12
|
* The reason of the event creation.
|
|
13
13
|
*/
|
|
14
|
-
reason?: 'ASSESSMENT_CHANGED' | 'SECURITY_PROBLEM_CREATED' | 'SECURITY_PROBLEM_MUTED' | 'SECURITY_PROBLEM_REOPENED' | 'SECURITY_PROBLEM_RESOLVED' | 'SECURITY_PROBLEM_UNMUTED';
|
|
14
|
+
reason?: 'ASSESSMENT_CHANGED' | 'SECURITY_PROBLEM_CREATED' | 'SECURITY_PROBLEM_MUTED' | 'SECURITY_PROBLEM_REOPENED' | 'SECURITY_PROBLEM_RESOLVED' | 'SECURITY_PROBLEM_UNMUTED' | 'VULNERABILITY_DISCONTINUED' | 'VULNERABILITY_ID_CHANGED';
|
|
15
15
|
/**
|
|
16
16
|
* A snapshot of the risk assessment of a security problem.
|
|
17
17
|
*/
|
|
@@ -22,9 +22,9 @@ export interface SNMPV3Credentials extends Credentials {
|
|
|
22
22
|
/**
|
|
23
23
|
* The security level, supported levels: AUTH_PRIV, NO_AUTH_NO_PRIV, AUTH_NO_PRIV
|
|
24
24
|
*/
|
|
25
|
-
securityLevel
|
|
25
|
+
securityLevel: 'AUTH_NO_PRIV' | 'AUTH_PRIV' | 'NO_AUTH_NO_PRIV';
|
|
26
26
|
/**
|
|
27
27
|
* User name value
|
|
28
28
|
*/
|
|
29
|
-
username
|
|
29
|
+
username: string;
|
|
30
30
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BrowserPermissionsDto } from './browser-permissions-dto';
|
|
2
2
|
import { ChromiumStartupFlagsDto } from './chromium-startup-flags-dto';
|
|
3
3
|
import { ClientCertificateDto } from './client-certificate-dto';
|
|
4
|
+
import { EnablementDto } from './enablement-dto';
|
|
4
5
|
import { FilteredRequestsDto } from './filtered-requests-dto';
|
|
5
6
|
import { IgnoredErrorCodesDto } from './ignored-error-codes-dto';
|
|
6
7
|
import { JavaScriptAgentSettingsDto } from './java-script-agent-settings-dto';
|
|
@@ -42,6 +43,10 @@ export interface SyntheticBrowserMonitorConfigurationDto {
|
|
|
42
43
|
* Test device of a Browser Monitor.
|
|
43
44
|
*/
|
|
44
45
|
device: TestDeviceDto;
|
|
46
|
+
/**
|
|
47
|
+
* Browser monitor enablement settings.
|
|
48
|
+
*/
|
|
49
|
+
enablement?: EnablementDto;
|
|
45
50
|
/**
|
|
46
51
|
* Experimental properties list.
|
|
47
52
|
*/
|
|
@@ -3,6 +3,7 @@ import { SyntheticBrowserMonitorConfigurationDto } from './synthetic-browser-mon
|
|
|
3
3
|
import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
|
|
4
4
|
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
5
5
|
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
6
|
+
import { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
6
7
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
7
8
|
/**
|
|
8
9
|
* Browser monitor update.
|
|
@@ -44,6 +45,10 @@ export interface SyntheticBrowserMonitorRequest {
|
|
|
44
45
|
* Performance thresholds configuration.
|
|
45
46
|
*/
|
|
46
47
|
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
48
|
+
/**
|
|
49
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
50
|
+
*/
|
|
51
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
47
52
|
/**
|
|
48
53
|
* The steps of the monitor.
|
|
49
54
|
*/
|
|
@@ -3,6 +3,7 @@ import { SyntheticBrowserMonitorConfigurationDto } from './synthetic-browser-mon
|
|
|
3
3
|
import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
|
|
4
4
|
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
5
5
|
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
6
|
+
import { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
6
7
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
7
8
|
/**
|
|
8
9
|
* Browser Monitor.
|
|
@@ -56,6 +57,10 @@ export interface SyntheticBrowserMonitorResponse {
|
|
|
56
57
|
* Performance thresholds configuration.
|
|
57
58
|
*/
|
|
58
59
|
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
60
|
+
/**
|
|
61
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
62
|
+
*/
|
|
63
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
59
64
|
/**
|
|
60
65
|
* The steps of the monitor.
|
|
61
66
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Indicates the origin of these settings.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Use literal values.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum SyntheticMonitorOutageHandlingSettingsDtoOrigin {
|
|
7
|
+
Monitor = "MONITOR",
|
|
8
|
+
Tenant = "TENANT",
|
|
9
|
+
Default = "DEFAULT",
|
|
10
|
+
Unknown = "UNKNOWN"
|
|
11
|
+
}
|
|
@@ -22,4 +22,8 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
|
|
|
22
22
|
* Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
|
|
23
23
|
*/
|
|
24
24
|
localOutages: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates the origin of these settings.
|
|
27
|
+
*/
|
|
28
|
+
origin?: 'MONITOR' | 'TENANT' | 'DEFAULT' | 'UNKNOWN';
|
|
25
29
|
}
|
|
@@ -7,27 +7,27 @@ export interface SyntheticMonitorPerformanceThresholdDto {
|
|
|
7
7
|
*/
|
|
8
8
|
aggregation?: 'AVG' | 'MAX' | 'MIN';
|
|
9
9
|
/**
|
|
10
|
-
* Number of most recent non-violating request executions that closes the problem
|
|
10
|
+
* Number of most recent non-violating request executions that closes the problem.
|
|
11
11
|
*/
|
|
12
12
|
dealertingSamples?: number;
|
|
13
13
|
/**
|
|
14
|
-
* Number of request executions in analyzed sliding window (sliding window size)
|
|
14
|
+
* Number of request executions in analyzed sliding window (sliding window size).
|
|
15
15
|
*/
|
|
16
16
|
samples?: number;
|
|
17
17
|
/**
|
|
18
|
-
* Specify the step's index to which a threshold applies.
|
|
18
|
+
* Specify the step's index to which a threshold applies. If threshold is monitor-level, no index is needed.
|
|
19
19
|
*/
|
|
20
20
|
stepIndex?: number;
|
|
21
21
|
/**
|
|
22
|
-
* Notify if monitor request takes longer than *X*
|
|
22
|
+
* Notify if monitor request takes longer than *X* time units to execute. For Network Availability monitors the time unit is milliseconds, for browser monitors - seconds.
|
|
23
23
|
*/
|
|
24
24
|
threshold: number;
|
|
25
25
|
/**
|
|
26
|
-
* Type of performance threshold
|
|
26
|
+
* Type of performance threshold.
|
|
27
27
|
*/
|
|
28
28
|
type?: 'MONITOR' | 'STEP';
|
|
29
29
|
/**
|
|
30
|
-
* Number of violating request executions in analyzed sliding window
|
|
30
|
+
* Number of violating request executions in analyzed sliding window.
|
|
31
31
|
*/
|
|
32
32
|
violatingSamples?: number;
|
|
33
33
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
2
2
|
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
3
|
+
import { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
3
4
|
import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
|
|
4
5
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
5
6
|
/**
|
|
@@ -30,6 +31,10 @@ export interface SyntheticMultiProtocolMonitorRequest {
|
|
|
30
31
|
* Performance thresholds configuration.
|
|
31
32
|
*/
|
|
32
33
|
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
34
|
+
/**
|
|
35
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
36
|
+
*/
|
|
37
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
33
38
|
/**
|
|
34
39
|
* The steps of the monitor.
|
|
35
40
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
2
2
|
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
3
|
+
import { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
3
4
|
import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
|
|
4
5
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
5
6
|
/**
|
|
@@ -38,6 +39,10 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
38
39
|
* Performance thresholds configuration.
|
|
39
40
|
*/
|
|
40
41
|
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
42
|
+
/**
|
|
43
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
44
|
+
*/
|
|
45
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
41
46
|
/**
|
|
42
47
|
* The steps of the monitor.
|
|
43
48
|
*/
|
|
@@ -55,7 +55,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
55
55
|
/**
|
|
56
56
|
* The latitude of the location in `DDD.dddd` format.
|
|
57
57
|
*/
|
|
58
|
-
latitude
|
|
58
|
+
latitude: number;
|
|
59
59
|
/**
|
|
60
60
|
* Alert if location or node outage lasts longer than *X* minutes. \n\n Only applicable when `availabilityLocationOutage` or `availabilityNodeOutage` is set to `true`. Supported only for private Synthetic locations.
|
|
61
61
|
*/
|
|
@@ -63,7 +63,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
63
63
|
/**
|
|
64
64
|
* The longitude of the location in `DDD.dddd` format.
|
|
65
65
|
*/
|
|
66
|
-
longitude
|
|
66
|
+
longitude: number;
|
|
67
67
|
/**
|
|
68
68
|
* Containerized location property. The maximum number of ActiveGates deployed for the location (required for a Kubernetes location).
|
|
69
69
|
*/
|
|
@@ -82,7 +82,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
82
82
|
/**
|
|
83
83
|
* The name of the location.
|
|
84
84
|
*/
|
|
85
|
-
name
|
|
85
|
+
name: string;
|
|
86
86
|
/**
|
|
87
87
|
* Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:
|
|
88
88
|
*
|
|
@@ -10,5 +10,5 @@ export interface SyntheticPublicLocationUpdate extends SyntheticLocationUpdate {
|
|
|
10
10
|
* * `DISABLED`: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
|
|
11
11
|
* * `HIDDEN`: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as `HIDDEN` when no monitor is assigned to it.
|
|
12
12
|
*/
|
|
13
|
-
status
|
|
13
|
+
status: 'DISABLED' | 'ENABLED' | 'HIDDEN';
|
|
14
14
|
}
|