@dynatrace-sdk/client-classic-environment-v2 1.8.2 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -1
  3. package/cjs/index.js +13220 -5134
  4. package/docs/DOCS.md +803 -210
  5. package/dynatrace-metadata.json +1 -1
  6. package/esm/index.js +13225 -5135
  7. package/package.json +1 -1
  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/business-events-api.d.ts +3 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +14 -3
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +15 -3
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +189 -0
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +1 -1
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +3 -3
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +12 -3
  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/attack-attack-type.d.ts +9 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/models/attack-attack-type.transformation.d.ts +4 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +12 -0
  24. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.transformation.d.ts +9 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +14 -0
  26. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.transformation.d.ts +11 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/attack-list.d.ts +24 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/attack-list.transformation.d.ts +10 -0
  29. package/types/packages/client/classic-environment-v2/src/lib/models/attack-request-header.d.ts +13 -0
  30. package/types/packages/client/classic-environment-v2/src/lib/models/attack-request-header.transformation.d.ts +7 -0
  31. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-data-assets.d.ts +8 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-data-assets.transformation.d.ts +4 -0
  33. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-exposure.d.ts +8 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto-exposure.transformation.d.ts +4 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +13 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.transformation.d.ts +10 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +11 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.transformation.d.ts +8 -0
  39. package/types/packages/client/classic-environment-v2/src/lib/models/attack-state.d.ts +8 -0
  40. package/types/packages/client/classic-environment-v2/src/lib/models/attack-state.transformation.d.ts +4 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/models/attack-target.d.ts +13 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/attack-target.transformation.d.ts +7 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/models/attack-technology.d.ts +9 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/attack-technology.transformation.d.ts +4 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +46 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/attack.transformation.d.ts +31 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/attacker-location.d.ts +17 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/attacker-location.transformation.d.ts +8 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +11 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/attacker.transformation.d.ts +8 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details-type.d.ts +2 -1
  52. package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +35 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/code-location.transformation.d.ts +14 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.d.ts +1 -1
  55. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.transformation.d.ts +1 -1
  56. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.d.ts +14 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload-type.transformation.d.ts +4 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +15 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.transformation.d.ts +9 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.d.ts +2 -2
  61. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.transformation.d.ts +1 -1
  62. package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +1 -1
  63. package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.d.ts +6 -2
  64. package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.transformation.d.ts +1 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +27 -0
  66. package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.transformation.d.ts +12 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +13 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.transformation.d.ts +10 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/http-request-parameter.d.ts +13 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/http-request-parameter.transformation.d.ts +7 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +66 -8
  72. package/types/packages/client/classic-environment-v2/src/lib/models/monitor-request-execution-result.d.ts +4 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/monitor-request-execution-result.transformation.d.ts +1 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +7 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.transformation.d.ts +1 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +7 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.transformation.d.ts +10 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment-assessment-accuracy.d.ts +8 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment-assessment-accuracy.transformation.d.ts +4 -0
  81. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +2 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.transformation.d.ts +2 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +19 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/request-information.transformation.d.ts +10 -0
  85. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-assessment-accuracy.d.ts +1 -1
  86. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details-assessment-accuracy.d.ts +1 -1
  87. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-dto-impl.d.ts +6 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-dto-impl.transformation.d.ts +6 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-result-dto.d.ts +13 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/security-context-result-dto.transformation.d.ts +7 -0
  91. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +2 -4
  92. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.transformation.d.ts +2 -4
  93. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +0 -2
  94. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.transformation.d.ts +0 -2
  95. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +0 -2
  96. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.transformation.d.ts +0 -2
  97. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto.d.ts +0 -2
  98. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto.transformation.d.ts +0 -2
  99. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +7 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.transformation.d.ts +1 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +12 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.transformation.d.ts +9 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +12 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.transformation.d.ts +9 -0
  105. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +11 -0
  106. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.transformation.d.ts +8 -0
  107. package/types/packages/client/classic-environment-v2/src/lib/models/truncation-info.d.ts +9 -0
  108. package/types/packages/client/classic-environment-v2/src/lib/models/truncation-info.transformation.d.ts +6 -0
  109. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +19 -0
  110. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.transformation.d.ts +13 -0
  111. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-type.d.ts +1 -0
  112. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-type.d.ts +0 -8
  113. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-type.transformation.d.ts +0 -4
  114. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto-properties.d.ts +0 -6
  115. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto-properties.transformation.d.ts +0 -6
  116. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto-properties.d.ts +0 -6
  117. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto-properties.transformation.d.ts +0 -6
  118. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto-properties.d.ts +0 -6
  119. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto-properties.transformation.d.ts +0 -6
@@ -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;
@@ -4,5 +4,6 @@
4
4
  export declare enum CodeLevelVulnerabilityDetailsType {
5
5
  CmdInjection = "CMD_INJECTION",
6
6
  ImproperInputValidation = "IMPROPER_INPUT_VALIDATION",
7
- SqlInjection = "SQL_INJECTION"
7
+ SqlInjection = "SQL_INJECTION",
8
+ Ssrf = "SSRF"
8
9
  }
