@dynatrace-sdk/client-classic-environment-v2 2.0.0 → 3.0.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +417 -277
  3. package/cjs/index.js +2355 -2116
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +2363 -2128
  6. package/package.json +1 -1
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +1 -1
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +0 -1
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +8 -0
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +73 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +1 -0
  12. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -0
  13. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +1 -0
  14. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -0
  15. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +1 -0
  16. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -0
  17. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -0
  18. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +4 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.transformation.d.ts +1 -3
  21. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +2 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +2 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +2 -2
  24. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +2 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +2 -0
  26. package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details-reduced-reasons-item.d.ts +7 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details-reduced-reasons-item.transformation.d.ts +4 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.d.ts +10 -0
  29. package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.transformation.d.ts +7 -0
  30. package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.d.ts +5 -0
  31. package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.transformation.d.ts +4 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.d.ts +5 -0
  33. package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.transformation.d.ts +8 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +5 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.transformation.d.ts +1 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +4 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.transformation.d.ts +1 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.d.ts +1 -1
  39. package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.transformation.d.ts +1 -1
  40. package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +13 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.transformation.d.ts +7 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +28 -14
  43. package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +4 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.transformation.d.ts +1 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.d.ts +4 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.transformation.d.ts +1 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.d.ts +6 -6
  48. package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.transformation.d.ts +5 -5
  49. package/types/packages/client/classic-environment-v2/src/lib/models/modification.d.ts +21 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/modification.transformation.d.ts +9 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/permission-context.d.ts +13 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/permission-context.transformation.d.ts +7 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +12 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +3 -0
  56. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +2 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.transformation.d.ts +2 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.d.ts +4 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.transformation.d.ts +7 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.d.ts +8 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.transformation.d.ts +4 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +12 -0
  63. package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.transformation.d.ts +9 -0
  64. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-page.d.ts +28 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-page.transformation.d.ts +11 -0
  66. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-type.d.ts +10 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-type.transformation.d.ts +4 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +34 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.transformation.d.ts +16 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +2 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.transformation.d.ts +2 -0
  72. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +2 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.transformation.d.ts +2 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +2 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +2 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +2 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +11 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.transformation.d.ts +8 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-aggregation.d.ts +1 -6
  81. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-privacy-operations-sync-api-api.d.ts +0 -64
  82. package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response-data.d.ts +0 -10
  83. package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response-data.transformation.d.ts +0 -7
  84. package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response.d.ts +0 -11
  85. package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response.transformation.d.ts +0 -8
  86. package/types/packages/client/classic-environment-v2/src/lib/models/personal-data-request.d.ts +0 -13
  87. package/types/packages/client/classic-environment-v2/src/lib/models/personal-data-request.transformation.d.ts +0 -7
  88. package/types/packages/client/classic-environment-v2/src/lib/models/pii-relationships-item.d.ts +0 -6
  89. package/types/packages/client/classic-environment-v2/src/lib/models/pii-relationships-item.transformation.d.ts +0 -4
  90. package/types/packages/client/classic-environment-v2/src/lib/models/pii.d.ts +0 -10
  91. package/types/packages/client/classic-environment-v2/src/lib/models/pii.transformation.d.ts +0 -7
  92. package/types/packages/client/classic-environment-v2/src/lib/models/schema.d.ts +0 -18
  93. package/types/packages/client/classic-environment-v2/src/lib/models/schema.transformation.d.ts +0 -9
  94. package/types/packages/client/classic-environment-v2/src/lib/models/value.d.ts +0 -15
  95. package/types/packages/client/classic-environment-v2/src/lib/models/value.transformation.d.ts +0 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -189,7 +189,7 @@ export declare class EventsClient {
189
189
  * * Notifications are suppressed (true, false): `suppressAlert(true)`.
190
190
  * * Problem creation is suppressed (true, false): `suppressProblem(true)`.
191
191
  * * Frequent event (true, false): `frequentEvent(true)`.
192
- * * Event property: `property.<key>("value-1", "value-2")`.
192
+ * * Event property: `property.<key>("value-1", "value-2")`. Only properties with the **filterable** property set to `true` can be used. You can check event properties via the [GET event properties](https://dt-url.net/es03nwo) call.
193
193
  *
194
194
  * To set several criteria, separate them with commas (`,`). Only results matching **all** criteria are included in the response.
195
195
  */ eventSelector?: string;
@@ -24,7 +24,6 @@ export * from './security-problems-api';
24
24
  export * from './service-level-objectives-api';
25
25
  export * from './settings-management-zones-api';
26
26
  export * from './settings-objects-api';
27
- export * from './settings-privacy-operations-sync-api-api';
28
27
  export * from './settings-schemas-api';
29
28
  export * from './synthetic-http-monitor-executions-api';
30
29
  export * from './synthetic-locations-nodes-and-configuration-api';
@@ -280,6 +280,14 @@ export declare class SecurityProblemsClient {
280
280
  *
281
281
  * To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, `+riskAssessment,+managementZones`).
282
282
  */ fields?: string;
283
+ /**
284
+ * To specify management zones, use one of the options listed below. For each option you can specify multiple comma-separated values. If several values are specified, the **OR** logic applies. All values are case-sensitive and must be quoted.
285
+ *
286
+ * * Management zone ID: ids("mzId-1", "mzId-2").
287
+ * * Management zone names: names("mz-1", "mz-2").
288
+ *
289
+ * You can specify several comma-separated criteria (for example, `names("myMz"),ids("9130632296508575249")`).
290
+ */ managementZoneFilter?: string;
283
291
  /**
284
292
  * Based on the timeframe start the affected-, related- and vulnerable entities are being calculated.
285
293
  * You can use one of the following formats:
@@ -1,6 +1,9 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { EffectivePermission } from '../models/effective-permission';
2
3
  import { EffectiveSettingsValuesList } from '../models/effective-settings-values-list';
3
4
  import { ObjectsList } from '../models/objects-list';
5
+ import { ResolutionRequest } from '../models/resolution-request';
6
+ import { RevisionDiffPage } from '../models/revision-diff-page';
4
7
  import { SettingsObjectByObjectIdResponse } from '../models/settings-object-by-object-id-response';
5
8
  import { SettingsObjectCreate } from '../models/settings-object-create';
6
9
  import { SettingsObjectResponse } from '../models/settings-object-response';
@@ -16,6 +19,32 @@ export declare class SettingsObjectsClient {
16
19
  * const settingsObjectsClientNodeJs = new SettingsObjectsClient(yourCustomImplementation);
17
20
  */
18
21
  constructor(httpClientImplementation: HttpClient);
22
+ /**
23
+ * Get the effective settings permissions of the calling user in the environment
24
+ *
25
+ * **One of the following scopes is required:**
26
+ * + settings:objects:write
27
+ * + settings:objects:read
28
+ * + settings:schemas:read
29
+ *
30
+ * <br/>**One of the following permissions is required:**
31
+ * + environment:roles:viewer
32
+ * + settings:schemas:read
33
+ *
34
+ * @returns Success
35
+ *
36
+ * @example <caption>Code example</caption>
37
+ * import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
38
+ *
39
+ * const data =
40
+ * await settingsObjectsClient.resolveEffectivePermissions({
41
+ * body: {},
42
+ * });
43
+ */
44
+ resolveEffectivePermissions(config: {
45
+ body: ResolutionRequest;
46
+ abortSignal?: AbortSignal;
47
+ }): Promise<EffectivePermission[]>;
19
48
  /**
20
49
  * Lists effective settings values
21
50
  *
@@ -73,6 +102,49 @@ export declare class SettingsObjectsClient {
73
102
  */ pageSize?: number;
74
103
  abortSignal?: AbortSignal;
75
104
  }): Promise<EffectiveSettingsValuesList>;
