@dynatrace-sdk/client-classic-environment-v2 0.6.7 → 0.6.11

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 (174) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/LICENSE +174 -0
  3. package/README.md +39 -0
  4. package/cjs/index.js +3976 -1164
  5. package/docs/DOCS.md +9780 -4761
  6. package/dynatrace-metadata.json +2 -2
  7. package/esm/index.js +3977 -1164
  8. package/package.json +3 -2
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +14 -10
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +6 -6
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +3 -3
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -2
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +6 -6
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +6 -6
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +2 -2
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +12 -11
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +2 -2
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +24 -16
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +34 -23
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/hub-items-api.d.ts +162 -0
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +2 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +8 -8
  23. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +13 -12
  24. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +3 -3
  25. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +31 -11
  26. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +21 -21
  27. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +59 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +7 -7
  29. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +14 -14
  30. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +85 -20
  32. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +6 -6
  33. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +1 -1
  35. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +4 -4
  36. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +5 -5
  37. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-created.d.ts +1 -1
  38. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +1 -1
  39. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +1 -1
  40. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +0 -1
  41. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +0 -1
  42. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +5 -5
  43. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +0 -1
  44. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +0 -1
  45. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +0 -1
  46. package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +5 -5
  47. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +35 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +28 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/asset-schema-details-dto.d.ts +27 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/category-list.d.ts +15 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/category.d.ts +27 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/comment.d.ts +5 -5
  53. package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +5 -5
  54. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +5 -5
  55. package/types/packages/client/classic-environment-v2/src/lib/models/configuration-metadata.d.ts +5 -5
  56. package/types/packages/client/classic-environment-v2/src/lib/models/constraint-violation-parameter-location.d.ts +1 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +12 -12
  58. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-id.d.ts +17 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-config.d.ts +20 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-dto.d.ts +38 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password-config.d.ts +22 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +43 -0
  63. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +22 -0
  64. package/types/packages/client/classic-environment-v2/src/lib/models/description-block-type.d.ts +13 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/description-block.d.ts +36 -0
  66. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +16 -11
  67. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +5 -5
  68. package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +7 -7
  69. package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +10 -10
  70. package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +13 -13
  71. package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +5 -5
  72. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +5 -5
  73. package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +5 -5
  74. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.d.ts +5 -5
  75. package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +5 -5
  76. package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +35 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +13 -16
  78. package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +5 -5
  79. package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +13 -13
  80. package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +10 -10
  81. package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +5 -5
  82. package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +28 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-feature-sets.d.ts +15 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-notes.d.ts +17 -0
  85. package/types/packages/client/classic-environment-v2/src/lib/models/extension-release.d.ts +81 -0
  86. package/types/packages/client/classic-environment-v2/src/lib/models/extension1-details.d.ts +18 -0
  87. package/types/packages/client/classic-environment-v2/src/lib/models/extension1-release.d.ts +32 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/extension2-details.d.ts +33 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-source-auth-method.d.ts +4 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-type.d.ts +2 -0
  91. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +4 -0
  92. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-source-auth-method.d.ts +4 -0
  93. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +9 -0
  94. package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +9 -9
  95. package/types/packages/client/classic-environment-v2/src/lib/models/filtered-counts-dto.d.ts +77 -0
  96. package/types/packages/client/classic-environment-v2/src/lib/models/global-counts-dto.d.ts +72 -0
  97. package/types/packages/client/classic-environment-v2/src/lib/models/image.d.ts +27 -0
  98. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +60 -2
  99. package/types/packages/client/classic-environment-v2/src/lib/models/item-details-type.d.ts +14 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/item-details.d.ts +98 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/item-list.d.ts +32 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/item-overview-type.d.ts +14 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/item-overview.d.ts +85 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +10 -10
  105. package/types/packages/client/classic-environment-v2/src/lib/models/list-items-query-item-type.d.ts +11 -0
  106. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +5 -1
  107. package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +5 -5
  108. package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +2 -2
  109. package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +2 -2
  110. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +43 -43
  111. package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +5 -5
  112. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -2
  113. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +22 -0
  114. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +14 -0
  115. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +50 -0
  116. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +29 -0
  117. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +23 -0
  118. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone-fallback-mode.d.ts +14 -0
  119. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +6 -3
  120. package/types/packages/client/classic-environment-v2/src/lib/models/object-node.d.ts +12 -0
  121. package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +5 -5
  122. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +7 -7
  123. package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +16 -16
  124. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +14 -14
  125. package/types/packages/client/classic-environment-v2/src/lib/models/registered-extension-result-dto.d.ts +19 -0
  126. package/types/packages/client/classic-environment-v2/src/lib/models/related-item-type.d.ts +14 -0
  127. package/types/packages/client/classic-environment-v2/src/lib/models/related-item.d.ts +36 -0
  128. package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +5 -5
  129. package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +14 -14
  130. package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +10 -10
  131. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary-reason.d.ts +14 -0
  132. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +25 -0
  133. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-reason.d.ts +16 -0
  134. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-response.d.ts +18 -0
  135. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +25 -0
  136. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-reason.d.ts +12 -0
  137. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-response.d.ts +18 -0
  138. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +25 -0
  139. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +11 -0
  140. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary-reason.d.ts +13 -0
  141. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +25 -0
  142. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +6 -0
  143. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +5 -5
  144. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +2 -2
  145. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +2 -2
  146. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +3 -0
  147. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-reason.d.ts +16 -0
  148. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-response.d.ts +18 -0
  149. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +25 -0
  150. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-reason.d.ts +12 -0
  151. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-response.d.ts +18 -0
  152. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +25 -0
  153. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +20 -13
  154. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +2 -2
  155. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +16 -16
  156. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +26 -21
  157. package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +5 -5
  158. package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +12 -12
  159. package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +24 -24
  160. package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +36 -36
  161. package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +5 -5
  162. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-execution-stage.d.ts +2 -1
  163. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-processing-mode.d.ts +16 -0
  164. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-custom-script.d.ts +12 -0
  165. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +4 -1
  166. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +11 -0
  167. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status-execution-stage.d.ts +2 -1
  168. package/types/packages/client/classic-environment-v2/src/lib/models/technology-details.d.ts +17 -0
  169. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +5 -5
  170. package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +2 -2
  171. package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +15 -15
  172. package/types/packages/client/classic-environment-v2/src/lib/models/upload-metadata-for-extension-body.d.ts +25 -0
  173. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +0 -32
  174. package/types/packages/client/classic-environment-v2/src/lib/models/upload-extension-body.d.ts +0 -18