@@ -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,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;
@@ -0,0 +1,15 @@
1
+ import { EntrypointPayloadType } from './entrypoint-payload-type';
2
+ /**
3
+ * Describes a payload sent to an entrypoint during an attack.
4
+ */
5
+ export interface EntrypointPayload {
6
+ /**
7
+ * Name of the payload, if applicable.
8
+ */
9
+ name?: string | null;
10
+ type?: EntrypointPayloadType;
11
+ /**
12
+ * Value of the payload.
13
+ */
14
+ value?: string;
15
+ }
@@ -0,0 +1,9 @@
1
+ import { EntrypointPayload } from './entrypoint-payload';
2
+ import * as _EntrypointPayloadTypeTransformation from './entrypoint-payload-type.transformation';
3
+ export interface AsJson {
4
+ name?: string | null;
5
+ type?: _EntrypointPayloadTypeTransformation.AsJson;
6
+ value?: string;
7
+ }
8
+ export declare function fromJson($model: AsJson): EntrypointPayload;
9
+ export declare function toJson($model: EntrypointPayload): AsJson;
@@ -1,6 +1,6 @@
1
1
  export interface ExecuteActionsResponse {
2
2
  /**
3
- * The HTTP Status code
3
+ * Active Gate name for actions execution
4
4
  */
5
- code?: number;
5
+ agName?: string;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { ExecuteActionsResponse } from './execute-actions-response';
2
2
  export interface AsJson {
3
- code?: number;
3
+ agName?: string;
4
4
  }
5
5
  export declare function fromJson($model: AsJson): ExecuteActionsResponse;
6
6
  export declare function toJson($model: ExecuteActionsResponse): AsJson;
@@ -16,7 +16,7 @@ export interface ExtensionAssetsDto {
16
16
  */
17
17
  status: string;
18
18
  /**
19
- * Extension version
19
+ * Version of the active extension environment configuration.
20
20
  */
21
21
  version: string;
22
22
  }
@@ -2,16 +2,20 @@
2
2
  * A list of extensions with additional metadata.
3
3
  */
4
4
  export interface ExtensionInfo {
5
+ /**
6
+ * Active version in the environment (null if none is active)
7
+ */
8
+ activeVersion?: string;
5
9
  /**
6
10
  * Extension name
7
11
  */
8
12
  extensionName: string;
9
13
  /**
10
- * Extension keywords
14
+ * Extension keywords for the highest version
11
15
  */
12
16
  keywords: string[];
13
17
  /**
14
- * Extension version
18
+ * Highest installed version
15
19
  */
16
20
  version: string;
17
21
  }
@@ -1,5 +1,6 @@
1
1
  import { ExtensionInfo } from './extension-info';
2
2
  export interface AsJson {
3
+ activeVersion?: string;
3
4
  extensionName: string;
4
5
  keywords: string[];
5
6
  version: string;
@@ -0,0 +1,27 @@
1
+ import { TruncatableListString } from './truncatable-list-string';
2
+ /**
3
+ * Information about a function definition.
4
+ */
5
+ export interface FunctionDefinition {
6
+ /**
7
+ * The fully qualified class name of the class that includes the function.
8
+ */
9
+ className?: string;
10
+ /**
11
+ * A human readable string representation of the function definition.
12
+ */
13
+ displayName?: string;
14
+ /**
15
+ * The file name of the function definition.
16
+ */
17
+ fileName?: string;
18
+ /**
19
+ * The function/method name of the function definition.
20
+ */
21
+ functionName?: string;
22
+ parameterTypes?: TruncatableListString;
23
+ /**
24
+ * The return type of the function.
25
+ */
26
+ returnType?: string;
27
+ }
@@ -0,0 +1,12 @@
1
+ import { FunctionDefinition } from './function-definition';
2
+ import * as _TruncatableListStringTransformation from './truncatable-list-string.transformation';
3
+ export interface AsJson {
4
+ className?: string;
5
+ displayName?: string;
6
+ fileName?: string;
7
+ functionName?: string;
8
+ parameterTypes?: _TruncatableListStringTransformation.AsJson;
9
+ returnType?: string;
10
+ }
11
+ export declare function fromJson($model: AsJson): FunctionDefinition;
12
+ export declare function toJson($model: FunctionDefinition): AsJson;
@@ -0,0 +1,13 @@
1
+ import { TruncatableListAttackRequestHeader } from './truncatable-list-attack-request-header';
2
+ import { TruncatableListHttpRequestParameter } from './truncatable-list-http-request-parameter';
3
+ /**
4
+ * HTTP specific request details.
5
+ */
6
+ export interface HttpProtocolDetails {
7
+ headers?: TruncatableListAttackRequestHeader;
8
+ parameters?: TruncatableListHttpRequestParameter;
9
+ /**
10
+ * The HTTP request method.
11
+ */
12
+ requestMethod?: string;
13
+ }
@@ -0,0 +1,10 @@
1
+ import { HttpProtocolDetails } from './http-protocol-details';
2
+ import * as _TruncatableListAttackRequestHeaderTransformation from './truncatable-list-attack-request-header.transformation';
3
+ import * as _TruncatableListHttpRequestParameterTransformation from './truncatable-list-http-request-parameter.transformation';
4
+ export interface AsJson {
5
+ headers?: _TruncatableListAttackRequestHeaderTransformation.AsJson;
6
+ parameters?: _TruncatableListHttpRequestParameterTransformation.AsJson;
7
+ requestMethod?: string;
8
+ }
9
+ export declare function fromJson($model: AsJson): HttpProtocolDetails;
10
+ export declare function toJson($model: HttpProtocolDetails): AsJson;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * An HTTP request parameter.
3
+ */
4
+ export interface HttpRequestParameter {
5
+ /**
6
+ * The name of the parameter.
7
+ */
8
+ name?: string;
9
+ /**
10
+ * The value of the parameter.
11
+ */
12
+ value?: string;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { HttpRequestParameter } from './http-request-parameter';
2
+ export interface AsJson {
3
+ name?: string;
4
+ value?: string;
5
+ }
6
+ export declare function fromJson($model: AsJson): HttpRequestParameter;
7
+ export declare function toJson($model: HttpRequestParameter): AsJson;