@dynatrace-sdk/client-classic-environment-v2 0.6.4 → 0.6.8
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 +27 -0
- package/README.md +39 -0
- package/cjs/index.js +3626 -814
- package/docs/DOCS.md +9170 -4780
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +3626 -814
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +8 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +14 -10
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/hub-items-api.d.ts +162 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +8 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +25 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +21 -21
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +59 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +77 -12
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +35 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-schema-details-dto.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/category-list.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/category.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint-violation-parameter-location.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-id.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-config.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-dto.d.ts +38 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password-config.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +43 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/description-block-type.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/description-block.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +20 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +35 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +13 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-feature-sets.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-notes.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release.d.ts +69 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-details.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-release.d.ts +32 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension2-details.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-source-auth-method.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-type.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-source-auth-method.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/filtered-counts-dto.d.ts +77 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/global-counts-dto.d.ts +72 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/image.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +57 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/item-details-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-details.d.ts +98 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-list.d.ts +32 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-overview-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-overview.d.ts +82 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/list-items-query-item-type.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +45 -45
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +48 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +29 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +23 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -18
- package/types/packages/client/classic-environment-v2/src/lib/models/registered-extension-result-dto.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/related-item-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/related-item.d.ts +33 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary-reason.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-reason.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-reason.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary-reason.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-reason.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-reason.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +24 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +27 -22
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +47 -47
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-processing-mode.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/technology-details.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/upload-metadata-for-extension-body.d.ts +25 -0
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -1
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +0 -32
package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MonitoredEntityStateParam, _MonitoredEntityStateParamTransformation } from './monitored-entity-state-param';
|
|
2
|
+
import { MonitoredEntityStatesSeverity, _MonitoredEntityStatesSeverityTransformation } from './monitored-entity-states-severity';
|
|
3
|
+
import { MonitoredEntityStatesState, _MonitoredEntityStatesStateTransformation } from './monitored-entity-states-state';
|
|
4
|
+
/**
|
|
5
|
+
* Monitoring state of the process group instance.
|
|
6
|
+
*/
|
|
7
|
+
export interface MonitoredEntityStates {
|
|
8
|
+
/**
|
|
9
|
+
* The Dynatrace entity ID of the process group instance.
|
|
10
|
+
*/
|
|
11
|
+
entityId?: string;
|
|
12
|
+
severity?: MonitoredEntityStatesSeverity;
|
|
13
|
+
/**
|
|
14
|
+
* Additional parameters of the monitoring state.
|
|
15
|
+
*/
|
|
16
|
+
params?: MonitoredEntityStateParam[];
|
|
17
|
+
state?: MonitoredEntityStatesState;
|
|
18
|
+
}
|
|
19
|
+
/** @ignore */
|
|
20
|
+
export declare namespace _MonitoredEntityStatesTransformation {
|
|
21
|
+
interface AsJson {
|
|
22
|
+
entityId?: string;
|
|
23
|
+
severity?: _MonitoredEntityStatesSeverityTransformation.AsJson;
|
|
24
|
+
params?: _MonitoredEntityStateParamTransformation.AsJson[];
|
|
25
|
+
state?: _MonitoredEntityStatesStateTransformation.AsJson;
|
|
26
|
+
}
|
|
27
|
+
function fromJson(model: AsJson): MonitoredEntityStates;
|
|
28
|
+
function toJson(model: MonitoredEntityStates): AsJson;
|
|
29
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MonitoredEntityStates, _MonitoredEntityStatesTransformation } from './monitored-entity-states';
|
|
2
|
+
/**
|
|
3
|
+
* A list of entities and their monitoring states.
|
|
4
|
+
*/
|
|
5
|
+
export interface MonitoredStates {
|
|
6
|
+
/**
|
|
7
|
+
* A list of process group instances and their monitoring states.
|
|
8
|
+
*/
|
|
9
|
+
monitoringStates?: MonitoredEntityStates[];
|
|
10
|
+
/**
|
|
11
|
+
* The total number of entities in the response.
|
|
12
|
+
*/
|
|
13
|
+
totalCount?: number;
|
|
14
|
+
}
|
|
15
|
+
/** @ignore */
|
|
16
|
+
export declare namespace _MonitoredStatesTransformation {
|
|
17
|
+
interface AsJson {
|
|
18
|
+
monitoringStates?: _MonitoredEntityStatesTransformation.AsJson[];
|
|
19
|
+
totalCount?: number;
|
|
20
|
+
}
|
|
21
|
+
function fromJson(model: AsJson): MonitoredStates;
|
|
22
|
+
function toJson(model: MonitoredStates): AsJson;
|
|
23
|
+
}
|
|
@@ -17,7 +17,7 @@ export interface NetworkZone {
|
|
|
17
17
|
/**
|
|
18
18
|
* The number of OneAgents from other network zones that are using ActiveGates in the network zone.
|
|
19
19
|
*
|
|
20
|
-
* This is a fraction of
|
|
20
|
+
* This is a fraction of **numOfOneAgentsUsing**.
|
|
21
21
|
*
|
|
22
22
|
* One possible reason for switching to another zone is that a firewall is preventing a OneAgent from connecting to any ActiveGate in the preferred network zone.
|
|
23
23
|
*/
|
|
@@ -26,14 +26,14 @@ export interface NetworkZone {
|
|
|
26
26
|
* The number of ActiveGates in the network zone.
|
|
27
27
|
*/
|
|
28
28
|
numOfConfiguredActiveGates?: number;
|
|
29
|
-
/**
|
|
30
|
-
* The ID of the network zone
|
|
31
|
-
*/
|
|
32
|
-
id?: string;
|
|
33
29
|
/**
|
|
34
30
|
* A short description of the network zone
|
|
35
31
|
*/
|
|
36
32
|
description?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the network zone
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
37
|
}
|
|
38
38
|
/** @ignore */
|
|
39
39
|
export declare namespace _NetworkZoneTransformation {
|
|
@@ -43,8 +43,8 @@ export declare namespace _NetworkZoneTransformation {
|
|
|
43
43
|
numOfConfiguredOneAgents?: number;
|
|
44
44
|
numOfOneAgentsFromOtherZones?: number;
|
|
45
45
|
numOfConfiguredActiveGates?: number;
|
|
46
|
-
id?: string;
|
|
47
46
|
description?: string;
|
|
47
|
+
id?: string;
|
|
48
48
|
}
|
|
49
49
|
function fromJson(model: AsJson): NetworkZone;
|
|
50
50
|
function toJson(model: NetworkZone): AsJson;
|
|
@@ -3,14 +3,14 @@ import { SettingsObject, _SettingsObjectTransformation } from './settings-object
|
|
|
3
3
|
* A list of settings objects.
|
|
4
4
|
*/
|
|
5
5
|
export interface ObjectsList {
|
|
6
|
-
/**
|
|
7
|
-
* A list of settings objects.
|
|
8
|
-
*/
|
|
9
|
-
items: SettingsObject[];
|
|
10
6
|
/**
|
|
11
7
|
* The number of entries per page.
|
|
12
8
|
*/
|
|
13
9
|
pageSize: number;
|
|
10
|
+
/**
|
|
11
|
+
* A list of settings objects.
|
|
12
|
+
*/
|
|
13
|
+
items: SettingsObject[];
|
|
14
14
|
/**
|
|
15
15
|
* The total number of entries in the result.
|
|
16
16
|
*/
|
|
@@ -25,8 +25,8 @@ export interface ObjectsList {
|
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _ObjectsListTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
|
-
items: _SettingsObjectTransformation.AsJson[];
|
|
29
28
|
pageSize: number;
|
|
29
|
+
items: _SettingsObjectTransformation.AsJson[];
|
|
30
30
|
totalCount: number;
|
|
31
31
|
nextPageKey?: string;
|
|
32
32
|
}
|
|
@@ -4,12 +4,7 @@ import { PreconditionType, _PreconditionTypeTransformation } from './preconditio
|
|
|
4
4
|
* A precondition for visibility of a property.
|
|
5
5
|
*/
|
|
6
6
|
export interface Precondition {
|
|
7
|
-
|
|
8
|
-
* A list of child preconditions to be evaluated.
|
|
9
|
-
*
|
|
10
|
-
* Only applicable to properties of the `AND` and `OR` types.
|
|
11
|
-
*/
|
|
12
|
-
preconditions?: Precondition[];
|
|
7
|
+
precondition?: Precondition;
|
|
13
8
|
expectedValue?: PreconditionExpectedValue;
|
|
14
9
|
/**
|
|
15
10
|
* A list of valid values of the property.
|
|
@@ -17,29 +12,34 @@ export interface Precondition {
|
|
|
17
12
|
* Only applicable to properties of the `IN` type.
|
|
18
13
|
*/
|
|
19
14
|
expectedValues?: any[];
|
|
20
|
-
precondition?: Precondition;
|
|
21
15
|
/**
|
|
22
|
-
*
|
|
16
|
+
* A list of child preconditions to be evaluated.
|
|
17
|
+
*
|
|
18
|
+
* Only applicable to properties of the `AND` and `OR` types.
|
|
23
19
|
*/
|
|
24
|
-
|
|
25
|
-
type: PreconditionType;
|
|
20
|
+
preconditions?: Precondition[];
|
|
26
21
|
/**
|
|
27
22
|
* The Regular expression which is matched against the property.
|
|
28
23
|
*
|
|
29
24
|
* Only applicable to properties of the `REGEX_MATCH` type.
|
|
30
25
|
*/
|
|
31
26
|
pattern?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The property to be evaluated.
|
|
29
|
+
*/
|
|
30
|
+
property?: string;
|
|
31
|
+
type: PreconditionType;
|
|
32
32
|
}
|
|
33
33
|
/** @ignore */
|
|
34
34
|
export declare namespace _PreconditionTransformation {
|
|
35
35
|
interface AsJson {
|
|
36
|
-
|
|
36
|
+
precondition?: _PreconditionTransformation.AsJson;
|
|
37
37
|
expectedValue?: _PreconditionExpectedValueTransformation.AsJson;
|
|
38
38
|
expectedValues?: any[];
|
|
39
|
-
|
|
39
|
+
preconditions?: _PreconditionTransformation.AsJson[];
|
|
40
|
+
pattern?: string;
|
|
40
41
|
property?: string;
|
|
41
42
|
type: _PreconditionTypeTransformation.AsJson;
|
|
42
|
-
pattern?: string;
|
|
43
43
|
}
|
|
44
44
|
function fromJson(model: AsJson): Precondition;
|
|
45
45
|
function toJson(model: Precondition): AsJson;
|
|
@@ -13,41 +13,41 @@ import { ProblemStatus, _ProblemStatusTransformation } from './problem-status';
|
|
|
13
13
|
* The properties of a problem.
|
|
14
14
|
*/
|
|
15
15
|
export interface Problem {
|
|
16
|
+
linkedProblemInfo?: LinkedProblem;
|
|
16
17
|
/**
|
|
17
|
-
* A list of
|
|
18
|
+
* A list of alerting profiles that match the problem.
|
|
18
19
|
*/
|
|
19
|
-
|
|
20
|
-
recentComments?: CommentsList;
|
|
21
|
-
impactAnalysis?: ImpactAnalysis;
|
|
22
|
-
rootCauseEntity?: EntityStub;
|
|
20
|
+
problemFilters: AlertingProfileStub[];
|
|
23
21
|
/**
|
|
24
22
|
* A list of all entities that are impacted by the problem.
|
|
25
23
|
*/
|
|
26
24
|
impactedEntities: EntityStub[];
|
|
27
25
|
evidenceDetails?: EvidenceDetails;
|
|
26
|
+
recentComments?: CommentsList;
|
|
27
|
+
impactAnalysis?: ImpactAnalysis;
|
|
28
|
+
rootCauseEntity?: EntityStub;
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
+
* The display ID of the problem.
|
|
30
31
|
*/
|
|
31
|
-
|
|
32
|
-
linkedProblemInfo?: LinkedProblem;
|
|
32
|
+
displayId: string;
|
|
33
33
|
impactLevel: ProblemImpactLevel;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* A list of all entities that are affected by the problem.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
affectedEntities: EntityStub[];
|
|
38
|
+
severityLevel: ProblemSeverityLevel;
|
|
38
39
|
/**
|
|
39
|
-
* A list of all
|
|
40
|
+
* A list of all entity tags of the problem.
|
|
40
41
|
*/
|
|
41
|
-
|
|
42
|
+
entityTags?: METag[];
|
|
42
43
|
/**
|
|
43
44
|
* The ID of the problem.
|
|
44
45
|
*/
|
|
45
46
|
problemId: string;
|
|
46
|
-
severityLevel: ProblemSeverityLevel;
|
|
47
47
|
/**
|
|
48
|
-
* A list of all
|
|
48
|
+
* A list of all management zones that the problem belongs to.
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
managementZones: ManagementZone[];
|
|
51
51
|
status: ProblemStatus;
|
|
52
52
|
/**
|
|
53
53
|
* The start timestamp of the problem, in UTC milliseconds.
|
|
@@ -67,20 +67,20 @@ export interface Problem {
|
|
|
67
67
|
/** @ignore */
|
|
68
68
|
export declare namespace _ProblemTransformation {
|
|
69
69
|
interface AsJson {
|
|
70
|
-
|
|
70
|
+
linkedProblemInfo?: _LinkedProblemTransformation.AsJson;
|
|
71
|
+
problemFilters: _AlertingProfileStubTransformation.AsJson[];
|
|
72
|
+
impactedEntities: _EntityStubTransformation.AsJson[];
|
|
73
|
+
evidenceDetails?: _EvidenceDetailsTransformation.AsJson;
|
|
71
74
|
recentComments?: _CommentsListTransformation.AsJson;
|
|
72
75
|
impactAnalysis?: _ImpactAnalysisTransformation.AsJson;
|
|
73
76
|
rootCauseEntity?: _EntityStubTransformation.AsJson;
|
|
74
|
-
impactedEntities: _EntityStubTransformation.AsJson[];
|
|
75
|
-
evidenceDetails?: _EvidenceDetailsTransformation.AsJson;
|
|
76
|
-
problemFilters: _AlertingProfileStubTransformation.AsJson[];
|
|
77
|
-
linkedProblemInfo?: _LinkedProblemTransformation.AsJson;
|
|
78
|
-
impactLevel: _ProblemImpactLevelTransformation.AsJson;
|
|
79
77
|
displayId: string;
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
impactLevel: _ProblemImpactLevelTransformation.AsJson;
|
|
79
|
+
affectedEntities: _EntityStubTransformation.AsJson[];
|
|
82
80
|
severityLevel: _ProblemSeverityLevelTransformation.AsJson;
|
|
83
81
|
entityTags?: _METagTransformation.AsJson[];
|
|
82
|
+
problemId: string;
|
|
83
|
+
managementZones: _ManagementZoneTransformation.AsJson[];
|
|
84
84
|
status: _ProblemStatusTransformation.AsJson;
|
|
85
85
|
startTime: number;
|
|
86
86
|
endTime: number;
|
package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts
CHANGED
|
@@ -11,11 +11,6 @@ import { UiCustomization, _UiCustomizationTransformation } from './ui-customizat
|
|
|
11
11
|
* Configuration of a property in a settings schema.
|
|
12
12
|
*/
|
|
13
13
|
export interface PropertyDefinition {
|
|
14
|
-
items?: Item;
|
|
15
|
-
/**
|
|
16
|
-
* The type referenced by the property value
|
|
17
|
-
*/
|
|
18
|
-
referencedType?: string;
|
|
19
14
|
/**
|
|
20
15
|
* An extended description and/or links to documentation.
|
|
21
16
|
*/
|
|
@@ -27,19 +22,26 @@ export interface PropertyDefinition {
|
|
|
27
22
|
*/
|
|
28
23
|
maxObjects: number;
|
|
29
24
|
uiCustomization?: UiCustomization;
|
|
30
|
-
precondition?: Precondition;
|
|
31
25
|
datasource?: DatasourceDefinition;
|
|
32
26
|
/**
|
|
33
27
|
* The minimum number of **objects** in a collection property.
|
|
34
28
|
*/
|
|
35
29
|
minObjects?: number;
|
|
36
30
|
modificationPolicy?: PropertyDefinitionModificationPolicy;
|
|
31
|
+
precondition?: Precondition;
|
|
32
|
+
items?: Item;
|
|
33
|
+
/**
|
|
34
|
+
* The type referenced by the property value
|
|
35
|
+
*/
|
|
36
|
+
referencedType?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The subtype of the property's value.
|
|
39
|
+
*/
|
|
40
|
+
subType?: string;
|
|
37
41
|
/**
|
|
38
42
|
* The display name of the property.
|
|
39
43
|
*/
|
|
40
44
|
displayName?: string;
|
|
41
|
-
default?: PropertyDefinitionDefault;
|
|
42
|
-
type: PropertyDefinitionType;
|
|
43
45
|
/**
|
|
44
46
|
* A short description of the property.
|
|
45
47
|
*/
|
|
@@ -49,35 +51,33 @@ export interface PropertyDefinition {
|
|
|
49
51
|
* A list of constraints limiting the values to be accepted.
|
|
50
52
|
*/
|
|
51
53
|
constraints?: Constraint[];
|
|
52
|
-
/**
|
|
53
|
-
* The subtype of the property's value.
|
|
54
|
-
*/
|
|
55
|
-
subType?: string;
|
|
56
54
|
/**
|
|
57
55
|
* The value can (`true`) or can't (`false`) be `null`.
|
|
58
56
|
*/
|
|
59
57
|
nullable: boolean;
|
|
58
|
+
default?: PropertyDefinitionDefault;
|
|
59
|
+
type: PropertyDefinitionType;
|
|
60
60
|
}
|
|
61
61
|
/** @ignore */
|
|
62
62
|
export declare namespace _PropertyDefinitionTransformation {
|
|
63
63
|
interface AsJson {
|
|
64
|
-
items?: _ItemTransformation.AsJson;
|
|
65
|
-
referencedType?: string;
|
|
66
64
|
documentation?: string;
|
|
67
65
|
maxObjects: number;
|
|
68
66
|
uiCustomization?: _UiCustomizationTransformation.AsJson;
|
|
69
|
-
precondition?: _PreconditionTransformation.AsJson;
|
|
70
67
|
datasource?: _DatasourceDefinitionTransformation.AsJson;
|
|
71
68
|
minObjects?: number;
|
|
72
69
|
modificationPolicy?: _PropertyDefinitionModificationPolicyTransformation.AsJson;
|
|
70
|
+
precondition?: _PreconditionTransformation.AsJson;
|
|
71
|
+
items?: _ItemTransformation.AsJson;
|
|
72
|
+
referencedType?: string;
|
|
73
|
+
subType?: string;
|
|
73
74
|
displayName?: string;
|
|
74
|
-
default?: _PropertyDefinitionDefaultTransformation.AsJson;
|
|
75
|
-
type: _PropertyDefinitionTypeTransformation.AsJson;
|
|
76
75
|
description?: string;
|
|
77
76
|
metadata?: _PropertyDefinitionMetadataTransformation.AsJson;
|
|
78
77
|
constraints?: _ConstraintTransformation.AsJson[];
|
|
79
|
-
subType?: string;
|
|
80
78
|
nullable: boolean;
|
|
79
|
+
default?: _PropertyDefinitionDefaultTransformation.AsJson;
|
|
80
|
+
type: _PropertyDefinitionTypeTransformation.AsJson;
|
|
81
81
|
}
|
|
82
82
|
function fromJson(model: AsJson): PropertyDefinition;
|
|
83
83
|
function toJson(model: PropertyDefinition): AsJson;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface RegisteredExtensionResultDto {
|
|
2
|
+
/**
|
|
3
|
+
* Version number of the extension.
|
|
4
|
+
*/
|
|
5
|
+
extensionVersion?: string;
|
|
6
|
+
/**
|
|
7
|
+
* FQN of the extension registered in the tenant.
|
|
8
|
+
*/
|
|
9
|
+
extensionName?: string;
|
|
10
|
+
}
|
|
11
|
+
/** @ignore */
|
|
12
|
+
export declare namespace _RegisteredExtensionResultDtoTransformation {
|
|
13
|
+
interface AsJson {
|
|
14
|
+
extensionVersion?: string;
|
|
15
|
+
extensionName?: string;
|
|
16
|
+
}
|
|
17
|
+
function fromJson(model: AsJson): RegisteredExtensionResultDto;
|
|
18
|
+
function toJson(model: RegisteredExtensionResultDto): AsJson;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the type of item. It can be TECHNOLOGY, EXTENSION1 or EXTENSION2.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum RelatedItemType {
|
|
5
|
+
Extension1 = "EXTENSION1",
|
|
6
|
+
Extension2 = "EXTENSION2",
|
|
7
|
+
Technology = "TECHNOLOGY"
|
|
8
|
+
}
|
|
9
|
+
/** @ignore */
|
|
10
|
+
export declare namespace _RelatedItemTypeTransformation {
|
|
11
|
+
type AsJson = RelatedItemType;
|
|
12
|
+
const toJson: (value: RelatedItemType) => AsJson;
|
|
13
|
+
const fromJson: (value: AsJson) => RelatedItemType;
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RelatedItemType, _RelatedItemTypeTransformation } from './related-item-type';
|
|
2
|
+
/**
|
|
3
|
+
* Related items.
|
|
4
|
+
*/
|
|
5
|
+
export interface RelatedItem {
|
|
6
|
+
type?: RelatedItemType;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
iconUrl?: string;
|
|
11
|
+
/**
|
|
12
|
+
* External link (marketing/documentation) that can provide with additional information.
|
|
13
|
+
*/
|
|
14
|
+
externalLink?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Indicates whether there is a page within the product to activate this item.
|
|
17
|
+
*/
|
|
18
|
+
hasClusterLink?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** @ignore */
|
|
21
|
+
export declare namespace _RelatedItemTransformation {
|
|
22
|
+
interface AsJson {
|
|
23
|
+
type?: _RelatedItemTypeTransformation.AsJson;
|
|
24
|
+
id?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
iconUrl?: string;
|
|
28
|
+
externalLink?: string;
|
|
29
|
+
hasClusterLink?: boolean;
|
|
30
|
+
}
|
|
31
|
+
function fromJson(model: AsJson): RelatedItem;
|
|
32
|
+
function toJson(model: RelatedItem): AsJson;
|
|
33
|
+
}
|
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
* An instance is a Process Group Instance and has an optional build version.
|
|
4
4
|
*/
|
|
5
5
|
export interface ReleaseInstance {
|
|
6
|
-
/**
|
|
7
|
-
* The build version
|
|
8
|
-
*/
|
|
9
|
-
buildVersion?: string;
|
|
10
6
|
/**
|
|
11
7
|
* List of Security vulnerabilities Ids
|
|
12
8
|
*/
|
|
@@ -15,6 +11,10 @@ export interface ReleaseInstance {
|
|
|
15
11
|
* The entity id of the instance.
|
|
16
12
|
*/
|
|
17
13
|
entityId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The build version
|
|
16
|
+
*/
|
|
17
|
+
buildVersion?: string;
|
|
18
18
|
/**
|
|
19
19
|
* List of event Ids of open problems
|
|
20
20
|
*/
|
|
@@ -23,9 +23,9 @@ export interface ReleaseInstance {
|
|
|
23
23
|
/** @ignore */
|
|
24
24
|
export declare namespace _ReleaseInstanceTransformation {
|
|
25
25
|
interface AsJson {
|
|
26
|
-
buildVersion?: string;
|
|
27
26
|
securityVulnerabilities?: string[];
|
|
28
27
|
entityId?: string;
|
|
28
|
+
buildVersion?: string;
|
|
29
29
|
problems?: string[];
|
|
30
30
|
}
|
|
31
31
|
function fromJson(model: AsJson): ReleaseInstance;
|
|
@@ -9,6 +9,14 @@ import { SoftwareTechs, _SoftwareTechsTransformation } from './software-techs';
|
|
|
9
9
|
* The tuple <name, product, stage, version> is always unique.
|
|
10
10
|
*/
|
|
11
11
|
export interface Release {
|
|
12
|
+
/**
|
|
13
|
+
* The software technologies of the release
|
|
14
|
+
*/
|
|
15
|
+
softwareTechs?: SoftwareTechs[];
|
|
16
|
+
/**
|
|
17
|
+
* The count of bytes per second of the entity
|
|
18
|
+
*/
|
|
19
|
+
throughput?: number;
|
|
12
20
|
/**
|
|
13
21
|
* The entity id of correlating release.
|
|
14
22
|
*/
|
|
@@ -25,10 +33,6 @@ export interface Release {
|
|
|
25
33
|
* Indicates that the security vulnerabilities feature is enabled
|
|
26
34
|
*/
|
|
27
35
|
securityVulnerabilitiesEnabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The count of bytes per second of the entity
|
|
30
|
-
*/
|
|
31
|
-
throughput?: number;
|
|
32
36
|
/**
|
|
33
37
|
* The product name
|
|
34
38
|
*/
|
|
@@ -37,10 +41,6 @@ export interface Release {
|
|
|
37
41
|
* The entity has one or more security vulnerabilities
|
|
38
42
|
*/
|
|
39
43
|
affectedBySecurityVulnerabilities?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* The software technologies of the release
|
|
42
|
-
*/
|
|
43
|
-
softwareTechs?: SoftwareTechs[];
|
|
44
44
|
/**
|
|
45
45
|
* The instances entityIds included in this release
|
|
46
46
|
*/
|
|
@@ -53,10 +53,6 @@ export interface Release {
|
|
|
53
53
|
* The identified release version
|
|
54
54
|
*/
|
|
55
55
|
version?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The entity name
|
|
58
|
-
*/
|
|
59
|
-
name?: string;
|
|
60
56
|
/**
|
|
61
57
|
* The number of problems of the entity
|
|
62
58
|
*/
|
|
@@ -65,24 +61,28 @@ export interface Release {
|
|
|
65
61
|
* The stage name
|
|
66
62
|
*/
|
|
67
63
|
stage?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The entity name
|
|
66
|
+
*/
|
|
67
|
+
name?: string;
|
|
68
68
|
}
|
|
69
69
|
/** @ignore */
|
|
70
70
|
export declare namespace _ReleaseTransformation {
|
|
71
71
|
interface AsJson {
|
|
72
|
+
softwareTechs?: _SoftwareTechsTransformation.AsJson[];
|
|
73
|
+
throughput?: number;
|
|
72
74
|
releaseEntityId?: string;
|
|
73
75
|
securityVulnerabilitiesCount?: number;
|
|
74
76
|
affectedByProblems?: boolean;
|
|
75
77
|
securityVulnerabilitiesEnabled?: boolean;
|
|
76
|
-
throughput?: number;
|
|
77
78
|
product?: string;
|
|
78
79
|
affectedBySecurityVulnerabilities?: boolean;
|
|
79
|
-
softwareTechs?: _SoftwareTechsTransformation.AsJson[];
|
|
80
80
|
instances?: _ReleaseInstanceTransformation.AsJson[];
|
|
81
81
|
running?: boolean;
|
|
82
82
|
version?: string;
|
|
83
|
-
name?: string;
|
|
84
83
|
problemCount?: number;
|
|
85
84
|
stage?: string;
|
|
85
|
+
name?: string;
|
|
86
86
|
}
|
|
87
87
|
function fromJson(model: AsJson): Release;
|
|
88
88
|
function toJson(model: Release): AsJson;
|
|
@@ -3,37 +3,37 @@ import { Release, _ReleaseTransformation } from './release';
|
|
|
3
3
|
* A list of releases.
|
|
4
4
|
*/
|
|
5
5
|
export interface Releases {
|
|
6
|
-
/**
|
|
7
|
-
* A list of releases.
|
|
8
|
-
*/
|
|
9
|
-
releases?: Release[];
|
|
10
6
|
/**
|
|
11
7
|
* Number of releases with problems.
|
|
12
8
|
*/
|
|
13
9
|
releasesWithProblems?: number;
|
|
10
|
+
/**
|
|
11
|
+
* A list of releases.
|
|
12
|
+
*/
|
|
13
|
+
releases?: Release[];
|
|
14
14
|
/**
|
|
15
15
|
* The total number of entries in the result.
|
|
16
16
|
*/
|
|
17
17
|
totalCount: number;
|
|
18
|
+
/**
|
|
19
|
+
* The number of entries per page.
|
|
20
|
+
*/
|
|
21
|
+
pageSize?: number;
|
|
18
22
|
/**
|
|
19
23
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
20
24
|
*
|
|
21
25
|
* Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
|
|
22
26
|
*/
|
|
23
27
|
nextPageKey?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The number of entries per page.
|
|
26
|
-
*/
|
|
27
|
-
pageSize?: number;
|
|
28
28
|
}
|
|
29
29
|
/** @ignore */
|
|
30
30
|
export declare namespace _ReleasesTransformation {
|
|
31
31
|
interface AsJson {
|
|
32
|
-
releases?: _ReleaseTransformation.AsJson[];
|
|
33
32
|
releasesWithProblems?: number;
|
|
33
|
+
releases?: _ReleaseTransformation.AsJson[];
|
|
34
34
|
totalCount: number;
|
|
35
|
-
nextPageKey?: string;
|
|
36
35
|
pageSize?: number;
|
|
36
|
+
nextPageKey?: string;
|
|
37
37
|
}
|
|
38
38
|
function fromJson(model: AsJson): Releases;
|
|
39
39
|
function toJson(model: Releases): AsJson;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains a reason, in case the requested operation was not executed.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum RemediationItemMutingSummaryReason {
|
|
5
|
+
AlreadyMuted = "ALREADY_MUTED",
|
|
6
|
+
AlreadyUnmuted = "ALREADY_UNMUTED",
|
|
7
|
+
RemediationItemNotAffectedByGivenSecurityProblem = "REMEDIATION_ITEM_NOT_AFFECTED_BY_GIVEN_SECURITY_PROBLEM"
|
|
8
|
+
}
|
|
9
|
+
/** @ignore */
|
|
10
|
+
export declare namespace _RemediationItemMutingSummaryReasonTransformation {
|
|
11
|
+
type AsJson = RemediationItemMutingSummaryReason;
|
|
12
|
+
const toJson: (value: RemediationItemMutingSummaryReason) => AsJson;
|
|
13
|
+
const fromJson: (value: AsJson) => RemediationItemMutingSummaryReason;
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RemediationItemMutingSummaryReason, _RemediationItemMutingSummaryReasonTransformation } from './remediation-item-muting-summary-reason';
|
|
2
|
+
/**
|
|
3
|
+
* Summary of (un-)muting a remediation item.
|
|
4
|
+
*/
|
|
5
|
+
export interface RemediationItemMutingSummary {
|
|
6
|
+
/**
|
|
7
|
+
* The id of the remediation item that will be (un-)muted.
|
|
8
|
+
*/
|
|
9
|
+
remediationItemId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Whether a mute state change for the given remediation item was triggered by this request.
|
|
12
|
+
*/
|
|
13
|
+
muteStateChangeTriggered: boolean;
|
|
14
|
+
reason?: RemediationItemMutingSummaryReason;
|
|
15
|
+
}
|
|
16
|
+
/** @ignore */
|
|
17
|
+
export declare namespace _RemediationItemMutingSummaryTransformation {
|
|
18
|
+
interface AsJson {
|
|
19
|
+
remediationItemId: string;
|
|
20
|
+
muteStateChangeTriggered: boolean;
|
|
21
|
+
reason?: _RemediationItemMutingSummaryReasonTransformation.AsJson;
|
|
22
|
+
}
|
|
23
|
+
function fromJson(model: AsJson): RemediationItemMutingSummary;
|
|
24
|
+
function toJson(model: RemediationItemMutingSummary): AsJson;
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The reason for muting the remediation items.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum RemediationItemsBulkMuteReason {
|
|
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 _RemediationItemsBulkMuteReasonTransformation {
|
|
13
|
+
type AsJson = RemediationItemsBulkMuteReason;
|
|
14
|
+
const toJson: (value: RemediationItemsBulkMuteReason) => AsJson;
|
|
15
|
+
const fromJson: (value: AsJson) => RemediationItemsBulkMuteReason;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RemediationItemMutingSummary, _RemediationItemMutingSummaryTransformation } from './remediation-item-muting-summary';
|
|
2
|
+
/**
|
|
3
|
+
* Response of muting several remediation items.
|
|
4
|
+
*/
|
|
5
|
+
export interface RemediationItemsBulkMuteResponse {
|
|
6
|
+
/**
|
|
7
|
+
* The summary of which remediation items were muted and which already were muted previously.
|
|
8
|
+
*/
|
|
9
|
+
summary: RemediationItemMutingSummary[];
|
|
10
|
+
}
|
|
11
|
+
/** @ignore */
|
|
12
|
+
export declare namespace _RemediationItemsBulkMuteResponseTransformation {
|
|
13
|
+
interface AsJson {
|
|
14
|
+
summary: _RemediationItemMutingSummaryTransformation.AsJson[];
|
|
15
|
+
}
|
|
16
|
+
function fromJson(model: AsJson): RemediationItemsBulkMuteResponse;
|
|
17
|
+
function toJson(model: RemediationItemsBulkMuteResponse): AsJson;
|
|
18
|
+
}
|