@dynatrace-sdk/client-classic-environment-v2 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/cjs/index.js +2913 -2784
- package/docs/DOCS.md +259 -122
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +2913 -2784
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +70 -22
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +17 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +35 -13
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +7 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.transformation.d.ts +5 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-certificate-response-element.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-certificate-response-element.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-username-password-response-element.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-username-password-response-element.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +10 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/main-event.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/main-event.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link-update.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link-update.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link.transformation.d.ts +9 -0
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element-scopes-item.d.ts +0 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element-scopes-item.transformation.d.ts +0 -4
|
@@ -3,6 +3,10 @@ import { AbstractCredentialsResponseElement } from './abstract-credentials-respo
|
|
|
3
3
|
* Details of certificate credentials set.
|
|
4
4
|
*/
|
|
5
5
|
export interface CredentialsDetailsCertificateResponseElement extends AbstractCredentialsResponseElement {
|
|
6
|
+
/**
|
|
7
|
+
* Base64 encoded password
|
|
8
|
+
*/
|
|
9
|
+
password?: string;
|
|
6
10
|
/**
|
|
7
11
|
* Base64 encoded certificate bytes
|
|
8
12
|
*/
|
|
@@ -11,8 +15,4 @@ export interface CredentialsDetailsCertificateResponseElement extends AbstractCr
|
|
|
11
15
|
* Certificate type: PEM, PKCS12 or UNKNOWN
|
|
12
16
|
*/
|
|
13
17
|
certificateType?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Base64 encoded password
|
|
16
|
-
*/
|
|
17
|
-
password?: string;
|
|
18
18
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _AbstractCredentialsResponseElementTransformation from './abstract-credentials-response-element.transformation';
|
|
2
2
|
import { CredentialsDetailsCertificateResponseElement } from './credentials-details-certificate-response-element';
|
|
3
3
|
export interface AsJson extends _AbstractCredentialsResponseElementTransformation.AsJson {
|
|
4
|
+
password?: string;
|
|
4
5
|
certificate?: string;
|
|
5
6
|
certificateType?: string;
|
|
6
|
-
password?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function fromJson($model: AsJson): CredentialsDetailsCertificateResponseElement;
|
|
9
9
|
export declare function toJson($model: CredentialsDetailsCertificateResponseElement): AsJson;
|
|
@@ -3,12 +3,12 @@ import { AbstractCredentialsResponseElement } from './abstract-credentials-respo
|
|
|
3
3
|
* Details of username and password credentials set.
|
|
4
4
|
*/
|
|
5
5
|
export interface CredentialsDetailsUsernamePasswordResponseElement extends AbstractCredentialsResponseElement {
|
|
6
|
-
/**
|
|
7
|
-
* Plain text password value
|
|
8
|
-
*/
|
|
9
|
-
password?: string;
|
|
10
6
|
/**
|
|
11
7
|
* Plain text username value
|
|
12
8
|
*/
|
|
13
9
|
username?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Plain text password value
|
|
12
|
+
*/
|
|
13
|
+
password?: string;
|
|
14
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _AbstractCredentialsResponseElementTransformation from './abstract-credentials-response-element.transformation';
|
|
2
2
|
import { CredentialsDetailsUsernamePasswordResponseElement } from './credentials-details-username-password-response-element';
|
|
3
3
|
export interface AsJson extends _AbstractCredentialsResponseElementTransformation.AsJson {
|
|
4
|
-
password?: string;
|
|
5
4
|
username?: string;
|
|
5
|
+
password?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare function fromJson($model: AsJson): CredentialsDetailsUsernamePasswordResponseElement;
|
|
8
8
|
export declare function toJson($model: CredentialsDetailsUsernamePasswordResponseElement): AsJson;
|
|
@@ -2,8 +2,6 @@ export * from './abstract-credentials-response-element';
|
|
|
2
2
|
export * as _AbstractCredentialsResponseElementTransformation from './abstract-credentials-response-element.transformation';
|
|
3
3
|
export * from './abstract-credentials-response-element-scope';
|
|
4
4
|
export * as _AbstractCredentialsResponseElementScopeTransformation from './abstract-credentials-response-element-scope.transformation';
|
|
5
|
-
export * from './abstract-credentials-response-element-scopes-item';
|
|
6
|
-
export * as _AbstractCredentialsResponseElementScopesItemTransformation from './abstract-credentials-response-element-scopes-item.transformation';
|
|
7
5
|
export * from './abstract-credentials-response-element-type';
|
|
8
6
|
export * as _AbstractCredentialsResponseElementTypeTransformation from './abstract-credentials-response-element-type.transformation';
|
|
9
7
|
export * from './abstract-slo-alert-dto';
|
|
@@ -494,6 +492,8 @@ export * from './log-records-list';
|
|
|
494
492
|
export * as _LogRecordsListTransformation from './log-records-list.transformation';
|
|
495
493
|
export * from './me-tag';
|
|
496
494
|
export * as _METagTransformation from './me-tag.transformation';
|
|
495
|
+
export * from './main-event';
|
|
496
|
+
export * as _MainEventTransformation from './main-event.transformation';
|
|
497
497
|
export * from './maintenance-window-evidence';
|
|
498
498
|
export * as _MaintenanceWindowEvidenceTransformation from './maintenance-window-evidence.transformation';
|
|
499
499
|
export * from './management-zone';
|
|
@@ -692,6 +692,10 @@ export * from './remediation-items-bulk-unmute-reason';
|
|
|
692
692
|
export * as _RemediationItemsBulkUnmuteReasonTransformation from './remediation-items-bulk-unmute-reason.transformation';
|
|
693
693
|
export * from './remediation-items-bulk-unmute-response';
|
|
694
694
|
export * as _RemediationItemsBulkUnmuteResponseTransformation from './remediation-items-bulk-unmute-response.transformation';
|
|
695
|
+
export * from './remediation-items-bulk-update-delete-dto';
|
|
696
|
+
export * as _RemediationItemsBulkUpdateDeleteDtoTransformation from './remediation-items-bulk-update-delete-dto.transformation';
|
|
697
|
+
export * from './remediation-items-bulk-update-delete-dto-updates';
|
|
698
|
+
export * as _RemediationItemsBulkUpdateDeleteDtoUpdatesTransformation from './remediation-items-bulk-update-delete-dto-updates.transformation';
|
|
695
699
|
export * from './remediation-progress';
|
|
696
700
|
export * as _RemediationProgressTransformation from './remediation-progress.transformation';
|
|
697
701
|
export * from './remediation-progress-entity';
|
|
@@ -938,6 +942,10 @@ export * from './to-position';
|
|
|
938
942
|
export * as _ToPositionTransformation from './to-position.transformation';
|
|
939
943
|
export * from './token-credentials';
|
|
940
944
|
export * as _TokenCredentialsTransformation from './token-credentials.transformation';
|
|
945
|
+
export * from './tracking-link';
|
|
946
|
+
export * as _TrackingLinkTransformation from './tracking-link.transformation';
|
|
947
|
+
export * from './tracking-link-update';
|
|
948
|
+
export * as _TrackingLinkUpdateTransformation from './tracking-link-update.transformation';
|
|
941
949
|
export * from './transactional-evidence';
|
|
942
950
|
export * as _TransactionalEvidenceTransformation from './transactional-evidence.transformation';
|
|
943
951
|
export * from './ui-button-customization';
|
|
@@ -103,10 +103,12 @@ Supported semantic attribute keys:
|
|
|
103
103
|
* dt.entity.container_group_instance
|
|
104
104
|
* dt.entity.custom_device
|
|
105
105
|
* dt.entity.host
|
|
106
|
+
* dt.entity.host_group
|
|
106
107
|
* dt.entity.kubernetes_cluster
|
|
107
108
|
* dt.entity.kubernetes_node
|
|
108
109
|
* dt.entity.process_group
|
|
109
110
|
* dt.entity.process_group_instance
|
|
111
|
+
* dt.entity.service
|
|
110
112
|
* dt.event.group_label
|
|
111
113
|
* dt.event.key
|
|
112
114
|
* dt.events.root_cause_relevant
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The main event of a problem, determined by matching root cause entity id or first event.
|
|
3
|
+
*/
|
|
4
|
+
export interface MainEvent {
|
|
5
|
+
/**
|
|
6
|
+
* The description of the event.
|
|
7
|
+
*/
|
|
8
|
+
description?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The title of the event.
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare enum MonitoredEntityStatesState {
|
|
5
5
|
AgentInjectionStatusGoDynamizerFailed = "agent_injection_status_go_dynamizer_failed",
|
|
6
|
+
AgentInjectionStatusGoPclntabFailed = "agent_injection_status_go_pclntab_failed",
|
|
6
7
|
AgentInjectionStatusGoVertigoSupportAdded = "agent_injection_status_go_vertigo_support_added",
|
|
7
8
|
AgentInjectionStatusNginxPatchedBinaryDetected = "agent_injection_status_nginx_patched_binary_detected",
|
|
8
9
|
AgentInjectionStatusPhpOpcacheDisabled = "agent_injection_status_php_opcache_disabled",
|
|
@@ -7,6 +7,16 @@ export interface MonitoredStates {
|
|
|
7
7
|
* A list of process group instances and their monitoring states.
|
|
8
8
|
*/
|
|
9
9
|
monitoringStates?: MonitoredEntityStates[];
|
|
10
|
+
/**
|
|
11
|
+
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
12
|
+
*
|
|
13
|
+
* Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
|
|
14
|
+
*/
|
|
15
|
+
nextPageKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The number of entries per page.
|
|
18
|
+
*/
|
|
19
|
+
pageSize?: number;
|
|
10
20
|
/**
|
|
11
21
|
* The total number of entities in the response.
|
|
12
22
|
*/
|
|
@@ -2,6 +2,8 @@ import * as _MonitoredEntityStatesTransformation from './monitored-entity-states
|
|
|
2
2
|
import { MonitoredStates } from './monitored-states';
|
|
3
3
|
export interface AsJson {
|
|
4
4
|
monitoringStates?: _MonitoredEntityStatesTransformation.AsJson[];
|
|
5
|
+
nextPageKey?: string;
|
|
6
|
+
pageSize?: number;
|
|
5
7
|
totalCount?: number;
|
|
6
8
|
}
|
|
7
9
|
export declare function fromJson($model: AsJson): MonitoredStates;
|
|
@@ -4,6 +4,7 @@ import { EntityStub } from './entity-stub';
|
|
|
4
4
|
import { EvidenceDetails } from './evidence-details';
|
|
5
5
|
import { ImpactAnalysis } from './impact-analysis';
|
|
6
6
|
import { LinkedProblem } from './linked-problem';
|
|
7
|
+
import { MainEvent } from './main-event';
|
|
7
8
|
import { ManagementZone } from './management-zone';
|
|
8
9
|
import { METag } from './me-tag';
|
|
9
10
|
import { ProblemImpactLevel } from './problem-impact-level';
|
|
@@ -39,6 +40,7 @@ export interface Problem {
|
|
|
39
40
|
*/
|
|
40
41
|
impactedEntities: EntityStub[];
|
|
41
42
|
linkedProblemInfo?: LinkedProblem;
|
|
43
|
+
mainEvent?: MainEvent;
|
|
42
44
|
/**
|
|
43
45
|
* A list of all management zones that the problem belongs to.
|
|
44
46
|
*/
|
package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as _EntityStubTransformation from './entity-stub.transformation';
|
|
|
4
4
|
import * as _EvidenceDetailsTransformation from './evidence-details.transformation';
|
|
5
5
|
import * as _ImpactAnalysisTransformation from './impact-analysis.transformation';
|
|
6
6
|
import * as _LinkedProblemTransformation from './linked-problem.transformation';
|
|
7
|
+
import * as _MainEventTransformation from './main-event.transformation';
|
|
7
8
|
import * as _ManagementZoneTransformation from './management-zone.transformation';
|
|
8
9
|
import * as _METagTransformation from './me-tag.transformation';
|
|
9
10
|
import { Problem } from './problem';
|
|
@@ -20,6 +21,7 @@ export interface AsJson {
|
|
|
20
21
|
impactLevel: _ProblemImpactLevelTransformation.AsJson;
|
|
21
22
|
impactedEntities: _EntityStubTransformation.AsJson[];
|
|
22
23
|
linkedProblemInfo?: _LinkedProblemTransformation.AsJson;
|
|
24
|
+
mainEvent?: _MainEventTransformation.AsJson;
|
|
23
25
|
managementZones: _ManagementZoneTransformation.AsJson[];
|
|
24
26
|
problemFilters: _AlertingProfileStubTransformation.AsJson[];
|
|
25
27
|
problemId: string;
|
package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { RemediationDetailsItemVulnerabilityState } from './remediation-details-
|
|
|
3
3
|
import { RemediationItemDetailsVulnerableComponent } from './remediation-item-details-vulnerable-component';
|
|
4
4
|
import { RemediationItemMuteState } from './remediation-item-mute-state';
|
|
5
5
|
import { RemediationProgress } from './remediation-progress';
|
|
6
|
+
import { TrackingLink } from './tracking-link';
|
|
6
7
|
/**
|
|
7
8
|
* Detailed information of a remediation item for a security problem.
|
|
8
9
|
*/
|
|
@@ -15,6 +16,7 @@ export interface RemediationDetailsItem {
|
|
|
15
16
|
name?: string;
|
|
16
17
|
remediationProgress?: RemediationProgress;
|
|
17
18
|
resolvedTimestamp?: number;
|
|
19
|
+
trackingLink?: TrackingLink;
|
|
18
20
|
vulnerabilityState?: RemediationDetailsItemVulnerabilityState;
|
|
19
21
|
/**
|
|
20
22
|
* A list of vulnerable components of the remediation item.
|
|
@@ -4,6 +4,7 @@ import * as _RemediationDetailsItemVulnerabilityStateTransformation from './reme
|
|
|
4
4
|
import * as _RemediationItemDetailsVulnerableComponentTransformation from './remediation-item-details-vulnerable-component.transformation';
|
|
5
5
|
import * as _RemediationItemMuteStateTransformation from './remediation-item-mute-state.transformation';
|
|
6
6
|
import * as _RemediationProgressTransformation from './remediation-progress.transformation';
|
|
7
|
+
import * as _TrackingLinkTransformation from './tracking-link.transformation';
|
|
7
8
|
export interface AsJson {
|
|
8
9
|
assessment?: _RemediationAssessmentTransformation.AsJson;
|
|
9
10
|
entityIds?: string[];
|
|
@@ -13,6 +14,7 @@ export interface AsJson {
|
|
|
13
14
|
name?: string;
|
|
14
15
|
remediationProgress?: _RemediationProgressTransformation.AsJson;
|
|
15
16
|
resolvedTimestamp?: number;
|
|
17
|
+
trackingLink?: _TrackingLinkTransformation.AsJson;
|
|
16
18
|
vulnerabilityState?: _RemediationDetailsItemVulnerabilityStateTransformation.AsJson;
|
|
17
19
|
vulnerableComponents?: _RemediationItemDetailsVulnerableComponentTransformation.AsJson[];
|
|
18
20
|
}
|
|
@@ -2,6 +2,7 @@ import { RemediationAssessment } from './remediation-assessment';
|
|
|
2
2
|
import { RemediationItemMuteState } from './remediation-item-mute-state';
|
|
3
3
|
import { RemediationItemVulnerabilityState } from './remediation-item-vulnerability-state';
|
|
4
4
|
import { RemediationProgress } from './remediation-progress';
|
|
5
|
+
import { TrackingLink } from './tracking-link';
|
|
5
6
|
import { VulnerableComponent } from './vulnerable-component';
|
|
6
7
|
/**
|
|
7
8
|
* A possible remediation for a security problem.
|
|
@@ -15,6 +16,7 @@ export interface RemediationItem {
|
|
|
15
16
|
name?: string;
|
|
16
17
|
remediationProgress?: RemediationProgress;
|
|
17
18
|
resolvedTimestamp?: number;
|
|
19
|
+
trackingLink?: TrackingLink;
|
|
18
20
|
vulnerabilityState?: RemediationItemVulnerabilityState;
|
|
19
21
|
/**
|
|
20
22
|
* A list of vulnerable components of the remediation item.
|
|
@@ -3,6 +3,7 @@ import { RemediationItem } from './remediation-item';
|
|
|
3
3
|
import * as _RemediationItemMuteStateTransformation from './remediation-item-mute-state.transformation';
|
|
4
4
|
import * as _RemediationItemVulnerabilityStateTransformation from './remediation-item-vulnerability-state.transformation';
|
|
5
5
|
import * as _RemediationProgressTransformation from './remediation-progress.transformation';
|
|
6
|
+
import * as _TrackingLinkTransformation from './tracking-link.transformation';
|
|
6
7
|
import * as _VulnerableComponentTransformation from './vulnerable-component.transformation';
|
|
7
8
|
export interface AsJson {
|
|
8
9
|
assessment?: _RemediationAssessmentTransformation.AsJson;
|
|
@@ -13,6 +14,7 @@ export interface AsJson {
|
|
|
13
14
|
name?: string;
|
|
14
15
|
remediationProgress?: _RemediationProgressTransformation.AsJson;
|
|
15
16
|
resolvedTimestamp?: number;
|
|
17
|
+
trackingLink?: _TrackingLinkTransformation.AsJson;
|
|
16
18
|
vulnerabilityState?: _RemediationItemVulnerabilityStateTransformation.AsJson;
|
|
17
19
|
vulnerableComponents?: _VulnerableComponentTransformation.AsJson[];
|
|
18
20
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TrackingLinkUpdate } from './tracking-link-update';
|
|
2
|
+
/**
|
|
3
|
+
* Tracking links to set for the security problem.
|
|
4
|
+
*
|
|
5
|
+
* Map of remediation item ID to tracking link objects.
|
|
6
|
+
*
|
|
7
|
+
* Keys must be valid remediation item IDs of the security problem, the associated value must contain the link to set for the item.
|
|
8
|
+
*/
|
|
9
|
+
export interface RemediationItemsBulkUpdateDeleteDtoUpdates {
|
|
10
|
+
[propName: string]: TrackingLinkUpdate | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RemediationItemsBulkUpdateDeleteDtoUpdates } from './remediation-items-bulk-update-delete-dto-updates';
|
|
2
|
+
import * as _TrackingLinkUpdateTransformation from './tracking-link-update.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
[propName: string]: _TrackingLinkUpdateTransformation.AsJson | undefined;
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): RemediationItemsBulkUpdateDeleteDtoUpdates;
|
|
7
|
+
export declare function toJson($model: RemediationItemsBulkUpdateDeleteDtoUpdates): AsJson;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RemediationItemsBulkUpdateDeleteDtoUpdates } from './remediation-items-bulk-update-delete-dto-updates';
|
|
2
|
+
/**
|
|
3
|
+
* Contains the external tracking link associations to be applied to the remediation items of the security problem.
|
|
4
|
+
*/
|
|
5
|
+
export interface RemediationItemsBulkUpdateDeleteDto {
|
|
6
|
+
/**
|
|
7
|
+
* Tracking links to remove from the security problem.
|
|
8
|
+
*
|
|
9
|
+
* List of remediation item IDs of the security problem for which to remove the tracking links.
|
|
10
|
+
*/
|
|
11
|
+
deletes?: string[];
|
|
12
|
+
updates?: RemediationItemsBulkUpdateDeleteDtoUpdates;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RemediationItemsBulkUpdateDeleteDto } from './remediation-items-bulk-update-delete-dto';
|
|
2
|
+
import * as _RemediationItemsBulkUpdateDeleteDtoUpdatesTransformation from './remediation-items-bulk-update-delete-dto-updates.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
deletes?: string[];
|
|
5
|
+
updates?: _RemediationItemsBulkUpdateDeleteDtoUpdatesTransformation.AsJson;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): RemediationItemsBulkUpdateDeleteDto;
|
|
8
|
+
export declare function toJson($model: RemediationItemsBulkUpdateDeleteDto): AsJson;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External tracking link URL association to be set for the remediable entity of the security problem.
|
|
3
|
+
*/
|
|
4
|
+
export interface TrackingLinkUpdate {
|
|
5
|
+
/**
|
|
6
|
+
* The desired tracking link display name (title) set for the remediation item, e.g. 'ISSUE-123'.
|
|
7
|
+
*/
|
|
8
|
+
displayName: string;
|
|
9
|
+
/**
|
|
10
|
+
* The desired tracking link url set for the remediation item, e.g. https://example.com/ISSUE-123
|
|
11
|
+
*
|
|
12
|
+
* Note that only valid URLs with 'http' or 'https' protocols are supported.
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TrackingLinkUpdate } from './tracking-link-update';
|
|
2
|
+
export interface AsJson {
|
|
3
|
+
displayName: string;
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): TrackingLinkUpdate;
|
|
7
|
+
export declare function toJson($model: TrackingLinkUpdate): AsJson;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External tracking link URL associated with the remediable entity of the security problem.
|
|
3
|
+
*/
|
|
4
|
+
export interface TrackingLink {
|
|
5
|
+
/**
|
|
6
|
+
* Display name (title) set for the tracking link, e.g. 'ISSUE-123'.
|
|
7
|
+
*/
|
|
8
|
+
displayName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The timestamp (UTC milliseconds) of the last update of the tracking link.
|
|
11
|
+
*/
|
|
12
|
+
lastUpdatedTimestamp?: number;
|
|
13
|
+
/**
|
|
14
|
+
* URL set for the tracking link, e.g. https://example.com/ISSUE-123
|
|
15
|
+
*/
|
|
16
|
+
url?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The user who last changed the tracking link.
|
|
19
|
+
*/
|
|
20
|
+
user?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TrackingLink } from './tracking-link';
|
|
2
|
+
export interface AsJson {
|
|
3
|
+
displayName?: string;
|
|
4
|
+
lastUpdatedTimestamp?: number;
|
|
5
|
+
url?: string;
|
|
6
|
+
user?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): TrackingLink;
|
|
9
|
+
export declare function toJson($model: TrackingLink): AsJson;
|
|
@@ -5,4 +5,6 @@ import { HttpSerializedError } from './http-serialized-error';
|
|
|
5
5
|
*
|
|
6
6
|
* @property {ErrorType} type error type
|
|
7
7
|
*/
|
|
8
|
-
export declare type SerializedError = HttpSerializedError | CommonSerializedError
|
|
8
|
+
export declare type SerializedError = (HttpSerializedError | CommonSerializedError) & {
|
|
9
|
+
traceId?: string;
|
|
10
|
+
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AbstractCredentialsResponseElementScopesItem } from './abstract-credentials-response-element-scopes-item';
|
|
2
|
-
export declare type AsJson = string;
|
|
3
|
-
export declare function fromJson($model: AsJson): AbstractCredentialsResponseElementScopesItem;
|
|
4
|
-
export declare function toJson($model: AbstractCredentialsResponseElementScopesItem): AsJson;
|