@dynatrace-sdk/client-classic-environment-v2 1.9.1 → 1.11.1

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 (153) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +17873 -7
  3. package/cjs/index.js +5075 -3823
  4. package/docs/DOCS.md +7272 -3908
  5. package/dynatrace-metadata.json +2 -2
  6. package/esm/index.js +5123 -3867
  7. package/package.json +2 -2
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +166 -0
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +4 -0
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +3 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -2
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +14 -3
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +193 -0
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +6 -4
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +6 -4
  17. package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.d.ts +8 -0
  18. package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.transformation.d.ts +11 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/affected-entity.d.ts +13 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/models/affected-entity.transformation.d.ts +7 -0
  21. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +6 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +4 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
  24. package/types/packages/client/classic-environment-v2/src/lib/models/attack-attack-type.d.ts +9 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/attack-attack-type.transformation.d.ts +4 -0
  26. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +12 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.transformation.d.ts +9 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +14 -0
  29. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.transformation.d.ts +11 -0
  30. package/types/packages/client/classic-environment-v2/src/lib/models/attack-list.d.ts +24 -0
  31. package/types/packages/client/classic-environment-v2/src/lib/models/attack-list.transformation.d.ts +10 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/attack-request-header.d.ts +13 -0
  33. package/types/packages/client/classic-environment-v2/src/lib/models/attack-request-header.transformation.d.ts +7 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-data-assets.d.ts +8 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-data-assets.transformation.d.ts +4 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-exposure.d.ts +8 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-exposure.transformation.d.ts +4 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +13 -0
  39. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.transformation.d.ts +10 -0
  40. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +11 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.transformation.d.ts +8 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/attack-state.d.ts +8 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/models/attack-state.transformation.d.ts +4 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/attack-target.d.ts +13 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/attack-target.transformation.d.ts +7 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/attack-technology.d.ts +9 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/attack-technology.transformation.d.ts +4 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +46 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/attack.transformation.d.ts +31 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/attacker-location.d.ts +17 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/attacker-location.transformation.d.ts +8 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +11 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/attacker.transformation.d.ts +8 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +31 -2
  55. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.transformation.d.ts +8 -2
  56. package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +35 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/code-location.transformation.d.ts +14 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scope.d.ts +0 -2
  59. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scopes-item.d.ts +1 -3
  60. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scope.d.ts +0 -2
  61. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scopes-item.d.ts +1 -3
  62. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +9 -2
  63. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.transformation.d.ts +2 -2
  64. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.d.ts +1 -1
  65. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.transformation.d.ts +1 -1
  66. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.d.ts +14 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.transformation.d.ts +4 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +15 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.transformation.d.ts +9 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +5 -2
  71. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts +2 -2
  72. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.d.ts +6 -2
  73. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.transformation.d.ts +2 -1
  74. package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +27 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.transformation.d.ts +12 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-full-report-path-execution-id.d.ts +5 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-full-report-path-execution-id.transformation.d.ts +4 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-path-execution-id.d.ts +5 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-path-execution-id.transformation.d.ts +4 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +13 -0
  81. package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.transformation.d.ts +10 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/http-request-parameter.d.ts +13 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/http-request-parameter.transformation.d.ts +7 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +76 -16
  85. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +5 -2
  86. package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts +2 -2
  87. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -4
  88. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation-status.d.ts +7 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation-status.transformation.d.ts +4 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +15 -0
  91. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.transformation.d.ts +9 -0
  92. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +2 -0
  93. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.transformation.d.ts +2 -0
  94. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +1 -1
  95. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +8 -3
  96. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +3 -3
  97. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +12 -4
  98. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.transformation.d.ts +4 -4
  99. package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +7 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.transformation.d.ts +10 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment-assessment-accuracy.d.ts +8 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment-assessment-accuracy.transformation.d.ts +4 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +2 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.transformation.d.ts +2 -0
  105. package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +19 -0
  106. package/types/packages/client/classic-environment-v2/src/lib/models/request-information.transformation.d.ts +10 -0
  107. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-assessment-accuracy.d.ts +1 -1
  108. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details-assessment-accuracy.d.ts +1 -1
  109. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-dto-impl.d.ts +6 -0
  110. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-dto-impl.transformation.d.ts +6 -0
  111. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-result-dto.d.ts +13 -0
  112. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-result-dto.transformation.d.ts +7 -0
  113. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +9 -2
  114. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.transformation.d.ts +2 -2
  115. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +9 -2
  116. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.transformation.d.ts +2 -2
  117. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +9 -2
  118. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.transformation.d.ts +2 -2
  119. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +9 -2
  120. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -2
  121. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +4 -0
  122. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.transformation.d.ts +1 -0
  123. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +4 -0
  124. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.transformation.d.ts +1 -0
  125. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +12 -0
  126. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.transformation.d.ts +9 -0
  127. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +12 -0
  128. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.transformation.d.ts +9 -0
  129. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +11 -0
  130. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.transformation.d.ts +8 -0
  131. package/types/packages/client/classic-environment-v2/src/lib/models/truncation-info.d.ts +9 -0
  132. package/types/packages/client/classic-environment-v2/src/lib/models/truncation-info.transformation.d.ts +6 -0
  133. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +5 -2
  134. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.transformation.d.ts +2 -2
  135. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +19 -0
  136. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.transformation.d.ts +13 -0
  137. package/types/packages/client/classic-environment-v2/src/lib/utils/url-helpers.d.ts +4 -1
  138. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.d.ts +0 -8
  139. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.transformation.d.ts +0 -4
  140. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.d.ts +0 -6
  141. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.transformation.d.ts +0 -4
  142. package/types/packages/client/classic-environment-v2/src/lib/models/item-type.d.ts +0 -6
  143. package/types/packages/client/classic-environment-v2/src/lib/models/item-type.transformation.d.ts +0 -5
  144. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.d.ts +0 -8
  145. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.transformation.d.ts +0 -4
  146. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.d.ts +0 -8
  147. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.transformation.d.ts +0 -4
  148. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-type.d.ts +0 -6
  149. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-type.transformation.d.ts +0 -5
  150. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.d.ts +0 -10
  151. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.transformation.d.ts +0 -4
  152. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.d.ts +0 -6
  153. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.transformation.d.ts +0 -5
