@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
@@ -0,0 +1,4 @@
1
+ import { AttackAttackType } from './attack-attack-type';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): AttackAttackType;
4
+ export declare function toJson($model: AttackAttackType): AsJson;
@@ -0,0 +1,12 @@
1
+ import { EntrypointPayload } from './entrypoint-payload';
2
+ import { TruncationInfo } from './truncation-info';
3
+ /**
4
+ * A list of values that has possibly been truncated.
5
+ */
6
+ export interface AttackEntrypointPayloadItem {
7
+ truncationInfo?: TruncationInfo;
8
+ /**
9
+ * Values of the list.
10
+ */
11
+ values?: EntrypointPayload[];
12
+ }
@@ -0,0 +1,9 @@
1
+ import { AttackEntrypointPayloadItem } from './attack-entrypoint-payload-item';
2
+ import * as _EntrypointPayloadTransformation from './entrypoint-payload.transformation';
3
+ import * as _TruncationInfoTransformation from './truncation-info.transformation';
4
+ export interface AsJson {
5
+ truncationInfo?: _TruncationInfoTransformation.AsJson;
6
+ values?: _EntrypointPayloadTransformation.AsJson[];
7
+ }
8
+ export declare function fromJson($model: AsJson): AttackEntrypointPayloadItem;
9
+ export declare function toJson($model: AttackEntrypointPayloadItem): AsJson;
@@ -0,0 +1,14 @@
1
+ import { AttackEntrypointPayloadItem } from './attack-entrypoint-payload-item';
2
+ import { CodeLocation } from './code-location';
3
+ import { FunctionDefinition } from './function-definition';
4
+ /**
5
+ * Describes the entrypoint used by an attacker to start a specific attack.
6
+ */
7
+ export interface AttackEntrypoint {
8
+ codeLocation?: CodeLocation;
9
+ entrypointFunction?: FunctionDefinition;
10
+ /**
11
+ * All relevant payload data that has been sent during the attack.
12
+ */
13
+ payload?: AttackEntrypointPayloadItem[];
14
+ }
@@ -0,0 +1,11 @@
1
+ import { AttackEntrypoint } from './attack-entrypoint';
2
+ import * as _AttackEntrypointPayloadItemTransformation from './attack-entrypoint-payload-item.transformation';
3
+ import * as _CodeLocationTransformation from './code-location.transformation';
4
+ import * as _FunctionDefinitionTransformation from './function-definition.transformation';
5
+ export interface AsJson {
6
+ codeLocation?: _CodeLocationTransformation.AsJson;
7
+ entrypointFunction?: _FunctionDefinitionTransformation.AsJson;
8
+ payload?: _AttackEntrypointPayloadItemTransformation.AsJson[];
9
+ }
10
+ export declare function fromJson($model: AsJson): AttackEntrypoint;
11
+ export declare function toJson($model: AttackEntrypoint): AsJson;
@@ -0,0 +1,24 @@
1
+ import { Attack } from './attack';
2
+ /**
3
+ * A list of attacks.
4
+ */
5
+ export interface AttackList {
6
+ /**
7
+ * A list of attacks.
8
+ */
9
+ attacks?: Attack[];
10
+ /**
11
+ * The cursor for the next page of results. Has the value of `null` on the last page.
12
+ *
13
+ * Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
14
+ */
15
+ nextPageKey?: string;
16
+ /**
17
+ * The number of entries per page.
18
+ */
19
+ pageSize?: number;
20
+ /**
21
+ * The total number of entries in the result.
22
+ */
23
+ totalCount: number;
24
+ }
@@ -0,0 +1,10 @@
1
+ import { AttackList } from './attack-list';
2
+ import * as _AttackTransformation from './attack.transformation';
3
+ export interface AsJson {
4
+ attacks?: _AttackTransformation.AsJson[];
5
+ nextPageKey?: string;
6
+ pageSize?: number;
7
+ totalCount: number;
8
+ }
9
+ export declare function fromJson($model: AsJson): AttackList;
10
+ export declare function toJson($model: AttackList): AsJson;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * A header element of the attack's request.
3
+ */
4
+ export interface AttackRequestHeader {
5
+ /**
6
+ * The name of the header element.
7
+ */
8
+ name?: string;
9
+ /**
10
+ * The value of the header element.
11
+ */
12
+ value?: string;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { AttackRequestHeader } from './attack-request-header';
2
+ export interface AsJson {
3
+ name?: string;
4
+ value?: string;
5
+ }
6
+ export declare function fromJson($model: AsJson): AttackRequestHeader;
7
+ export declare function toJson($model: AttackRequestHeader): AsJson;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The reachability of data assets by the attacked target.
3
+ */
4
+ export declare enum AttackSecurityProblemAssessmentDtoDataAssets {
5
+ NotAvailable = "NOT_AVAILABLE",
6
+ NotDetected = "NOT_DETECTED",
7
+ Reachable = "REACHABLE"
8
+ }
@@ -0,0 +1,4 @@
1
+ import { AttackSecurityProblemAssessmentDtoDataAssets } from './attack-security-problem-assessment-dto-data-assets';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): AttackSecurityProblemAssessmentDtoDataAssets;
4
+ export declare function toJson($model: AttackSecurityProblemAssessmentDtoDataAssets): AsJson;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The level of exposure of the attacked target
3
+ */
4
+ export declare enum AttackSecurityProblemAssessmentDtoExposure {
5
+ NotAvailable = "NOT_AVAILABLE",
6
+ NotDetected = "NOT_DETECTED",
7
+ PublicNetwork = "PUBLIC_NETWORK"
8
+ }
@@ -0,0 +1,4 @@
1
+ import { AttackSecurityProblemAssessmentDtoExposure } from './attack-security-problem-assessment-dto-exposure';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): AttackSecurityProblemAssessmentDtoExposure;
4
+ export declare function toJson($model: AttackSecurityProblemAssessmentDtoExposure): AsJson;
@@ -0,0 +1,13 @@
1
+ import { AttackSecurityProblemAssessmentDtoDataAssets } from './attack-security-problem-assessment-dto-data-assets';
2
+ import { AttackSecurityProblemAssessmentDtoExposure } from './attack-security-problem-assessment-dto-exposure';
3
+ /**
4
+ * The assessment of a security problem related to an attack.
5
+ */
6
+ export interface AttackSecurityProblemAssessmentDto {
7
+ dataAssets?: AttackSecurityProblemAssessmentDtoDataAssets;
8
+ exposure?: AttackSecurityProblemAssessmentDtoExposure;
9
+ /**
10
+ * The number of data assets reachable by the attacked target.
11
+ */
12
+ numberOfReachableDataAssets?: number;
13
+ }
@@ -0,0 +1,10 @@
1
+ import { AttackSecurityProblemAssessmentDto } from './attack-security-problem-assessment-dto';
2
+ import * as _AttackSecurityProblemAssessmentDtoDataAssetsTransformation from './attack-security-problem-assessment-dto-data-assets.transformation';
3
+ import * as _AttackSecurityProblemAssessmentDtoExposureTransformation from './attack-security-problem-assessment-dto-exposure.transformation';
4
+ export interface AsJson {
5
+ dataAssets?: _AttackSecurityProblemAssessmentDtoDataAssetsTransformation.AsJson;
6
+ exposure?: _AttackSecurityProblemAssessmentDtoExposureTransformation.AsJson;
7
+ numberOfReachableDataAssets?: number;
8
+ }
9
+ export declare function fromJson($model: AsJson): AttackSecurityProblemAssessmentDto;
10
+ export declare function toJson($model: AttackSecurityProblemAssessmentDto): AsJson;
@@ -0,0 +1,11 @@
1
+ import { AttackSecurityProblemAssessmentDto } from './attack-security-problem-assessment-dto';
2
+ /**
3
+ * Assessment information and the ID of a security problem related to an attack.
4
+ */
5
+ export interface AttackSecurityProblem {
6
+ assessment?: AttackSecurityProblemAssessmentDto;
7
+ /**
8
+ * The security problem ID.
9
+ */
10
+ securityProblemId?: string;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { AttackSecurityProblem } from './attack-security-problem';
2
+ import * as _AttackSecurityProblemAssessmentDtoTransformation from './attack-security-problem-assessment-dto.transformation';
3
+ export interface AsJson {
4
+ assessment?: _AttackSecurityProblemAssessmentDtoTransformation.AsJson;
5
+ securityProblemId?: string;
6
+ }
7
+ export declare function fromJson($model: AsJson): AttackSecurityProblem;
8
+ export declare function toJson($model: AttackSecurityProblem): AsJson;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The state of the attack.
3
+ */
4
+ export declare enum AttackState {
5
+ Allowlisted = "ALLOWLISTED",
6
+ Blocked = "BLOCKED",
7
+ Exploited = "EXPLOITED"
8
+ }
@@ -0,0 +1,4 @@
1
+ import { AttackState } from './attack-state';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): AttackState;
4
+ export declare function toJson($model: AttackState): AsJson;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Information about the targeted host/database of an attack.
3
+ */
4
+ export interface AttackTarget {
5
+ /**
6
+ * The monitored entity ID of the targeted host/database.
7
+ */
8
+ entityId?: string;
9
+ /**
10
+ * The name of the targeted host/database.
11
+ */
12
+ name?: string;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { AttackTarget } from './attack-target';
2
+ export interface AsJson {
3
+ entityId?: string;
4
+ name?: string;
5
+ }
6
+ export declare function fromJson($model: AsJson): AttackTarget;
7
+ export declare function toJson($model: AttackTarget): AsJson;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The technology of the attack.
3
+ */
4
+ export declare enum AttackTechnology {
5
+ Dotnet = "DOTNET",
6
+ Go = "GO",
7
+ Java = "JAVA",
8
+ NodeJs = "NODE_JS"
9
+ }
@@ -0,0 +1,4 @@
1
+ import { AttackTechnology } from './attack-technology';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): AttackTechnology;
4
+ export declare function toJson($model: AttackTechnology): AsJson;
@@ -0,0 +1,46 @@
1
+ import { AffectedEntities } from './affected-entities';
2
+ import { AttackAttackType } from './attack-attack-type';
3
+ import { AttackEntrypoint } from './attack-entrypoint';
4
+ import { AttackSecurityProblem } from './attack-security-problem';
5
+ import { AttackState } from './attack-state';
6
+ import { AttackTarget } from './attack-target';
7
+ import { AttackTechnology } from './attack-technology';
8
+ import { Attacker } from './attacker';
9
+ import { ManagementZone } from './management-zone';
10
+ import { RequestInformation } from './request-information';
11
+ import { Vulnerability } from './vulnerability';
12
+ /**
13
+ * Describes an attack.
14
+ */
15
+ export interface Attack {
16
+ affectedEntities?: AffectedEntities;
17
+ /**
18
+ * The ID of the attack.
19
+ */
20
+ attackId?: string;
21
+ attackTarget?: AttackTarget;
22
+ attackType?: AttackAttackType;
23
+ attacker?: Attacker;
24
+ /**
25
+ * The display ID of the attack.
26
+ */
27
+ displayId?: string;
28
+ /**
29
+ * The display name of the attack.
30
+ */
31
+ displayName?: string;
32
+ entrypoint?: AttackEntrypoint;
33
+ /**
34
+ * A list of management zones which the affected entities belong to.
35
+ */
36
+ managementZones?: ManagementZone[];
37
+ request?: RequestInformation;
38
+ securityProblem?: AttackSecurityProblem;
39
+ state?: AttackState;
40
+ technology?: AttackTechnology;
41
+ /**
42
+ * The timestamp when the attack occurred.
43
+ */
44
+ timestamp?: number;
45
+ vulnerability?: Vulnerability;
46
+ }
@@ -0,0 +1,31 @@
1
+ import * as _AffectedEntitiesTransformation from './affected-entities.transformation';
2
+ import { Attack } from './attack';
3
+ import * as _AttackAttackTypeTransformation from './attack-attack-type.transformation';
4
+ import * as _AttackEntrypointTransformation from './attack-entrypoint.transformation';
5
+ import * as _AttackSecurityProblemTransformation from './attack-security-problem.transformation';
6
+ import * as _AttackStateTransformation from './attack-state.transformation';
7
+ import * as _AttackTargetTransformation from './attack-target.transformation';
8
+ import * as _AttackTechnologyTransformation from './attack-technology.transformation';
9
+ import * as _AttackerTransformation from './attacker.transformation';
10
+ import * as _ManagementZoneTransformation from './management-zone.transformation';
11
+ import * as _RequestInformationTransformation from './request-information.transformation';
12
+ import * as _VulnerabilityTransformation from './vulnerability.transformation';
13
+ export interface AsJson {
14
+ affectedEntities?: _AffectedEntitiesTransformation.AsJson;
15
+ attackId?: string;
16
+ attackTarget?: _AttackTargetTransformation.AsJson;
17
+ attackType?: _AttackAttackTypeTransformation.AsJson;
18
+ attacker?: _AttackerTransformation.AsJson;
19
+ displayId?: string;
20
+ displayName?: string;
21
+ entrypoint?: _AttackEntrypointTransformation.AsJson;
22
+ managementZones?: _ManagementZoneTransformation.AsJson[];
23
+ request?: _RequestInformationTransformation.AsJson;
24
+ securityProblem?: _AttackSecurityProblemTransformation.AsJson;
25
+ state?: _AttackStateTransformation.AsJson;
26
+ technology?: _AttackTechnologyTransformation.AsJson;
27
+ timestamp?: number;
28
+ vulnerability?: _VulnerabilityTransformation.AsJson;
29
+ }
30
+ export declare function fromJson($model: AsJson): Attack;
31
+ export declare function toJson($model: Attack): AsJson;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Location of an attacker.
3
+ */
4
+ export interface AttackerLocation {
5
+ /**
6
+ * City of the attacker.
7
+ */
8
+ city?: string;
9
+ /**
10
+ * The country of the attacker.
11
+ */
12
+ country?: string;
13
+ /**
14
+ * The country code of the country of the attacker, according to the ISO 3166-1 Alpha-2 standard.
15
+ */
16
+ countryCode?: string;
17
+ }
@@ -0,0 +1,8 @@
1
+ import { AttackerLocation } from './attacker-location';
2
+ export interface AsJson {
3
+ city?: string;
4
+ country?: string;
5
+ countryCode?: string;
6
+ }
7
+ export declare function fromJson($model: AsJson): AttackerLocation;
8
+ export declare function toJson($model: AttackerLocation): AsJson;
@@ -0,0 +1,11 @@
1
+ import { AttackerLocation } from './attacker-location';
2
+ /**
3
+ * Attacker of an attack.
4
+ */
5
+ export interface Attacker {
6
+ location?: AttackerLocation;
7
+ /**
8
+ * The source IP of the attacker.
9
+ */
10
+ sourceIp?: string;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { Attacker } from './attacker';
2
+ import * as _AttackerLocationTransformation from './attacker-location.transformation';
3
+ export interface AsJson {
4
+ location?: _AttackerLocationTransformation.AsJson;
5
+ sourceIp?: string;
6
+ }
7
+ export declare function fromJson($model: AsJson): Attacker;
8
+ export declare function toJson($model: Attacker): AsJson;
@@ -1,12 +1,36 @@
1
+ import { AnyValue } from './any-value';
1
2
  import { AuditLogEntryCategory } from './audit-log-entry-category';
2
3
  import { AuditLogEntryEventType } from './audit-log-entry-event-type';
3
- import { AuditLogEntryPatch } from './audit-log-entry-patch';
4
4
  import { AuditLogEntryUserType } from './audit-log-entry-user-type';
5
5
  /**
6
6
  * An entry of the audit log.
7
7
  */
8
8
  export interface AuditLogEntry {
9
9
  category: AuditLogEntryCategory;
10
+ /**
11
+ * The key of the affected object of a setting for entries of category `CONFIG`.
12
+ */
13
+ 'dt.settings.key'?: string;
14
+ /**
15
+ * The ID of the affected object of a setting for entries of category `CONFIG`.
16
+ */
17
+ 'dt.settings.object_id'?: string;
18
+ /**
19
+ * The value summary for entries of category `CONFIG`.
20
+ */
21
+ 'dt.settings.object_summary'?: string;
22
+ /**
23
+ * The schema ID or config ID for entries of category `CONFIG`.
24
+ */
25
+ 'dt.settings.schema_id'?: string;
26
+ /**
27
+ * The persistence scope for entries of category `CONFIG`, e.g. an ME identifier.
28
+ */
29
+ 'dt.settings.scope_id'?: string;
30
+ /**
31
+ * The display name of the scope for entries of category `CONFIG`.
32
+ */
33
+ 'dt.settings.scope_name'?: string;
10
34
  /**
11
35
  * The ID of an entity from the **category**.
12
36
  *
@@ -26,7 +50,12 @@ export interface AuditLogEntry {
26
50
  * The logged message.
27
51
  */
28
52
  message?: string;
29
- patch?: AuditLogEntryPatch;
53
+ /**
54
+ * The patch of the recorded operation as the JSON representation.
55
+ *
56
+ * The format is an enhanced RFC 6902. The patch also carries the previous value in the **oldValue** field.
57
+ */
58
+ patch?: AnyValue;
30
59
  /**
31
60
  * The recorded operation is successful (`true`) or failed (`false`).
32
61
  */
@@ -1,16 +1,22 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { AuditLogEntry } from './audit-log-entry';
2
3
  import * as _AuditLogEntryCategoryTransformation from './audit-log-entry-category.transformation';
3
4
  import * as _AuditLogEntryEventTypeTransformation from './audit-log-entry-event-type.transformation';
4
- import * as _AuditLogEntryPatchTransformation from './audit-log-entry-patch.transformation';
5
5
  import * as _AuditLogEntryUserTypeTransformation from './audit-log-entry-user-type.transformation';
6
6
  export interface AsJson {
7
7
  category: _AuditLogEntryCategoryTransformation.AsJson;
8
+ 'dt.settings.key'?: string;
9
+ 'dt.settings.object_id'?: string;
10
+ 'dt.settings.object_summary'?: string;
11
+ 'dt.settings.schema_id'?: string;
12
+ 'dt.settings.scope_id'?: string;
13
+ 'dt.settings.scope_name'?: string;
8
14
  entityId?: string;
9
15
  environmentId: string;
10
16
  eventType: _AuditLogEntryEventTypeTransformation.AsJson;
11
17
  logId: string;
12
18
  message?: string;
13
- patch?: _AuditLogEntryPatchTransformation.AsJson;
19
+ patch?: _AnyValueTransformation.AsJson;
14
20
  success: boolean;
15
21
  timestamp: number;
16
22
  user: string;
@@ -0,0 +1,35 @@
1
+ import { TruncatableListString } from './truncatable-list-string';
2
+ /**
3
+ * Information about a code location.
4
+ */
5
+ export interface CodeLocation {
6
+ /**
7
+ * The fully qualified class name of the code location.
8
+ */
9
+ className?: string;
10
+ /**
11
+ * The column number of the code location.
12
+ */
13
+ columnNumber?: number;
14
+ /**
15
+ * A human readable string representation of the code location.
16
+ */
17
+ displayName?: string;
18
+ /**
19
+ * The file name of the code location.
20
+ */
21
+ fileName?: string;
22
+ /**
23
+ * The function/method name of the code location.
24
+ */
25
+ functionName?: string;
26
+ /**
27
+ * The line number of the code location.
28
+ */
29
+ lineNumber?: number;
30
+ parameterTypes?: TruncatableListString;
31
+ /**
32
+ * The return type of the function.
33
+ */
34
+ returnType?: string;
35
+ }
@@ -0,0 +1,14 @@
1
+ import { CodeLocation } from './code-location';
2
+ import * as _TruncatableListStringTransformation from './truncatable-list-string.transformation';
3
+ export interface AsJson {
4
+ className?: string;
5
+ columnNumber?: number;
6
+ displayName?: string;
7
+ fileName?: string;
8
+ functionName?: string;
9
+ lineNumber?: number;
10
+ parameterTypes?: _TruncatableListStringTransformation.AsJson;
11
+ returnType?: string;
12
+ }
13
+ export declare function fromJson($model: AsJson): CodeLocation;
14
+ export declare function toJson($model: CodeLocation): AsJson;
@@ -2,9 +2,7 @@
2
2
  * The scope of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsResponseElementScope {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
6
  Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN",
9
7
  AppEngine = "APP_ENGINE"
10
8
  }
@@ -2,8 +2,6 @@
2
2
  * The set of scopes of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsResponseElementScopesItem {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
- Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN"
6
+ Synthetic = "SYNTHETIC"
9
7
  }
@@ -2,9 +2,7 @@
2
2
  * The scope of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsScope {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
6
  Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN",
9
7
  AppEngine = "APP_ENGINE"
10
8
  }
@@ -2,8 +2,6 @@
2
2
  * The set of scopes of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsScopesItem {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
- Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN"
6
+ Synthetic = "SYNTHETIC"
9
7
  }
@@ -1,4 +1,4 @@
1
- import { SettingsValue } from './settings-value';
1
+ import { AnyValue } from './any-value';
2
2
  /**
3
3
  * An effective settings value.
4
4
  */
@@ -39,5 +39,12 @@ export interface EffectiveSettingsValue {
39
39
  * A short summary of settings. This can contain Markdown and will be escaped accordingly.
40
40
  */
41
41
  summary?: 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,5 +1,5 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { EffectiveSettingsValue } from './effective-settings-value';
2
- import * as _SettingsValueTransformation from './settings-value.transformation';
3
3
  export interface AsJson {
4
4
  author?: string;
5
5
  created?: number;
@@ -10,7 +10,7 @@ export interface AsJson {
10
10
  schemaVersion?: string;
11
11
  searchSummary?: string;
12
12
  summary?: string;
13
- value?: _SettingsValueTransformation.AsJson;
13
+ value?: _AnyValueTransformation.AsJson;
14
14
  }
15
15
  export declare function fromJson($model: AsJson): EffectiveSettingsValue;
16
16
  export declare function toJson($model: EffectiveSettingsValue): AsJson;
@@ -2,5 +2,5 @@
2
2
  * A list of additional properties of the entity.
3
3
  */
4
4
  export interface EntityProperties {
5
- [propName: string]: Record<string, any> | undefined;
5
+ [propName: string]: any;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { EntityProperties } from './entity-properties';
2
2
  export interface AsJson {
3
- [propName: string]: Record<string, any> | undefined;
3
+ [propName: string]: any;
4
4
  }
5
5
  export declare function fromJson($model: AsJson): EntityProperties;
6
6
  export declare function toJson($model: EntityProperties): AsJson;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Type of the payload.
3
+ */
4
+ export declare enum EntrypointPayloadType {
5
+ HttpBody = "HTTP_BODY",
6
+ HttpCookie = "HTTP_COOKIE",
7
+ HttpHeaderName = "HTTP_HEADER_NAME",
8
+ HttpHeaderValue = "HTTP_HEADER_VALUE",
9
+ HttpOther = "HTTP_OTHER",
10
+ HttpParameterName = "HTTP_PARAMETER_NAME",
11
+ HttpParameterValue = "HTTP_PARAMETER_VALUE",
12
+ HttpUrl = "HTTP_URL",
13
+ Unknown = "UNKNOWN"
14
+ }
@@ -0,0 +1,4 @@
1
+ import { EntrypointPayloadType } from './entrypoint-payload-type';
2
+ export declare type AsJson = string;
3
+ export declare function fromJson($model: AsJson): EntrypointPayloadType;
4
+ export declare function toJson($model: EntrypointPayloadType): AsJson;