@dynatrace-sdk/client-classic-environment-v2 3.0.0 → 3.3.2
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.
- package/CHANGELOG.md +37 -0
- package/README.md +3741 -960
- package/cjs/index.js +12427 -7375
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +12629 -7397
- package/package.json +3 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +28 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +34 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +27 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +61 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +34 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +7 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +35 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +46 -8
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +158 -26
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +25 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +30 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +18 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +42 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +18 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +42 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +46 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +45 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +114 -18
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +42 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +62 -10
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +103 -16
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +28 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +54 -5
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +6 -8
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-slo-alert-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-auto-update-config.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-global-auto-update-config.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-create.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +2 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/applied-filter.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-type.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-device-creation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/davis-security-advice.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-stub.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/evidence.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-step.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-event-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/impact.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/list-credentials-query-type.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-definition.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-value-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-update-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/mute-state.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/related-service.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state-change.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity-assessment.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-changes.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +20 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +39 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +23 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.transformation.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location-update.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.d.ts +15 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-constraint-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-tag-with-source-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/token-credentials.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-customization.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/user-password-credentials.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-process-groups.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/utils/encoding.d.ts +1 -1
- package/types/packages/http-client/src/lib/types/binary.d.ts +2 -2
- package/types/packages/http-client/src/lib/types/http-client-response.d.ts +2 -2
- package/types/packages/shared-errors/src/api-client-error.d.ts +23 -0
- package/types/packages/shared-errors/src/api-gateway-error.d.ts +37 -0
- package/types/packages/shared-errors/src/client-request-error.d.ts +39 -0
- package/types/packages/shared-errors/src/index.d.ts +5 -0
- package/types/packages/shared-errors/src/invalid-response-error.d.ts +26 -0
- package/types/packages/shared-errors/src/types.d.ts +88 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +0 -11
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +0 -9
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +0 -9
package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ import { TenantToken } from './tenant-token';
|
|
|
3
3
|
* Configuration of a [tenant token](https://dt-url.net/b403ss9).
|
|
4
4
|
*/
|
|
5
5
|
export interface TenantTokenConfig {
|
|
6
|
+
/**
|
|
7
|
+
* Tenant token
|
|
8
|
+
*/
|
|
6
9
|
active?: TenantToken;
|
|
10
|
+
/**
|
|
11
|
+
* Tenant token
|
|
12
|
+
*/
|
|
7
13
|
old?: TenantToken;
|
|
8
14
|
}
|
|
@@ -4,6 +4,9 @@ import { ExternalVault } from './external-vault';
|
|
|
4
4
|
* A credentials set of the `TOKEN` type.
|
|
5
5
|
*/
|
|
6
6
|
export interface TokenCredentials extends Credentials {
|
|
7
|
+
/**
|
|
8
|
+
* Information for synchronization credentials with external vault
|
|
9
|
+
*/
|
|
7
10
|
externalVault?: ExternalVault;
|
|
8
11
|
/**
|
|
9
12
|
* Token in the string format.
|
|
@@ -4,6 +4,9 @@ import { TruncationInfo } from './truncation-info';
|
|
|
4
4
|
* A list of values that has possibly been truncated.
|
|
5
5
|
*/
|
|
6
6
|
export interface TruncatableListAttackRequestHeader {
|
|
7
|
+
/**
|
|
8
|
+
* Information on a possible truncation.
|
|
9
|
+
*/
|
|
7
10
|
truncationInfo?: TruncationInfo;
|
|
8
11
|
/**
|
|
9
12
|
* Values of the list.
|
|
@@ -4,6 +4,9 @@ import { TruncationInfo } from './truncation-info';
|
|
|
4
4
|
* A list of values that has possibly been truncated.
|
|
5
5
|
*/
|
|
6
6
|
export interface TruncatableListHttpRequestParameter {
|
|
7
|
+
/**
|
|
8
|
+
* Information on a possible truncation.
|
|
9
|
+
*/
|
|
7
10
|
truncationInfo?: TruncationInfo;
|
|
8
11
|
/**
|
|
9
12
|
* Values of the list.
|
package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ import { TruncationInfo } from './truncation-info';
|
|
|
3
3
|
* A list of values that has possibly been truncated.
|
|
4
4
|
*/
|
|
5
5
|
export interface TruncatableListString {
|
|
6
|
+
/**
|
|
7
|
+
* Information on a possible truncation.
|
|
8
|
+
*/
|
|
6
9
|
truncationInfo?: TruncationInfo;
|
|
7
10
|
/**
|
|
8
11
|
* Values of the list.
|
|
@@ -6,8 +6,20 @@ import { UiTabsCustomization } from './ui-tabs-customization';
|
|
|
6
6
|
* Customization for UI elements
|
|
7
7
|
*/
|
|
8
8
|
export interface UiCustomization {
|
|
9
|
+
/**
|
|
10
|
+
* UI customization options for defining custom callbacks
|
|
11
|
+
*/
|
|
9
12
|
callback?: UiCallbackCustomization;
|
|
13
|
+
/**
|
|
14
|
+
* UI customization for expandable section
|
|
15
|
+
*/
|
|
10
16
|
expandable?: UiExpandableCustomization;
|
|
17
|
+
/**
|
|
18
|
+
* Customization for UI tables
|
|
19
|
+
*/
|
|
11
20
|
table?: UiTableCustomization;
|
|
21
|
+
/**
|
|
22
|
+
* UI customization for tabs
|
|
23
|
+
*/
|
|
12
24
|
tabs?: UiTabsCustomization;
|
|
13
25
|
}
|
|
@@ -6,6 +6,9 @@ import { UpdateJobUpdateType } from './update-job-update-type';
|
|
|
6
6
|
* Configuration of the ActiveGate update job.
|
|
7
7
|
*/
|
|
8
8
|
export interface UpdateJob {
|
|
9
|
+
/**
|
|
10
|
+
* The type of the ActiveGate.
|
|
11
|
+
*/
|
|
9
12
|
agType?: UpdateJobAgType;
|
|
10
13
|
/**
|
|
11
14
|
* The job can (`true`) or can't (`false`) be cancelled at the moment.
|
|
@@ -27,6 +30,9 @@ export interface UpdateJob {
|
|
|
27
30
|
* The ID of the update job.
|
|
28
31
|
*/
|
|
29
32
|
jobId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The status of the update job.
|
|
35
|
+
*/
|
|
30
36
|
jobState?: UpdateJobJobState;
|
|
31
37
|
/**
|
|
32
38
|
* The initial version of the ActiveGate.
|
|
@@ -46,6 +52,12 @@ export interface UpdateJob {
|
|
|
46
52
|
* The `null` value means the job is still running.
|
|
47
53
|
*/
|
|
48
54
|
timestamp?: number;
|
|
55
|
+
/**
|
|
56
|
+
* The method of updating the ActiveGate or its component.
|
|
57
|
+
*/
|
|
49
58
|
updateMethod?: UpdateJobUpdateMethod;
|
|
59
|
+
/**
|
|
60
|
+
* The component to be updated.
|
|
61
|
+
*/
|
|
50
62
|
updateType?: UpdateJobUpdateType;
|
|
51
63
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/user-password-credentials.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ import { ExternalVault } from './external-vault';
|
|
|
4
4
|
* A credentials set of the `USERNAME_PASSWORD` type.
|
|
5
5
|
*/
|
|
6
6
|
export interface UserPasswordCredentials extends Credentials {
|
|
7
|
+
/**
|
|
8
|
+
* Information for synchronization credentials with external vault
|
|
9
|
+
*/
|
|
7
10
|
externalVault?: ExternalVault;
|
|
8
11
|
/**
|
|
9
12
|
* The password of the credential.
|
|
@@ -5,6 +5,9 @@ import { VulnerableFunctionInput } from './vulnerable-function-input';
|
|
|
5
5
|
* Describes the exploited vulnerability.
|
|
6
6
|
*/
|
|
7
7
|
export interface Vulnerability {
|
|
8
|
+
/**
|
|
9
|
+
* Information about a code location.
|
|
10
|
+
*/
|
|
8
11
|
codeLocation?: CodeLocation;
|
|
9
12
|
/**
|
|
10
13
|
* The display name of the vulnerability.
|
|
@@ -14,6 +17,12 @@ export interface Vulnerability {
|
|
|
14
17
|
* The id of the vulnerability.
|
|
15
18
|
*/
|
|
16
19
|
vulnerabilityId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Information about a function definition.
|
|
22
|
+
*/
|
|
17
23
|
vulnerableFunction?: FunctionDefinition;
|
|
24
|
+
/**
|
|
25
|
+
* Describes what got passed into the code level vulnerability.
|
|
26
|
+
*/
|
|
18
27
|
vulnerableFunctionInput?: VulnerableFunctionInput;
|
|
19
28
|
}
|
|
@@ -3,6 +3,9 @@ import { VulnerableFunctionInputSegmentType } from './vulnerable-function-input-
|
|
|
3
3
|
* Describes one segment that was passed into a vulnerable function.
|
|
4
4
|
*/
|
|
5
5
|
export interface VulnerableFunctionInputSegment {
|
|
6
|
+
/**
|
|
7
|
+
* The type of the input segment.
|
|
8
|
+
*/
|
|
6
9
|
type?: VulnerableFunctionInputSegmentType;
|
|
7
10
|
/**
|
|
8
11
|
* The value of the input segment.
|
|
@@ -4,6 +4,9 @@ import { VulnerableFunctionProcessGroupsUsage } from './vulnerable-function-proc
|
|
|
4
4
|
* A vulnerable function including its usage by specific process groups in context of the security problem.
|
|
5
5
|
*/
|
|
6
6
|
export interface VulnerableFunctionProcessGroups {
|
|
7
|
+
/**
|
|
8
|
+
* Defines an vulnerable function.
|
|
9
|
+
*/
|
|
7
10
|
function?: VulnerableFunction;
|
|
8
11
|
/**
|
|
9
12
|
* The process group identifiers, where this vulnerable function is in use.
|
|
@@ -17,5 +20,11 @@ export interface VulnerableFunctionProcessGroups {
|
|
|
17
20
|
* The process group identifiers, where this vulnerable function is not in use.
|
|
18
21
|
*/
|
|
19
22
|
processGroupsNotInUse?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* The vulnerable function usage based on the given process groups:
|
|
25
|
+
* * IN_USE if at least one process group calls this vulnerable function.
|
|
26
|
+
* * NOT_IN_USE if all process groups do not call this vulnerable function.
|
|
27
|
+
* * NOT_AVAILABLE if vulnerable function usage could not be calculated for at least one process group and no process group calls this vulnerable function.
|
|
28
|
+
*/
|
|
20
29
|
usage?: VulnerableFunctionProcessGroupsUsage;
|
|
21
30
|
}
|
|
@@ -8,8 +8,8 @@ export interface Binary {
|
|
|
8
8
|
*
|
|
9
9
|
* @param type The type of the data.
|
|
10
10
|
* Can be `text`, `json`, `array-buffer`, `blob`, `readable-stream`, `buffer` or `stream`.
|
|
11
|
-
* @throws DataTypeError
|
|
12
|
-
* @throws UnsupportedOperationError
|
|
11
|
+
* @throws {DataTypeError} Data does not conform to the specified type.
|
|
12
|
+
* @throws {UnsupportedOperationError} Type is not supported by the platform.
|
|
13
13
|
*/
|
|
14
14
|
get<T extends keyof DataTypes>(type: T): DataTypes[T];
|
|
15
15
|
}
|
|
@@ -26,8 +26,8 @@ export interface HttpClientResponse {
|
|
|
26
26
|
* @param responseBodyType The type of the response body.
|
|
27
27
|
* Can be `text`, `json`, `binary`, `form-data`, `array-buffer`, `blob`, `readable-stream`, `buffer` or `stream`.
|
|
28
28
|
* The default response body type is `json`.
|
|
29
|
-
* @throws DataTypeError
|
|
30
|
-
* @throws UnsupportedOperationError
|
|
29
|
+
* @throws {DataTypeError} Response body does not conform to the specified response body type.
|
|
30
|
+
* @throws {UnsupportedOperationError} Response body type is not supported by the platform.
|
|
31
31
|
*/
|
|
32
32
|
body<T extends keyof ResponseBodyTypes = 'json'>(responseBodyType?: T): ResponseBodyTypes[T];
|
|
33
33
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ErrorType } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Base error for all client SDKs. All other errors extend this class.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ApiClientError extends Error {
|
|
6
|
+
readonly cause?: any;
|
|
7
|
+
readonly isApiClientError = true;
|
|
8
|
+
errorType: ErrorType;
|
|
9
|
+
constructor(name: string, message?: string, cause?: any);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* ApiClientError type guard function.
|
|
13
|
+
* Does a structural check of the passed object.
|
|
14
|
+
* @example
|
|
15
|
+
* try {
|
|
16
|
+
* doSomething();
|
|
17
|
+
* } catch (e: unknown) {
|
|
18
|
+
* if(isApiClientError(e)) {
|
|
19
|
+
* handleTheError();
|
|
20
|
+
* }
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
export declare function isApiClientError(e: any): e is ApiClientError;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HttpClientResponse } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { ClientRequestError } from './client-request-error';
|
|
3
|
+
import { CommonApiError, CommonErrorDetails, ErrorResponseBody } from './types';
|
|
4
|
+
export type ApiGatewayErrorResponseBody = ErrorResponseBody<CommonApiError<ApiGatewayErrorDetails> & {
|
|
5
|
+
retryAfterSeconds?: number;
|
|
6
|
+
}>;
|
|
7
|
+
/**
|
|
8
|
+
* Reference for *ApiGatewayError* details object. Contains information about received API Getaway error.
|
|
9
|
+
* */
|
|
10
|
+
export interface ApiGatewayErrorDetails extends CommonErrorDetails {
|
|
11
|
+
errorCodeProperties?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Dedicated error response class for errors thrown by API Gateway.
|
|
17
|
+
* Autogenerated SDK Clients have built-in handler for API Gateway errors that throws this error.
|
|
18
|
+
*/
|
|
19
|
+
export declare class ApiGatewayError extends ClientRequestError<ApiGatewayErrorResponseBody> {
|
|
20
|
+
readonly isApiGatewayError = true;
|
|
21
|
+
readonly code: number;
|
|
22
|
+
readonly retryAfterSeconds: number | undefined;
|
|
23
|
+
constructor(response: HttpClientResponse, body: ApiGatewayErrorResponseBody);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* APIGatewayError type guard function.
|
|
27
|
+
* Does a structural check of the passed object.
|
|
28
|
+
* @example
|
|
29
|
+
* try {
|
|
30
|
+
* doSomething();
|
|
31
|
+
* } catch (e: unknown) {
|
|
32
|
+
* if(isApiClientError(e)) {
|
|
33
|
+
* handleTheError();
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
*/
|
|
37
|
+
export declare function isApiGatewayError(e: any): e is ApiGatewayError;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HttpClientResponse } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { ApiClientError } from './api-client-error';
|
|
3
|
+
import { ErrorResponseBody } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* Generic error class for service errors, used to handle both expected and unexpected service-level errors.
|
|
6
|
+
* @example Handling unexpected error response, received by the SDK Client
|
|
7
|
+
* const responseValue = await response.body('json');
|
|
8
|
+
*
|
|
9
|
+
* throw new ClientRequestError(
|
|
10
|
+
* `${response.status}`,
|
|
11
|
+
* response,
|
|
12
|
+
* responseValue,
|
|
13
|
+
* getErrorMessage(
|
|
14
|
+
* responseValue,
|
|
15
|
+
* `Unexpected api response: code=${response.status} body="${responseValue}"`,
|
|
16
|
+
* ),
|
|
17
|
+
* e,
|
|
18
|
+
* );
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class ClientRequestError<DTO = ErrorResponseBody> extends ApiClientError {
|
|
22
|
+
readonly isClientRequestError = true;
|
|
23
|
+
body: DTO;
|
|
24
|
+
response: HttpClientResponse;
|
|
25
|
+
constructor(name: string, response: HttpClientResponse, body: DTO, message?: string, cause?: any);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* ClientRequestError type guard function.
|
|
29
|
+
* Does a structural check of the passed object.
|
|
30
|
+
* @example
|
|
31
|
+
* try {
|
|
32
|
+
* doSomething();
|
|
33
|
+
* } catch (e: unknown) {
|
|
34
|
+
* if(isClientRequestError(e)) {
|
|
35
|
+
* handleTheError();
|
|
36
|
+
* }
|
|
37
|
+
* }
|
|
38
|
+
*/
|
|
39
|
+
export declare function isClientRequestError(e: any): e is ClientRequestError;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ApiClientError } from './api-client-error';
|
|
2
|
+
/**
|
|
3
|
+
* Dedicated error class for errors related to response serialization.
|
|
4
|
+
* Thrown when received service response can't be deserialized.
|
|
5
|
+
**/
|
|
6
|
+
export declare class InvalidResponseError extends ApiClientError {
|
|
7
|
+
readonly isInvalidResponseError = true;
|
|
8
|
+
responseBody: any;
|
|
9
|
+
expectedType?: string;
|
|
10
|
+
nestedError?: Error;
|
|
11
|
+
response: any;
|
|
12
|
+
constructor(name: string, nestedError: Error | any | undefined, body: any, expectedType?: string, message?: string, response?: any);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* InvalidResponseError type guard function.
|
|
16
|
+
* Does a structural check of the passed object.
|
|
17
|
+
* @example
|
|
18
|
+
* try {
|
|
19
|
+
* doSomething();
|
|
20
|
+
* } catch (e: unknown) {
|
|
21
|
+
* if (isInvalidResponseError(e)) {
|
|
22
|
+
* throw e;
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
*/
|
|
26
|
+
export declare function isInvalidResponseError(e: any): e is InvalidResponseError;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/** @ignore*/
|
|
2
|
+
export declare enum ErrorType {
|
|
3
|
+
COMMON = "JS Error",
|
|
4
|
+
HTTP = "Http Error"
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Basic error envelope, that enforces all error to have mandatory "error" property.
|
|
8
|
+
* */
|
|
9
|
+
export interface ErrorResponseBody<T = CommonApiError> {
|
|
10
|
+
/**
|
|
11
|
+
* *error* object must have two mandatory fields (*code, message*) and may have two additional fields (*help, details*):
|
|
12
|
+
* refer to the *CommonApiError* for more details.
|
|
13
|
+
* */
|
|
14
|
+
error: T;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Common API error structure, established by Dynatrace API guidelines.
|
|
18
|
+
* */
|
|
19
|
+
export interface CommonApiError<T extends Record<string, any> = Record<string, any>> {
|
|
20
|
+
/** The error code should be set to the HTTP error code by default.<br>
|
|
21
|
+
* The error code may be set to an API-specific error code which must be properly documented.*/
|
|
22
|
+
code: number;
|
|
23
|
+
/** The error message should be short and precise, it should not contain details.*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* An additional help field may be added which must be a URL to further information on how to deal with the error.<br>
|
|
27
|
+
* This may be some detailed error documentation page or a link to the Dynatrace support system, etc.
|
|
28
|
+
* */
|
|
29
|
+
help?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Additional details about the error may be added in a details field.
|
|
32
|
+
* Refer to *CommonErrorDetails*
|
|
33
|
+
* */
|
|
34
|
+
details?: T;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* *CommonApiError* details object reference. Contains common API error information.
|
|
38
|
+
* This object is used to convey additional information about the error like e.g., which query parameter exactly violated a precondition. <br>
|
|
39
|
+
* Details may contain any fields to further describe the error
|
|
40
|
+
* */
|
|
41
|
+
export interface CommonErrorDetails {
|
|
42
|
+
/**
|
|
43
|
+
* UUID string that represents a reference of the error into e.g., the log file of the service.
|
|
44
|
+
* */
|
|
45
|
+
errorRef?: string;
|
|
46
|
+
/**
|
|
47
|
+
* String containing a 32-character hex integer value that is used for tracing.
|
|
48
|
+
* */
|
|
49
|
+
traceId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* String value representing a more detailed error information than the http response code alone.
|
|
52
|
+
* Must be a single word in CamelCase, and all possible values must be documented.
|
|
53
|
+
* */
|
|
54
|
+
errorCode?: string;
|
|
55
|
+
/**
|
|
56
|
+
* An array of *ConstraintViolation* object, refer to ConstraintViolation object reference for more details.
|
|
57
|
+
* */
|
|
58
|
+
constraintViolations?: ConstraintViolation[];
|
|
59
|
+
/**
|
|
60
|
+
* Must be an array of strings containing a complete list of missing IAM scopes necessary to successfully execute the request.
|
|
61
|
+
* Should be set if the API returns a 403 - Forbidden response in case of missing OAuth scopes.
|
|
62
|
+
* */
|
|
63
|
+
missingScopes?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Must be an array of strings containing a complete list of missing IAM permissions necessary to successfully execute the request.
|
|
66
|
+
* Should be set if the API returns a 403 - Forbidden response in case of missing OAuth user permissions.
|
|
67
|
+
* */
|
|
68
|
+
missingPermissions?: string[];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Contains information about an input parameter (path, query or request body)
|
|
72
|
+
* that violated some validation rule of the service API and caused the warning.<br>
|
|
73
|
+
* May contain additional fields further describing the warning.
|
|
74
|
+
* */
|
|
75
|
+
export interface ConstraintViolation extends Record<string, string | undefined> {
|
|
76
|
+
/**
|
|
77
|
+
* Mandatory field message describing the warning.
|
|
78
|
+
* */
|
|
79
|
+
message: string;
|
|
80
|
+
/**
|
|
81
|
+
* Describes the general location of the violating parameter (query parameter, request body, etc.)
|
|
82
|
+
*/
|
|
83
|
+
parameterLocation?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Refers to the violating parameter within the parameterLocation.
|
|
86
|
+
*/
|
|
87
|
+
path?: string;
|
|
88
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ErrorType } from '@dynatrace-sdk/error-handlers';
|
|
2
|
-
/**
|
|
3
|
-
* Error base. All client errors should extend this class.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ApiClientError extends Error {
|
|
6
|
-
readonly cause?: any;
|
|
7
|
-
readonly isApiClientError = true;
|
|
8
|
-
errorType: ErrorType;
|
|
9
|
-
constructor(name: string, message?: string, cause?: any);
|
|
10
|
-
}
|
|
11
|
-
export declare function isApiClientError(e: any): e is ApiClientError;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HttpClientResponse } from '@dynatrace-sdk/http-client';
|
|
2
|
-
import { ApiClientError } from './api-client-error';
|
|
3
|
-
export declare class ClientRequestError<DTO> extends ApiClientError {
|
|
4
|
-
readonly isClientRequestError = true;
|
|
5
|
-
body: DTO;
|
|
6
|
-
response: HttpClientResponse;
|
|
7
|
-
constructor(name: string, response: HttpClientResponse, body: DTO, message?: string, cause?: any);
|
|
8
|
-
}
|
|
9
|
-
export declare function isClientRequestError<DTO>(e: any): e is ClientRequestError<DTO>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ApiClientError } from './api-client-error';
|
|
2
|
-
export declare class InvalidResponseError extends ApiClientError {
|
|
3
|
-
readonly isInvalidResponseError = true;
|
|
4
|
-
responseBody: any;
|
|
5
|
-
expectedType?: string;
|
|
6
|
-
nestedError?: Error;
|
|
7
|
-
constructor(name: string, nestedError: Error | any | undefined, body: any, expectedType?: string, message?: string);
|
|
8
|
-
}
|
|
9
|
-
export declare function isInvalidResponseError(e: any): e is InvalidResponseError;
|