@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
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "1.9.1",
3
+ "version": "1.11.1",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
7
7
  "@dynatrace-sdk/error-handlers": "^1.2.0",
8
- "@dynatrace-sdk/http-client": "^1.0.9"
8
+ "@dynatrace-sdk/http-client": "^1.0.10"
9
9
  },
10
10
  "main": "./cjs/index.js",
11
11
  "module": "./esm/index.js",
@@ -0,0 +1,166 @@
1
+ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { Attack } from '../models/attack';
3
+ import { AttackList } from '../models/attack-list';
4
+ /**
5
+ * Read attacks
6
+ */
7
+ export declare class AttacksClient {
8
+ private httpClient;
9
+ /**
10
+ * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a AttacksClient. Custom http client should implement {HttpClient} interface.
11
+ * @example
12
+ * const attacksClientNodeJs = new AttacksClient(yourCustomImplementation);
13
+ */
14
+ constructor(httpClientImplementation: HttpClient);
15
+ /**
16
+ * Lists all attacks
17
+ *
18
+ * **Required scope:** environment-api:attacks:read<br/>**One of the following permissions is required:**
19
+ * + environment:roles:manage-security-problems
20
+ * + environment:roles:view-security-problems
21
+ *
22
+ * @returns Success
23
+ *
24
+ * @example <caption>Code example</caption>
25
+ * import { attacksClient } from "@dynatrace-sdk/client-classic-environment-v2";
26
+ *
27
+ * const data = await attacksClient.getAttacks();
28
+ */
29
+ getAttacks(config?: {
30
+ /**
31
+ * The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
32
+ *
33
+ * The first page is always returned if you don't specify the **nextPageKey** query parameter.
34
+ *
35
+ * When the **nextPageKey** is set to obtain subsequent pages, you must omit all other query parameters.
36
+ */ nextPageKey?: string;
37
+ /**
38
+ * The amount of attacks in a single response payload.
39
+ *
40
+ * The maximal allowed page size is 500.
41
+ *
42
+ * If not set, 100 is used.
43
+ */ pageSize?: number;
44
+ /**
45
+ * Defines the scope of the query. Only attacks matching the specified criteria are included in the response. You can add one or more of the following criteria. Values are *not* case-sensitive and the `EQUALS` operator is used unless otherwise specified.
46
+ *
47
+ * * State: `state("value")`. The state of the attack. Possible values are `EXPLOITED`, `BLOCKED`, and `ALLOWLISTED`.
48
+ * * Attack Type: `attackType("value")`. The type of the attack. Find the possible values in the description of the **attackType** field of the response.
49
+ * * Country Code: `countryCode("value")`. The country code of the attacker. Supported values include all ISO-3166-1 alpha-2 country codes (2-letter). Supplying empty filter value `countryCode()` will return attacks, where location is not available.
50
+ * * Request path contains: `requestPathContains("value")`. Filters for a substring in the request path. The `CONTAINS` operator is used. A maximum of 48 characters are allowed.
51
+ * * Process group name contains: `processGroupNameContains("value")`. Filters for a substring in the targeted process group's name. The `CONTAINS` operator is used.
52
+ * * Vulnerability ID: `vulnerabilityId("123456789")`. The exact ID of the vulnerability.
53
+ * * Source IPs: `sourceIps("93.184.216.34", "63.124.6.12")`. The exact IPv4/IPv6 addresses of the attacker.
54
+ * * Management zone ID: `managementZoneIds("mzId-1", "mzId-2")`.
55
+ * * Management zone name: `managementZones("name-1", "name-2")`. Values are case sensitive.
56
+ * * Technology: `technology("technology-1", "technology-2")`. Find the possible values in the description of the **technology** field of the response. The `EQUALS` operator is used.
57
+ *
58
+ * To set several criteria, separate them with a comma (`,`). Only results matching (**all** criteria are included in the response.
59
+ *
60
+ * Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (`~`) inside quotes:
61
+ * * Tilde `~`
62
+ * * Quote `"`
63
+ */ attackSelector?: string;
64
+ /**
65
+ * Specifies one or more fields for sorting the attack list. Multiple fields can be concatenated using a comma (`,`) as a separator (e.g. `+state,-timestamp`).
66
+ *
67
+ * You can sort by the following properties with a sign prefix for the sorting order.
68
+ *
69
+ * * `displayId`: The attack's display ID.
70
+ * * `displayName`: The attack's display name.
71
+ * * `attackType`: The type of the attack (e.g. SQL_INJECTION, JNDI_INJECTION, etc.).
72
+ * * `state`: The state of the attack. (`+` low severity state first `-` high severity state first)
73
+ * * `sourceIp`: The IP address of the attacker. Sorts by the numerical IP value.
74
+ * * `requestPath`: The request path where the attack was started.
75
+ * * `timestamp`: When the attack was executed. (`+` old attacks first or `-` new attacks first)
76
+ * If no prefix is set, `+` is used.
77
+ */ sort?: string;
78
+ /**
79
+ * A list of additional attack properties you can add to the response.
80
+ *
81
+ * The following properties are available (all other properties are always included and you can't remove them from the response):
82
+ *
83
+ * * `attackTarget`: The targeted host/database of an attack.
84
+ * * `request`: The request that was sent from the attacker.
85
+ * * `entrypoint`: The entry point used by an attacker to start a specific attack.
86
+ * * `vulnerability`: The vulnerability utilized by the attack.
87
+ * * `securityProblem`: The related security problem.
88
+ * * `attacker`: The attacker of an attack.
89
+ * * `managementZones`: The related management zones.
90
+ * * `affectedEntities`: The affected entities of an attack.
91
+ *
92
+ * To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, `+attackTarget,+securityProblem`).
93
+ */ fields?: string;
94
+ /**
95
+ * The start of the requested timeframe.
96
+ *
97
+ * You can use one of the following formats:
98
+ * * Timestamp in UTC milliseconds.
99
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
100
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
101
+ * You can also specify relative timeframe without an alignment: `now-NU`.
102
+ * Supported time units for the relative timeframe are:
103
+ * * `m`: minutes
104
+ * * `h`: hours
105
+ * * `d`: days
106
+ * * `w`: weeks
107
+ * * `M`: months
108
+ * * `y`: years
109
+ *
110
+ * If not set, the relative timeframe of thirty days is used (`now-30d`).
111
+ */ from?: string;
112
+ /**
113
+ * The end of the requested timeframe.
114
+ *
115
+ * You can use one of the following formats:
116
+ * * Timestamp in UTC milliseconds.
117
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
118
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
119
+ * You can also specify relative timeframe without an alignment: `now-NU`.
120
+ * Supported time units for the relative timeframe are:
121
+ * * `m`: minutes
122
+ * * `h`: hours
123
+ * * `d`: days
124
+ * * `w`: weeks
125
+ * * `M`: months
126
+ * * `y`: years
127
+ *
128
+ * If not set, the current timestamp is used.
129
+ */ to?: string;
130
+ abortSignal?: AbortSignal;
131
+ }): Promise<AttackList>;
132
+ /**
133
+ * Gets the specified attack
134
+ *
135
+ * **Required scope:** environment-api:attacks:read<br/>**One of the following permissions is required:**
136
+ * + environment:roles:manage-security-problems
137
+ * + environment:roles:view-security-problems
138
+ *
139
+ * @returns Success
140
+ *
141
+ * @example <caption>Code example</caption>
142
+ * import { attacksClient } from "@dynatrace-sdk/client-classic-environment-v2";
143
+ *
144
+ * const data = await attacksClient.getAttack({ id: "..." });
145
+ */
146
+ getAttack(config: {
147
+ /** The ID of the attack. */ id: string;
148
+ /**
149
+ * A list of additional attack properties you can add to the response.
150
+ *
151
+ * The following properties are available (all other properties are always included and you can't remove them from the response):
152
+ *
153
+ * * `attackTarget`: The targeted host/database of an attack.
154
+ * * `request`: The request that was sent from the attacker.
155
+ * * `entrypoint`: The entry point used by an attacker to start a specific attack.
156
+ * * `vulnerability`: The vulnerability utilized by the attack.
157
+ * * `securityProblem`: The related security problem.
158
+ * * `attacker`: The attacker of an attack.
159
+ * * `managementZones`: The related management zones.
160
+ *
161
+ * To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, `+attackTarget,+securityProblem`).
162
+ */ fields?: string;
163
+ abortSignal?: AbortSignal;
164
+ }): Promise<Attack>;
165
+ }
166
+ export declare const attacksClient: AttacksClient;
@@ -47,6 +47,10 @@ export declare class AuditLogsClient {
47
47
  * * Event type: `eventType("value")`. The `EQUALS` operator applies.
48
48
  * * Category of a logged operation: `category("value")`. The `EQUALS` operator applies.
49
49
  * * Entity ID: `entityId("id")`. The `CONTAINS` operator applies.
50
+ * * Settings schema ID: `dt.settings.schema_id("id")`. The `EQUALS` operator applies.
51
+ * * Settings scope ID: `dt.settings.scope_id("id")`. The `EQUALS` operator applies.
52
+ * * Settings key: `dt.settings.key("key")`. The `EQUALS` operator applies.
53
+ * * Settings object ID: `dt.settings.object_id("id")`. The `EQUALS` operator applies.
50
54
  *
51
55
  * For each criterion, you can specify multiple alternatives with comma-separated values. In this case, the OR logic applies. For example, `eventType("CREATE","UPDATE")` means eventType can be "CREATE" or "UPDATE".
52
56
  *
@@ -12,7 +12,9 @@ export declare class BusinessEventsClient {
12
12
  /**
13
13
  * Ingests a business event
14
14
  *
15
- * **Required scope:** storage:events:write<br/>**Required permission:** storage:events:write<br/><br/>The ingestion of business events is subject to licensing (see [licensing documentation](https://www.dynatrace.com/support/help/shortlink/dps-events)).
15
+ * **Required scope:** storage:events:write<br/>**Required permission:** storage:events:write<br/><br/>The maximum payload size of a single request is **5 MiB**. Requests with a greater payload are rejected, and the API returns a 413 response code.
16
+ *
17
+ * The ingestion of business events is subject to licensing (see [licensing documentation](https://www.dynatrace.com/support/help/shortlink/dps-events)).
16
18
  *
17
19
  * @returns The provided business events are all accepted and will be processed.
18
20
  *
@@ -62,7 +62,7 @@ export declare class CredentialVaultClient {
62
62
  * const data = await credentialVaultClient.createCredentials({
63
63
  * body: {
64
64
  * name: "...",
65
- * scopes: [CredentialsScopesItem.All],
65
+ * scopes: [CredentialsScopesItem.Extension],
66
66
  * },
67
67
  * });
68
68
  */
@@ -102,7 +102,7 @@ export declare class CredentialVaultClient {
102
102
  * id: "...",
103
103
  * body: {
104
104
  * name: "...",
105
- * scopes: [CredentialsScopesItem.All],
105
+ * scopes: [CredentialsScopesItem.Extension],
106
106
  * },
107
107
  * });
108
108
  */
@@ -1,4 +1,4 @@
1
- import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
1
+ import { AbortSignal, HttpClient, Binary } from '@dynatrace-sdk/http-client';
2
2
  import { ActiveGateGroupsInfoDto } from '../models/active-gate-groups-info-dto';
3
3
  import { ErrorEnvelope } from '../models/error-envelope';
4
4
  import { ExecuteActionsDto } from '../models/execute-actions-dto';
@@ -157,8 +157,13 @@ export declare class Extensions_2_0Client {
157
157
  listSchemaFiles(config: {
158
158
  /** The version of the schema. */ schemaVersion: string;
159
159
  abortSignal?: AbortSignal;
160
- acceptType: 'application/json; charset=utf-8' | 'application/octet-stream';
160
+ acceptType: 'application/json; charset=utf-8';
161
161
  }): Promise<SchemaFiles>;
162
+ listSchemaFiles(config: {
163
+ /** The version of the schema. */ schemaVersion: string;
164
+ abortSignal?: AbortSignal;
165
+ acceptType: 'application/octet-stream';
166
+ }): Promise<Binary>;
162
167
  /**
163
168
  * Gets the extension 2.0 schema file in the specified version
164
169
  *
@@ -690,8 +695,14 @@ export declare class Extensions_2_0Client {
690
695
  /** The name of the requested extension 2.0. */ extensionName: string;
691
696
  /** The version of the requested extension 2.0 */ extensionVersion: string;
692
697
  abortSignal?: AbortSignal;
693
- acceptType: 'application/json; charset=utf-8' | 'application/octet-stream';
698
+ acceptType: 'application/json; charset=utf-8';
694
699
  }): Promise<Extension>;