@@ -0,0 +1,25 @@
1
+ import { SecurityProblemBulkMutingSummaryReason, _SecurityProblemBulkMutingSummaryReasonTransformation } from './security-problem-bulk-muting-summary-reason';
2
+ /**
3
+ * Summary of (un-)muting a security problem.
4
+ */
5
+ export interface SecurityProblemBulkMutingSummary {
6
+ /**
7
+ * The id of the security problem that was (un-)muted.
8
+ */
9
+ securityProblemId: string;
10
+ /**
11
+ * Whether a mute state change for the given security problem was triggered by this request.
12
+ */
13
+ muteStateChangeTriggered: boolean;
14
+ reason?: SecurityProblemBulkMutingSummaryReason;
15
+ }
16
+ /** @ignore */
17
+ export declare namespace _SecurityProblemBulkMutingSummaryTransformation {
18
+ interface AsJson {
19
+ securityProblemId: string;
20
+ muteStateChangeTriggered: boolean;
21
+ reason?: _SecurityProblemBulkMutingSummaryReasonTransformation.AsJson;
22
+ }
23
+ function fromJson(model: AsJson): SecurityProblemBulkMutingSummary;
24
+ function toJson(model: SecurityProblemBulkMutingSummary): AsJson;
25
+ }
@@ -1,4 +1,6 @@
1
1
  import { CodeLevelVulnerabilityDetails, _CodeLevelVulnerabilityDetailsTransformation } from './code-level-vulnerability-details';
2
+ import { FilteredCountsDto, _FilteredCountsDtoTransformation } from './filtered-counts-dto';
3
+ import { GlobalCountsDto, _GlobalCountsDtoTransformation } from './global-counts-dto';
2
4
  import { ManagementZone, _ManagementZoneTransformation } from './management-zone';