@@ -1,11 +1,11 @@
1
+ import { AnyValue } from './any-value';
1
2
  import { Constraint } from './constraint';
2
3
  import { DatasourceDefinition } from './datasource-definition';
3
4
  import { Item } from './item';
4
5
  import { Precondition } from './precondition';
5
- import { PropertyDefinitionDefault } from './property-definition-default';
6
6
  import { PropertyDefinitionMetadata } from './property-definition-metadata';
7
7
  import { PropertyDefinitionModificationPolicy } from './property-definition-modification-policy';
8
- import { PropertyDefinitionType } from './property-definition-type';
8
+ import { RefPointer } from './ref-pointer';
9
9
  import { UiCustomization } from './ui-customization';
10
10
  /**
11
11
  * Configuration of a property in a settings schema.
@@ -16,7 +16,12 @@ export interface PropertyDefinition {
16
16
  */
17
17
  constraints?: Constraint[];
18
18
  datasource?: DatasourceDefinition;
19
- default?: PropertyDefinitionDefault;
19
+ /**
20
+ * The default value to be used when no value is provided.
21
+ *
22
+ * If a non-singleton has the value of `null`, it means an empty collection.
23
+ */
24
+ default?: AnyValue;
20
25
  /**
21
26
  * A short description of the property.
22
27
  */
@@ -63,6 +68,9 @@ export interface PropertyDefinition {
63
68
  * The subtype of the property's value.
64
69
  */
65
70
  subType?: string;
66
- type: PropertyDefinitionType;
71
+ /**
72
+ * The type of the property's value.
73
+ */
74
+ type: string | RefPointer;
67
75
  uiCustomization?: UiCustomization;
68
76
  }
@@ -1,17 +1,17 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import * as _ConstraintTransformation from './constraint.transformation';
2
3
  import * as _DatasourceDefinitionTransformation from './datasource-definition.transformation';
3
4
  import * as _ItemTransformation from './item.transformation';
4
5
  import * as _PreconditionTransformation from './precondition.transformation';