700
+ extensionDetails(config: {
701
+ /** The name of the requested extension 2.0. */ extensionName: string;
702
+ /** The version of the requested extension 2.0 */ extensionVersion: string;
703
+ abortSignal?: AbortSignal;
704
+ acceptType: 'application/octet-stream';
705
+ }): Promise<Binary>;
695
706
  /**
696
707
  * Deletes the specified version of the extension 2.0
697
708
  *
@@ -4,6 +4,7 @@ export * from './access-tokens-tenant-tokens-api';
4
4
  export * from './active-gates-api';
5
5
  export * from './active-gates-auto-update-configuration-api';
6
6
  export * from './active-gates-auto-update-jobs-api';
7
+ export * from './attacks-api';
7
8
  export * from './audit-logs-api';
8
9
  export * from './business-events-api';
9
10
  export * from './credential-vault-api';
@@ -5,6 +5,8 @@ import { EntitiesList } from '../models/entities-list';
5
5
  import { Entity } from '../models/entity';
6
6
  import { EntityType } from '../models/entity-type';
7
7
  import { EntityTypeList } from '../models/entity-type-list';
8
+ import { SecurityContextDtoImpl } from '../models/security-context-dto-impl';
9
+ import { SecurityContextResultDto } from '../models/security-context-result-dto';
8
10
  /**
9
11
  * Manage monitored entities
10
12
  */