3
5
  import { RelatedAttacksList, _RelatedAttacksListTransformation } from './related-attacks-list';
4
6
  import { RelatedEntitiesList, _RelatedEntitiesListTransformation } from './related-entities-list';
@@ -65,6 +67,8 @@ export interface SecurityProblemDetails {
65
67
  * A list of CVE IDs of the security problem.
66
68
  */
67
69
  cveIds?: string[];
70
+ globalCounts?: GlobalCountsDto;
71
+ filteredCounts?: FilteredCountsDto;
68
72
  codeLevelVulnerabilityDetails?: CodeLevelVulnerabilityDetails;
69
73
  /**
70
74
  * An ordered (newest first) list of events of the security problem.
@@ -126,6 +130,8 @@ export declare namespace _SecurityProblemDetailsTransformation {
126
130
  riskAssessment?: _RiskAssessmentTransformation.AsJson;
127
131
  managementZones?: _ManagementZoneTransformation.AsJson[];
128
132
  cveIds?: string[];
133
+ globalCounts?: _GlobalCountsDtoTransformation.AsJson;
134
+ filteredCounts?: _FilteredCountsDtoTransformation.AsJson;
129
135
  codeLevelVulnerabilityDetails?: _CodeLevelVulnerabilityDetailsTransformation.AsJson;
130
136
  events?: _SecurityProblemEventTransformation.AsJson[];
131
137
  vulnerableComponents?: _VulnerableComponentTransformation.AsJson[];
@@ -11,24 +11,24 @@ export interface SecurityProblemEventsList {
11
11
  * The total number of entries in the result.
12
12
  */
13
13
  totalCount: number;
14
+ /**
15
+ * The number of entries per page.
16
+ */
17
+ pageSize?: number;
14
18
  /**
15
19
  * The cursor for the next page of results. Has the value of `null` on the last page.
16
20
  *
17
21
  * Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
18
22
  */
19
23
  nextPageKey?: string;
20
- /**
21
- * The number of entries per page.
22
- */
23
- pageSize?: number;
24
24
  }
25
25
  /** @ignore */