5
6
  import { PropertyDefinition } from './property-definition';
6
- import * as _PropertyDefinitionDefaultTransformation from './property-definition-default.transformation';
7
7
  import * as _PropertyDefinitionMetadataTransformation from './property-definition-metadata.transformation';
8
8
  import * as _PropertyDefinitionModificationPolicyTransformation from './property-definition-modification-policy.transformation';
9
- import * as _PropertyDefinitionTypeTransformation from './property-definition-type.transformation';
9
+ import * as _RefPointerTransformation from './ref-pointer.transformation';
10
10
  import * as _UiCustomizationTransformation from './ui-customization.transformation';
11
11
  export interface AsJson {
12
12
  constraints?: _ConstraintTransformation.AsJson[];
13
13
  datasource?: _DatasourceDefinitionTransformation.AsJson;
14
- default?: _PropertyDefinitionDefaultTransformation.AsJson;
14
+ default?: _AnyValueTransformation.AsJson;
15
15
  description?: string;
16
16
  displayName?: string;
17
17
  documentation?: string;
@@ -26,7 +26,7 @@ export interface AsJson {
26
26
  precondition?: _PreconditionTransformation.AsJson;
27
27
  referencedType?: string;
28
28
  subType?: string;
29
- type: _PropertyDefinitionTypeTransformation.AsJson;
29
+ type: string | _RefPointerTransformation.AsJson;
30
30
  uiCustomization?: _UiCustomizationTransformation.AsJson;
31
31
  }
32
32
  export declare function fromJson($model: AsJson): PropertyDefinition;
@@ -0,0 +1,7 @@
1
+ import { HttpProtocolDetails } from './http-protocol-details';
2
+ /**
3
+ * Details that are specific to the used protocol.
4
+ */
5
+ export interface ProtocolDetails {
6
+ http?: HttpProtocolDetails;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
2
+ import * as _HttpProtocolDetailsTransformation from './http-protocol-details.transformation';
3
+ import { ProtocolDetails } from './protocol-details';
4
+ export interface AsJson {
5
+ http?: _HttpProtocolDetailsTransformation.AsJson;
6
+ }
7
+ export declare function fromJson($model: AsJson): ProtocolDetails;
8
+ export declare function toJson($model: ProtocolDetails): AsJson;
9
+ export declare function fromFormData(formData: FormDataResponseBody): ProtocolDetails;
10
+ export declare function toFormData($model: ProtocolDetails): FormDataRequestBody;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The accuracy of the assessment.
3
+ */
4
+ export declare enum RemediationAssessmentAssessmentAccuracy {
5
+ Full = "FULL",
6
+ NotAvailable = "NOT_AVAILABLE",
7
+ Reduced = "REDUCED"
8
+ }
@@ -0,0 +1,4 @@
1
+ import { RemediationAssessmentAssessmentAccuracy } from './remediation-assessment-assessment-accuracy';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): RemediationAssessmentAssessmentAccuracy;
4
+ export declare function toJson($model: RemediationAssessmentAssessmentAccuracy): AsJson;
@@ -1,3 +1,4 @@
1
+ import { RemediationAssessmentAssessmentAccuracy } from './remediation-assessment-assessment-accuracy';
1
2
  import { RemediationAssessmentDataAssets } from './remediation-assessment-data-assets';
2
3
  import { RemediationAssessmentExposure } from './remediation-assessment-exposure';
3
4
  import { RemediationAssessmentVulnerableFunctionUsage } from './remediation-assessment-vulnerable-function-usage';
@@ -6,6 +7,7 @@ import { VulnerableFunction } from './vulnerable-function';
6
7
  * Assessment of the remediation item.
7
8
  */
8
9
  export interface RemediationAssessment {
10
+ assessmentAccuracy?: RemediationAssessmentAssessmentAccuracy;
9
11
  dataAssets?: RemediationAssessmentDataAssets;
10
12
  exposure?: RemediationAssessmentExposure;
11
13
  /**
@@ -1,9 +1,11 @@
1
1
  import { RemediationAssessment } from './remediation-assessment';
2
+ import * as _RemediationAssessmentAssessmentAccuracyTransformation from './remediation-assessment-assessment-accuracy.transformation';
2
3
  import * as _RemediationAssessmentDataAssetsTransformation from './remediation-assessment-data-assets.transformation';
3
4
  import * as _RemediationAssessmentExposureTransformation from './remediation-assessment-exposure.transformation';
4
5
  import * as _RemediationAssessmentVulnerableFunctionUsageTransformation from './remediation-assessment-vulnerable-function-usage.transformation';
5
6
  import * as _VulnerableFunctionTransformation from './vulnerable-function.transformation';
6
7
  export interface AsJson {
8
+ assessmentAccuracy?: _RemediationAssessmentAssessmentAccuracyTransformation.AsJson;
7
9
  dataAssets?: _RemediationAssessmentDataAssetsTransformation.AsJson;
8
10
  exposure?: _RemediationAssessmentExposureTransformation.AsJson;
9
11
  numberOfDataAssets?: number;
@@ -0,0 +1,19 @@
1
+ import { ProtocolDetails } from './protocol-details';
2
+ /**
3
+ * Describes the complete request information of an attack.
4
+ */
5
+ export interface RequestInformation {
6
+ /**
7
+ * The target host of the request.
8
+ */
9
+ host?: string;
10
+ /**
11
+ * The request path.
12
+ */
13
+ path?: string;
14
+ protocolDetails?: ProtocolDetails;
15
+ /**
16
+ * The requested URL.
17
+ */
18
+ url?: string;
19
+ }
@@ -0,0 +1,10 @@
1
+ import * as _ProtocolDetailsTransformation from './protocol-details.transformation';
2
+ import { RequestInformation } from './request-information';
3
+ export interface AsJson {
4
+ host?: string;
5
+ path?: string;
6
+ protocolDetails?: _ProtocolDetailsTransformation.AsJson;
7
+ url?: string;
8
+ }
9
+ export declare function fromJson($model: AsJson): RequestInformation;
10
+ export declare function toJson($model: RequestInformation): AsJson;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The level of available information on which this assessment has been done.
2
+ * The accuracy of the assessment.
3
3
  */
4
4
  export declare enum RiskAssessmentAssessmentAccuracy {
5
5
  Full = "FULL",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The level of available information on which this assessment has been done.
2
+ * The accuracy of the assessment.
3
3
  */
4
4
  export declare enum RiskAssessmentDetailsAssessmentAccuracy {
5
5
  Full = "FULL",
@@ -0,0 +1,6 @@
1
+ export interface SecurityContextDtoImpl {
2
+ /**
3
+ * The security context, that will be set for matching entities. If there exists a management zone with this name, it will be set for all matching entities, overriding all automatic management zone rules.
4
+ */
5
+ securityContext?: string[];
6
+ }
@@ -0,0 +1,6 @@
1
+ import { SecurityContextDtoImpl } from './security-context-dto-impl';
2
+ export interface AsJson {
3
+ securityContext?: string[];
4
+ }
5
+ export declare function fromJson($model: AsJson): SecurityContextDtoImpl;
6
+ export declare function toJson($model: SecurityContextDtoImpl): AsJson;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The response payload holding the result of the security context application.
3
+ */
4
+ export interface SecurityContextResultDto {
5
+ /**
6
+ * The entity ids that matched the entity selector and now have the supplied security context set.
7
+ */
8
+ entityIds?: string[];
9
+ /**
10
+ * The management zone ids that is applied to the entity ids, if the security context matched an existing management zone's name, otherwise null.
11
+ */
12
+ managementZoneIds?: number[];
13
+ }
@@ -0,0 +1,7 @@
1
+ import { SecurityContextResultDto } from './security-context-result-dto';
2
+ export interface AsJson {
3
+ entityIds?: string[];
4
+ managementZoneIds?: number[];
5
+ }
6
+ export declare function fromJson($model: AsJson): SecurityContextResultDto;
7
+ export declare function toJson($model: SecurityContextResultDto): AsJson;
@@ -1,4 +1,4 @@
1
- import { SettingsValue } from './settings-value';
1
+ import { AnyValue } from './any-value';
2
2
  /**
3
3
  * Configuration of a new settings object.
4
4
  */
@@ -35,5 +35,12 @@ export interface SettingsObjectCreate {
35
35
  * The scope that the object targets. For more details, please see [Dynatrace Documentation](https://dt-url.net/ky03459).
36
36
  */
37
37
  scope: string;
38
- value: SettingsValue;
38
+ /**
39
+ * The value of the setting.
40
+ *
41
+ * It defines the actual values of settings' parameters.
42
+ *
43
+ * The actual content depends on the object's schema.
44
+ */
45
+ value: AnyValue;
39
46
  }
@@ -1,5 +1,5 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { SettingsObjectCreate } from './settings-object-create';
2
- import * as _SettingsValueTransformation from './settings-value.transformation';
3
3
  export interface AsJson {
4
4
  externalId?: string;
5
5
  insertAfter?: string;
@@ -7,7 +7,7 @@ export interface AsJson {
7
7
  schemaId: string;
8
8
  schemaVersion?: string;
9
9
  scope: string;
10
- value: _SettingsValueTransformation.AsJson;
10
+ value: _AnyValueTransformation.AsJson;
11
11
  }
12
12
  export declare function fromJson($model: AsJson): SettingsObjectCreate;
13
13
  export declare function toJson($model: SettingsObjectCreate): AsJson;
@@ -1,5 +1,5 @@
1
+ import { AnyValue } from './any-value';
1
2
  import { Error } from './error';
2
- import { SettingsValue } from './settings-value';
3
3
  /**
4
4
  * The response to a creation- or update-request.
5
5
  */
@@ -9,7 +9,14 @@ export interface SettingsObjectResponse {
9
9
  */
10
10
  code: number;
11
11
  error?: Error;
12
- invalidValue?: SettingsValue;
12
+ /**
13
+ * The value of the setting.
14
+ *
15
+ * It defines the actual values of settings' parameters.
16
+ *
17
+ * The actual content depends on the object's schema.
18
+ */
19
+ invalidValue?: AnyValue;
13
20
  /**
14
21
  * For a successful request, the ID of the created or modified settings object.
15
22
  */
@@ -1,10 +1,10 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import * as _ErrorTransformation from './error.transformation';
2
3
  import { SettingsObjectResponse } from './settings-object-response';
3
- import * as _SettingsValueTransformation from './settings-value.transformation';
4
4
  export interface AsJson {
5
5
  code: number;
6
6
  error?: _ErrorTransformation.AsJson;
7
- invalidValue?: _SettingsValueTransformation.AsJson;
7
+ invalidValue?: _AnyValueTransformation.AsJson;
8
8
  objectId?: string;
9
9
  }
10
10
  export declare function fromJson($model: AsJson): SettingsObjectResponse;
@@ -1,4 +1,4 @@
1
- import { SettingsValue } from './settings-value';
1
+ import { AnyValue } from './any-value';
2
2
  /**
3
3
  * An update of a settings object.
4
4
  */
@@ -39,5 +39,12 @@ export interface SettingsObjectUpdate {
39
39
  * If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
40
40
  */
41
41
  updateToken?: string;
42
- value: SettingsValue;
42
+ /**
43
+ * The value of the setting.
44
+ *
45
+ * It defines the actual values of settings' parameters.
46
+ *
47
+ * The actual content depends on the object's schema.
48
+ */
49
+ value: AnyValue;
43
50
  }
@@ -1,11 +1,11 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { SettingsObjectUpdate } from './settings-object-update';
2
- import * as _SettingsValueTransformation from './settings-value.transformation';
3
3
  export interface AsJson {
4
4
  insertAfter?: string;
5
5
  insertBefore?: string;
6
6
  schemaVersion?: string;
7
7
  updateToken?: string;
8
- value: _SettingsValueTransformation.AsJson;
8
+ value: _AnyValueTransformation.AsJson;
9
9
  }
10
10
  export declare function fromJson($model: AsJson): SettingsObjectUpdate;
11
11
  export declare function toJson($model: SettingsObjectUpdate): AsJson;
@@ -1,5 +1,5 @@
1
+ import { AnyValue } from './any-value';
1
2
  import { ModificationInfo } from './modification-info';
2
- import { SettingsValue } from './settings-value';
3
3
  /**
4
4
  * A settings object.
5
5
  */
@@ -61,5 +61,12 @@ export interface SettingsObject {
61
61
  * If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
62
62
  */
63
63
  updateToken?: string;
64
- value?: SettingsValue;
64
+ /**
65
+ * The value of the setting.
66
+ *
67
+ * It defines the actual values of settings' parameters.
68
+ *
69
+ * The actual content depends on the object's schema.
70
+ */
71
+ value?: AnyValue;
65
72
  }
@@ -1,6 +1,6 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import * as _ModificationInfoTransformation from './modification-info.transformation';
2
3
  import { SettingsObject } from './settings-object';
3
- import * as _SettingsValueTransformation from './settings-value.transformation';
4
4
  export interface AsJson {
5
5
  author?: string;
6
6
  created?: number;
@@ -16,7 +16,7 @@ export interface AsJson {
16
16
  searchSummary?: string;
17
17
  summary?: string;
18
18
  updateToken?: string;
19
- value?: _SettingsValueTransformation.AsJson;
19
+ value?: _AnyValueTransformation.AsJson;
20
20
  }
21
21
  export declare function fromJson($model: AsJson): SettingsObject;
22
22
  export declare function toJson($model: SettingsObject): AsJson;
@@ -10,6 +10,10 @@ export interface SyntheticMultiProtocolMonitorDto {
10
10
  * If false, the monitor is disabled.
11
11
  */
12
12
  active?: boolean;
13
+ /**
14
+ * Monitor description
15
+ */
16
+ description: string;
13
17
  /**
14
18
  * The entity id of the monitor.
15
19
  */
@@ -5,6 +5,7 @@ import * as _SyntheticMultiProtocolMonitorStepDtoTransformation from './syntheti
5
5
  import * as _SyntheticTagWithSourceDtoTransformation from './synthetic-tag-with-source-dto.transformation';
6
6
  export interface AsJson {
7
7
  active?: boolean;
8
+ description: string;
8
9
  entityId: string;
9
10
  frequencyMin: number;
10
11
  locations: string[];
@@ -10,6 +10,10 @@ export interface SyntheticMultiProtocolMonitorUpdateDto {
10
10
  * If false, the monitor is disabled.
11
11
  */
12
12
  active?: boolean;
13
+ /**
14
+ * Monitor description
15
+ */
16
+ description: string;
13
17
  /**
14
18
  * The frequency of the monitor, in minutes.
15
19
  */
@@ -5,6 +5,7 @@ import * as _SyntheticMultiProtocolMonitorUpdateDtoTypeTransformation from './sy
5
5
  import * as _SyntheticTagWithSourceDtoTransformation from './synthetic-tag-with-source-dto.transformation';
6
6
  export interface AsJson {
7
7
  active?: boolean;
8
+ description: string;
8
9
  frequencyMin?: number;
9
10
  locations: string[];
10
11
  name: string;
@@ -0,0 +1,12 @@
1
+ import { AttackRequestHeader } from './attack-request-header';
2
+ import { TruncationInfo } from './truncation-info';
3
+ /**
4
+ * A list of values that has possibly been truncated.
5
+ */
6
+ export interface TruncatableListAttackRequestHeader {
7
+ truncationInfo?: TruncationInfo;
8
+ /**
9
+ * Values of the list.
10
+ */
11
+ values?: AttackRequestHeader[];
12
+ }
@@ -0,0 +1,9 @@
1
+ import * as _AttackRequestHeaderTransformation from './attack-request-header.transformation';
2
+ import { TruncatableListAttackRequestHeader } from './truncatable-list-attack-request-header';
3
+ import * as _TruncationInfoTransformation from './truncation-info.transformation';
4
+ export interface AsJson {
5
+ truncationInfo?: _TruncationInfoTransformation.AsJson;
6
+ values?: _AttackRequestHeaderTransformation.AsJson[];
7
+ }
8
+ export declare function fromJson($model: AsJson): TruncatableListAttackRequestHeader;
9
+ export declare function toJson($model: TruncatableListAttackRequestHeader): AsJson;
@@ -0,0 +1,12 @@
1
+ import { HttpRequestParameter } from './http-request-parameter';
2
+ import { TruncationInfo } from './truncation-info';
3
+ /**
4
+ * A list of values that has possibly been truncated.
5
+ */
6
+ export interface TruncatableListHttpRequestParameter {
7
+ truncationInfo?: TruncationInfo;
8
+ /**
9
+ * Values of the list.
10
+ */
11
+ values?: HttpRequestParameter[];
12
+ }
@@ -0,0 +1,9 @@
1
+ import * as _HttpRequestParameterTransformation from './http-request-parameter.transformation';
2
+ import { TruncatableListHttpRequestParameter } from './truncatable-list-http-request-parameter';
3
+ import * as _TruncationInfoTransformation from './truncation-info.transformation';
4
+ export interface AsJson {
5
+ truncationInfo?: _TruncationInfoTransformation.AsJson;
6
+ values?: _HttpRequestParameterTransformation.AsJson[];
7
+ }
8
+ export declare function fromJson($model: AsJson): TruncatableListHttpRequestParameter;
9
+ export declare function toJson($model: TruncatableListHttpRequestParameter): AsJson;
@@ -0,0 +1,11 @@
1
+ import { TruncationInfo } from './truncation-info';
2
+ /**
3
+ * A list of values that has possibly been truncated.
4
+ */
5
+ export interface TruncatableListString {
6
+ truncationInfo?: TruncationInfo;
7
+ /**
8
+ * Values of the list.
9
+ */
10
+ values?: string[];
11
+ }
@@ -0,0 +1,8 @@
1
+ import { TruncatableListString } from './truncatable-list-string';
2
+ import * as _TruncationInfoTransformation from './truncation-info.transformation';
3
+ export interface AsJson {
4
+ truncationInfo?: _TruncationInfoTransformation.AsJson;
5
+ values?: string[];
6
+ }
7
+ export declare function fromJson($model: AsJson): TruncatableListString;
8
+ export declare function toJson($model: TruncatableListString): AsJson;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Information on a possible truncation.
3
+ */
4
+ export interface TruncationInfo {
5
+ /**
6
+ * If the list/value has been truncated.
7
+ */
8
+ truncated?: boolean;
9
+ }
@@ -0,0 +1,6 @@
1
+ import { TruncationInfo } from './truncation-info';
2
+ export interface AsJson {
3
+ truncated?: boolean;
4
+ }
5
+ export declare function fromJson($model: AsJson): TruncationInfo;
6
+ export declare function toJson($model: TruncationInfo): AsJson;
@@ -1,4 +1,4 @@
1
- import { UiButtonCustomizationInsert } from './ui-button-customization-insert';
1
+ import { InsertPosition } from './insert-position';
2
2
  /**
3
3
  * UI customization for defining a button that calls a function when pressed
4
4
  */
@@ -15,5 +15,8 @@ export interface UiButtonCustomization {
15
15
  * The identifier of the function to be called when the button is pressed
16
16
  */
17
17
  identifier: string;
18
- insert: UiButtonCustomizationInsert;
18
+ /**
19
+ * The position where the button should be shown in the UI
20
+ */
21
+ insert: string | InsertPosition;
19
22
  }
@@ -1,10 +1,10 @@
1
+ import * as _InsertPositionTransformation from './insert-position.transformation';
1
2
  import { UiButtonCustomization } from './ui-button-customization';
2
- import * as _UiButtonCustomizationInsertTransformation from './ui-button-customization-insert.transformation';
3
3
  export interface AsJson {
4
4
  description?: string;
5
5
  displayName: string;
6
6
  identifier: string;
7
- insert: _UiButtonCustomizationInsertTransformation.AsJson;
7
+ insert: string | _InsertPositionTransformation.AsJson;
8
8
  }
9
9
  export declare function fromJson($model: AsJson): UiButtonCustomization;
10
10
  export declare function toJson($model: UiButtonCustomization): AsJson;
@@ -0,0 +1,19 @@
1
+ import { CodeLocation } from './code-location';
2
+ import { FunctionDefinition } from './function-definition';
3
+ import { VulnerableFunctionInput } from './vulnerable-function-input';
4
+ /**
5
+ * Describes the exploited vulnerability.
6
+ */
7
+ export interface Vulnerability {
8
+ codeLocation?: CodeLocation;
9
+ /**
10
+ * The display name of the vulnerability.
11
+ */
12
+ displayName?: string;
13
+ /**
14
+ * The id of the vulnerability.
15
+ */
16
+ vulnerabilityId?: string;
17
+ vulnerableFunction?: FunctionDefinition;
18
+ vulnerableFunctionInput?: VulnerableFunctionInput;
19
+ }
@@ -0,0 +1,13 @@
1
+ import * as _CodeLocationTransformation from './code-location.transformation';
2
+ import * as _FunctionDefinitionTransformation from './function-definition.transformation';
3
+ import { Vulnerability } from './vulnerability';
4
+ import * as _VulnerableFunctionInputTransformation from './vulnerable-function-input.transformation';
5
+ export interface AsJson {
6
+ codeLocation?: _CodeLocationTransformation.AsJson;
7
+ displayName?: string;
8
+ vulnerabilityId?: string;
9
+ vulnerableFunction?: _FunctionDefinitionTransformation.AsJson;
10
+ vulnerableFunctionInput?: _VulnerableFunctionInputTransformation.AsJson;
11
+ }
12
+ export declare function fromJson($model: AsJson): Vulnerability;
13
+ export declare function toJson($model: Vulnerability): AsJson;
@@ -1,3 +1,6 @@
1
1
  declare type QueryParamsType = Record<string | number, any>;
2
- export declare const toQueryString: (rawQuery?: QueryParamsType) => string;
2
+ interface ParametersFlags {
3
+ explode?: Record<string, boolean>;
4
+ }
5
+ export declare const toQueryString: (rawQuery?: QueryParamsType, flags?: ParametersFlags) => string;
3
6
  export {};
@@ -1,8 +0,0 @@
1
- /**
2
- * The patch of the recorded operation as the JSON representation.
3
-
4
- The format is an enhanced RFC 6902. The patch also carries the previous value in the **oldValue** field.
5
- * This is just an alias for a type Record<string, any>.
6
- * @typedef {Record<string, any>} AuditLogEntryPatch
7
- */
8
- export declare type AuditLogEntryPatch = Record<string, any>;
@@ -1,4 +0,0 @@
1
- import { AuditLogEntryPatch } from './audit-log-entry-patch';
2
- export declare type AsJson = Record<string, any>;
3
- export declare function fromJson($model: AsJson): AuditLogEntryPatch;
4
- export declare function toJson($model: AuditLogEntryPatch): AsJson;
@@ -1,6 +0,0 @@
1
- /**
2
- * The allowed value of the enum.
3
- * This is just an alias for a type Record<string, any>.
4
- * @typedef {Record<string, any>} EnumValueValue
5
- */
6
- export declare type EnumValueValue = Record<string, any>;
@@ -1,4 +0,0 @@
1
- import { EnumValueValue } from './enum-value-value';
2
- export declare type AsJson = Record<string, any>;
3
- export declare function fromJson($model: AsJson): EnumValueValue;
4
- export declare function toJson($model: EnumValueValue): AsJson;
@@ -1,6 +0,0 @@
1
- import { RefPointer } from '../models/ref-pointer';
2
- /**
3
- * The type of the item's value.
4
- * @typedef {string | RefPointer} ItemType
5
- */
6
- export declare type ItemType = string | RefPointer;
@@ -1,5 +0,0 @@
1
- import * as _RefPointerTransformation from '../models/ref-pointer.transformation';
2
- import { ItemType } from './item-type';
3
- export declare type AsJson = string | _RefPointerTransformation.AsJson;
4
- export declare function fromJson($model: AsJson): any;
5
- export declare function toJson($model: ItemType): any;
@@ -1,8 +0,0 @@
1
- /**
2
- * The expected value of the property.
3
-
4
- Only applicable to properties of the `EQUALS` type.
5
- * This is just an alias for a type Record<string, any>.
6
- * @typedef {Record<string, any>} PreconditionExpectedValue
7
- */
8
- export declare type PreconditionExpectedValue = Record<string, any>;