@harnessio/react-chaos-manager-client 1.29.0 → 1.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteLegacyKubernetesChaosInfraMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteLegacyKubernetesChaosInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraDetailsQuery.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraDetailsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraManifestQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraManifestQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraStatsQuery.d.ts +23 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraStatsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraVersionDetailsQuery.d.ts +23 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraVersionDetailsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesHelmInfraCommandQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesHelmInfraCommandQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +37 -0
- package/dist/chaos-manager/src/services/hooks/useListConditionQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListLegacyKubernetesChaosInfraMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useListLegacyKubernetesChaosInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +37 -0
- package/dist/chaos-manager/src/services/hooks/useListRuleQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRegisterLegacyKubernetesInfraMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useRegisterLegacyKubernetesInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useTestLegacyKubernetesChaosInfraConnectionMutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useTestLegacyKubernetesChaosInfraConnectionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateLegacyKubernetesChaosInfraMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateLegacyKubernetesChaosInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateMachineInfraMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateMachineInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpgradeLegacyKubernetesChaosInfraMutation.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useUpgradeLegacyKubernetesChaosInfraMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +73 -0
- package/dist/chaos-manager/src/services/index.js +23 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsConditionResponse.d.ts +21 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsConditionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionRequest.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionResponse.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsDeleteConditionResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsDeleteConditionResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsGetConditionResponse.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsGetConditionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsListConditionResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsListConditionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsRule.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsRule.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsUpdateConditionResponse.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsUpdateConditionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleRequest.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleResponse.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesDeleteRuleResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesDeleteRuleResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesGetRuleResponse.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesGetRuleResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesListRuleResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesListRuleResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesRuleResponse.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesRuleResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesUpdateRuleResponse.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosguardrulesUpdateRuleResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest.d.ts +85 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule.js +1 -0
- package/dist/chaos-manager/src/services/schemas/HcesdkUserDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/HcesdkUserDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraInfraFilterInput.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/InfraListInfraRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraUserInputs.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraRequest.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfraV2FilterInput.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2ListKubernetesInfraV2Request.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2SortInput.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2SortInput.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2SortingField.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2SortingField.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelGetInfraStatsResponse.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/ModelGetInfraStatsResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelInfraVersionDetails.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ModelInfraVersionDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelToleration.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ModelToleration.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelUpdateInfraRequest.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/ModelUpdateInfraRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/PipelineonboardingPipelineChaosOnboardingStatusResponse.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/PipelineonboardingPipelineChaosOnboardingTaskRequest.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/PipelineonboardingPipelineOnboarding.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/SecurityGovernanceCondition.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/SecurityGovernanceRecurrence.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/SecurityGovernanceTimeWindow.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
|
|
2
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
3
|
+
import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
|
|
4
|
+
export interface ChaosguardrulesGetRuleResponse {
|
|
5
|
+
conditionIds: string[];
|
|
6
|
+
conditions?: SecurityGovernanceCondition[];
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
createdAt?: number;
|
|
9
|
+
createdBy?: HcesdkUserDetails;
|
|
10
|
+
description?: string;
|
|
11
|
+
isEnabled?: boolean;
|
|
12
|
+
name: string;
|
|
13
|
+
ruleId: string;
|
|
14
|
+
tags?: string[];
|
|
15
|
+
timeWindows: SecurityGovernanceTimeWindow[];
|
|
16
|
+
updatedAt?: number;
|
|
17
|
+
updatedBy?: HcesdkUserDetails;
|
|
18
|
+
userGroupIds: string[];
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
2
|
+
import type { ChaosguardrulesRuleResponse } from '../schemas/ChaosguardrulesRuleResponse';
|
|
3
|
+
export interface ChaosguardrulesListRuleResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
6
|
+
rules?: ChaosguardrulesRuleResponse[];
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
|
|
2
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
3
|
+
import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
|
|
4
|
+
export interface ChaosguardrulesRuleResponse {
|
|
5
|
+
conditionIds: string[];
|
|
6
|
+
conditions?: SecurityGovernanceCondition[];
|
|
7
|
+
correlationID?: string;
|
|
8
|
+
createdAt?: number;
|
|
9
|
+
createdBy?: HcesdkUserDetails;
|
|
10
|
+
description?: string;
|
|
11
|
+
isEnabled?: boolean;
|
|
12
|
+
name: string;
|
|
13
|
+
ruleId: string;
|
|
14
|
+
tags?: string[];
|
|
15
|
+
timeWindows: SecurityGovernanceTimeWindow[];
|
|
16
|
+
updatedAt?: number;
|
|
17
|
+
updatedBy?: HcesdkUserDetails;
|
|
18
|
+
userGroupIds: string[];
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
|
|
2
|
+
export interface ChaosguardrulesUpdateRuleResponse {
|
|
3
|
+
conditionIds: string[];
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
isEnabled?: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
ruleId: string;
|
|
9
|
+
tags?: string[];
|
|
10
|
+
timeWindows: SecurityGovernanceTimeWindow[];
|
|
11
|
+
userGroupIds: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { ModelInfraScope } from '../schemas/ModelInfraScope';
|
|
2
|
+
import type { ModelInstallationType } from '../schemas/ModelInstallationType';
|
|
3
|
+
import type { ModelToleration } from '../schemas/ModelToleration';
|
|
4
|
+
export interface GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest {
|
|
5
|
+
/**
|
|
6
|
+
* Description of the infra
|
|
7
|
+
*/
|
|
8
|
+
description?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Environment ID for the infra
|
|
11
|
+
*/
|
|
12
|
+
environmentID?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Namespace where the infra is being installed
|
|
15
|
+
*/
|
|
16
|
+
infraNamespace?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Bool value indicating whether infra ns used already exists on infra or not
|
|
19
|
+
*/
|
|
20
|
+
infraNsExists?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Bool value indicating whether service account used already exists on infra or not
|
|
23
|
+
*/
|
|
24
|
+
infraSaExists?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Scope of the infra : ns or infra
|
|
27
|
+
*/
|
|
28
|
+
infraScope?: ModelInfraScope;
|
|
29
|
+
/**
|
|
30
|
+
* InstallationType connector/manifest
|
|
31
|
+
*/
|
|
32
|
+
installationType?: ModelInstallationType;
|
|
33
|
+
/**
|
|
34
|
+
* Boolean value indicating if chaos infrastructure has auto upgrade enabled or not
|
|
35
|
+
*/
|
|
36
|
+
isAutoUpgradeEnabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Tune secret for infra
|
|
39
|
+
*/
|
|
40
|
+
isSecretEnabled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* K8sConnectorID
|
|
43
|
+
*/
|
|
44
|
+
k8sConnectorID?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Name of the infra
|
|
47
|
+
*/
|
|
48
|
+
name?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Node selectors used by infra
|
|
51
|
+
*/
|
|
52
|
+
nodeSelector?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Infra Platform Name eg. GKE,AWS, Others
|
|
55
|
+
*/
|
|
56
|
+
platformName?: string;
|
|
57
|
+
/**
|
|
58
|
+
* set the user group for security context in pod
|
|
59
|
+
*/
|
|
60
|
+
runAsGroup?: number;
|
|
61
|
+
/**
|
|
62
|
+
* set the user for security context in pod
|
|
63
|
+
*/
|
|
64
|
+
runAsUser?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Value containing the scc-yaml used in openShift clusters
|
|
67
|
+
*/
|
|
68
|
+
sccYaml?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Name of service account used by infra
|
|
71
|
+
*/
|
|
72
|
+
serviceAccount?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Bool value indicating whether infra will skip ssl checks or not
|
|
75
|
+
*/
|
|
76
|
+
skipSsl?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Tags of the infra
|
|
79
|
+
*/
|
|
80
|
+
tags?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Node tolerations used by infra
|
|
83
|
+
*/
|
|
84
|
+
tolerations?: ModelToleration[];
|
|
85
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Unique ID for the newly registered infra
|
|
4
|
+
*/
|
|
5
|
+
infraID?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Infra Manifest
|
|
8
|
+
*/
|
|
9
|
+
manifest?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Infra name as sent in request
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* taskID sent for the brownfield deployment task
|
|
16
|
+
*/
|
|
17
|
+
taskID?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Token used to verify and retrieve the infra manifest
|
|
20
|
+
*/
|
|
21
|
+
token?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
|
|
2
|
+
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule {
|
|
3
|
+
conditionIds: string[];
|
|
4
|
+
description?: string;
|
|
5
|
+
isEnabled?: boolean;
|
|
6
|
+
name: string;
|
|
7
|
+
ruleId: string;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
timeWindows: SecurityGovernanceTimeWindow[];
|
|
10
|
+
userGroupIds: string[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,6 +3,10 @@ export interface InfraInfraFilterInput {
|
|
|
3
3
|
* ID of the infra
|
|
4
4
|
*/
|
|
5
5
|
description?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Experiment version of the infra
|
|
8
|
+
*/
|
|
9
|
+
experimentVersion?: string;
|
|
6
10
|
/**
|
|
7
11
|
* ID of the infra
|
|
8
12
|
*/
|
|
@@ -15,6 +19,10 @@ export interface InfraInfraFilterInput {
|
|
|
15
19
|
* Name of the infra
|
|
16
20
|
*/
|
|
17
21
|
name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Status of the infra
|
|
24
|
+
*/
|
|
25
|
+
status?: string;
|
|
18
26
|
/**
|
|
19
27
|
* Tags of an infra
|
|
20
28
|
*/
|
|
@@ -2,6 +2,7 @@ import type { InfraInfraFilterInput } from '../schemas/InfraInfraFilterInput';
|
|
|
2
2
|
import type { InfraIdentifiers } from '../schemas/InfraIdentifiers';
|
|
3
3
|
import type { InfraInfraType } from '../schemas/InfraInfraType';
|
|
4
4
|
import type { InfraPagination } from '../schemas/InfraPagination';
|
|
5
|
+
import type { InfraV2SortInput } from '../schemas/InfraV2SortInput';
|
|
5
6
|
export interface InfraListInfraRequest {
|
|
6
7
|
/**
|
|
7
8
|
* CorrelationID for the request
|
|
@@ -31,4 +32,8 @@ export interface InfraListInfraRequest {
|
|
|
31
32
|
* Details for fetching paginated data
|
|
32
33
|
*/
|
|
33
34
|
pagination?: InfraPagination;
|
|
35
|
+
/**
|
|
36
|
+
* Sort the infrastructures based on field
|
|
37
|
+
*/
|
|
38
|
+
sort?: InfraV2SortInput;
|
|
34
39
|
}
|
|
@@ -4,10 +4,26 @@ export interface InfraRegisterInfraUserInputs {
|
|
|
4
4
|
* The interval at which abort is polled for a running task
|
|
5
5
|
*/
|
|
6
6
|
abortPollInterval?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Name of the log file directory
|
|
9
|
+
*/
|
|
10
|
+
chaosInfrastructureLogFileDirectory?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Maximum number of log file backups
|
|
13
|
+
*/
|
|
14
|
+
chaosInfrastructureLogFileMaxBackups?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Maximum size of log file in MB
|
|
17
|
+
*/
|
|
18
|
+
chaosInfrastructureLogFileMaxSize?: number;
|
|
7
19
|
/**
|
|
8
20
|
* TLS certificate to be used with the infrastructure
|
|
9
21
|
*/
|
|
10
22
|
customTlsCertificate?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum age of log file in days
|
|
25
|
+
*/
|
|
26
|
+
experimentLogFileMaxAgeDays?: number;
|
|
11
27
|
/**
|
|
12
28
|
* The timeout duration for the infrastructure http client
|
|
13
29
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { InfraIdentifiers } from '../schemas/InfraIdentifiers';
|
|
2
|
+
import type { InfraInfraType } from '../schemas/InfraInfraType';
|
|
3
|
+
export interface InfraUpdateInfraRequest {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
environmentID?: string;
|
|
7
|
+
identifier?: InfraIdentifiers;
|
|
8
|
+
infraID?: string;
|
|
9
|
+
infraType?: InfraInfraType;
|
|
10
|
+
name?: string;
|
|
11
|
+
tags?: string[];
|
|
12
|
+
userID?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { InfraV2InfraScope } from '../schemas/InfraV2InfraScope';
|
|
2
2
|
import type { InfraV2InfraTypeFilter } from '../schemas/InfraV2InfraTypeFilter';
|
|
3
3
|
export interface InfraV2KubernetesInfraV2FilterInput {
|
|
4
|
+
environmentIDs?: string[];
|
|
4
5
|
infraScope?: InfraV2InfraScope;
|
|
5
6
|
infraTypeFilter?: InfraV2InfraTypeFilter;
|
|
7
|
+
status?: string;
|
|
6
8
|
tags?: string[];
|
|
7
9
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { InfraV2KubernetesInfraV2FilterInput } from '../schemas/InfraV2KubernetesInfraV2FilterInput';
|
|
2
2
|
import type { InfraV2Identifiers } from '../schemas/InfraV2Identifiers';
|
|
3
|
+
import type { InfraV2SortInput } from '../schemas/InfraV2SortInput';
|
|
3
4
|
export interface InfraV2ListKubernetesInfraV2Request {
|
|
4
5
|
filter?: InfraV2KubernetesInfraV2FilterInput;
|
|
5
6
|
identifier?: InfraV2Identifiers;
|
|
7
|
+
sort?: InfraV2SortInput;
|
|
6
8
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InfraV2SortingField } from '../schemas/InfraV2SortingField';
|
|
2
|
+
export interface InfraV2SortInput {
|
|
3
|
+
/**
|
|
4
|
+
* Bool value indicating whether the sorting will be done in ascending order
|
|
5
|
+
*/
|
|
6
|
+
ascending?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Field in which sorting will be done
|
|
9
|
+
*/
|
|
10
|
+
field?: InfraV2SortingField;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InfraV2SortingField = 'LAST_MODIFIED' | 'NAME';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ModelGetInfraStatsResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Total number of active infrastructures
|
|
4
|
+
*/
|
|
5
|
+
totalActiveInfrastructure?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Total number of confirmed infrastructures
|
|
8
|
+
*/
|
|
9
|
+
totalConfirmedInfrastructure?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Total number of inactive infrastructures
|
|
12
|
+
*/
|
|
13
|
+
totalInactiveInfrastructures?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Total number of infrastructures
|
|
16
|
+
*/
|
|
17
|
+
totalInfrastructures?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Total number of non confirmed infrastructures
|
|
20
|
+
*/
|
|
21
|
+
totalNonConfirmedInfrastructures?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ModelUpdateInfraRequest {
|
|
2
|
+
/**
|
|
3
|
+
* Description of the infra
|
|
4
|
+
*/
|
|
5
|
+
description?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Environment ID for the infra
|
|
8
|
+
*/
|
|
9
|
+
environmentID?: string;
|
|
10
|
+
/**
|
|
11
|
+
* ID of the infrastructure to be updated
|
|
12
|
+
*/
|
|
13
|
+
infraID?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Name of the infra
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Tags of the infra
|
|
20
|
+
*/
|
|
21
|
+
tags?: string[];
|
|
22
|
+
}
|
|
@@ -8,7 +8,7 @@ export interface PipelineonboardingPipelineChaosOnboardingStatusResponse {
|
|
|
8
8
|
/**
|
|
9
9
|
* Advance Configurations
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
chaosAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
|
|
12
12
|
createdAt?: number;
|
|
13
13
|
createdBy?: string;
|
|
14
14
|
discoveryAdvanceConfiguration?: DatabaseAgentConfiguration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { V2OnboardingChaosInfraAdvanceConfiguration } from '../schemas/V2OnboardingChaosInfraAdvanceConfiguration';
|
|
2
2
|
import type { DatabaseAgentConfiguration } from '../schemas/DatabaseAgentConfiguration';
|
|
3
3
|
export interface PipelineonboardingPipelineChaosOnboardingTaskRequest {
|
|
4
|
-
|
|
4
|
+
chaosAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
|
|
5
5
|
discoveryAdvanceConfiguration?: DatabaseAgentConfiguration;
|
|
6
6
|
isAIEnabled?: boolean;
|
|
7
7
|
pipelineIdentity?: string;
|
|
@@ -7,7 +7,7 @@ export interface PipelineonboardingPipelineOnboarding {
|
|
|
7
7
|
/**
|
|
8
8
|
* Advance Configurations
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
chaosAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
|
|
11
11
|
createdAt?: number;
|
|
12
12
|
createdBy?: string;
|
|
13
13
|
discoveryAdvanceConfiguration?: DatabaseAgentConfiguration;
|
|
@@ -3,12 +3,12 @@ import type { SecurityGovernanceInfraType } from '../schemas/SecurityGovernanceI
|
|
|
3
3
|
import type { SecurityGovernanceK8sSpec } from '../schemas/SecurityGovernanceK8sSpec';
|
|
4
4
|
import type { SecurityGovernanceMachineSpec } from '../schemas/SecurityGovernanceMachineSpec';
|
|
5
5
|
export interface SecurityGovernanceCondition {
|
|
6
|
-
conditionId
|
|
6
|
+
conditionId: string;
|
|
7
7
|
description?: string;
|
|
8
|
-
faultSpec
|
|
9
|
-
infraType
|
|
8
|
+
faultSpec: SecurityGovernanceFaultSpec;
|
|
9
|
+
infraType: SecurityGovernanceInfraType;
|
|
10
10
|
k8sSpec?: SecurityGovernanceK8sSpec;
|
|
11
11
|
machineSpec?: SecurityGovernanceMachineSpec;
|
|
12
|
-
name
|
|
12
|
+
name: string;
|
|
13
13
|
tags?: string[];
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SecurityGovernanceRecurrenceSpec } from '../schemas/SecurityGovernanceRecurrenceSpec';
|
|
2
2
|
export interface SecurityGovernanceRecurrence {
|
|
3
3
|
spec?: SecurityGovernanceRecurrenceSpec;
|
|
4
|
-
type
|
|
4
|
+
type: 'Daily' | 'Monthly' | 'None' | 'Weekly' | 'Yearly';
|
|
5
5
|
}
|
package/package.json
CHANGED