26
26
  export declare namespace _SecurityProblemEventsListTransformation {
27
27
  interface AsJson {
28
28
  events?: _SecurityProblemEventTransformation.AsJson[];
29
29
  totalCount: number;
30
- nextPageKey?: string;
31
30
  pageSize?: number;
31
+ nextPageKey?: string;
32
32
  }
33
33
  function fromJson(model: AsJson): SecurityProblemEventsList;
34
34
  function toJson(model: SecurityProblemEventsList): AsJson;
@@ -7,13 +7,13 @@ export interface SecurityProblemMute {
7
7
  /**
8
8
  * A comment about the muting reason.
9
9
  */
10
- comment: string;
10
+ comment?: string;
11
11
  }
12
12
  /** @ignore */
13
13
  export declare namespace _SecurityProblemMuteTransformation {
14
14
  interface AsJson {
15
15
  reason: _SecurityProblemMuteReasonTransformation.AsJson;
16
- comment: string;
16
+ comment?: string;
17
17
  }
18
18
  function fromJson(model: AsJson): SecurityProblemMute;
19
19
  function toJson(model: SecurityProblemMute): AsJson;
@@ -7,13 +7,13 @@ export interface SecurityProblemUnmute {
7
7
  /**
8
8
  * A comment about the un-muting reason.
9
9
  */
10
- comment: string;
10
+ comment?: string;
11
11
  }
12
12
  /** @ignore */
13
13
  export declare namespace _SecurityProblemUnmuteTransformation {
14
14
  interface AsJson {
15
15
  reason: _SecurityProblemUnmuteReasonTransformation.AsJson;
16
- comment: string;
16
+ comment?: string;
17
17
  }
18
18
  function fromJson(model: AsJson): SecurityProblemUnmute;
19
19
  function toJson(model: SecurityProblemUnmute): AsJson;
@@ -1,4 +1,5 @@
1
1
  import { CodeLevelVulnerabilityDetails, _CodeLevelVulnerabilityDetailsTransformation } from './code-level-vulnerability-details';
2
+ import { GlobalCountsDto, _GlobalCountsDtoTransformation } from './global-counts-dto';
2
3
  import { ManagementZone, _ManagementZoneTransformation } from './management-zone';
3
4
  import { RiskAssessment, _RiskAssessmentTransformation } from './risk-assessment';
4
5
  import { SecurityProblemStatus, _SecurityProblemStatusTransformation } from './security-problem-status';
@@ -56,6 +57,7 @@ export interface SecurityProblem {
56
57
  * A list of CVE IDs of the security problem.
57
58
  */
58
59
  cveIds?: string[];
60
+ globalCounts?: GlobalCountsDto;
59
61
  codeLevelVulnerabilityDetails?: CodeLevelVulnerabilityDetails;
60
62
  }
61
63
  /** @ignore */
@@ -76,6 +78,7 @@ export declare namespace _SecurityProblemTransformation {
76
78
  riskAssessment?: _RiskAssessmentTransformation.AsJson;
77
79
  managementZones?: _ManagementZoneTransformation.AsJson[];
78
80
  cveIds?: string[];
81
+ globalCounts?: _GlobalCountsDtoTransformation.AsJson;
79
82
  codeLevelVulnerabilityDetails?: _CodeLevelVulnerabilityDetailsTransformation.AsJson;
80
83
  }
81
84
  function fromJson(model: AsJson): SecurityProblem;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * The reason for muting the security problems.
3
+ */
4
+ export declare enum SecurityProblemsBulkMuteReason {
5
+ ConfigurationNotAffected = "CONFIGURATION_NOT_AFFECTED",
6
+ FalsePositive = "FALSE_POSITIVE",
7
+ Ignore = "IGNORE",
8
+ Other = "OTHER",
9
+ VulnerableCodeNotInUse = "VULNERABLE_CODE_NOT_IN_USE"
10
+ }
11
+ /** @ignore */
12
+ export declare namespace _SecurityProblemsBulkMuteReasonTransformation {
13
+ type AsJson = SecurityProblemsBulkMuteReason;
14
+ const toJson: (value: SecurityProblemsBulkMuteReason) => AsJson;
15
+ const fromJson: (value: AsJson) => SecurityProblemsBulkMuteReason;
16
+ }
@@ -0,0 +1,18 @@
1
+ import { SecurityProblemBulkMutingSummary, _SecurityProblemBulkMutingSummaryTransformation } from './security-problem-bulk-muting-summary';
2
+ /**
3
+ * Response of muting several security problems.
4
+ */
5
+ export interface SecurityProblemsBulkMuteResponse {
6
+ /**
7
+ * The summary of which security problems were muted and which already were muted previously.
8
+ */
9
+ summary: SecurityProblemBulkMutingSummary[];
10
+ }
11
+ /** @ignore */
12
+ export declare namespace _SecurityProblemsBulkMuteResponseTransformation {
13
+ interface AsJson {
14
+ summary: _SecurityProblemBulkMutingSummaryTransformation.AsJson[];
15
+ }
16
+ function fromJson(model: AsJson): SecurityProblemsBulkMuteResponse;
17
+ function toJson(model: SecurityProblemsBulkMuteResponse): AsJson;
18
+ }
@@ -0,0 +1,25 @@
1
+ import { SecurityProblemsBulkMuteReason, _SecurityProblemsBulkMuteReasonTransformation } from './security-problems-bulk-mute-reason';
2
+ /**
3
+ * Information on muting several security problems.
4
+ */
5
+ export interface SecurityProblemsBulkMute {
6
+ /**
7
+ * The ids of the security problems to be muted.
8
+ */
9
+ securityProblemIds: string[];
10
+ reason: SecurityProblemsBulkMuteReason;
11
+ /**
12
+ * A comment about the muting reason.
13
+ */
14
+ comment?: string;
15
+ }
16
+ /** @ignore */
17
+ export declare namespace _SecurityProblemsBulkMuteTransformation {
18
+ interface AsJson {
19
+ securityProblemIds: string[];
20
+ reason: _SecurityProblemsBulkMuteReasonTransformation.AsJson;
21
+ comment?: string;
22
+ }
23
+ function fromJson(model: AsJson): SecurityProblemsBulkMute;
24
+ function toJson(model: SecurityProblemsBulkMute): AsJson;
25
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The reason for un-muting the security problems.
3
+ */
4
+ export declare enum SecurityProblemsBulkUnmuteReason {
5
+ Affected = "AFFECTED"
6
+ }
7
+ /** @ignore */
8
+ export declare namespace _SecurityProblemsBulkUnmuteReasonTransformation {
9
+ type AsJson = SecurityProblemsBulkUnmuteReason;
10
+ const toJson: (value: SecurityProblemsBulkUnmuteReason) => AsJson;
11
+ const fromJson: (value: AsJson) => SecurityProblemsBulkUnmuteReason;
12
+ }
@@ -0,0 +1,18 @@
1
+ import { SecurityProblemBulkMutingSummary, _SecurityProblemBulkMutingSummaryTransformation } from './security-problem-bulk-muting-summary';
2
+ /**
3
+ * Response of un-muting several security problems.
4
+ */
5
+ export interface SecurityProblemsBulkUnmuteResponse {
6
+ /**
7
+ * The summary of which security problems were un-muted and which already were un-muted previously.
8
+ */
9
+ summary: SecurityProblemBulkMutingSummary[];
10
+ }
11
+ /** @ignore */
12
+ export declare namespace _SecurityProblemsBulkUnmuteResponseTransformation {
13
+ interface AsJson {
14
+ summary: _SecurityProblemBulkMutingSummaryTransformation.AsJson[];
15
+ }
16
+ function fromJson(model: AsJson): SecurityProblemsBulkUnmuteResponse;
17
+ function toJson(model: SecurityProblemsBulkUnmuteResponse): AsJson;
18
+ }
@@ -0,0 +1,25 @@
1
+ import { SecurityProblemsBulkUnmuteReason, _SecurityProblemsBulkUnmuteReasonTransformation } from './security-problems-bulk-unmute-reason';
2
+ /**
3
+ * Information on un-muting several security problems.
4
+ */
5
+ export interface SecurityProblemsBulkUnmute {
6
+ /**
7
+ * The ids of the security problems to be un-muted.
8
+ */
9
+ securityProblemIds: string[];
10
+ reason: SecurityProblemsBulkUnmuteReason;
11
+ /**
12
+ * A comment about the un-muting reason.
13
+ */
14
+ comment?: string;
15
+ }
16
+ /** @ignore */
17
+ export declare namespace _SecurityProblemsBulkUnmuteTransformation {
18
+ interface AsJson {
19
+ securityProblemIds: string[];
20
+ reason: _SecurityProblemsBulkUnmuteReasonTransformation.AsJson;
21
+ comment?: string;
22
+ }
23
+ function fromJson(model: AsJson): SecurityProblemsBulkUnmute;
24
+ function toJson(model: SecurityProblemsBulkUnmute): AsJson;
25
+ }
@@ -4,23 +4,15 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
4
4
  */
5
5
  export interface SettingsObjectCreate {
6
6
  /**
7
- * The position of the new object. The new object will be added after the specified one.
8
- *
9
- * If `null`, the new object will be placed in the last position.
7
+ * The ID of the settings object that should be replaced.
10
8
  *
11
- * If set to empty string, the new object will be placed in the first position.
12
- *
13
- * Only applicable for objects based on schemas with ordered objects (schema's **ordered** parameter is set to `true`).
9
+ * Only applicable if an external identifier is provided.
14
10
  */
15
- insertAfter?: string;
11
+ objectId?: string;
16
12
  /**
17
13
  * External identifier for the object being created
18
14
  */
19
15
  externalId?: string;
20
- /**
21
- * The version of the schema on which the object is based.
22
- */
23
- schemaVersion?: string;
24
16
  /**
25
17
  * The schema on which the object is based.
26
18
  */
@@ -32,16 +24,31 @@ export interface SettingsObjectCreate {
32
24
  */
33
25
  scope?: string;
34
26
  value: SettingsValue;
27
+ /**
28
+ * The version of the schema on which the object is based.
29
+ */
30
+ schemaVersion?: string;
31
+ /**
32
+ * The position of the new object. The new object will be added after the specified one.
33
+ *
34
+ * If `null`, the new object will be placed in the last position.
35
+ *
36
+ * If set to empty string, the new object will be placed in the first position.
37
+ *
38
+ * Only applicable for objects based on schemas with ordered objects (schema's `ordered` parameter is set to `true`).
39
+ */
40
+ insertAfter?: string;
35
41
  }
36
42
  /** @ignore */
37
43
  export declare namespace _SettingsObjectCreateTransformation {
38
44
  interface AsJson {
39
- insertAfter?: string;
45
+ objectId?: string;
40
46
  externalId?: string;
41
- schemaVersion?: string;
42
47
  schemaId: string;
43
48
  scope?: string;
44
49
  value: _SettingsValueTransformation.AsJson;
50
+ schemaVersion?: string;
51
+ insertAfter?: string;
45
52
  }
46
53
  function fromJson(model: AsJson): SettingsObjectCreate;
47
54
  function toJson(model: SettingsObjectCreate): AsJson;
@@ -4,11 +4,11 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
4
4
  * The response to a creation- or update-request.
5
5
  */
6
6
  export interface SettingsObjectResponse {
7
+ invalidValue?: SettingsValue;
7
8
  /**
8
9
  * For a successful request, the ID of the created or modified settings object.
9
10
  */
10
11
  objectId?: string;
11
- invalidValue?: SettingsValue;
12
12
  /**
13
13
  * The HTTP status code for the object.
14
14
  */
@@ -18,8 +18,8 @@ export interface SettingsObjectResponse {
18
18
  /** @ignore */
19
19
  export declare namespace _SettingsObjectResponseTransformation {
20
20
  interface AsJson {
21
- objectId?: string;
22
21
  invalidValue?: _SettingsValueTransformation.AsJson;
22
+ objectId?: string;
23
23
  code: number;
24
24
  error?: _ErrorTransformation.AsJson;
25
25
  }
@@ -3,6 +3,19 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
3
3
  * An update of a settings object.
4
4
  */
5
5
  export interface SettingsObjectUpdate {
6
+ value: SettingsValue;
7
+ /**
8
+ * The version of the schema on which the object is based.
9
+ */
10
+ schemaVersion?: string;
11
+ /**
12
+ * The update token of the object. You can use it to detect simultaneous modifications by different users.
13
+ *
14
+ * It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.
15
+ *
16
+ * If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
17
+ */
18
+ updateToken?: string;
6
19
  /**
7
20
  * The position of the updated object. The new object will be moved behind the specified one.
8
21
  *
@@ -27,28 +40,15 @@ export interface SettingsObjectUpdate {
27
40
  * Only applicable for objects based on schemas with ordered objects (schema's **ordered** parameter is set to `true`).
28
41
  */
29
42
  insertBefore?: string;
30
- /**
31
- * The version of the schema on which the object is based.
32
- */
33
- schemaVersion?: string;
34
- /**
35
- * The update token of the object. You can use it to detect simultaneous modifications by different users.
36
- *
37
- * It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.
38
- *
39
- * If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
40
- */
41
- updateToken?: string;
42
- value: SettingsValue;
43
43
  }
44
44
  /** @ignore */
45
45
  export declare namespace _SettingsObjectUpdateTransformation {
46
46
  interface AsJson {
47
- insertAfter?: string;
48
- insertBefore?: string;
47
+ value: _SettingsValueTransformation.AsJson;
49
48
  schemaVersion?: string;
50
49
  updateToken?: string;
51
- value: _SettingsValueTransformation.AsJson;
50
+ insertAfter?: string;
51
+ insertBefore?: string;
52
52
  }
53
53
  function fromJson(model: AsJson): SettingsObjectUpdate;
54
54
  function toJson(model: SettingsObjectUpdate): AsJson;
@@ -3,26 +3,35 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
3
3
  * A settings object.
4
4
  */
5
5
  export interface SettingsObject {
6
- /**
7
- * The ID of the settings object.
8
- */
9
- objectId?: string;
10
6
  /**
11
7
  * The timestamp of the creation.
12
8
  */
13
9
  created?: number;
14
10
  /**
15
- * The external identifier of the settings object.
11
+ * The timestamp of the last modification.
16
12
  */
17
- externalId?: string;
13
+ modified?: number;
18
14
  /**
19
15
  * The user (identified by a user ID or a public token ID) who performed that most recent modification.
20
16
  */
21
17
  author?: string;
22
18
  /**
23
- * The timestamp of the last modification.
19
+ * The external identifier of the settings object.
24
20
  */
25
- modified?: number;
21
+ externalId?: string;
22
+ /**
23
+ * The schema on which the object is based.
24
+ */
25
+ schemaId?: string;
26
+ /**
27
+ * The scope that the object targets.
28
+ */
29
+ scope?: string;
30
+ value?: SettingsValue;
31
+ /**
32
+ * The ID of the settings object.
33
+ */
34
+ objectId?: string;
26
35
  /**
27
36
  * The version of the schema on which the object is based.
28
37
  */
@@ -36,32 +45,28 @@ export interface SettingsObject {
36
45
  */
37
46
  updateToken?: string;
38
47
  /**
39
- * The schema on which the object is based.
48
+ * A searchable summary string of the setting value. Plain text without Markdown.
40
49
  */
41
- schemaId?: string;
42
- /**
43
- * The scope that the object targets.
44
- */
45
- scope?: string;
46
- value?: SettingsValue;
50
+ searchSummary?: string;
47
51
  /**
48
- * A short summary of settings.
52
+ * A short summary of settings. This can contain Markdown and will be escaped accordingly.
49
53
  */
50
54
  summary?: string;
51
55
  }
52
56
  /** @ignore */
53
57
  export declare namespace _SettingsObjectTransformation {
54
58
  interface AsJson {
55
- objectId?: string;
56
59
  created?: number;
57
- externalId?: string;
58
- author?: string;
59
60
  modified?: number;
60
- schemaVersion?: string;
61
- updateToken?: string;
61
+ author?: string;
62
+ externalId?: string;
62
63
  schemaId?: string;
63
64
  scope?: string;
64
65
  value?: _SettingsValueTransformation.AsJson;
66
+ objectId?: string;
67
+ schemaVersion?: string;
68
+ updateToken?: string;
69
+ searchSummary?: string;
65
70
  summary?: string;
66
71
  }
67
72
  function fromJson(model: AsJson): SettingsObject;
@@ -11,24 +11,24 @@ export interface SLOs {
11
11
  * The total number of entries in the result.
12
12
  */
13
13
  totalCount: number;
14
+ /**
15
+ * The number of entries per page.
16
+ */
17
+ pageSize?: number;
14
18
  /**
15
19
  * The cursor for the next page of results. Has the value of `null` on the last page.
16
20
  *
17
21
  * Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
18
22
  */
19
23
  nextPageKey?: string;
20
- /**
21
- * The number of entries per page.
22
- */
23
- pageSize?: number;
24
24
  }
25
25
  /** @ignore */
26
26
  export declare namespace _SLOsTransformation {
27
27
  interface AsJson {
28
28
  slo?: _SLOTransformation.AsJson[];
29
29
  totalCount: number;
30
- nextPageKey?: string;
31
30
  pageSize?: number;
31
+ nextPageKey?: string;
32
32
  }
33
33
  function fromJson(model: AsJson): SLOs;
34
34
  function toJson(model: SLOs): AsJson;
@@ -3,6 +3,15 @@ import { SloBurnRateBurnRateType, _SloBurnRateBurnRateTypeTransformation } from
3
3
  * Error budget burn rate evaluation of a service-level objective (SLO).
4
4
  */
5
5
  export interface SloBurnRate {
6
+ burnRateType?: SloBurnRateBurnRateType;
7
+ /**
8
+ * The burn rate of the SLO, calculated for the last hour.
9
+ */
10
+ burnRateValue?: number;
11
+ /**
12
+ * The estimated time left to consume the error budget in hours.
13
+ */
14
+ estimatedTimeToConsumeErrorBudget?: number;
6
15
  /**
7
16
  * The error budget burn rate visualization is enabled (`true`) or disabled (`false`).
8
17
  *
@@ -17,25 +26,16 @@ export interface SloBurnRate {
17
26
  * The calculated value of the SLO for the timeframe chosen for the burn rate calculation.
18
27
  */
19
28
  sloValue?: number;
20
- /**
21
- * The estimated time left to consume the error budget in hours.
22
- */
23
- estimatedTimeToConsumeErrorBudget?: number;
24
- burnRateType?: SloBurnRateBurnRateType;
25
- /**
26
- * The burn rate of the SLO, calculated for the last hour.
27
- */
28
- burnRateValue?: number;
29
29
  }
30
30
  /** @ignore */
31
31
  export declare namespace _SloBurnRateTransformation {
32
32
  interface AsJson {
33
+ burnRateType?: _SloBurnRateBurnRateTypeTransformation.AsJson;
34
+ burnRateValue?: number;
35
+ estimatedTimeToConsumeErrorBudget?: number;
33
36
  burnRateVisualizationEnabled?: boolean;
34
37
  fastBurnThreshold?: number;
35
38
  sloValue?: number;
36
- estimatedTimeToConsumeErrorBudget?: number;
37
- burnRateType?: _SloBurnRateBurnRateTypeTransformation.AsJson;
38
- burnRateValue?: number;
39
39
  }
40
40
  function fromJson(model: AsJson): SloBurnRate;
41
41
  function toJson(model: SloBurnRate): AsJson;
@@ -21,6 +21,26 @@ export interface SloConfigItemDtoImpl {
21
21
  * The percentage-based metric expression for the calculation of the SLO.
22
22
  */
23
23
  metricExpression?: string;
24
+ evaluationType?: SloConfigItemDtoImplEvaluationType;
25
+ /**
26
+ * The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector).
27
+ */
28
+ filter?: string;
29
+ /**
30
+ * The target value of the SLO.
31
+ */
32
+ target?: number;
33
+ /**
34
+ * The warning value of the SLO.
35
+ *
36
+ * At warning state the SLO is still fulfilled but is getting close to failure.
37
+ */
38
+ warning?: number;
39
+ errorBudgetBurnRate?: SloBurnRateConfig;
40
+ /**
41
+ * The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
42
+ */
43
+ timeframe?: string;
24
44
  /**
25
45
  * The type of the metric to use for SLO calculation:
26
46
  *
@@ -48,26 +68,6 @@ export interface SloConfigItemDtoImpl {
48
68
  * Required when the **useRateMetric** is set to `false`.
49
69
  */
50
70
  metricDenominator?: string;
51
- evaluationType?: SloConfigItemDtoImplEvaluationType;
52
- /**
53
- * The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector).
54
- */
55
- filter?: string;
56
- /**
57
- * The target value of the SLO.
58
- */
59
- target?: number;
60
- /**
61
- * The warning value of the SLO.
62
- *
63
- * At warning state the SLO is still fulfilled but is getting close to failure.
64
- */
65
- warning?: number;
66
- errorBudgetBurnRate?: SloBurnRateConfig;
67
- /**
68
- * The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
69
- */
70
- timeframe?: string;
71
71
  }
72
72
  /** @ignore */
73
73
  export declare namespace _SloConfigItemDtoImplTransformation {
@@ -77,16 +77,16 @@ export declare namespace _SloConfigItemDtoImplTransformation {
77
77
  description?: string;
78
78
  metricName?: string;
79
79
  metricExpression?: string;
80
- useRateMetric?: boolean | null;
81
- metricRate?: string;
82
- metricNumerator?: string;
83
- metricDenominator?: string;
84
80
  evaluationType?: _SloConfigItemDtoImplEvaluationTypeTransformation.AsJson;
85
81
  filter?: string;
86
82
  target?: number;
87
83
  warning?: number;
88
84
  errorBudgetBurnRate?: _SloBurnRateConfigTransformation.AsJson;
89
85
  timeframe?: string;
86
+ useRateMetric?: boolean | null;
87
+ metricRate?: string;
88
+ metricNumerator?: string;
89
+ metricDenominator?: string;
90
90
  }
91
91
  function fromJson(model: AsJson): SloConfigItemDtoImpl;
92
92
  function toJson(model: SloConfigItemDtoImpl): AsJson;