@dynatrace-sdk/client-classic-environment-v2 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -1
- package/README.md +336 -10
- package/cjs/index.js +2716 -2091
- package/dynatrace-metadata.json +1 -1
- package/esm/index.js +2267 -1628
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts +117 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-array-error.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/get-java-script-tag-query-script-execution-attribute.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-one-agent-java-script-tag-query-script-execution-attribute.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-one-agent-java-script-tag-with-sri-query-script-execution-attribute.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +4 -0
package/package.json
CHANGED
|
@@ -573,7 +573,8 @@ export declare class Extensions_2_0Client {
|
|
|
573
573
|
* body: [{ scope: "HOST-D3A3C5A146830A79" }],
|
|
574
574
|
* });
|
|
575
575
|
*
|
|
576
|
-
* @throws {
|
|
576
|
+
* @throws {ErrorEnvelopeArrayError} Failed. The input is invalid. | Failed. The requested resource doesn't exist.
|
|
577
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
577
578
|
* @throws {InvalidResponseError}
|
|
578
579
|
* @throws {ApiClientError}
|
|
579
580
|
* @throws {ClientRequestError}
|
|
@@ -22,6 +22,7 @@ export * from './monitored-entities-monitoring-state-api';
|
|
|
22
22
|
export * from './network-zones-api';
|
|
23
23
|
export * from './problems-api';
|
|
24
24
|
export * from './releases-api';
|
|
25
|
+
export * from './rum-manual-insertion-tags-api';
|
|
25
26
|
export * from './security-problems-api';
|
|
26
27
|
export * from './service-level-objectives-api';
|
|
27
28
|
export * from './settings-management-zones-api';
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -187,6 +187,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
187
187
|
* This endpoint does not create a new management zone, if there is no management zone with the provided name.
|
|
188
188
|
* Automatic management zone rules will not apply to entities with a set security context. It will need to be removed, to have them apply again.
|
|
189
189
|
*
|
|
190
|
+
* @deprecated
|
|
191
|
+
*
|
|
190
192
|
* @returns {Promise<SecurityContextResultDto>} Success
|
|
191
193
|
*
|
|
192
194
|
* @example <caption>Code example</caption>
|
|
@@ -287,6 +289,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
287
289
|
*
|
|
288
290
|
* <br/><br/>Automatic management zone rules will apply again to entities without a security context.
|
|
289
291
|
*
|
|
292
|
+
* @deprecated
|
|
293
|
+
*
|
|
290
294
|
* @returns {Promise<SecurityContextResultDto>} Success
|
|
291
295
|
*
|
|
292
296
|
* @example <caption>Code example</caption>
|
package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
|
|
3
|
+
/**
|
|
4
|
+
* Download RUM manual insertion tags
|
|
5
|
+
*/
|
|
6
|
+
export declare class RumManualInsertionTagsClient {
|
|
7
|
+
private httpClient;
|
|
8
|
+
private shouldTransformDates;
|
|
9
|
+
/**
|
|
10
|
+
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a RumManualInsertionTagsClient. Custom http client should implement {HttpClient} interface.
|
|
11
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
12
|
+
* @example
|
|
13
|
+
* const rumManualInsertionTagsClientNodeJs = new RumManualInsertionTagsClient(yourCustomImplementation);
|
|
14
|
+
*/
|
|
15
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
16
|
+
/**
|
|
17
|
+
* Download the inline code | maturity=EARLY_ADOPTER
|
|
18
|
+
*
|
|
19
|
+
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the inline code, which embeds the full RUM monitoring code and configuration directly into the page, minimizing additional web requests. It needs to be updated after configuration changes and monitoring code updates.
|
|
20
|
+
*
|
|
21
|
+
* @returns {Promise<string>} Success. The response contains the inline code.
|
|
22
|
+
*
|
|
23
|
+
* @example <caption>Code example</caption>
|
|
24
|
+
* import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
25
|
+
*
|
|
26
|
+
* const data =
|
|
27
|
+
* await rumManualInsertionTagsClient.getInlineCode({
|
|
28
|
+
* applicationId: "...",
|
|
29
|
+
* });
|
|
30
|
+
*
|
|
31
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
32
|
+
* @throws {InvalidResponseError}
|
|
33
|
+
* @throws {ApiClientError}
|
|
34
|
+
* @throws {ClientRequestError}
|
|
35
|
+
*/
|
|
36
|
+
getInlineCode(config: {
|
|
37
|
+
/** The ID of the web application. */ applicationId: string;
|
|
38
|
+
abortSignal?: AbortSignal;
|
|
39
|
+
}): Promise<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Download the JavaScript tag | maturity=EARLY_ADOPTER
|
|
42
|
+
*
|
|
43
|
+
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the JavaScript tag, which references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases.
|
|
44
|
+
*
|
|
45
|
+
* @returns {Promise<string>} Success. The response contains the JavaScript Tag.
|
|
46
|
+
*
|
|
47
|
+
* @example <caption>Code example</caption>
|
|
48
|
+
* import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
49
|
+
*
|
|
50
|
+
* const data =
|
|
51
|
+
* await rumManualInsertionTagsClient.getJavaScriptTag({
|
|
52
|
+
* applicationId: "...",
|
|
53
|
+
* });
|
|
54
|
+
*
|
|
55
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
56
|
+
* @throws {InvalidResponseError}
|
|
57
|
+
* @throws {ApiClientError}
|
|
58
|
+
* @throws {ClientRequestError}
|
|
59
|
+
*/
|
|
60
|
+
getJavaScriptTag(config: {
|
|
61
|
+
/** The ID of the web application. */ applicationId: string;
|
|
62
|
+
/** Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value. */ scriptExecutionAttribute?: 'ASYNC' | 'DEFER' | 'NONE';
|
|
63
|
+
/** Indicates whether to add the crossorigin="anonymous" attribute to the tag. If specified, this overrides the configured value. */ crossOriginAnonymous?: boolean;
|
|
64
|
+
abortSignal?: AbortSignal;
|
|
65
|
+
}): Promise<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Download the OneAgent JavaScript tag | maturity=EARLY_ADOPTER
|
|
68
|
+
*
|
|
69
|
+
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the OneAgent JavaScript tag, which includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates.
|
|
70
|
+
*
|
|
71
|
+
* @returns {Promise<string>} Success. The response contains the OneAgent JavaScript Tag.
|
|
72
|
+
*
|
|
73
|
+
* @example <caption>Code example</caption>
|
|
74
|
+
* import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
75
|
+
*
|
|
76
|
+
* const data =
|
|
77
|
+
* await rumManualInsertionTagsClient.getOneAgentJavaScriptTag(
|
|
78
|
+
* { applicationId: "..." },
|
|
79
|
+
* );
|
|
80
|
+
*
|
|
81
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
82
|
+
* @throws {InvalidResponseError}
|
|
83
|
+
* @throws {ApiClientError}
|
|
84
|
+
* @throws {ClientRequestError}
|
|
85
|
+
*/
|
|
86
|
+
getOneAgentJavaScriptTag(config: {
|
|
87
|
+
/** The ID of the web application. */ applicationId: string;
|
|
88
|
+
/** Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value. */ scriptExecutionAttribute?: 'ASYNC' | 'DEFER' | 'NONE';
|
|
89
|
+
abortSignal?: AbortSignal;
|
|
90
|
+
}): Promise<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Download the OneAgent JavaScript tag with SRI | maturity=EARLY_ADOPTER
|
|
93
|
+
*
|
|
94
|
+
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the OneAgent JavaScript tag with SRI. It includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it using its Subresource Integrity (SRI) feature. It needs to be updated after configuration changes and monitoring code updates.
|
|
95
|
+
*
|
|
96
|
+
* @returns {Promise<string>} Success. The response contains the OneAgent JavaScript Tag with SRI.
|
|
97
|
+
*
|
|
98
|
+
* @example <caption>Code example</caption>
|
|
99
|
+
* import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
100
|
+
*
|
|
101
|
+
* const data =
|
|
102
|
+
* await rumManualInsertionTagsClient.getOneAgentJavaScriptTagWithSri(
|
|
103
|
+
* { applicationId: "..." },
|
|
104
|
+
* );
|
|
105
|
+
*
|
|
106
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
107
|
+
* @throws {InvalidResponseError}
|
|
108
|
+
* @throws {ApiClientError}
|
|
109
|
+
* @throws {ClientRequestError}
|
|
110
|
+
*/
|
|
111
|
+
getOneAgentJavaScriptTagWithSri(config: {
|
|
112
|
+
/** The ID of the web application. */ applicationId: string;
|
|
113
|
+
/** Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value. */ scriptExecutionAttribute?: 'ASYNC' | 'DEFER' | 'NONE';
|
|
114
|
+
abortSignal?: AbortSignal;
|
|
115
|
+
}): Promise<string>;
|
|
116
|
+
}
|
|
117
|
+
export declare const rumManualInsertionTagsClient: RumManualInsertionTagsClient;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ErrorEnvelope[]
|
|
3
|
+
*/
|
|
4
|
+
import { ClientRequestError } from '@dynatrace-sdk/shared-errors';
|
|
5
|
+
import { ErrorEnvelope } from '../models';
|
|
6
|
+
export declare class ErrorEnvelopeArrayError extends ClientRequestError<ErrorEnvelope[]> {
|
|
7
|
+
readonly isErrorEnvelopeArrayError = true;
|
|
8
|
+
}
|
|
9
|
+
export declare function isErrorEnvelopeArrayError(e: any): e is ErrorEnvelopeArrayError;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ApiClientError, ApiGatewayError, ClientRequestError, InvalidResponseError, isApiClientError, isApiGatewayError, isClientRequestError, isInvalidResponseError, } from '@dynatrace-sdk/shared-errors';
|
|
2
2
|
export { BizEventIngestResultError, isBizEventIngestResultError } from './biz-event-ingest-result-error';
|
|
3
|
+
export { ErrorEnvelopeArrayError, isErrorEnvelopeArrayError } from './error-envelope-array-error';
|
|
3
4
|
export { ErrorEnvelopeError, isErrorEnvelopeError } from './error-envelope-error';
|
|
4
5
|
export { SettingsObjectResponseArrayError, isSettingsObjectResponseArrayError, } from './settings-object-response-array-error';
|
|
5
6
|
export { SettingsObjectResponseError, isSettingsObjectResponseError } from './settings-object-response-error';
|
|
@@ -90,5 +90,6 @@ export declare enum ApiTokenCreateScopesItem {
|
|
|
90
90
|
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
91
91
|
ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
|
|
92
92
|
RumCookieNamesRead = "rumCookieNames.read",
|
|
93
|
-
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
|
|
93
|
+
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read",
|
|
94
|
+
RumManualInsertionTagsRead = "rumManualInsertionTags.read"
|
|
94
95
|
}
|
|
@@ -123,6 +123,7 @@ export interface ApiTokenCreate {
|
|
|
123
123
|
* * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
|
|
124
124
|
* * `rumCookieNames.read`: Read RUM cookie names.
|
|
125
125
|
* * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
|
|
126
|
+
* * `rumManualInsertionTags.read`: Read RUM manual insertion tags.
|
|
126
127
|
*/
|
|
127
|
-
scopes: Array<'InstallerDownload' | 'DataExport' | 'PluginUpload' | 'SupportAlert' | 'AdvancedSyntheticIntegration' | 'ExternalSyntheticIntegration' | 'RumBrowserExtension' | 'LogExport' | 'ReadConfig' | 'WriteConfig' | 'DTAQLAccess' | 'UserSessionAnonymization' | 'DataPrivacy' | 'CaptureRequestData' | 'Davis' | 'DssFileManagement' | 'RumJavaScriptTagManagement' | 'TenantTokenManagement' | 'ActiveGateCertManagement' | 'RestRequestForwarding' | 'ReadSyntheticData' | 'DataImport' | 'syntheticExecutions.write' | 'syntheticExecutions.read' | 'auditLogs.read' | 'metrics.read' | 'metrics.write' | 'entities.read' | 'entities.write' | 'problems.read' | 'problems.write' | 'events.read' | 'events.ingest' | 'openpipeline.events' | 'openpipeline.events.custom' | 'openpipeline.events_security' | 'openpipeline.events_security.custom' | 'openpipeline.events_sdlc' | 'openpipeline.events_sdlc.custom' | 'bizevents.ingest' | 'analyzers.read' | 'analyzers.write' | 'networkZones.read' | 'networkZones.write' | 'activeGates.read' | 'activeGates.write' | 'activeGateTokenManagement.read' | 'activeGateTokenManagement.create' | 'activeGateTokenManagement.write' | 'agentTokenManagement.read' | 'credentialVault.read' | 'credentialVault.write' | 'extensions.read' | 'extensions.write' | 'extensionConfigurations.read' | 'extensionConfigurations.write' | 'extensionEnvironment.read' | 'extensionEnvironment.write' | 'metrics.ingest' | 'attacks.read' | 'attacks.write' | 'securityProblems.read' | 'securityProblems.write' | 'syntheticLocations.read' | 'syntheticLocations.write' | 'settings.read' | 'settings.write' | 'tenantTokenRotation.write' | 'slo.read' | 'slo.write' | 'releases.read' | 'apiTokens.read' | 'apiTokens.write' | 'openTelemetryTrace.ingest' | 'logs.read' | 'logs.ingest' | 'geographicRegions.read' | 'oneAgents.read' | 'oneAgents.write' | 'traces.lookup' | 'unifiedAnalysis.read' | 'hub.read' | 'hub.write' | 'hub.install' | 'javaScriptMappingFiles.read' | 'javaScriptMappingFiles.write' | 'extensionConfigurationActions.write' | 'rumCookieNames.read' | 'adaptiveTrafficManagement.read'>;
|
|
128
|
+
scopes: Array<'InstallerDownload' | 'DataExport' | 'PluginUpload' | 'SupportAlert' | 'AdvancedSyntheticIntegration' | 'ExternalSyntheticIntegration' | 'RumBrowserExtension' | 'LogExport' | 'ReadConfig' | 'WriteConfig' | 'DTAQLAccess' | 'UserSessionAnonymization' | 'DataPrivacy' | 'CaptureRequestData' | 'Davis' | 'DssFileManagement' | 'RumJavaScriptTagManagement' | 'TenantTokenManagement' | 'ActiveGateCertManagement' | 'RestRequestForwarding' | 'ReadSyntheticData' | 'DataImport' | 'syntheticExecutions.write' | 'syntheticExecutions.read' | 'auditLogs.read' | 'metrics.read' | 'metrics.write' | 'entities.read' | 'entities.write' | 'problems.read' | 'problems.write' | 'events.read' | 'events.ingest' | 'openpipeline.events' | 'openpipeline.events.custom' | 'openpipeline.events_security' | 'openpipeline.events_security.custom' | 'openpipeline.events_sdlc' | 'openpipeline.events_sdlc.custom' | 'bizevents.ingest' | 'analyzers.read' | 'analyzers.write' | 'networkZones.read' | 'networkZones.write' | 'activeGates.read' | 'activeGates.write' | 'activeGateTokenManagement.read' | 'activeGateTokenManagement.create' | 'activeGateTokenManagement.write' | 'agentTokenManagement.read' | 'credentialVault.read' | 'credentialVault.write' | 'extensions.read' | 'extensions.write' | 'extensionConfigurations.read' | 'extensionConfigurations.write' | 'extensionEnvironment.read' | 'extensionEnvironment.write' | 'metrics.ingest' | 'attacks.read' | 'attacks.write' | 'securityProblems.read' | 'securityProblems.write' | 'syntheticLocations.read' | 'syntheticLocations.write' | 'settings.read' | 'settings.write' | 'tenantTokenRotation.write' | 'slo.read' | 'slo.write' | 'releases.read' | 'apiTokens.read' | 'apiTokens.write' | 'openTelemetryTrace.ingest' | 'logs.read' | 'logs.ingest' | 'geographicRegions.read' | 'oneAgents.read' | 'oneAgents.write' | 'traces.lookup' | 'unifiedAnalysis.read' | 'hub.read' | 'hub.write' | 'hub.install' | 'javaScriptMappingFiles.read' | 'javaScriptMappingFiles.write' | 'extensionConfigurationActions.write' | 'rumCookieNames.read' | 'adaptiveTrafficManagement.read' | 'rumManualInsertionTags.read'>;
|
|
128
129
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export declare enum ApiTokenScopesItem {
|
|
|
84
84
|
ProblemsWrite = "problems.write",
|
|
85
85
|
ReleasesRead = "releases.read",
|
|
86
86
|
RumCookieNamesRead = "rumCookieNames.read",
|
|
87
|
+
RumManualInsertionTagsRead = "rumManualInsertionTags.read",
|
|
87
88
|
SecurityProblemsRead = "securityProblems.read",
|
|
88
89
|
SecurityProblemsWrite = "securityProblems.write",
|
|
89
90
|
SettingsRead = "settings.read",
|
|
@@ -90,5 +90,6 @@ export declare enum ApiTokenUpdateScopesItem {
|
|
|
90
90
|
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
91
91
|
ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
|
|
92
92
|
RumCookieNamesRead = "rumCookieNames.read",
|
|
93
|
-
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
|
|
93
|
+
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read",
|
|
94
|
+
RumManualInsertionTagsRead = "rumManualInsertionTags.read"
|
|
94
95
|
}
|
|
@@ -104,6 +104,7 @@ export interface ApiTokenUpdate {
|
|
|
104
104
|
* * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
|
|
105
105
|
* * `rumCookieNames.read`: Read RUM cookie names.
|
|
106
106
|
* * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
|
|
107
|
+
* * `rumManualInsertionTags.read`: Read RUM manual insertion tags.
|
|
107
108
|
*/
|
|
108
|
-
scopes?: Array<'InstallerDownload' | 'DataExport' | 'PluginUpload' | 'SupportAlert' | 'AdvancedSyntheticIntegration' | 'ExternalSyntheticIntegration' | 'RumBrowserExtension' | 'LogExport' | 'ReadConfig' | 'WriteConfig' | 'DTAQLAccess' | 'UserSessionAnonymization' | 'DataPrivacy' | 'CaptureRequestData' | 'Davis' | 'DssFileManagement' | 'RumJavaScriptTagManagement' | 'TenantTokenManagement' | 'ActiveGateCertManagement' | 'RestRequestForwarding' | 'ReadSyntheticData' | 'DataImport' | 'syntheticExecutions.write' | 'syntheticExecutions.read' | 'auditLogs.read' | 'metrics.read' | 'metrics.write' | 'entities.read' | 'entities.write' | 'problems.read' | 'problems.write' | 'events.read' | 'events.ingest' | 'openpipeline.events' | 'openpipeline.events.custom' | 'openpipeline.events_security' | 'openpipeline.events_security.custom' | 'openpipeline.events_sdlc' | 'openpipeline.events_sdlc.custom' | 'bizevents.ingest' | 'analyzers.read' | 'analyzers.write' | 'networkZones.read' | 'networkZones.write' | 'activeGates.read' | 'activeGates.write' | 'activeGateTokenManagement.read' | 'activeGateTokenManagement.create' | 'activeGateTokenManagement.write' | 'agentTokenManagement.read' | 'credentialVault.read' | 'credentialVault.write' | 'extensions.read' | 'extensions.write' | 'extensionConfigurations.read' | 'extensionConfigurations.write' | 'extensionEnvironment.read' | 'extensionEnvironment.write' | 'metrics.ingest' | 'attacks.read' | 'attacks.write' | 'securityProblems.read' | 'securityProblems.write' | 'syntheticLocations.read' | 'syntheticLocations.write' | 'settings.read' | 'settings.write' | 'tenantTokenRotation.write' | 'slo.read' | 'slo.write' | 'releases.read' | 'apiTokens.read' | 'apiTokens.write' | 'openTelemetryTrace.ingest' | 'logs.read' | 'logs.ingest' | 'geographicRegions.read' | 'oneAgents.read' | 'oneAgents.write' | 'traces.lookup' | 'unifiedAnalysis.read' | 'hub.read' | 'hub.write' | 'hub.install' | 'javaScriptMappingFiles.read' | 'javaScriptMappingFiles.write' | 'extensionConfigurationActions.write' | 'rumCookieNames.read' | 'adaptiveTrafficManagement.read'>;
|
|
109
|
+
scopes?: Array<'InstallerDownload' | 'DataExport' | 'PluginUpload' | 'SupportAlert' | 'AdvancedSyntheticIntegration' | 'ExternalSyntheticIntegration' | 'RumBrowserExtension' | 'LogExport' | 'ReadConfig' | 'WriteConfig' | 'DTAQLAccess' | 'UserSessionAnonymization' | 'DataPrivacy' | 'CaptureRequestData' | 'Davis' | 'DssFileManagement' | 'RumJavaScriptTagManagement' | 'TenantTokenManagement' | 'ActiveGateCertManagement' | 'RestRequestForwarding' | 'ReadSyntheticData' | 'DataImport' | 'syntheticExecutions.write' | 'syntheticExecutions.read' | 'auditLogs.read' | 'metrics.read' | 'metrics.write' | 'entities.read' | 'entities.write' | 'problems.read' | 'problems.write' | 'events.read' | 'events.ingest' | 'openpipeline.events' | 'openpipeline.events.custom' | 'openpipeline.events_security' | 'openpipeline.events_security.custom' | 'openpipeline.events_sdlc' | 'openpipeline.events_sdlc.custom' | 'bizevents.ingest' | 'analyzers.read' | 'analyzers.write' | 'networkZones.read' | 'networkZones.write' | 'activeGates.read' | 'activeGates.write' | 'activeGateTokenManagement.read' | 'activeGateTokenManagement.create' | 'activeGateTokenManagement.write' | 'agentTokenManagement.read' | 'credentialVault.read' | 'credentialVault.write' | 'extensions.read' | 'extensions.write' | 'extensionConfigurations.read' | 'extensionConfigurations.write' | 'extensionEnvironment.read' | 'extensionEnvironment.write' | 'metrics.ingest' | 'attacks.read' | 'attacks.write' | 'securityProblems.read' | 'securityProblems.write' | 'syntheticLocations.read' | 'syntheticLocations.write' | 'settings.read' | 'settings.write' | 'tenantTokenRotation.write' | 'slo.read' | 'slo.write' | 'releases.read' | 'apiTokens.read' | 'apiTokens.write' | 'openTelemetryTrace.ingest' | 'logs.read' | 'logs.ingest' | 'geographicRegions.read' | 'oneAgents.read' | 'oneAgents.write' | 'traces.lookup' | 'unifiedAnalysis.read' | 'hub.read' | 'hub.write' | 'hub.install' | 'javaScriptMappingFiles.read' | 'javaScriptMappingFiles.write' | 'extensionConfigurationActions.write' | 'rumCookieNames.read' | 'adaptiveTrafficManagement.read' | 'rumManualInsertionTags.read'>;
|
|
109
110
|
}
|
|
@@ -55,5 +55,5 @@ export interface ApiToken {
|
|
|
55
55
|
/**
|
|
56
56
|
* A list of scopes assigned to the token.
|
|
57
57
|
*/
|
|
58
|
-
scopes?: Array<'ActiveGateCertManagement' | 'AdvancedSyntheticIntegration' | 'CaptureRequestData' | 'DTAQLAccess' | 'DataExport' | 'DataImport' | 'DataPrivacy' | 'Davis' | 'DiagnosticExport' | 'DssFileManagement' | 'ExternalSyntheticIntegration' | 'InstallerDownload' | 'LogExport' | 'MemoryDump' | 'Mobile' | 'PluginUpload' | 'ReadConfig' | 'ReadSyntheticData' | 'RestRequestForwarding' | 'RumBrowserExtension' | 'RumJavaScriptTagManagement' | 'SupportAlert' | 'TenantTokenManagement' | 'UserSessionAnonymization' | 'ViewDashboard' | 'ViewReport' | 'WriteConfig' | 'WriteSyntheticData' | 'activeGateTokenManagement.create' | 'activeGateTokenManagement.read' | 'activeGateTokenManagement.write' | 'activeGates.read' | 'activeGates.write' | 'adaptiveTrafficManagement.read' | 'agentTokenManagement.read' | 'analyzers.read' | 'analyzers.write' | 'apiTokens.read' | 'apiTokens.write' | 'attacks.read' | 'attacks.write' | 'auditLogs.read' | 'bizevents.ingest' | 'credentialVault.read' | 'credentialVault.write' | 'entities.read' | 'entities.write' | 'events.ingest' | 'events.read' | 'extensionConfigurationActions.write' | 'extensionConfigurations.read' | 'extensionConfigurations.write' | 'extensionEnvironment.read' | 'extensionEnvironment.write' | 'extensions.read' | 'extensions.write' | 'geographicRegions.read' | 'hub.install' | 'hub.read' | 'hub.write' | 'javaScriptMappingFiles.read' | 'javaScriptMappingFiles.write' | 'logs.ingest' | 'logs.read' | 'metrics.ingest' | 'metrics.read' | 'metrics.write' | 'networkZones.read' | 'networkZones.write' | 'oneAgents.read' | 'oneAgents.write' | 'openTelemetryTrace.ingest' | 'openpipeline.events' | 'openpipeline.events.custom' | 'openpipeline.events_sdlc' | 'openpipeline.events_sdlc.custom' | 'openpipeline.events_security' | 'openpipeline.events_security.custom' | 'problems.read' | 'problems.write' | 'releases.read' | 'rumCookieNames.read' | 'securityProblems.read' | 'securityProblems.write' | 'settings.read' | 'settings.write' | 'slo.read' | 'slo.write' | 'syntheticExecutions.read' | 'syntheticExecutions.write' | 'syntheticLocations.read' | 'syntheticLocations.write' | 'tenantTokenRotation.write' | 'traces.lookup' | 'unifiedAnalysis.read'>;
|
|
58
|
+
scopes?: Array<'ActiveGateCertManagement' | 'AdvancedSyntheticIntegration' | 'CaptureRequestData' | 'DTAQLAccess' | 'DataExport' | 'DataImport' | 'DataPrivacy' | 'Davis' | 'DiagnosticExport' | 'DssFileManagement' | 'ExternalSyntheticIntegration' | 'InstallerDownload' | 'LogExport' | 'MemoryDump' | 'Mobile' | 'PluginUpload' | 'ReadConfig' | 'ReadSyntheticData' | 'RestRequestForwarding' | 'RumBrowserExtension' | 'RumJavaScriptTagManagement' | 'SupportAlert' | 'TenantTokenManagement' | 'UserSessionAnonymization' | 'ViewDashboard' | 'ViewReport' | 'WriteConfig' | 'WriteSyntheticData' | 'activeGateTokenManagement.create' | 'activeGateTokenManagement.read' | 'activeGateTokenManagement.write' | 'activeGates.read' | 'activeGates.write' | 'adaptiveTrafficManagement.read' | 'agentTokenManagement.read' | 'analyzers.read' | 'analyzers.write' | 'apiTokens.read' | 'apiTokens.write' | 'attacks.read' | 'attacks.write' | 'auditLogs.read' | 'bizevents.ingest' | 'credentialVault.read' | 'credentialVault.write' | 'entities.read' | 'entities.write' | 'events.ingest' | 'events.read' | 'extensionConfigurationActions.write' | 'extensionConfigurations.read' | 'extensionConfigurations.write' | 'extensionEnvironment.read' | 'extensionEnvironment.write' | 'extensions.read' | 'extensions.write' | 'geographicRegions.read' | 'hub.install' | 'hub.read' | 'hub.write' | 'javaScriptMappingFiles.read' | 'javaScriptMappingFiles.write' | 'logs.ingest' | 'logs.read' | 'metrics.ingest' | 'metrics.read' | 'metrics.write' | 'networkZones.read' | 'networkZones.write' | 'oneAgents.read' | 'oneAgents.write' | 'openTelemetryTrace.ingest' | 'openpipeline.events' | 'openpipeline.events.custom' | 'openpipeline.events_sdlc' | 'openpipeline.events_sdlc.custom' | 'openpipeline.events_security' | 'openpipeline.events_security.custom' | 'problems.read' | 'problems.write' | 'releases.read' | 'rumCookieNames.read' | 'rumManualInsertionTags.read' | 'securityProblems.read' | 'securityProblems.write' | 'settings.read' | 'settings.write' | 'slo.read' | 'slo.write' | 'syntheticExecutions.read' | 'syntheticExecutions.write' | 'syntheticLocations.read' | 'syntheticLocations.write' | 'tenantTokenRotation.write' | 'traces.lookup' | 'unifiedAnalysis.read'>;
|
|
59
59
|
}
|
|
@@ -248,10 +248,13 @@ export * from './get-executions-query-execution-stage';
|
|
|
248
248
|
export * from './get-executions-query-source';
|
|
249
249
|
export * from './get-extension-monitoring-configuration-events-query-status';
|
|
250
250
|
export * from './get-host-stats-query-filter';
|
|
251
|
+
export * from './get-java-script-tag-query-script-execution-attribute';
|
|
251
252
|
export * from './get-locations-query-capability';
|
|
252
253
|
export * from './get-locations-query-cloud-platform';
|
|
253
254
|
export * from './get-locations-query-type';
|
|
254
255
|
export * from './get-nodes-query-assigned-to-location';
|
|
256
|
+
export * from './get-one-agent-java-script-tag-query-script-execution-attribute';
|
|
257
|
+
export * from './get-one-agent-java-script-tag-with-sri-query-script-execution-attribute';
|
|
255
258
|
export * from './get-permission-path-accessor-type';
|
|
256
259
|
export * from './get-slo-by-id-query-time-frame';
|
|
257
260
|
export * from './get-slo-query-enabled-slos';
|
|
@@ -8,7 +8,7 @@ The object might contain the following types of keys (the possible key values ar
|
|
|
8
8
|
* The timestamp for a log event is not limited to future time. If the log event contains a timestamp later than 10 minutes in the future, the timestamp of the event will be overridden by the current time on the server.
|
|
9
9
|
* The following formats are supported: UTC milliseconds, RFC3339, and RFC3164. For the missing timestamp, the current timestamp is used. For the unsupported timestamp format, the current timestamp is used, and the value of the unsupported timestamp format is stored in the `unparsed_timestamp` attribute (for Log Monitoring Classic, this attribute isn't indexed).
|
|
10
10
|
* **Severity.** If not set, `NONE` is used.
|
|
11
|
-
* **Content.** If the content key is not set, the
|
|
11
|
+
* **Content.** If the content key is not set or contains JSON object, the content field is filled in with the string representation of the whole ingested JSON object.
|
|
12
12
|
* **Attributes:**
|
|
13
13
|
* Logs on Grail with OpenPipeline custom processing (Dynatrace SaaS version 1.295+, Environment ActiveGate version 1.295+): All JSON data types (string, number, boolean, null) are supported. All attributes are indexed and can be used in queries. Keys are case-sensitive.
|
|
14
14
|
* Logs on Grail without OpenPipeline custom processing: Only values of the `string` type are supported. All attributes are indexed and can be used in queries. Keys are case-insensitive (lowercased).
|
package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export interface SchemaConstraintRestDto {
|
|
|
11
11
|
* The ID of a custom validator.
|
|
12
12
|
*/
|
|
13
13
|
customValidatorId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Whether to flatten collection properties when checking for uniqueness, so only disjoint collections are considered unique
|
|
16
|
+
*/
|
|
17
|
+
flattenCollections?: boolean;
|
|
14
18
|
/**
|
|
15
19
|
* Whether to skip validation on a change made from the UI.
|
|
16
20
|
*/
|