@@ -158,8 +160,199 @@ export declare class MonitoredEntitiesClient {
158
160
  */
159
161
  pushCustomDevice(config: {
160
162
  body: CustomDeviceCreation;
163
+ /** If true, it will be handled as if it was created via UI. It will be refreshed automatically and won't age out. */ uiBased?: boolean;
161
164
  abortSignal?: AbortSignal;
162
165
  }): Promise<CustomDeviceCreationResult | void>;
166
+ /**
167
+ * Sets the given security context for all entities matching the entity selector.
168
+ *
169
+ * **Required scope:** settings:objects:write<br/>**One of the following permissions is required:**
170
+ * + environment:roles:manage-settings
171
+ * + settings:objects:write
172
+ *
173
+ * <br/><br/>Matching entities will have a management zone assigned, if the given security context matches the name of an already existing management zone.
174
+ * This endpoint does not create a new management zone, if there is no management zone with the provided name.
175
+ * Automatic management zone rules will not apply to entities with a set security context. It will need to be removed, to have them apply again.
176
+ *
177
+ * @returns Success
178
+ *
179
+ * @example <caption>Code example</caption>
180
+ * import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
181
+ *
182
+ * const data =
183
+ * await monitoredEntitiesClient.setSecurityContext({
184
+ * entitySelector: "...",
185
+ * body: {},
186
+ * });
187
+ */
188
+ setSecurityContext(config: {
189
+ body: SecurityContextDtoImpl;
190
+ /**
191
+ * Defines the scope of the entities to set the security context for. Only entities that can have management zones are considered for this operation
192
+ *
193
+ * You must set one of these criteria:
194
+ *
195
+ * * Entity type: `type("TYPE")`
196
+ * * Dynatrace entity ID: `entityId("id")`. You can specify several IDs, separated by a comma (`entityId("id-1","id-2")`). All requested entities must be of the same type.
197
+ *
198
+ * You can add one or more of the following criteria. Values are case-sensitive and the `EQUALS` operator is used unless otherwise specified.
199
+ *
200
+ * * Tag: `tag("value")`. Tags in `[context]key:value`, `key:value`, and `value` formats are detected and parsed automatically. Any colons (`:`) that are part of the key or value must be escaped with a backslash(`\`). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
201
+ * * Management zone ID: `mzId(123)`
202
+ * * Management zone name: `mzName("value")`
203
+ * * Entity name:
204
+ * * `entityName.equals`: performs a non-casesensitive `EQUALS` query.
205
+ * * `entityName.startsWith`: changes the operator to `BEGINS WITH`.
206
+ * * `entityName.in`: enables you to provide multiple values. The `EQUALS` operator applies.
207
+ * * `caseSensitive(entityName.equals("value"))`: takes any entity name criterion as an argument and makes the value case-sensitive.
208
+ * * Health state (HEALTHY,UNHEALTHY): `healthState("HEALTHY")`
209
+ * * First seen timestamp: `firstSeenTms.<operator>(now-3h)`. Use any timestamp format from the **from** /**to** parameters.
210
+ * The following operators are available:
211
+ * * `lte`: earlier than or at the specified time
212
+ * * `lt`: earlier than the specified time
213
+ * * `gte`: later than or at the specified time
214
+ * * `gt`: later than the specified time
215
+ * * Entity attribute: `<attribute>("value1","value2")` and `<attribute>.exists()`. To fetch the list of available attributes, execute the [GET entity type](https://dt-url.net/2ka3ivt) request and check the **properties** field of the response.
216
+ * * Relationships: `fromRelationships.<relationshipName>()` and `toRelationships.<relationshipName>()`. This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the [GET entity type](https://dt-url.net/2ka3ivt) request and check the **fromRelationships** and **toRelationships** fields.
217
+ * * Negation: `not(<criterion>)`. Inverts any criterion except for **type**.
218
+ *
219
+ * For more information, see [Entity selector](https://dt-url.net/apientityselector) in Dynatrace Documentation.
220
+ *
221
+ * To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
222
+ *
223
+ * The maximum string length is 2,000 characters.
224
+ */ entitySelector: string;
225
+ /**
226
+ * The start of the requested timeframe.
227
+ *
228
+ * You can use one of the following formats:
229
+ * * Timestamp in UTC milliseconds.
230
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
231
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
232
+ * You can also specify relative timeframe without an alignment: `now-NU`.
233
+ * Supported time units for the relative timeframe are:
234
+ * * `m`: minutes
235
+ * * `h`: hours
236
+ * * `d`: days
237
+ * * `w`: weeks
238
+ * * `M`: months
239
+ * * `y`: years
240
+ *
241
+ * If not set, the relative timeframe of three days is used (`now-3d`).
242
+ */ from?: string;
243
+ /**
244
+ * The end of the requested timeframe.
245
+ *
246
+ * You can use one of the following formats:
247
+ * * Timestamp in UTC milliseconds.
248
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
249
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
250
+ * You can also specify relative timeframe without an alignment: `now-NU`.
251
+ * Supported time units for the relative timeframe are:
252
+ * * `m`: minutes
253
+ * * `h`: hours
254
+ * * `d`: days
255
+ * * `w`: weeks
256
+ * * `M`: months
257
+ * * `y`: years
258
+ *
259
+ * If not set, the current timestamp is used.
260
+ */ to?: string;
261
+ abortSignal?: AbortSignal;
262
+ }): Promise<SecurityContextResultDto>;
263
+ /**
264
+ * Deletes the security context for all entities matching the entity selector.
265
+ *
266
+ * **Required scope:** settings:objects:write<br/>**One of the following permissions is required:**
267
+ * + environment:roles:manage-settings
268
+ * + settings:objects:write
269
+ *
270
+ * <br/><br/>Automatic management zone rules will apply again to entities without a security context.
271
+ *
272
+ * @returns Success
273
+ *
274
+ * @example <caption>Code example</caption>
275
+ * import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
276
+ *
277
+ * const data =
278
+ * await monitoredEntitiesClient.deleteSecurityContext({
279
+ * entitySelector: "...",
280
+ * });
281
+ */
282
+ deleteSecurityContext(config: {
283
+ /**
284
+ * Defines the scope of the entities to set the security context for. Only entities that can have management zones are considered for this operation
285
+ *
286
+ * You must set one of these criteria:
287
+ *
288
+ * * Entity type: `type("TYPE")`
289
+ * * Dynatrace entity ID: `entityId("id")`. You can specify several IDs, separated by a comma (`entityId("id-1","id-2")`). All requested entities must be of the same type.
290
+ *
291
+ * You can add one or more of the following criteria. Values are case-sensitive and the `EQUALS` operator is used unless otherwise specified.
292
+ *
293
+ * * Tag: `tag("value")`. Tags in `[context]key:value`, `key:value`, and `value` formats are detected and parsed automatically. Any colons (`:`) that are part of the key or value must be escaped with a backslash(`\`). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
294
+ * * Management zone ID: `mzId(123)`
295
+ * * Management zone name: `mzName("value")`
296
+ * * Entity name:
297
+ * * `entityName.equals`: performs a non-casesensitive `EQUALS` query.
298
+ * * `entityName.startsWith`: changes the operator to `BEGINS WITH`.
299
+ * * `entityName.in`: enables you to provide multiple values. The `EQUALS` operator applies.
300
+ * * `caseSensitive(entityName.equals("value"))`: takes any entity name criterion as an argument and makes the value case-sensitive.
301
+ * * Health state (HEALTHY,UNHEALTHY): `healthState("HEALTHY")`
302
+ * * First seen timestamp: `firstSeenTms.<operator>(now-3h)`. Use any timestamp format from the **from** /**to** parameters.
303
+ * The following operators are available:
304
+ * * `lte`: earlier than or at the specified time
305
+ * * `lt`: earlier than the specified time
306
+ * * `gte`: later than or at the specified time
307
+ * * `gt`: later than the specified time
308
+ * * Entity attribute: `<attribute>("value1","value2")` and `<attribute>.exists()`. To fetch the list of available attributes, execute the [GET entity type](https://dt-url.net/2ka3ivt) request and check the **properties** field of the response.
309
+ * * Relationships: `fromRelationships.<relationshipName>()` and `toRelationships.<relationshipName>()`. This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the [GET entity type](https://dt-url.net/2ka3ivt) request and check the **fromRelationships** and **toRelationships** fields.
310
+ * * Negation: `not(<criterion>)`. Inverts any criterion except for **type**.
311
+ *
312
+ * For more information, see [Entity selector](https://dt-url.net/apientityselector) in Dynatrace Documentation.
313
+ *
314
+ * To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
315
+ *
316
+ * The maximum string length is 2,000 characters.
317
+ */ entitySelector: string;
318
+ /**
319
+ * The start of the requested timeframe.
320
+ *
321
+ * You can use one of the following formats:
322
+ * * Timestamp in UTC milliseconds.
323
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
324
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
325
+ * You can also specify relative timeframe without an alignment: `now-NU`.
326
+ * Supported time units for the relative timeframe are:
327
+ * * `m`: minutes
328
+ * * `h`: hours
329
+ * * `d`: days
330
+ * * `w`: weeks
331
+ * * `M`: months
332
+ * * `y`: years
333
+ *
334
+ * If not set, the relative timeframe of three days is used (`now-3d`).
335
+ */ from?: string;
336
+ /**
337
+ * The end of the requested timeframe.
338
+ *
339
+ * You can use one of the following formats:
340
+ * * Timestamp in UTC milliseconds.
341
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
342
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
343
+ * You can also specify relative timeframe without an alignment: `now-NU`.
344
+ * Supported time units for the relative timeframe are:
345
+ * * `m`: minutes
346
+ * * `h`: hours
347
+ * * `d`: days
348
+ * * `w`: weeks
349
+ * * `M`: months
350
+ * * `y`: years
351
+ *
352
+ * If not set, the current timestamp is used.
353
+ */ to?: string;
354
+ abortSignal?: AbortSignal;
355
+ }): Promise<SecurityContextResultDto>;
163
356
  /**
164
357
  * Gets the properties of the specified monitored entity
165
358
  *
@@ -133,10 +133,10 @@ export declare class SettingsObjectsClient {
133
133
  * * `modified`
134
134
  * * `createdBy`
135
135
  * * `modifiedBy`
136
- * * `author`
136
+ * * `author` (deprecated, will not work for future schemas)
137
137
  * * `value` with properties and sub-properties separated by dot (for example, `value.owningApp = 'Notebooks'`)
138
138
  *
139
- * If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 512.
139
+ * If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 1024 characters.
140
140
  *
141
141
  * Note that only fields included to the response via `fields` can be used for filtering.
142
142
  */ filter?: string;
@@ -148,7 +148,7 @@ export declare class SettingsObjectsClient {
148
148
  * * `modified`
149
149
  * * `createdBy`
150
150
  * * `modifiedBy`
151
- * * `author`
151
+ * * `author` (deprecated, will not work for future schemas)
152
152
  * * `value` with properties and sub-properties separated by dot (for example, `value.owningApp`)
153
153
  *
154
154
  * Note that only fields included to the response via `fields` can be used for sorting.
@@ -190,6 +190,7 @@ export declare class SettingsObjectsClient {
190
190
  * schemaId:
191
191
  * "builtin:container.built-in-monitoring-rule",
192
192
  * scope: "HOST-D3A3C5A146830A79",
193
+ * value: {},
193
194
  * },
194
195
  * ],
195
196
  * });