105
+ /**
106
+ * Gets the history of settings objects
107
+ *
108
+ * **Required scope:** settings:objects:read<br/>**One of the following permissions is required:**
109
+ * + environment:roles:manage-settings
110
+ * + settings:objects:read
111
+ *
112
+ * @returns Success
113
+ *
114
+ * @example <caption>Code example</caption>
115
+ * import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
116
+ *
117
+ * const data =
118
+ * await settingsObjectsClient.getSettingsHistory();
119
+ */
120
+ getSettingsHistory(config?: {
121
+ /** Schema ID to which the requested revisions belong. */ schemaId?: string;
122
+ /**
123
+ * The scope that the requested history objects target.
124
+ *
125
+ * The selection only matches revisions directly targeting the specified scope. For example, `environment` will not match objects that target a host within environment. For more details, please see [Dynatrace Documentation](https://dt-url.net/ky03459).
126
+ *
127
+ * To load the first page, when the **nextPageKey** is not set, this parameter is required.
128
+ */ scope?: string;
129
+ /** The filter parameter, as explained [here](https://dt-url.net/platform-services-filtering). Filtering is supported on the following fields: * `objectId` * `modificationInfo.lastModifiedTime`, and the fields can only be combined with `and` as a boolean operator. If this parameter is omitted or does not include a range for **modificationInfo.lastModifiedTime**, only revisions of the last 2 weeks are returned. (optional) */ filter?: string;
130
+ /** The sort parameter, as explained [here](https://dt-url.net/platform-services-filtering). Sorting is supported on the following fields: * `modificationInfo.lastModifiedTime` (optional, default to -modificationInfo.lastModifiedTime) */ sort?: string;
131
+ /** A list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, **revision,modificationInfo**). Supported fields: **revision**, **jsonPatch**, **jsonBefore**, **jsonAfter**, **objectId**, **type**, **schemaVersion**, **modificationInfo**.(optional, default to revision, modificationInfo) */ fields?: string;
132
+ /**
133
+ * The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
134
+ *
135
+ * The first page is always returned if you don't specify the **nextPageKey** query parameter.
136
+ *
137
+ * When the **nextPageKey** is set to obtain subsequent pages, you must omit all other query parameters.
138
+ */ nextPageKey?: string;
139
+ /**
140
+ * The amount of settings objects in a single response payload.
141
+ *
142
+ * The maximal allowed page size is 500.
143
+ *
144
+ * If not set, 100 is used.
145
+ */ pageSize?: number;
146
+ abortSignal?: AbortSignal;
147
+ }): Promise<RevisionDiffPage>;
76
148
  /**
77
149
  * Lists persisted settings objects
78
150
  *
@@ -123,7 +195,7 @@ export declare class SettingsObjectsClient {
123
195
  *
124
196
  * Specify the required top-level fields, separated by commas (for example, `objectId,value`).
125
197
  *
126
- * Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `createdBy`, `modifiedBy`, `author`, `updateToken`, `scope`, `modificationInfo`, `schemaId`, `schemaVersion`, `value`, `externalId`.
198
+ * Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `createdBy`, `modifiedBy`, `author`, `updateToken`, `scope`, `modificationInfo` (deprecated), `resourceContext`, `schemaId`, `schemaVersion`, `value`, `externalId`.
127
199
  */ fields?: string;
