@harnessio/react-chaos-manager-client 1.71.0 → 1.72.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/dist/chaos-manager/src/services/index.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +6 -2
- package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.d.ts +1 -4
- package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.js +3 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutputResponse.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ModelInput.d.ts +6 -2
- package/dist/chaos-manager/src/services/schemas/PipelinesCreatePipelineResponse.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +6 -2
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindowTemplate.d.ts +6 -2
- package/dist/chaos-manager/src/services/schemas/ProbeHttpProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +12 -4
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +12 -4
- package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateRunProperties.d.ts +6 -2
- package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/RiskDetectionMethod.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskDetectionMethod.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScan.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/RiskoccurrencesProbeExecutionSource.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/RiskoccurrencesProbeExecutionSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansCreateRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansOccurrenceDetails.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansRiskScanResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksOccurrenceDetail.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +3 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1198,6 +1198,7 @@ export type { RiskCdService } from './schemas/RiskCdService';
|
|
|
1198
1198
|
export type { RiskChaosService } from './schemas/RiskChaosService';
|
|
1199
1199
|
export type { RiskCollectionError } from './schemas/RiskCollectionError';
|
|
1200
1200
|
export type { RiskCollectionSummary } from './schemas/RiskCollectionSummary';
|
|
1201
|
+
export type { RiskDetectionMethod } from './schemas/RiskDetectionMethod';
|
|
1201
1202
|
export type { RiskDiscoveredService } from './schemas/RiskDiscoveredService';
|
|
1202
1203
|
export type { RiskEvidenceResource } from './schemas/RiskEvidenceResource';
|
|
1203
1204
|
export type { RiskProbeExecutionExperimentSource } from './schemas/RiskProbeExecutionExperimentSource';
|
|
@@ -1219,6 +1220,7 @@ export type { RiskServiceDetails } from './schemas/RiskServiceDetails';
|
|
|
1219
1220
|
export type { RiskSeverity } from './schemas/RiskSeverity';
|
|
1220
1221
|
export type { RiskTargetService } from './schemas/RiskTargetService';
|
|
1221
1222
|
export type { RiskTargetServiceType } from './schemas/RiskTargetServiceType';
|
|
1223
|
+
export type { RiskoccurrencesProbeExecutionSource } from './schemas/RiskoccurrencesProbeExecutionSource';
|
|
1222
1224
|
export type { RiskrulesListResponse } from './schemas/RiskrulesListResponse';
|
|
1223
1225
|
export type { RiskrulesRiskRuleResponse } from './schemas/RiskrulesRiskRuleResponse';
|
|
1224
1226
|
export type { RisksActiveExecutionResponse } from './schemas/RisksActiveExecutionResponse';
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export interface ActionActionTemplateRunProperties {
|
|
2
2
|
initialDelay?: string;
|
|
3
3
|
interval?: string;
|
|
4
|
-
iterations?: {
|
|
5
|
-
|
|
4
|
+
iterations?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
maxRetries?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
6
10
|
stopOnFailure?: boolean;
|
|
7
11
|
timeout?: string;
|
|
8
12
|
verbosity?: string;
|
package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
2
1
|
export interface ChaosservicesExperimentExecutionResponse {
|
|
3
2
|
completed?: boolean;
|
|
4
3
|
createdAt?: number;
|
|
5
|
-
createdBy?: HcesdkUserDetails;
|
|
6
4
|
experimentID?: string;
|
|
7
5
|
experimentIdentifier?: string;
|
|
8
6
|
experimentName?: string;
|
|
@@ -14,11 +12,10 @@ export interface ChaosservicesExperimentExecutionResponse {
|
|
|
14
12
|
faultsPassed?: number;
|
|
15
13
|
faultsStopped?: number;
|
|
16
14
|
infraID?: string;
|
|
17
|
-
isRemoved: boolean;
|
|
18
15
|
phase?: string;
|
|
19
16
|
resiliencyScore?: number;
|
|
20
17
|
runSequence?: number;
|
|
21
18
|
totalFaults?: number;
|
|
22
19
|
updatedAt?: number;
|
|
23
|
-
updatedBy?:
|
|
20
|
+
updatedBy?: string;
|
|
24
21
|
}
|
|
@@ -3,7 +3,9 @@ import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
|
3
3
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs {
|
|
4
4
|
aggregation?: string;
|
|
5
5
|
connectorID?: string;
|
|
6
|
-
durationInMin?: {
|
|
6
|
+
durationInMin?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
7
9
|
formula?: string;
|
|
8
10
|
queries?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query[];
|
|
9
11
|
query?: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
2
2
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
4
|
+
durationInMin?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
metrics?: ProbeMetrics;
|
|
6
8
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { ProbeApmtlsConfig } from '../schemas/ProbeApmtlsConfig';
|
|
2
2
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
4
|
+
durationInMin?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
fieldToFetch?: string;
|
|
6
8
|
searchQuery?: string;
|
|
7
9
|
tlsConfig?: ProbeApmtlsConfig;
|
|
@@ -3,7 +3,9 @@ import type { ProbeSyntheticsTestTemplate } from '../schemas/ProbeSyntheticsTest
|
|
|
3
3
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs {
|
|
4
4
|
aggregation?: string;
|
|
5
5
|
connectorID?: string;
|
|
6
|
-
durationInMin?: {
|
|
6
|
+
durationInMin?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
7
9
|
formula?: string;
|
|
8
10
|
queries?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query[];
|
|
9
11
|
query?: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ProbeDynatraceMetricsTemplate } from '../schemas/ProbeDynatraceMetricsTemplate';
|
|
2
2
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
4
|
+
durationInMin?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
metrics?: ProbeDynatraceMetricsTemplate;
|
|
6
8
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { ProbeTlsConfigSm } from '../schemas/ProbeTlsConfigSm';
|
|
2
2
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs {
|
|
3
3
|
connectorID?: string;
|
|
4
|
-
durationInMin?: {
|
|
4
|
+
durationInMin?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
fieldToFetch?: string;
|
|
6
8
|
searchQuery?: string;
|
|
7
9
|
tlsConfig?: ProbeTlsConfigSm;
|
|
@@ -6,7 +6,9 @@ export interface ModelInput {
|
|
|
6
6
|
/**
|
|
7
7
|
* Default value for the input
|
|
8
8
|
*/
|
|
9
|
-
default?: {
|
|
9
|
+
default?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
10
12
|
/**
|
|
11
13
|
* Description of the input (minimum 10 characters)
|
|
12
14
|
*/
|
|
@@ -34,5 +36,7 @@ export interface ModelInput {
|
|
|
34
36
|
/**
|
|
35
37
|
* Value of the input - can be static or runtime (string, boolean, or number)
|
|
36
38
|
*/
|
|
37
|
-
value?: {
|
|
39
|
+
value?: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
38
42
|
}
|
|
@@ -9,19 +9,25 @@ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkE
|
|
|
9
9
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
|
|
10
10
|
export interface ProbeApmProbe {
|
|
11
11
|
appDynamicsProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs;
|
|
12
|
-
attempt?: {
|
|
12
|
+
attempt?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
13
15
|
comparator?: ProbeComparator;
|
|
14
16
|
datadogApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs;
|
|
15
17
|
dynatraceApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs;
|
|
16
18
|
gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs;
|
|
17
19
|
initialDelay?: string;
|
|
18
|
-
initialDelaySeconds?: {
|
|
20
|
+
initialDelaySeconds?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
19
23
|
interval?: string;
|
|
20
24
|
newRelicProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs;
|
|
21
25
|
pollingInterval?: string;
|
|
22
26
|
probeTimeout?: string;
|
|
23
27
|
prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
|
|
24
|
-
retry?: {
|
|
28
|
+
retry?: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
25
31
|
splunkEnterpriseProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs;
|
|
26
32
|
splunkObservabilityProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs;
|
|
27
33
|
stopOnFailure?: boolean;
|
|
@@ -14,7 +14,9 @@ export interface ProbeContainerProbe {
|
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
};
|
|
16
16
|
args?: string;
|
|
17
|
-
attempt?: {
|
|
17
|
+
attempt?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
18
20
|
command?: string[];
|
|
19
21
|
comparator?: ProbeComparator;
|
|
20
22
|
containerSecurityContext?: V1SecurityContext;
|
|
@@ -26,7 +28,9 @@ export interface ProbeContainerProbe {
|
|
|
26
28
|
imagePullPolicy?: V1PullPolicy;
|
|
27
29
|
imagePullSecrets?: string[];
|
|
28
30
|
initialDelay?: string;
|
|
29
|
-
initialDelaySeconds?: {
|
|
31
|
+
initialDelaySeconds?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
30
34
|
interval?: string;
|
|
31
35
|
labels?: {
|
|
32
36
|
[key: string]: string;
|
|
@@ -39,7 +43,9 @@ export interface ProbeContainerProbe {
|
|
|
39
43
|
pollingInterval?: string;
|
|
40
44
|
probeTimeout?: string;
|
|
41
45
|
resources?: CommonResourceRequirements;
|
|
42
|
-
retry?: {
|
|
46
|
+
retry?: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
43
49
|
serviceAccountName?: string;
|
|
44
50
|
stopOnFailure?: boolean;
|
|
45
51
|
tolerations?: V1Toleration[];
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import type { ProbeDatadogMetrics } from '../schemas/ProbeDatadogMetrics';
|
|
2
2
|
import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
3
3
|
export interface ProbeDatadogProbe {
|
|
4
|
-
attempt?: {
|
|
4
|
+
attempt?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
datadogCredentialsSecretName?: string;
|
|
6
8
|
datadogSite?: string;
|
|
7
9
|
initialDelay?: string;
|
|
8
|
-
initialDelaySeconds?: {
|
|
10
|
+
initialDelaySeconds?: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
9
13
|
interval?: string;
|
|
10
14
|
metrics?: ProbeDatadogMetrics;
|
|
11
15
|
pollingInterval?: string;
|
|
12
16
|
probeTimeout?: string;
|
|
13
|
-
retry?: {
|
|
17
|
+
retry?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
14
20
|
stopOnFailure?: boolean;
|
|
15
21
|
syntheticsTest?: ProbeSyntheticsTest;
|
|
16
22
|
verbosity?: string;
|
|
@@ -2,16 +2,22 @@ import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
|
2
2
|
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
3
3
|
export interface ProbeDynatraceProbe {
|
|
4
4
|
apiTokenSecretName?: string;
|
|
5
|
-
attempt?: {
|
|
5
|
+
attempt?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
6
8
|
comparator?: ProbeComparator;
|
|
7
9
|
endpoint?: string;
|
|
8
10
|
initialDelay?: string;
|
|
9
|
-
initialDelaySeconds?: {
|
|
11
|
+
initialDelaySeconds?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
10
14
|
interval?: string;
|
|
11
15
|
metrics?: ProbeMetrics;
|
|
12
16
|
pollingInterval?: string;
|
|
13
17
|
probeTimeout?: string;
|
|
14
|
-
retry?: {
|
|
18
|
+
retry?: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
15
21
|
stopOnFailure?: boolean;
|
|
16
22
|
timeFrame?: string;
|
|
17
23
|
verbosity?: string;
|
|
@@ -2,9 +2,13 @@ export interface ProbeEvaluationWindow {
|
|
|
2
2
|
/**
|
|
3
3
|
* End time of evaluation
|
|
4
4
|
*/
|
|
5
|
-
evaluationEndTime?: {
|
|
5
|
+
evaluationEndTime?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* Start time of evaluation
|
|
8
10
|
*/
|
|
9
|
-
evaluationStartTime?: {
|
|
11
|
+
evaluationStartTime?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
10
14
|
}
|
|
@@ -3,16 +3,22 @@ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders
|
|
|
3
3
|
import type { ProbeMethod } from '../schemas/ProbeMethod';
|
|
4
4
|
import type { ProbeTlsConfig } from '../schemas/ProbeTlsConfig';
|
|
5
5
|
export interface ProbeHttpProbe {
|
|
6
|
-
attempt?: {
|
|
6
|
+
attempt?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
7
9
|
auth?: ProbeAuthorization;
|
|
8
10
|
headers?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders[];
|
|
9
11
|
initialDelay?: string;
|
|
10
|
-
initialDelaySeconds?: {
|
|
12
|
+
initialDelaySeconds?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
11
15
|
interval?: string;
|
|
12
16
|
method?: ProbeMethod;
|
|
13
17
|
pollingInterval?: string;
|
|
14
18
|
probeTimeout?: string;
|
|
15
|
-
retry?: {
|
|
19
|
+
retry?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
16
22
|
stopOnFailure?: boolean;
|
|
17
23
|
tlsConfig?: ProbeTlsConfig;
|
|
18
24
|
url?: string;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export interface ProbeK8SProbe {
|
|
2
|
-
attempt?: {
|
|
2
|
+
attempt?: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
3
5
|
fieldSelector?: string;
|
|
4
6
|
group?: string;
|
|
5
7
|
initialDelay?: string;
|
|
6
|
-
initialDelaySeconds?: {
|
|
8
|
+
initialDelaySeconds?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
7
11
|
interval?: string;
|
|
8
12
|
labelSelector?: string;
|
|
9
13
|
namespace?: string;
|
|
@@ -12,7 +16,9 @@ export interface ProbeK8SProbe {
|
|
|
12
16
|
probeTimeout?: string;
|
|
13
17
|
resource?: string;
|
|
14
18
|
resourceNames?: string;
|
|
15
|
-
retry?: {
|
|
19
|
+
retry?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
16
22
|
stopOnFailure?: boolean;
|
|
17
23
|
verbosity?: string;
|
|
18
24
|
version?: string;
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
|
|
3
3
|
export interface ProbeKubernetesCmdProbe {
|
|
4
|
-
attempt?: {
|
|
4
|
+
attempt?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
command?: string;
|
|
6
8
|
comparator?: ProbeComparator;
|
|
7
9
|
env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
|
|
8
10
|
initialDelay?: string;
|
|
9
|
-
initialDelaySeconds?: {
|
|
11
|
+
initialDelaySeconds?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
10
14
|
interval?: string;
|
|
11
15
|
pollingInterval?: string;
|
|
12
16
|
probeTimeout?: string;
|
|
13
|
-
retry?: {
|
|
14
|
-
|
|
17
|
+
retry?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
source?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
15
23
|
stopOnFailure?: boolean;
|
|
16
24
|
verbosity?: string;
|
|
17
25
|
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
|
|
3
3
|
export interface ProbeLinuxCmdProbe {
|
|
4
|
-
attempt?: {
|
|
4
|
+
attempt?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
command?: string;
|
|
6
8
|
comparator?: ProbeComparator;
|
|
7
9
|
env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
|
|
8
10
|
initialDelay?: string;
|
|
9
|
-
initialDelaySeconds?: {
|
|
11
|
+
initialDelaySeconds?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
10
14
|
interval?: string;
|
|
11
15
|
pollingInterval?: string;
|
|
12
16
|
probeTimeout?: string;
|
|
13
|
-
retry?: {
|
|
14
|
-
|
|
17
|
+
retry?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
source?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
15
23
|
stopOnFailure?: boolean;
|
|
16
24
|
verbosity?: string;
|
|
17
25
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export interface ProbeProbeTemplateRunProperties {
|
|
2
|
-
attempt?: {
|
|
2
|
+
attempt?: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
3
5
|
initialDelay?: string;
|
|
4
6
|
interval?: string;
|
|
5
7
|
pollingInterval?: string;
|
|
6
|
-
retry?: {
|
|
8
|
+
retry?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
7
11
|
stopOnFailure?: boolean;
|
|
8
12
|
timeout?: string;
|
|
9
13
|
verbosity?: string;
|
|
@@ -2,18 +2,24 @@ import type { ProbeAuthorization } from '../schemas/ProbeAuthorization';
|
|
|
2
2
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
3
3
|
import type { ProbeTlsConfig } from '../schemas/ProbeTlsConfig';
|
|
4
4
|
export interface ProbePromProbe {
|
|
5
|
-
attempt?: {
|
|
5
|
+
attempt?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
6
8
|
auth?: ProbeAuthorization;
|
|
7
9
|
comparator?: ProbeComparator;
|
|
8
10
|
endpoint?: string;
|
|
9
11
|
initialDelay?: string;
|
|
10
|
-
initialDelaySeconds?: {
|
|
12
|
+
initialDelaySeconds?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
11
15
|
interval?: string;
|
|
12
16
|
pollingInterval?: string;
|
|
13
17
|
probeTimeout?: string;
|
|
14
18
|
query?: string;
|
|
15
19
|
queryPath?: string;
|
|
16
|
-
retry?: {
|
|
20
|
+
retry?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
17
23
|
stopOnFailure?: boolean;
|
|
18
24
|
tlsConfig?: ProbeTlsConfig;
|
|
19
25
|
verbosity?: string;
|
|
@@ -2,18 +2,24 @@ import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
|
2
2
|
import type { ProbeEvaluationWindow } from '../schemas/ProbeEvaluationWindow';
|
|
3
3
|
import type { ProbeSloSourceMetadata } from '../schemas/ProbeSloSourceMetadata';
|
|
4
4
|
export interface ProbeSloProbe {
|
|
5
|
-
attempt?: {
|
|
5
|
+
attempt?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
6
8
|
comparator?: ProbeComparator;
|
|
7
9
|
evaluationTimeout?: string;
|
|
8
10
|
evaluationWindow?: ProbeEvaluationWindow;
|
|
9
11
|
initialDelay?: string;
|
|
10
|
-
initialDelaySeconds?: {
|
|
12
|
+
initialDelaySeconds?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
11
15
|
insecureSkipVerify?: boolean;
|
|
12
16
|
interval?: string;
|
|
13
17
|
platformEndpoint?: string;
|
|
14
18
|
pollingInterval?: string;
|
|
15
19
|
probeTimeout?: string;
|
|
16
|
-
retry?: {
|
|
20
|
+
retry?: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
17
23
|
sloIdentifier?: string;
|
|
18
24
|
sloSourceMetadata?: ProbeSloSourceMetadata;
|
|
19
25
|
stopOnFailure?: boolean;
|
|
@@ -2,6 +2,8 @@ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } fr
|
|
|
2
2
|
export interface ProbeTlsConfigSm {
|
|
3
3
|
caCrt?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
|
|
4
4
|
clientCrt?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
|
|
5
|
-
insecureSkipVerify?: {
|
|
5
|
+
insecureSkipVerify?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
6
8
|
key?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
|
|
7
9
|
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
|
|
3
3
|
export interface ProbeWindowsCmdProbe {
|
|
4
|
-
attempt?: {
|
|
4
|
+
attempt?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
5
7
|
command?: string;
|
|
6
8
|
comparator?: ProbeComparator;
|
|
7
9
|
env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
|
|
8
10
|
initialDelay?: string;
|
|
9
|
-
initialDelaySeconds?: {
|
|
11
|
+
initialDelaySeconds?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
10
14
|
interval?: string;
|
|
11
15
|
pollingInterval?: string;
|
|
12
16
|
probeTimeout?: string;
|
|
13
|
-
retry?: {
|
|
17
|
+
retry?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
14
20
|
stopOnFailure?: boolean;
|
|
15
21
|
verbosity?: string;
|
|
16
22
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RiskDetectionMethod = 'AI' | 'RiskAnalyzer';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RiskCollectionSummary } from '../schemas/RiskCollectionSummary';
|
|
2
|
+
import type { RiskDetectionMethod } from '../schemas/RiskDetectionMethod';
|
|
2
3
|
import type { RiskScanResult } from '../schemas/RiskScanResult';
|
|
3
4
|
import type { RiskRiskSummary } from '../schemas/RiskRiskSummary';
|
|
4
5
|
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
@@ -14,6 +15,7 @@ export interface RiskScan {
|
|
|
14
15
|
*/
|
|
15
16
|
createdBy?: string;
|
|
16
17
|
description?: string;
|
|
18
|
+
detectionMethod?: RiskDetectionMethod;
|
|
17
19
|
errorMessage?: string;
|
|
18
20
|
id?: string;
|
|
19
21
|
identity?: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RiskProbeExecutionExperimentSource } from '../schemas/RiskProbeExecutionExperimentSource';
|
|
2
|
+
import type { RiskProbeExecutionPipelineStepSource } from '../schemas/RiskProbeExecutionPipelineStepSource';
|
|
3
|
+
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
4
|
+
export interface RiskoccurrencesProbeExecutionSource {
|
|
5
|
+
experiment?: RiskProbeExecutionExperimentSource;
|
|
6
|
+
pipelineStep?: RiskProbeExecutionPipelineStepSource;
|
|
7
|
+
probeId?: string;
|
|
8
|
+
probeName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Status captures the probe execution status from the chaos execution node.
|
|
11
|
+
*/
|
|
12
|
+
status?: ExecutionChaosStepStatus;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { RiskDetectionMethod } from '../schemas/RiskDetectionMethod';
|
|
1
2
|
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
2
3
|
import type { RiskScanSource } from '../schemas/RiskScanSource';
|
|
3
4
|
export interface RiskscansCreateRequest {
|
|
4
5
|
description?: string;
|
|
6
|
+
detectionMethod?: RiskDetectionMethod;
|
|
5
7
|
identity: string;
|
|
6
8
|
name: string;
|
|
7
9
|
scanType: RiskScanType;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { RiskscansOccurrenceContext } from '../schemas/RiskscansOccurrenceContext';
|
|
2
|
+
import type { RiskoccurrencesProbeExecutionSource } from '../schemas/RiskoccurrencesProbeExecutionSource';
|
|
2
3
|
export interface RiskscansOccurrenceDetails {
|
|
3
4
|
context?: RiskscansOccurrenceContext;
|
|
4
5
|
detectedAt?: number;
|
|
5
6
|
occurrenceId?: string;
|
|
7
|
+
probeExecutionSource?: RiskoccurrencesProbeExecutionSource;
|
|
6
8
|
resolutionId?: string;
|
|
7
9
|
resolutionMsg?: string;
|
|
8
10
|
resolvedAt?: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RiskCollectionSummary } from '../schemas/RiskCollectionSummary';
|
|
2
2
|
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
3
|
+
import type { RiskDetectionMethod } from '../schemas/RiskDetectionMethod';
|
|
3
4
|
import type { RiskScanResult } from '../schemas/RiskScanResult';
|
|
4
5
|
import type { RiskRiskSummary } from '../schemas/RiskRiskSummary';
|
|
5
6
|
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
@@ -13,6 +14,7 @@ export interface RiskscansRiskScanResponse {
|
|
|
13
14
|
createdAt?: number;
|
|
14
15
|
createdBy?: HcesdkUserDetails;
|
|
15
16
|
description?: string;
|
|
17
|
+
detectionMethod?: RiskDetectionMethod;
|
|
16
18
|
errorMessage?: string;
|
|
17
19
|
id?: string;
|
|
18
20
|
identity?: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { RiskEvidenceResource } from '../schemas/RiskEvidenceResource';
|
|
2
|
+
import type { RiskoccurrencesProbeExecutionSource } from '../schemas/RiskoccurrencesProbeExecutionSource';
|
|
2
3
|
export interface ScannedrisksOccurrenceDetail {
|
|
3
4
|
detectionRunId?: string;
|
|
4
5
|
evidence?: string[];
|
|
5
6
|
evidenceResource?: RiskEvidenceResource;
|
|
7
|
+
probeExecutionSource?: RiskoccurrencesProbeExecutionSource;
|
|
6
8
|
remediation?: string[];
|
|
7
9
|
resilienceTestingRec?: string[];
|
|
8
10
|
scanId?: string;
|
|
@@ -2,9 +2,13 @@ import type { TemplateInputCategory } from '../schemas/TemplateInputCategory';
|
|
|
2
2
|
import type { TemplateInputReference } from '../schemas/TemplateInputReference';
|
|
3
3
|
import type { TemplateInputType } from '../schemas/TemplateInputType';
|
|
4
4
|
export interface TemplateInput {
|
|
5
|
-
allowedValues?: Array<{
|
|
5
|
+
allowedValues?: Array<{
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>;
|
|
6
8
|
category?: TemplateInputCategory;
|
|
7
|
-
default?: {
|
|
9
|
+
default?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
8
12
|
description?: string;
|
|
9
13
|
name: string;
|
|
10
14
|
path?: string;
|
|
@@ -15,5 +19,7 @@ export interface TemplateInput {
|
|
|
15
19
|
tooltipId?: string;
|
|
16
20
|
type?: TemplateInputType;
|
|
17
21
|
validator?: string;
|
|
18
|
-
value: {
|
|
22
|
+
value: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
19
25
|
}
|
package/package.json
CHANGED