@@ -239,12 +240,13 @@ export declare class SettingsObjectsClient {
239
240
  * const data =
240
241
  * await settingsObjectsClient.putSettingsObjectByObjectId({
241
242
  * objectId: "...",
242
- * body: {},
243
+ * body: { value: {} },
243
244
  * });
244
245
  */
245
246
  putSettingsObjectByObjectId(config: {
246
247
  body: SettingsObjectUpdate;
247
248
  /** The ID of the required settings object. */ objectId: string;
249
+ /** If `true`, the request runs only validation of the submitted settings object, without saving it. */ validateOnly?: boolean;
248
250
  abortSignal?: AbortSignal;
249
251
  }): Promise<SettingsObjectResponse>;
250
252
  /**
@@ -1,4 +1,6 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { GetExecutionFullReportPathExecutionId } from '../models/get-execution-full-report-path-execution-id';
3
+ import { GetExecutionPathExecutionId } from '../models/get-execution-path-execution-id';
2
4
  import { GetExecutionsQueryExecutionStage } from '../models/get-executions-query-execution-stage';
3
5
  import { GetExecutionsQuerySource } from '../models/get-executions-query-source';
4
6
  import { SyntheticOnDemandBatchStatus } from '../models/synthetic-on-demand-batch-status';
@@ -197,11 +199,11 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
197
199
  *
198
200
  * const data =
199
201
  * await syntheticOnDemandMonitorExecutionsClient.getExecution(
200
- * { executionId: 10 },
202
+ * { executionId: {} },
201
203
  * );
202
204
  */
203
205
  getExecution(config: {
204
- /** The identifier of the on-demand execution. */ executionId: number;
206
+ /** The identifier of the on-demand execution. */ executionId: GetExecutionPathExecutionId;
205
207
  abortSignal?: AbortSignal;
206
208
  }): Promise<SyntheticOnDemandExecution>;
207
209
  /**
@@ -216,11 +218,11 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
216
218
  *
217
219
  * const data =
218
220
  * await syntheticOnDemandMonitorExecutionsClient.getExecutionFullReport(
219
- * { executionId: 10 },
221
+ * { executionId: {} },
220
222
  * );
221
223
  */
222
224
  getExecutionFullReport(config: {
223
- /** The identifier of the on-demand execution. */ executionId: number;
225
+ /** The identifier of the on-demand execution. */ executionId: GetExecutionFullReportPathExecutionId;
224
226
  abortSignal?: AbortSignal;
225
227
  }): Promise<SyntheticOnDemandExecution>;
226
228
  }