128
200
  /**
129
201
  * The filter parameter, as explained [here](https://dt-url.net/platform-services-filtering).
@@ -4,6 +4,7 @@ import { ErrorType } from '@dynatrace-sdk/error-handlers';
4
4
  */
5
5
  export declare class ApiClientError extends Error {
6
6
  readonly cause?: any;
7
+ readonly isApiClientError = true;
7
8
  errorType: ErrorType;
8
9
  constructor(name: string, message?: string, cause?: any);
9
10
  }
@@ -4,5 +4,6 @@
4
4
  import { ClientRequestError } from './client-request-error';
5
5
  import { BizEventIngestResult } from '../models';
6
6
  export declare class BizEventIngestResultError extends ClientRequestError<BizEventIngestResult> {
7
+ readonly isBizEventIngestResultError = true;
7
8
  }
8
9
  export declare function isBizEventIngestResultError(e: any): e is BizEventIngestResultError;
@@ -1,6 +1,7 @@
1
1
  import { HttpClientResponse } from '@dynatrace-sdk/http-client';
2
2
  import { ApiClientError } from './api-client-error';
3
3
  export declare class ClientRequestError<DTO> extends ApiClientError {
4
+ readonly isClientRequestError = true;
4
5
  body: DTO;
5
6
  response: HttpClientResponse;
6
7
  constructor(name: string, response: HttpClientResponse, body: DTO, message?: string, cause?: any);
@@ -4,5 +4,6 @@
4
4
  import { ClientRequestError } from './client-request-error';
5
5
  import { ErrorEnvelope } from '../models';
6
6
  export declare class ErrorEnvelopeError extends ClientRequestError<ErrorEnvelope> {
7
+ readonly isErrorEnvelopeError = true;
7
8
  }
8
9
  export declare function isErrorEnvelopeError(e: any): e is ErrorEnvelopeError;
@@ -1,5 +1,6 @@
1
1
  import { ApiClientError } from './api-client-error';
2
2
  export declare class InvalidResponseError extends ApiClientError {
3
+ readonly isInvalidResponseError = true;
3
4
  responseBody: any;
4
5
  expectedType?: string;
5
6
  nestedError?: Error;
@@ -4,5 +4,6 @@
4
4
  import { ClientRequestError } from './client-request-error';
5
5
  import { SettingsObjectResponse } from '../models';
6
6
  export declare class SettingsObjectResponseArrayError extends ClientRequestError<SettingsObjectResponse[]> {
7
+ readonly isSettingsObjectResponseArrayError = true;
7
8
  }
8
9
  export declare function isSettingsObjectResponseArrayError(e: any): e is SettingsObjectResponseArrayError;
@@ -4,5 +4,6 @@
4
4
  import { ClientRequestError } from './client-request-error';
5
5
  import { SettingsObjectResponse } from '../models';
6
6
  export declare class SettingsObjectResponseError extends ClientRequestError<SettingsObjectResponse> {
7
+ readonly isSettingsObjectResponseError = true;
7
8
  }
8
9
  export declare function isSettingsObjectResponseError(e: any): e is SettingsObjectResponseError;
@@ -4,5 +4,6 @@
4
4
  import { ClientRequestError } from './client-request-error';
5
5
  import { ValidationResponse } from '../models';
6
6
  export declare class ValidationResponseError extends ClientRequestError<ValidationResponse> {
7
+ readonly isValidationResponseError = true;
7
8
  }
8
9
  export declare function isValidationResponseError(e: any): e is ValidationResponseError;
@@ -4,4 +4,8 @@ import { AggregatedLogAggregationResult } from './aggregated-log-aggregation-res
4
4
  */
5
5
  export interface AggregatedLog {
6
6
  aggregationResult?: AggregatedLogAggregationResult;
7
+ /**
8
+ * Optional warning messages.
9
+ */
10
+ warnings?: string;
7
11
  }
@@ -1,10 +1,8 @@
1
- import { FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
2
1
  import { AggregatedLog } from './aggregated-log';
3
2
  import * as _AggregatedLogAggregationResultTransformation from './aggregated-log-aggregation-result.transformation';
4
3
  export interface AsJson {
5
4
  aggregationResult?: _AggregatedLogAggregationResultTransformation.AsJson;
5
+ warnings?: string;
6
6
  }
7
7
  export declare function fromJson($model: AsJson): AggregatedLog;
8
8
  export declare function toJson($model: AggregatedLog): AsJson;
9
- export declare function fromFormData(formData: FormDataResponseBody): AggregatedLog;
10
- export declare function toFormData($model: AggregatedLog): FormDataRequestBody;
@@ -36,6 +36,8 @@ export declare enum ApiTokenCreateScopesItem {
36
36
  OpenpipelineEventsCustom = "openpipeline.events.custom",
37
37
  OpenpipelineEventsSecurity = "openpipeline.events_security",
38
38
  OpenpipelineEventsSecurityCustom = "openpipeline.events_security.custom",
39
+ OpenpipelineEventsSdlc = "openpipeline.events_sdlc",
40
+ OpenpipelineEventsSdlcCustom = "openpipeline.events_sdlc.custom",
39
41
  BizeventsIngest = "bizevents.ingest",
40
42
  AnalyzersRead = "analyzers.read",
41
43
  AnalyzersWrite = "analyzers.write",
@@ -72,6 +72,8 @@ export interface ApiTokenCreate {
72
72
  * * `openpipeline.events.custom`: OpenPipeline - Ingest Events (Custom).
73
73
  * * `openpipeline.events_security`: OpenPipeline - Ingest Events, Application Security.
74
74
  * * `openpipeline.events_security.custom`: OpenPipeline - Ingest Events, Application Security (Custom).
75
+ * * `openpipeline.events_sdlc`: OpenPipeline - Ingest Events, Software Development Lifecycle.
76
+ * * `openpipeline.events_sdlc.custom`: OpenPipeline - Ingest Events, Software Development Lifecycle (Custom).
75
77
  * * `bizevents.ingest`: Ingest bizevents.
76
78
  * * `analyzers.read`: Read analyzers.
77
79
  * * `analyzers.write`: Write & execute analyzers.
@@ -72,6 +72,8 @@ export declare enum ApiTokenScopesItem {
72
72
  OpenTelemetryTraceIngest = "openTelemetryTrace.ingest",
73
73
  OpenpipelineEvents = "openpipeline.events",
74
74
  OpenpipelineEventsCustom = "openpipeline.events.custom",
75
+ OpenpipelineEventsSdlc = "openpipeline.events_sdlc",
76
+ OpenpipelineEventsSdlcCustom = "openpipeline.events_sdlc.custom",
75
77
  OpenpipelineEventsSecurity = "openpipeline.events_security",
76
78
  OpenpipelineEventsSecurityCustom = "openpipeline.events_security.custom",
77
79
  ProblemsRead = "problems.read",
@@ -80,8 +82,6 @@ export declare enum ApiTokenScopesItem {
80
82
  RumCookieNamesRead = "rumCookieNames.read",
81
83
  SecurityProblemsRead = "securityProblems.read",
82
84
  SecurityProblemsWrite = "securityProblems.write",
83
- SettingsPrivacyRead = "settings.privacy.read",
84
- SettingsPrivacyWrite = "settings.privacy.write",
85
85
  SettingsRead = "settings.read",
86
86
  SettingsWrite = "settings.write",
87
87
  SloRead = "slo.read",
@@ -36,6 +36,8 @@ export declare enum ApiTokenUpdateScopesItem {
36
36
  OpenpipelineEventsCustom = "openpipeline.events.custom",
37
37
  OpenpipelineEventsSecurity = "openpipeline.events_security",
38
38
  OpenpipelineEventsSecurityCustom = "openpipeline.events_security.custom",
39
+ OpenpipelineEventsSdlc = "openpipeline.events_sdlc",
40
+ OpenpipelineEventsSdlcCustom = "openpipeline.events_sdlc.custom",
39
41
  BizeventsIngest = "bizevents.ingest",
40
42
  AnalyzersRead = "analyzers.read",
41
43
  AnalyzersWrite = "analyzers.write",
@@ -53,6 +53,8 @@ export interface ApiTokenUpdate {
53
53
  * * `openpipeline.events.custom`: OpenPipeline - Ingest Events (Custom).
54
54
  * * `openpipeline.events_security`: OpenPipeline - Ingest Events, Application Security.
55
55
  * * `openpipeline.events_security.custom`: OpenPipeline - Ingest Events, Application Security (Custom).
56
+ * * `openpipeline.events_sdlc`: OpenPipeline - Ingest Events, Software Development Lifecycle.
57
+ * * `openpipeline.events_sdlc.custom`: OpenPipeline - Ingest Events, Software Development Lifecycle (Custom).
56
58
  * * `bizevents.ingest`: Ingest bizevents.
57
59
  * * `analyzers.read`: Read analyzers.
58
60
  * * `analyzers.write`: Write & execute analyzers.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The reason for a reduced accuracy of the assessment.
3
+ */
4
+ export declare enum AssessmentAccuracyDetailsReducedReasonsItem {
5
+ LimitedAgentSupport = "LIMITED_AGENT_SUPPORT",
6
+ LimitedByConfiguration = "LIMITED_BY_CONFIGURATION"
7
+ }
@@ -0,0 +1,4 @@
1
+ import { AssessmentAccuracyDetailsReducedReasonsItem } from './assessment-accuracy-details-reduced-reasons-item';
2
+ export type AsJson = string;
3
+ export declare function fromJson($model: AsJson): AssessmentAccuracyDetailsReducedReasonsItem;
4
+ export declare function toJson($model: AssessmentAccuracyDetailsReducedReasonsItem): AsJson;
@@ -0,0 +1,10 @@
1
+ import { AssessmentAccuracyDetailsReducedReasonsItem } from './assessment-accuracy-details-reduced-reasons-item';
2
+ /**
3
+ * The assessment accuracy details.
4
+ */
5
+ export interface AssessmentAccuracyDetails {
6
+ /**
7
+ * The reasons for a reduced assessment accuracy.
8
+ */
9
+ reducedReasons?: AssessmentAccuracyDetailsReducedReasonsItem[];
10
+ }
@@ -0,0 +1,7 @@
1
+ import { AssessmentAccuracyDetails } from './assessment-accuracy-details';
2
+ import * as _AssessmentAccuracyDetailsReducedReasonsItemTransformation from './assessment-accuracy-details-reduced-reasons-item.transformation';
3
+ export interface AsJson {
4
+ reducedReasons?: _AssessmentAccuracyDetailsReducedReasonsItemTransformation.AsJson[];
5
+ }
6
+ export declare function fromJson($model: AsJson): AssessmentAccuracyDetails;
7
+ export declare function toJson($model: AssessmentAccuracyDetails): AsJson;
@@ -0,0 +1,5 @@
1
+ export declare enum EffectivePermissionGranted {
2
+ Condition = "condition",
3
+ False = "false",
4
+ True = "true"
5
+ }
@@ -0,0 +1,4 @@
1
+ import { EffectivePermissionGranted } from './effective-permission-granted';
2
+ export type AsJson = string;
3
+ export declare function fromJson($model: AsJson): EffectivePermissionGranted;
4
+ export declare function toJson($model: EffectivePermissionGranted): AsJson;
@@ -0,0 +1,5 @@
1
+ import { EffectivePermissionGranted } from './effective-permission-granted';
2
+ export interface EffectivePermission {
3
+ granted?: EffectivePermissionGranted;
4
+ permission?: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { EffectivePermission } from './effective-permission';
2
+ import * as _EffectivePermissionGrantedTransformation from './effective-permission-granted.transformation';
3
+ export interface AsJson {
4
+ granted?: _EffectivePermissionGrantedTransformation.AsJson;
5
+ permission?: string;
6
+ }
7
+ export declare function fromJson($model: AsJson): EffectivePermission;
8
+ export declare function toJson($model: EffectivePermission): AsJson;
@@ -10,6 +10,11 @@ export interface EventPropertyDetails {
10
10
  * The display name of the event property.
11
11
  */
12
12
  displayName?: string;
13
+ /**
14
+ * The property can (`true`) or cannot (`false`) be used for filtering in the event selector.
15
+ * Usage in event selector: `property.<key>("value-1", "value-2")`
16
+ */
17
+ filterable?: boolean;
13
18
  /**
14
19
  * The key of the event property.
15
20
  */
@@ -2,6 +2,7 @@ import { EventPropertyDetails } from './event-property-details';
2
2
  export interface AsJson {
3
3
  description?: string;
4
4
  displayName?: string;
5
+ filterable?: boolean;
5
6
  key?: string;
6
7
  writable?: boolean;
7
8
  }
@@ -21,4 +21,8 @@ export interface ExportedLogRecordList {
21
21
  * The total number of entries in the result.
22
22
  */
23
23
  totalCount: number;
24
+ /**
25
+ * Optional warning messages.
26
+ */
27
+ warnings?: string;
24
28
  }
@@ -5,6 +5,7 @@ export interface AsJson {
5
5
  pageSize?: number;
6
6
  results?: _LogRecordTransformation.AsJson[];
7
7
  totalCount: number;
8
+ warnings?: string;
8
9
  }
9
10
  export declare function fromJson($model: AsJson): ExportedLogRecordList;
10
11
  export declare function toJson($model: ExportedLogRecordList): AsJson;
@@ -5,7 +5,7 @@ export interface ExtensionInfo {
5
5
  /**
6
6
  * Active version in the environment (null if none is active)
7
7
  */
8
- activeVersion?: string;
8
+ activeVersion?: string | null;
9
9
  /**
10
10
  * Extension name
11
11
  */
@@ -1,6 +1,6 @@
1
1
  import { ExtensionInfo } from './extension-info';
2
2
  export interface AsJson {
3
- activeVersion?: string;
3
+ activeVersion?: string | null;
4
4
  extensionName: string;
5
5
  keywords: string[];
6
6
  version: string;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Modification information about the setting.
3
+ */
4
+ export interface HistoryModificationInfo {
5
+ /**
6
+ * The unique identifier of the user who performed the most recent modification.
7
+ */
8
+ lastModifiedBy?: string;
9
+ /**
10
+ * Timestamp when the setting was last modified in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
11
+ */
12
+ lastModifiedTime: Date;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { HistoryModificationInfo } from './history-modification-info';
2
+ export interface AsJson {
3
+ lastModifiedBy?: string;
4
+ lastModifiedTime: string;
5
+ }
6
+ export declare function fromJson($model: AsJson): HistoryModificationInfo;
7
+ export declare function toJson($model: HistoryModificationInfo): AsJson;
@@ -104,6 +104,10 @@ export * from './application-impact';
104
104
  export * as _ApplicationImpactTransformation from './application-impact.transformation';
105
105
  export * from './applied-filter';
106
106
  export * as _AppliedFilterTransformation from './applied-filter.transformation';
107
+ export * from './assessment-accuracy-details';
108
+ export * as _AssessmentAccuracyDetailsTransformation from './assessment-accuracy-details.transformation';
109
+ export * from './assessment-accuracy-details-reduced-reasons-item';
110
+ export * as _AssessmentAccuracyDetailsReducedReasonsItemTransformation from './assessment-accuracy-details-reduced-reasons-item.transformation';
107
111
  export * from './asset-info';
108
112
  export * as _AssetInfoTransformation from './asset-info.transformation';
109
113
  export * from './asset-info-dto';
@@ -268,6 +272,10 @@ export * from './deleted-entity-tags';
268
272
  export * as _DeletedEntityTagsTransformation from './deleted-entity-tags.transformation';
269
273
  export * from './deletion-constraint';
270
274
  export * as _DeletionConstraintTransformation from './deletion-constraint.transformation';
275
+ export * from './effective-permission';
276
+ export * as _EffectivePermissionTransformation from './effective-permission.transformation';
277
+ export * from './effective-permission-granted';
278
+ export * as _EffectivePermissionGrantedTransformation from './effective-permission-granted.transformation';
271
279
  export * from './effective-settings-value';
272
280
  export * as _EffectiveSettingsValueTransformation from './effective-settings-value.transformation';
273
281
  export * from './effective-settings-values-list';
@@ -496,6 +504,8 @@ export * from './hashicorp-certificate';
496
504
  export * as _HashicorpCertificateTransformation from './hashicorp-certificate.transformation';
497
505
  export * from './hashicorp-certificate-config';
498
506
  export * as _HashicorpCertificateConfigTransformation from './hashicorp-certificate-config.transformation';
507
+ export * from './history-modification-info';
508
+ export * as _HistoryModificationInfoTransformation from './history-modification-info.transformation';
499
509
  export * from './http-protocol-details';
500
510
  export * as _HttpProtocolDetailsTransformation from './http-protocol-details.transformation';
501
511
  export * from './http-request-parameter';
@@ -606,6 +616,8 @@ export * from './minimal-extension';
606
616
  export * as _MinimalExtensionTransformation from './minimal-extension.transformation';
607
617
  export * from './mobile-impact';
608
618
  export * as _MobileImpactTransformation from './mobile-impact.transformation';
619
+ export * from './modification';
620
+ export * as _ModificationTransformation from './modification.transformation';
609
621
  export * from './modification-info';
610
622
  export * as _ModificationInfoTransformation from './modification-info.transformation';
611
623
  export * from './monitor-entity-id-dto';
@@ -656,16 +668,8 @@ export * from './object-node';
656
668
  export * as _ObjectNodeTransformation from './object-node.transformation';
657
669
  export * from './objects-list';
658
670
  export * as _ObjectsListTransformation from './objects-list.transformation';
659
- export * from './paginated-personal-data-response';
660
- export * as _PaginatedPersonalDataResponseTransformation from './paginated-personal-data-response.transformation';
661
- export * from './paginated-personal-data-response-data';
662
- export * as _PaginatedPersonalDataResponseDataTransformation from './paginated-personal-data-response-data.transformation';
663
- export * from './personal-data-request';
664
- export * as _PersonalDataRequestTransformation from './personal-data-request.transformation';
665
- export * from './pii';
666
- export * as _PiiTransformation from './pii.transformation';
667
- export * from './pii-relationships-item';
668
- export * as _PiiRelationshipsItemTransformation from './pii-relationships-item.transformation';
671
+ export * from './permission-context';
672
+ export * as _PermissionContextTransformation from './permission-context.transformation';
669
673
  export * from './precondition';
670
674
  export * as _PreconditionTransformation from './precondition.transformation';
671
675
  export * from './precondition-type';
@@ -790,6 +794,18 @@ export * from './remediation-progress-vulnerable-component';
790
794
  export * as _RemediationProgressVulnerableComponentTransformation from './remediation-progress-vulnerable-component.transformation';
791
795
  export * from './request-information';
792
796
  export * as _RequestInformationTransformation from './request-information.transformation';
797
+ export * from './resolution-request';
798
+ export * as _ResolutionRequestTransformation from './resolution-request.transformation';
799
+ export * from './resource-context';
800
+ export * as _ResourceContextTransformation from './resource-context.transformation';
801
+ export * from './resource-context-operations-item';
802
+ export * as _ResourceContextOperationsItemTransformation from './resource-context-operations-item.transformation';
803
+ export * from './revision-diff';
804
+ export * as _RevisionDiffTransformation from './revision-diff.transformation';
805
+ export * from './revision-diff-page';
806
+ export * as _RevisionDiffPageTransformation from './revision-diff-page.transformation';
807
+ export * from './revision-diff-type';
808
+ export * as _RevisionDiffTypeTransformation from './revision-diff-type.transformation';
793
809
  export * from './risk-assessment';
794
810
  export * as _RiskAssessmentTransformation from './risk-assessment.transformation';
795
811
  export * from './risk-assessment-assessment-accuracy';
@@ -852,8 +868,6 @@ export * from './slo-status';
852
868
  export * as _SLOStatusTransformation from './slo-status.transformation';
853
869
  export * from './sl-os';
854
870
  export * as _SLOsTransformation from './sl-os.transformation';
855
- export * from './schema';
856
- export * as _SchemaTransformation from './schema.transformation';
857
871
  export * from './schema-constraint-rest-dto';
858
872
  export * as _SchemaConstraintRestDtoTransformation from './schema-constraint-rest-dto.transformation';
859
873
  export * from './schema-constraint-rest-dto-type';
@@ -948,6 +962,8 @@ export * from './settings-object-response';
948
962
  export * as _SettingsObjectResponseTransformation from './settings-object-response.transformation';
949
963
  export * from './settings-object-update';
950
964
  export * as _SettingsObjectUpdateTransformation from './settings-object-update.transformation';
965
+ export * from './single-permission-request';
966
+ export * as _SinglePermissionRequestTransformation from './single-permission-request.transformation';
951
967
  export * from './slo-burn-rate';
952
968
  export * as _SloBurnRateTransformation from './slo-burn-rate.transformation';
953
969
  export * from './slo-burn-rate-burn-rate-type';
@@ -1140,8 +1156,6 @@ export * from './user-password-credentials';
1140
1156
  export * as _UserPasswordCredentialsTransformation from './user-password-credentials.transformation';
1141
1157
  export * from './validation-response';
1142
1158
  export * as _ValidationResponseTransformation from './validation-response.transformation';
1143
- export * from './value';
1144
- export * as _ValueTransformation from './value.transformation';
1145
1159
  export * from './vulnerability';
1146
1160
  export * as _VulnerabilityTransformation from './vulnerability.transformation';
1147
1161
  export * from './vulnerable-component';
@@ -6,6 +6,10 @@ import { LocationCollectionElementType } from './location-collection-element-typ
6
6
  * A synthetic location.
7
7
  */
8
8
  export interface LocationCollectionElement {
9
+ /**
10
+ * The list of location's capabilities.
11
+ */
12
+ capabilities?: string[];
9
13
  cloudPlatform?: LocationCollectionElementCloudPlatform;
10
14
  /**
11
15
  * The Dynatrace entity ID of the location.
@@ -4,6 +4,7 @@ import * as _LocationCollectionElementStageTransformation from './location-colle
4
4
  import * as _LocationCollectionElementStatusTransformation from './location-collection-element-status.transformation';
5
5
  import * as _LocationCollectionElementTypeTransformation from './location-collection-element-type.transformation';
6
6
  export interface AsJson {
7
+ capabilities?: string[];
7
8
  cloudPlatform?: _LocationCollectionElementCloudPlatformTransformation.AsJson;
8
9
  entityId: string;
9
10
  geoCity?: string;
@@ -15,4 +15,8 @@ export interface LogRecordsList {
15
15
  * The total number of records in a slice.
16
16
  */
17
17
  sliceSize?: number;
18
+ /**
19
+ * Optional warning messages.
20
+ */
21
+ warnings?: string;
18
22
  }
@@ -4,6 +4,7 @@ export interface AsJson {
4
4
  nextSliceKey?: string;
5
5
  results?: _LogRecordTransformation.AsJson[];
6
6
  sliceSize?: number;
7
+ warnings?: string;
7
8
  }
8
9
  export declare function fromJson($model: AsJson): LogRecordsList;
9
10
  export declare function toJson($model: LogRecordsList): AsJson;
@@ -1,11 +1,11 @@
1
1
  /**
2
- * The modification info for a single updatable setting.
2
+ * The modification info for a single updatable setting. Replaced by `resourceContext`.
3
3
  */
4
4
  export interface ModificationInfo {
5
5
  /**
6
6
  * If settings value can be deleted
7
7
  */
8
- deletable?: boolean;
8
+ deletable: boolean;
9
9
  /**
10
10
  * If non-moveable settings value is in the first group of non-moveable settings, or in the last (start or end of list)
11
11
  */
@@ -13,17 +13,17 @@ export interface ModificationInfo {
13
13
  /**
14
14
  * If settings value can be modified
15
15
  */
16
- modifiable?: boolean;
16
+ modifiable: boolean;
17
17
  /**
18
18
  * Property paths which are modifiable, regardless of the state of `modifiable`
19
19
  */
20
- modifiablePaths?: string[];
20
+ modifiablePaths: string[];
21
21
  /**
22
22
  * If settings value can be moved/reordered. Only applicable for ordered list schema
23
23
  */
24
- movable?: boolean;
24
+ movable: boolean;
25
25
  /**
26
26
  * Property paths which are not modifiable, when `modifiable` is true
27
27
  */
28
- nonModifiablePaths?: string[];
28
+ nonModifiablePaths: string[];
29
29
  }