@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.
- package/CHANGELOG.md +21 -0
- package/README.md +417 -277
- package/cjs/index.js +2355 -2116
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +2363 -2128
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +73 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.transformation.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details-reduced-reasons-item.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details-reduced-reasons-item.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +28 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.transformation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/modification.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/permission-context.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/permission-context.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-page.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-page.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +34 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.transformation.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-aggregation.d.ts +1 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-privacy-operations-sync-api-api.d.ts +0 -64
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response-data.d.ts +0 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response-data.transformation.d.ts +0 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response.d.ts +0 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response.transformation.d.ts +0 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/personal-data-request.d.ts +0 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/personal-data-request.transformation.d.ts +0 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/pii-relationships-item.d.ts +0 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/pii-relationships-item.transformation.d.ts +0 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/pii.d.ts +0 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/pii.transformation.d.ts +0 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/schema.d.ts +0 -18
- package/types/packages/client/classic-environment-v2/src/lib/models/schema.transformation.d.ts +0 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/value.d.ts +0 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/value.transformation.d.ts +0 -9
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ModificationInfo } from './modification-info';
|
|
2
2
|
export interface AsJson {
|
|
3
|
-
deletable
|
|
3
|
+
deletable: boolean;
|
|
4
4
|
first?: boolean;
|
|
5
|
-
modifiable
|
|
6
|
-
modifiablePaths
|
|
7
|
-
movable
|
|
8
|
-
nonModifiablePaths
|
|
5
|
+
modifiable: boolean;
|
|
6
|
+
modifiablePaths: string[];
|
|
7
|
+
movable: boolean;
|
|
8
|
+
nonModifiablePaths: string[];
|
|
9
9
|
}
|
|
10
10
|
export declare function fromJson($model: AsJson): ModificationInfo;
|
|
11
11
|
export declare function toJson($model: ModificationInfo): AsJson;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The additional modification details for this settings object.
|
|
3
|
+
*/
|
|
4
|
+
export interface Modification {
|
|
5
|
+
/**
|
|
6
|
+
* If non-moveable settings object is in the first group of non-moveable settings, or in the last (start or end of list).
|
|
7
|
+
*/
|
|
8
|
+
first?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Property paths which are modifiable, regardless if the `write` operation is allowed.
|
|
11
|
+
*/
|
|
12
|
+
modifiablePaths: string[];
|
|
13
|
+
/**
|
|
14
|
+
* If settings object can be moved/reordered. Only applicable for ordered list schema.
|
|
15
|
+
*/
|
|
16
|
+
movable?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Property paths which are not modifiable, even if the `write` operation is allowed.
|
|
19
|
+
*/
|
|
20
|
+
nonModifiablePaths: string[];
|
|
21
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/modification.transformation.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Modification } from './modification';
|
|
2
|
+
export interface AsJson {
|
|
3
|
+
first?: boolean;
|
|
4
|
+
modifiablePaths: string[];
|
|
5
|
+
movable?: boolean;
|
|
6
|
+
nonModifiablePaths: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): Modification;
|
|
9
|
+
export declare function toJson($model: Modification): AsJson;
|
|
@@ -26,6 +26,7 @@ export declare enum MonitoredEntityStatesState {
|
|
|
26
26
|
Ok = "ok",
|
|
27
27
|
ParentProcessRestartRequired = "parent_process_restart_required",
|
|
28
28
|
PodmanDisabled = "podman_disabled",
|
|
29
|
+
ProcessGroupDifferentIdDueToDeclarativeGrouping = "process_group_different_id_due_to_declarative_grouping",
|
|
29
30
|
ProcessGroupDisabled = "process_group_disabled",
|
|
30
31
|
ProcessGroupDisabledViaContainerInjectionRule = "process_group_disabled_via_container_injection_rule",
|
|
31
32
|
ProcessGroupDisabledViaContainerInjectionRuleRestart = "process_group_disabled_via_container_injection_rule_restart",
|
|
@@ -38,6 +38,18 @@ export interface Problem {
|
|
|
38
38
|
* A list of all entities that are impacted by the problem.
|
|
39
39
|
*/
|
|
40
40
|
impactedEntities: EntityStub[];
|
|
41
|
+
/**
|
|
42
|
+
* The related Kubernetes cluster names.
|
|
43
|
+
*/
|
|
44
|
+
'k8s.cluster.name'?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* The related Kubernetes cluster UIDs.
|
|
47
|
+
*/
|
|
48
|
+
'k8s.cluster.uid'?: string[];
|
|
49
|
+
/**
|
|
50
|
+
* The related Kubernetes namespace names.
|
|
51
|
+
*/
|
|
52
|
+
'k8s.namespace.name'?: string[];
|
|
41
53
|
linkedProblemInfo?: LinkedProblem;
|
|
42
54
|
/**
|
|
43
55
|
* A list of all management zones that the problem belongs to.
|
package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts
CHANGED
|
@@ -19,6 +19,9 @@ export interface AsJson {
|
|
|
19
19
|
impactAnalysis?: _ImpactAnalysisTransformation.AsJson;
|
|
20
20
|
impactLevel: _ProblemImpactLevelTransformation.AsJson;
|
|
21
21
|
impactedEntities: _EntityStubTransformation.AsJson[];
|
|
22
|
+
'k8s.cluster.name'?: string[];
|
|
23
|
+
'k8s.cluster.uid'?: string[];
|
|
24
|
+
'k8s.namespace.name'?: string[];
|
|
22
25
|
linkedProblemInfo?: _LinkedProblemTransformation.AsJson;
|
|
23
26
|
managementZones: _ManagementZoneTransformation.AsJson[];
|
|
24
27
|
problemFilters: _AlertingProfileStubTransformation.AsJson[];
|
package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssessmentAccuracyDetails } from './assessment-accuracy-details';
|
|
1
2
|
import { RemediationAssessmentAssessmentAccuracy } from './remediation-assessment-assessment-accuracy';
|
|
2
3
|
import { RemediationAssessmentDataAssets } from './remediation-assessment-data-assets';
|
|
3
4
|
import { RemediationAssessmentExposure } from './remediation-assessment-exposure';
|
|
@@ -8,6 +9,7 @@ import { VulnerableFunction } from './vulnerable-function';
|
|
|
8
9
|
*/
|
|
9
10
|
export interface RemediationAssessment {
|
|
10
11
|
assessmentAccuracy?: RemediationAssessmentAssessmentAccuracy;
|
|
12
|
+
assessmentAccuracyDetails?: AssessmentAccuracyDetails;
|
|
11
13
|
dataAssets?: RemediationAssessmentDataAssets;
|
|
12
14
|
exposure?: RemediationAssessmentExposure;
|
|
13
15
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _AssessmentAccuracyDetailsTransformation from './assessment-accuracy-details.transformation';
|
|
1
2
|
import { RemediationAssessment } from './remediation-assessment';
|
|
2
3
|
import * as _RemediationAssessmentAssessmentAccuracyTransformation from './remediation-assessment-assessment-accuracy.transformation';
|
|
3
4
|
import * as _RemediationAssessmentDataAssetsTransformation from './remediation-assessment-data-assets.transformation';
|
|
@@ -6,6 +7,7 @@ import * as _RemediationAssessmentVulnerableFunctionUsageTransformation from './
|
|
|
6
7
|
import * as _VulnerableFunctionTransformation from './vulnerable-function.transformation';
|
|
7
8
|
export interface AsJson {
|
|
8
9
|
assessmentAccuracy?: _RemediationAssessmentAssessmentAccuracyTransformation.AsJson;
|
|
10
|
+
assessmentAccuracyDetails?: _AssessmentAccuracyDetailsTransformation.AsJson;
|
|
9
11
|
dataAssets?: _RemediationAssessmentDataAssetsTransformation.AsJson;
|
|
10
12
|
exposure?: _RemediationAssessmentExposureTransformation.AsJson;
|
|
11
13
|
numberOfDataAssets?: number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResolutionRequest } from './resolution-request';
|
|
2
|
+
import * as _SinglePermissionRequestTransformation from './single-permission-request.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
permissions?: _SinglePermissionRequestTransformation.AsJson[];
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): ResolutionRequest;
|
|
7
|
+
export declare function toJson($model: ResolutionRequest): AsJson;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ResourceContextOperationsItem } from './resource-context-operations-item';
|
|
2
|
+
export type AsJson = string;
|
|
3
|
+
export declare function fromJson($model: AsJson): ResourceContextOperationsItem;
|
|
4
|
+
export declare function toJson($model: ResourceContextOperationsItem): AsJson;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Modification } from './modification';
|
|
2
|
+
import { ResourceContextOperationsItem } from './resource-context-operations-item';
|
|
3
|
+
/**
|
|
4
|
+
* The resource context, which contains additional permission information about the object.
|
|
5
|
+
*/
|
|
6
|
+
export interface ResourceContext {
|
|
7
|
+
modifications: Modification;
|
|
8
|
+
/**
|
|
9
|
+
* The allowed operations on this settings object.
|
|
10
|
+
*/
|
|
11
|
+
operations: ResourceContextOperationsItem[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as _ModificationTransformation from './modification.transformation';
|
|
2
|
+
import { ResourceContext } from './resource-context';
|
|
3
|
+
import * as _ResourceContextOperationsItemTransformation from './resource-context-operations-item.transformation';
|
|
4
|
+
export interface AsJson {
|
|
5
|
+
modifications: _ModificationTransformation.AsJson;
|
|
6
|
+
operations: _ResourceContextOperationsItemTransformation.AsJson[];
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): ResourceContext;
|
|
9
|
+
export declare function toJson($model: ResourceContext): AsJson;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RevisionDiff } from './revision-diff';
|
|
2
|
+
/**
|
|
3
|
+
* The paged response payload for diff between revisions of settings.
|
|
4
|
+
*/
|
|
5
|
+
export interface RevisionDiffPage {
|
|
6
|
+
/**
|
|
7
|
+
* The 'to' time in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') from the original request.
|
|
8
|
+
*/
|
|
9
|
+
endTime: string;
|
|
10
|
+
/**
|
|
11
|
+
* The list of revisions changes in the current page.
|
|
12
|
+
*/
|
|
13
|
+
items: RevisionDiff[];
|
|
14
|
+
/**
|
|
15
|
+
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
16
|
+
*
|
|
17
|
+
* Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
|
|
18
|
+
*/
|
|
19
|
+
nextPageKey?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The number of entries per page.
|
|
22
|
+
*/
|
|
23
|
+
pageSize: number;
|
|
24
|
+
/**
|
|
25
|
+
* The 'from' time in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') from the original request.
|
|
26
|
+
*/
|
|
27
|
+
startTime: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RevisionDiffPage } from './revision-diff-page';
|
|
2
|
+
import * as _RevisionDiffTransformation from './revision-diff.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
endTime: string;
|
|
5
|
+
items: _RevisionDiffTransformation.AsJson[];
|
|
6
|
+
nextPageKey?: string;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
startTime: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function fromJson($model: AsJson): RevisionDiffPage;
|
|
11
|
+
export declare function toJson($model: RevisionDiffPage): AsJson;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AnyValue } from './any-value';
|
|
2
|
+
import { HistoryModificationInfo } from './history-modification-info';
|
|
3
|
+
import { RevisionDiffType } from './revision-diff-type';
|
|
4
|
+
/**
|
|
5
|
+
* The diff between two revisions.
|
|
6
|
+
*/
|
|
7
|
+
export interface RevisionDiff {
|
|
8
|
+
/**
|
|
9
|
+
* The new value of the changed settings value or null if the value has been deleted.
|
|
10
|
+
*/
|
|
11
|
+
jsonAfter?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The previous value of the changed settings value or null if the value has been newly created.
|
|
14
|
+
*/
|
|
15
|
+
jsonBefore?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The JSON Patch for this value. May be null if the diff type is not UPDATE.
|
|
18
|
+
*/
|
|
19
|
+
jsonPatch?: AnyValue;
|
|
20
|
+
modificationInfo?: HistoryModificationInfo;
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the settings object.
|
|
23
|
+
*/
|
|
24
|
+
objectId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The revision of the change.
|
|
27
|
+
*/
|
|
28
|
+
revision?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The schema version the new value complies to
|
|
31
|
+
*/
|
|
32
|
+
schemaVersion?: string;
|
|
33
|
+
type?: RevisionDiffType;
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _AnyValueTransformation from './any-value.transformation';
|
|
2
|
+
import * as _HistoryModificationInfoTransformation from './history-modification-info.transformation';
|
|
3
|
+
import { RevisionDiff } from './revision-diff';
|
|
4
|
+
import * as _RevisionDiffTypeTransformation from './revision-diff-type.transformation';
|
|
5
|
+
export interface AsJson {
|
|
6
|
+
jsonAfter?: string;
|
|
7
|
+
jsonBefore?: string;
|
|
8
|
+
jsonPatch?: _AnyValueTransformation.AsJson;
|
|
9
|
+
modificationInfo?: _HistoryModificationInfoTransformation.AsJson;
|
|
10
|
+
objectId?: string;
|
|
11
|
+
revision?: string;
|
|
12
|
+
schemaVersion?: string;
|
|
13
|
+
type?: _RevisionDiffTypeTransformation.AsJson;
|
|
14
|
+
}
|
|
15
|
+
export declare function fromJson($model: AsJson): RevisionDiff;
|
|
16
|
+
export declare function toJson($model: RevisionDiff): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssessmentAccuracyDetails } from './assessment-accuracy-details';
|
|
1
2
|
import { RiskAssessmentDetailsAssessmentAccuracy } from './risk-assessment-details-assessment-accuracy';
|
|
2
3
|
import { RiskAssessmentDetailsBaseRiskLevel } from './risk-assessment-details-base-risk-level';
|
|
3
4
|
import { RiskAssessmentDetailsDataAssets } from './risk-assessment-details-data-assets';
|
|
@@ -10,6 +11,7 @@ import { RiskAssessmentDetailsVulnerableFunctionUsage } from './risk-assessment-
|
|
|
10
11
|
*/
|
|
11
12
|
export interface RiskAssessmentDetails {
|
|
12
13
|
assessmentAccuracy?: RiskAssessmentDetailsAssessmentAccuracy;
|
|
14
|
+
assessmentAccuracyDetails?: AssessmentAccuracyDetails;
|
|
13
15
|
baseRiskLevel?: RiskAssessmentDetailsBaseRiskLevel;
|
|
14
16
|
/**
|
|
15
17
|
* The risk score (1-10) from the CVSS score.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _AssessmentAccuracyDetailsTransformation from './assessment-accuracy-details.transformation';
|
|
1
2
|
import { RiskAssessmentDetails } from './risk-assessment-details';
|
|
2
3
|
import * as _RiskAssessmentDetailsAssessmentAccuracyTransformation from './risk-assessment-details-assessment-accuracy.transformation';
|
|
3
4
|
import * as _RiskAssessmentDetailsBaseRiskLevelTransformation from './risk-assessment-details-base-risk-level.transformation';
|
|
@@ -8,6 +9,7 @@ import * as _RiskAssessmentDetailsRiskLevelTransformation from './risk-assessmen
|
|
|
8
9
|
import * as _RiskAssessmentDetailsVulnerableFunctionUsageTransformation from './risk-assessment-details-vulnerable-function-usage.transformation';
|
|
9
10
|
export interface AsJson {
|
|
10
11
|
assessmentAccuracy?: _RiskAssessmentDetailsAssessmentAccuracyTransformation.AsJson;
|
|
12
|
+
assessmentAccuracyDetails?: _AssessmentAccuracyDetailsTransformation.AsJson;
|
|
11
13
|
baseRiskLevel?: _RiskAssessmentDetailsBaseRiskLevelTransformation.AsJson;
|
|
12
14
|
baseRiskScore?: number;
|
|
13
15
|
baseRiskVector?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AssessmentAccuracyDetails } from './assessment-accuracy-details';
|
|
1
2
|
import { RiskAssessmentAssessmentAccuracy } from './risk-assessment-assessment-accuracy';
|
|
2
3
|
import { RiskAssessmentBaseRiskLevel } from './risk-assessment-base-risk-level';
|
|
3
4
|
import { RiskAssessmentDataAssets } from './risk-assessment-data-assets';
|
|
@@ -10,6 +11,7 @@ import { RiskAssessmentVulnerableFunctionUsage } from './risk-assessment-vulnera
|
|
|
10
11
|
*/
|
|
11
12
|
export interface RiskAssessment {
|
|
12
13
|
assessmentAccuracy?: RiskAssessmentAssessmentAccuracy;
|
|
14
|
+
assessmentAccuracyDetails?: AssessmentAccuracyDetails;
|
|
13
15
|
baseRiskLevel?: RiskAssessmentBaseRiskLevel;
|
|
14
16
|
/**
|
|
15
17
|
* The risk score (1-10) from the CVSS score.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _AssessmentAccuracyDetailsTransformation from './assessment-accuracy-details.transformation';
|
|
1
2
|
import { RiskAssessment } from './risk-assessment';
|
|
2
3
|
import * as _RiskAssessmentAssessmentAccuracyTransformation from './risk-assessment-assessment-accuracy.transformation';
|
|
3
4
|
import * as _RiskAssessmentBaseRiskLevelTransformation from './risk-assessment-base-risk-level.transformation';
|
|
@@ -8,6 +9,7 @@ import * as _RiskAssessmentRiskLevelTransformation from './risk-assessment-risk-
|
|
|
8
9
|
import * as _RiskAssessmentVulnerableFunctionUsageTransformation from './risk-assessment-vulnerable-function-usage.transformation';
|
|
9
10
|
export interface AsJson {
|
|
10
11
|
assessmentAccuracy?: _RiskAssessmentAssessmentAccuracyTransformation.AsJson;
|
|
12
|
+
assessmentAccuracyDetails?: _AssessmentAccuracyDetailsTransformation.AsJson;
|
|
11
13
|
baseRiskLevel?: _RiskAssessmentBaseRiskLevelTransformation.AsJson;
|
|
12
14
|
baseRiskScore?: number;
|
|
13
15
|
baseRiskVector?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AnyValue } from './any-value';
|
|
2
|
+
import { ResourceContext } from './resource-context';
|
|
2
3
|
/**
|
|
3
4
|
* The response to a get by objectId request.
|
|
4
5
|
*/
|
|
@@ -31,6 +32,7 @@ export interface SettingsObjectByObjectIdResponse {
|
|
|
31
32
|
* The ID of the settings object.
|
|
32
33
|
*/
|
|
33
34
|
objectId?: string;
|
|
35
|
+
resourceContext?: ResourceContext;
|
|
34
36
|
/**
|
|
35
37
|
* The schema on which the object is based.
|
|
36
38
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _AnyValueTransformation from './any-value.transformation';
|
|
2
|
+
import * as _ResourceContextTransformation from './resource-context.transformation';
|
|
2
3
|
import { SettingsObjectByObjectIdResponse } from './settings-object-by-object-id-response';
|
|
3
4
|
export interface AsJson {
|
|
4
5
|
author?: string;
|
|
@@ -8,6 +9,7 @@ export interface AsJson {
|
|
|
8
9
|
modified?: number;
|
|
9
10
|
modifiedBy?: string;
|
|
10
11
|
objectId?: string;
|
|
12
|
+
resourceContext?: _ResourceContextTransformation.AsJson;
|
|
11
13
|
schemaId?: string;
|
|
12
14
|
schemaVersion?: string;
|
|
13
15
|
scope?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AnyValue } from './any-value';
|
|
2
2
|
import { ModificationInfo } from './modification-info';
|
|
3
|
+
import { ResourceContext } from './resource-context';
|
|
3
4
|
/**
|
|
4
5
|
* A settings object.
|
|
5
6
|
*/
|
|
@@ -33,6 +34,7 @@ export interface SettingsObject {
|
|
|
33
34
|
* The ID of the settings object.
|
|
34
35
|
*/
|
|
35
36
|
objectId?: string;
|
|
37
|
+
resourceContext?: ResourceContext;
|
|
36
38
|
/**
|
|
37
39
|
* The schema on which the object is based.
|
|
38
40
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _AnyValueTransformation from './any-value.transformation';
|
|
2
2
|
import * as _ModificationInfoTransformation from './modification-info.transformation';
|
|
3
|
+
import * as _ResourceContextTransformation from './resource-context.transformation';
|
|
3
4
|
import { SettingsObject } from './settings-object';
|
|
4
5
|
export interface AsJson {
|
|
5
6
|
author?: string;
|
|
@@ -10,6 +11,7 @@ export interface AsJson {
|
|
|
10
11
|
modified?: number;
|
|
11
12
|
modifiedBy?: string;
|
|
12
13
|
objectId?: string;
|
|
14
|
+
resourceContext?: _ResourceContextTransformation.AsJson;
|
|
13
15
|
schemaId?: string;
|
|
14
16
|
schemaVersion?: string;
|
|
15
17
|
scope?: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as _PermissionContextTransformation from './permission-context.transformation';
|
|
2
|
+
import { SinglePermissionRequest } from './single-permission-request';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
context?: _PermissionContextTransformation.AsJson;
|
|
5
|
+
permission: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): SinglePermissionRequest;
|
|
8
|
+
export declare function toJson($model: SinglePermissionRequest): AsJson;
|
|
@@ -2,12 +2,7 @@
|
|
|
2
2
|
* Aggregation type
|
|
3
3
|
*/
|
|
4
4
|
export declare enum SyntheticMonitorPerformanceThresholdDtoAggregation {
|
|
5
|
-
Auto = "AUTO",
|
|
6
5
|
Avg = "AVG",
|
|
7
|
-
Count = "COUNT",
|
|
8
6
|
Max = "MAX",
|
|
9
|
-
|
|
10
|
-
Min = "MIN",
|
|
11
|
-
Sum = "SUM",
|
|
12
|
-
Value = "VALUE"
|
|
7
|
+
Min = "MIN"
|
|
13
8
|
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
-
import { PaginatedPersonalDataResponse } from '../models/paginated-personal-data-response';
|
|
3
|
-
import { PersonalDataRequest } from '../models/personal-data-request';
|
|
4
|
-
/**
|
|
5
|
-
* Enables synchronous export and deletion of personal data from Settings 2.0 Platform
|
|
6
|
-
*/
|
|
7
|
-
export declare class SettingsPrivacyOperationsSyncApiClient {
|
|
8
|
-
private httpClient;
|
|
9
|
-
/**
|
|
10
|
-
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsPrivacyOperationsSyncApiClient. Custom http client should implement {HttpClient} interface.
|
|
11
|
-
* @example
|
|
12
|
-
* const settingsPrivacyOperationsSyncApiClientNodeJs = new SettingsPrivacyOperationsSyncApiClient(yourCustomImplementation);
|
|
13
|
-
*/
|
|
14
|
-
constructor(httpClientImplementation: HttpClient);
|
|
15
|
-
/**
|
|
16
|
-
* Export all internal personal data the Settings 2.0 Platform stores for the specified user
|
|
17
|
-
*
|
|
18
|
-
* **Required scope:** settings:operations.privacy:read<br/>**Required permission:** settings:operations.privacy:read<br/><br/>Export all internal personal data the Settings 2.0 Platform stores for the specified user in a paged response.
|
|
19
|
-
* The amount of elements in a single response page is limited to 100.
|
|
20
|
-
*
|
|
21
|
-
* @returns Success
|
|
22
|
-
*
|
|
23
|
-
* @example <caption>Code example</caption>
|
|
24
|
-
* import { settingsPrivacyOperationsSyncApiClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
25
|
-
*
|
|
26
|
-
* const data =
|
|
27
|
-
* await settingsPrivacyOperationsSyncApiClient.exportPersonalDataSync(
|
|
28
|
-
* {
|
|
29
|
-
* body: {
|
|
30
|
-
* email: "user@foo.com",
|
|
31
|
-
* userId: "da7d78b7-4e94-46d4-b76d-934eff92af9a",
|
|
32
|
-
* },
|
|
33
|
-
* },
|
|
34
|
-
* );
|
|
35
|
-
*/
|
|
36
|
-
exportPersonalDataSync(config: {
|
|
37
|
-
body: PersonalDataRequest;
|
|
38
|
-
/** The page to retrieve (optional; if not set, a PersonalDataRequestDto must be provided and the first page of data will be returned) */ pageKey?: string;
|
|
39
|
-
abortSignal?: AbortSignal;
|
|
40
|
-
}): Promise<PaginatedPersonalDataResponse>;
|
|
41
|
-
/**
|
|
42
|
-
* Delete all internal personal data the Settings 2.0 Platform stores for the specified user
|
|
43
|
-
*
|
|
44
|
-
* **Required scope:** settings:operations.privacy:write<br/>**Required permission:** settings:operations.privacy:write
|
|
45
|
-
*
|
|
46
|
-
* @example <caption>Code example</caption>
|
|
47
|
-
* import { settingsPrivacyOperationsSyncApiClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
48
|
-
*
|
|
49
|
-
* const data =
|
|
50
|
-
* await settingsPrivacyOperationsSyncApiClient.deletePersonalDataSync(
|
|
51
|
-
* {
|
|
52
|
-
* body: {
|
|
53
|
-
* email: "user@foo.com",
|
|
54
|
-
* userId: "da7d78b7-4e94-46d4-b76d-934eff92af9a",
|
|
55
|
-
* },
|
|
56
|
-
* },
|
|
57
|
-
* );
|
|
58
|
-
*/
|
|
59
|
-
deletePersonalDataSync(config: {
|
|
60
|
-
body: PersonalDataRequest;
|
|
61
|
-
abortSignal?: AbortSignal;
|
|
62
|
-
}): Promise<void>;
|
|
63
|
-
}
|
|
64
|
-
export declare const settingsPrivacyOperationsSyncApiClient: SettingsPrivacyOperationsSyncApiClient;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Schema } from './schema';
|
|
2
|
-
/**
|
|
3
|
-
* The data of the response payload to the personal data request.
|
|
4
|
-
*/
|
|
5
|
-
export interface PaginatedPersonalDataResponseData {
|
|
6
|
-
/**
|
|
7
|
-
* The list of settings schemas containing personal data.
|
|
8
|
-
*/
|
|
9
|
-
schemas: Schema[];
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PaginatedPersonalDataResponseData } from './paginated-personal-data-response-data';
|
|
2
|
-
import * as _SchemaTransformation from './schema.transformation';
|
|
3
|
-
export interface AsJson {
|
|
4
|
-
schemas: _SchemaTransformation.AsJson[];
|
|
5
|
-
}
|
|
6
|
-
export declare function fromJson($model: AsJson): PaginatedPersonalDataResponseData;
|
|
7
|
-
export declare function toJson($model: PaginatedPersonalDataResponseData): AsJson;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PaginatedPersonalDataResponseData } from './paginated-personal-data-response-data';
|
|
2
|
-
/**
|
|
3
|
-
* The response payload to the personal data request.
|
|
4
|
-
*/
|
|
5
|
-
export interface PaginatedPersonalDataResponse {
|
|
6
|
-
data: PaginatedPersonalDataResponseData;
|
|
7
|
-
/**
|
|
8
|
-
* In case of paginated results, this contains the pageKey for the next page.
|
|
9
|
-
*/
|
|
10
|
-
nextPageKey?: string;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginatedPersonalDataResponse } from './paginated-personal-data-response';
|
|
2
|
-
import * as _PaginatedPersonalDataResponseDataTransformation from './paginated-personal-data-response-data.transformation';
|
|
3
|
-
export interface AsJson {
|
|
4
|
-
data: _PaginatedPersonalDataResponseDataTransformation.AsJson;
|
|
5
|
-
nextPageKey?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function fromJson($model: AsJson): PaginatedPersonalDataResponse;
|
|
8
|
-
export declare function toJson($model: PaginatedPersonalDataResponse): AsJson;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PersonalDataRequest } from './personal-data-request';
|
|
2
|
-
export interface AsJson {
|
|
3
|
-
email: string;
|
|
4
|
-
userId: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function fromJson($model: AsJson): PersonalDataRequest;
|
|
7
|
-
export declare function toJson($model: PersonalDataRequest): AsJson;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PiiRelationshipsItem } from './pii-relationships-item';
|
|
2
|
-
/**
|
|
3
|
-
* The information about relationships of the user to the settings object.
|
|
4
|
-
*/
|
|
5
|
-
export interface Pii {
|
|
6
|
-
/**
|
|
7
|
-
* A list of user relationships.
|
|
8
|
-
*/
|
|
9
|
-
relationships: PiiRelationshipsItem[];
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Pii } from './pii';
|
|
2
|
-
import * as _PiiRelationshipsItemTransformation from './pii-relationships-item.transformation';
|
|
3
|
-
export interface AsJson {
|
|
4
|
-
relationships: _PiiRelationshipsItemTransformation.AsJson[];
|
|
5
|
-
}
|
|
6
|
-
export declare function fromJson($model: AsJson): Pii;
|
|
7
|
-
export declare function toJson($model: Pii): AsJson;
|