@@ -0,0 +1,8 @@
1
+ import { AffectedEntity } from './affected-entity';
2
+ /**
3
+ * Information about affected entities of an attack.
4
+ */
5
+ export interface AffectedEntities {
6
+ processGroup?: AffectedEntity;
7
+ processGroupInstance?: AffectedEntity;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
2
+ import { AffectedEntities } from './affected-entities';
3
+ import * as _AffectedEntityTransformation from './affected-entity.transformation';
4
+ export interface AsJson {
5
+ processGroup?: _AffectedEntityTransformation.AsJson;
6
+ processGroupInstance?: _AffectedEntityTransformation.AsJson;
7
+ }
8
+ export declare function fromJson($model: AsJson): AffectedEntities;
9
+ export declare function toJson($model: AffectedEntities): AsJson;
10
+ export declare function fromFormData(formData: FormDataResponseBody): AffectedEntities;
11
+ export declare function toFormData($model: AffectedEntities): FormDataRequestBody;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Information about an affected entity.
3
+ */
4
+ export interface AffectedEntity {
5
+ /**
6
+ * The monitored entity ID of the affected entity.
7
+ */
8
+ id?: string;
9
+ /**
10
+ * The name of the affected entity.
11
+ */
12
+ name?: string;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { AffectedEntity } from './affected-entity';
2
+ export interface AsJson {
3
+ id?: string;
4
+ name?: string;
5
+ }
6
+ export declare function fromJson($model: AsJson): AffectedEntity;
7
+ export declare function toJson($model: AffectedEntity): AsJson;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A schema representing an arbitrary value type.
3
+ * This is just an alias for a type any.
4
+ * @typedef {any} AnyValue
5
+ */
6
+ export declare type AnyValue = any;
@@ -0,0 +1,4 @@
1
+ import { AnyValue } from './any-value';
2
+ export declare type AsJson = any;
3
+ export declare function fromJson($model: AsJson): AnyValue;
4
+ export declare function toJson($model: AnyValue): AsJson;
@@ -6,6 +6,7 @@ export declare enum AssetInfoDtoType {
6
6
  CustomCards = "CUSTOM_CARDS",
7
7
  Dashboard = "DASHBOARD",
8
8
  DeclarativeProcesses = "DECLARATIVE_PROCESSES",
9
+ DqlLogMetric = "DQL_LOG_METRIC",
9
10
  DqlLogProcessingRule = "DQL_LOG_PROCESSING_RULE",
10
11
  GenericRelationship = "GENERIC_RELATIONSHIP",
11
12
  GenericType = "GENERIC_TYPE",
@@ -15,6 +16,7 @@ export declare enum AssetInfoDtoType {
15
16
  LogEvent = "LOG_EVENT",
16
17
  LogMetric = "LOG_METRIC",
17
18
  LogProcessingRule = "LOG_PROCESSING_RULE",
19
+ LqlLogMetric = "LQL_LOG_METRIC",
18
20
  LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
19
21
  MetricMetadata = "METRIC_METADATA",
20
22
  MetricQuery = "METRIC_QUERY",
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The type of the attack.
3
+ */
4
+ export declare enum AttackAttackType {
5
+ CommandInjection = "COMMAND_INJECTION",
6
+ JndiInjection = "JNDI_INJECTION",
7
+ SqlInjection = "SQL_INJECTION",
8
+ Ssrf = "SSRF"
9
+ }