@harnessio/react-chaos-manager-client 1.67.0 → 1.69.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.
Files changed (61) hide show
  1. package/dist/chaos-manager/src/services/index.d.ts +6 -0
  2. package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +2 -2
  3. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +1 -4
  4. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeData.d.ts +1 -0
  5. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +2 -0
  6. package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.d.ts +2 -0
  7. package/dist/chaos-manager/src/services/schemas/ChaosservicesCreateRequest.d.ts +2 -0
  8. package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutputResponse.d.ts +1 -1
  9. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +2 -0
  10. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +1 -1
  11. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.d.ts +1 -1
  12. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs.d.ts +1 -1
  13. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs.d.ts +1 -1
  14. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +1 -1
  15. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +1 -1
  16. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.d.ts +1 -1
  17. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs.d.ts +1 -1
  18. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs.d.ts +1 -1
  19. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +1 -1
  20. package/dist/chaos-manager/src/services/schemas/ImageRegistryCustomImagesRequest.d.ts +1 -0
  21. package/dist/chaos-manager/src/services/schemas/ImageregistriesCustomImages.d.ts +1 -0
  22. package/dist/chaos-manager/src/services/schemas/ModelInput.d.ts +2 -2
  23. package/dist/chaos-manager/src/services/schemas/MongodbInfrastructureType.d.ts +1 -0
  24. package/dist/chaos-manager/src/services/schemas/MongodbInfrastructureType.js +4 -0
  25. package/dist/chaos-manager/src/services/schemas/PipelinesCreatePipelineResponse.d.ts +1 -1
  26. package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +3 -3
  27. package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +1 -1
  28. package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +3 -3
  29. package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbe.d.ts +3 -3
  30. package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbe.d.ts +3 -3
  31. package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +2 -2
  32. package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindowTemplate.d.ts +2 -2
  33. package/dist/chaos-manager/src/services/schemas/ProbeHttpProbe.d.ts +3 -3
  34. package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +3 -3
  35. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +4 -4
  36. package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +4 -4
  37. package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateRunProperties.d.ts +2 -2
  38. package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +3 -3
  39. package/dist/chaos-manager/src/services/schemas/ProbeRuleDetails.d.ts +4 -0
  40. package/dist/chaos-manager/src/services/schemas/ProbeRuleDetails.js +4 -0
  41. package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +3 -3
  42. package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.d.ts +1 -1
  43. package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +3 -3
  44. package/dist/chaos-manager/src/services/schemas/RiskProbeExecutionExperimentSource.d.ts +4 -0
  45. package/dist/chaos-manager/src/services/schemas/RiskProbeExecutionExperimentSource.js +4 -0
  46. package/dist/chaos-manager/src/services/schemas/RiskProbeExecutionPipelineStepSource.d.ts +4 -0
  47. package/dist/chaos-manager/src/services/schemas/RiskProbeExecutionPipelineStepSource.js +4 -0
  48. package/dist/chaos-manager/src/services/schemas/RiskProbeExecutionSource.d.ts +6 -0
  49. package/dist/chaos-manager/src/services/schemas/RiskProbeExecutionSource.js +1 -0
  50. package/dist/chaos-manager/src/services/schemas/RiskScanSource.d.ts +2 -0
  51. package/dist/chaos-manager/src/services/schemas/RiskScanSourceProbeExecution.d.ts +6 -0
  52. package/dist/chaos-manager/src/services/schemas/RiskScanSourceProbeExecution.js +1 -0
  53. package/dist/chaos-manager/src/services/schemas/RiskScanType.d.ts +1 -1
  54. package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapCell.d.ts +1 -0
  55. package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +3 -3
  56. package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +1 -1
  57. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +1 -1
  58. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -0
  59. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +2 -0
  60. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +2 -0
  61. package/package.json +1 -1
@@ -1091,6 +1091,7 @@ export type { ModelWorkflowSortInput } from './schemas/ModelWorkflowSortInput';
1091
1091
  export type { ModelWorkflowSortingField } from './schemas/ModelWorkflowSortingField';
1092
1092
  export type { ModelWorkflowType } from './schemas/ModelWorkflowType';
1093
1093
  export type { MongodbImportType } from './schemas/MongodbImportType';
1094
+ export type { MongodbInfrastructureType } from './schemas/MongodbInfrastructureType';
1094
1095
  export type { MongodbManagedBy } from './schemas/MongodbManagedBy';
1095
1096
  export type { NetworkmapCanRetryExperimentCreationResponse } from './schemas/NetworkmapCanRetryExperimentCreationResponse';
1096
1097
  export type { NetworkmapGetTargetNetworkMapResponse } from './schemas/NetworkmapGetTargetNetworkMapResponse';
@@ -1153,6 +1154,7 @@ export type { ProbeProbeTemplateRunProperties } from './schemas/ProbeProbeTempla
1153
1154
  export type { ProbeProbeType } from './schemas/ProbeProbeType';
1154
1155
  export type { ProbePromProbe } from './schemas/ProbePromProbe';
1155
1156
  export type { ProbePromProbeTemplate } from './schemas/ProbePromProbeTemplate';
1157
+ export type { ProbeRuleDetails } from './schemas/ProbeRuleDetails';
1156
1158
  export type { ProbeSloProbe } from './schemas/ProbeSloProbe';
1157
1159
  export type { ProbeSloProbeTemplate } from './schemas/ProbeSloProbeTemplate';
1158
1160
  export type { ProbeSloSourceMetadata } from './schemas/ProbeSloSourceMetadata';
@@ -1194,6 +1196,9 @@ export type { RiskCollectionError } from './schemas/RiskCollectionError';
1194
1196
  export type { RiskCollectionSummary } from './schemas/RiskCollectionSummary';
1195
1197
  export type { RiskDiscoveredService } from './schemas/RiskDiscoveredService';
1196
1198
  export type { RiskEvidenceResource } from './schemas/RiskEvidenceResource';
1199
+ export type { RiskProbeExecutionExperimentSource } from './schemas/RiskProbeExecutionExperimentSource';
1200
+ export type { RiskProbeExecutionPipelineStepSource } from './schemas/RiskProbeExecutionPipelineStepSource';
1201
+ export type { RiskProbeExecutionSource } from './schemas/RiskProbeExecutionSource';
1197
1202
  export type { RiskRiskDataSource } from './schemas/RiskRiskDataSource';
1198
1203
  export type { RiskRiskRulePrompt } from './schemas/RiskRiskRulePrompt';
1199
1204
  export type { RiskRiskRuleSpec } from './schemas/RiskRiskRuleSpec';
@@ -1202,6 +1207,7 @@ export type { RiskScan } from './schemas/RiskScan';
1202
1207
  export type { RiskScanResult } from './schemas/RiskScanResult';
1203
1208
  export type { RiskScanSource } from './schemas/RiskScanSource';
1204
1209
  export type { RiskScanSourcePipeline } from './schemas/RiskScanSourcePipeline';
1210
+ export type { RiskScanSourceProbeExecution } from './schemas/RiskScanSourceProbeExecution';
1205
1211
  export type { RiskScanSourceServiceDiscovery } from './schemas/RiskScanSourceServiceDiscovery';
1206
1212
  export type { RiskScanStatus } from './schemas/RiskScanStatus';
1207
1213
  export type { RiskScanType } from './schemas/RiskScanType';
@@ -1,8 +1,8 @@
1
1
  export interface ActionActionTemplateRunProperties {
2
2
  initialDelay?: string;
3
3
  interval?: string;
4
- iterations?: string | number;
5
- maxRetries?: string | number;
4
+ iterations?: {};
5
+ maxRetries?: {};
6
6
  stopOnFailure?: boolean;
7
7
  timeout?: string;
8
8
  verbosity?: string;
@@ -8,10 +8,6 @@ export interface ChaosExecutionNodesChaosExecutionNode {
8
8
  chaosData?: ChaosExecutionNodesChaosData;
9
9
  duration?: number;
10
10
  errorData?: ChaosExecutionNodesErrorData;
11
- /**
12
- * TODO: Add this back when we have a way to store the service ref in the database
13
- * ServiceRef *ServiceRef `json:"serviceRef,omitempty" bson:"service_ref,omitempty"`
14
- */
15
11
  estimatedTime?: number;
16
12
  executionOutput?: ChaosExecutionNodesExecutionOutput;
17
13
  experimentID?: string;
@@ -24,6 +20,7 @@ export interface ChaosExecutionNodesChaosExecutionNode {
24
20
  orgID?: string;
25
21
  parentUniqueId?: string;
26
22
  projectID?: string;
23
+ serviceId?: string;
27
24
  spec?: string;
28
25
  startedAt?: number;
29
26
  status?: ExecutionChaosStepStatus;
@@ -9,5 +9,6 @@ export interface ChaosExecutionNodesProbeData {
9
9
  probeType?: string;
10
10
  resiliencyScore?: number;
11
11
  risks?: string[];
12
+ serviceId?: string;
12
13
  weightage?: number;
13
14
  }
@@ -1,6 +1,7 @@
1
1
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
2
2
  import type { TemplateInput } from '../schemas/TemplateInput';
3
3
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
4
+ import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
4
5
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
5
6
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
6
7
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -15,6 +16,7 @@ export interface ChaosprobetemplateProbeTemplate {
15
16
  name: string;
16
17
  probeProperties?: ProbeProbeTemplateProperties;
17
18
  revision?: number;
19
+ ruleDetails?: ProbeRuleDetails;
18
20
  runProperties?: ProbeProbeTemplateRunProperties;
19
21
  tags?: string[];
20
22
  type?: ProbeProbeType;
@@ -1,4 +1,5 @@
1
1
  import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
2
+ import type { MongodbInfrastructureType } from '../schemas/MongodbInfrastructureType';
2
3
  import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
3
4
  import type { DatabaseDiscoveredServiceSpec } from '../schemas/DatabaseDiscoveredServiceSpec';
4
5
  export interface ChaosservicesChaosServiceResponse {
@@ -14,6 +15,7 @@ export interface ChaosservicesChaosServiceResponse {
14
15
  externalServiceId?: string;
15
16
  identity?: string;
16
17
  infrastructureId?: string;
18
+ infrastructureType?: MongodbInfrastructureType;
17
19
  isRemoved: boolean;
18
20
  name: string;
19
21
  namespace?: string;
@@ -1,3 +1,4 @@
1
+ import type { MongodbInfrastructureType } from '../schemas/MongodbInfrastructureType';
1
2
  import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
2
3
  export interface ChaosservicesCreateRequest {
3
4
  agentId?: string;
@@ -6,6 +7,7 @@ export interface ChaosservicesCreateRequest {
6
7
  externalServiceId?: string;
7
8
  identity?: string;
8
9
  infrastructureId?: string;
10
+ infrastructureType?: MongodbInfrastructureType;
9
11
  name?: string;
10
12
  onboardingId?: string;
11
13
  probes?: ChaosservicesServiceProbeAssociation[];
@@ -1,5 +1,5 @@
1
1
  export interface ExecutionExecutionOutputResponse {
2
2
  data?: {
3
- [key: string]: string | number;
3
+ [key: string]: any;
4
4
  };
5
5
  }
@@ -2,6 +2,7 @@ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '
2
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
3
3
  import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
5
+ import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
5
6
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
6
7
  import type { ProbeProbeType } from '../schemas/ProbeProbeType';
7
8
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -36,6 +37,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
36
37
  * it increments every time a new version of fault is published
37
38
  */
38
39
  revision?: number;
40
+ ruleDetails?: ProbeRuleDetails;
39
41
  runProperties?: ProbeProbeTemplateRunProperties;
40
42
  tags?: string[];
41
43
  template?: string;
@@ -1,5 +1,5 @@
1
1
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics {
2
2
  applicationName?: string;
3
- durationInMin?: string | number;
3
+ durationInMin?: {};
4
4
  metricsFullPath?: string;
5
5
  }
@@ -3,7 +3,7 @@ import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
3
3
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs {
4
4
  aggregation?: string;
5
5
  connectorID?: string;
6
- durationInMin?: string | number;
6
+ durationInMin?: {};
7
7
  formula?: string;
8
8
  queries?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogV2Query[];
9
9
  query?: string;
@@ -1,6 +1,6 @@
1
1
  import type { ProbeMetrics } from '../schemas/ProbeMetrics';
2
2
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs {
3
3
  connectorID?: string;
4
- durationInMin?: string | number;
4
+ durationInMin?: {};
5
5
  metrics?: ProbeMetrics;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import type { ProbeApmtlsConfig } from '../schemas/ProbeApmtlsConfig';
2
2
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs {
3
3
  connectorID?: string;
4
- durationInMin?: string | number;
4
+ durationInMin?: {};
5
5
  fieldToFetch?: string;
6
6
  searchQuery?: string;
7
7
  tlsConfig?: ProbeApmtlsConfig;
@@ -1,4 +1,4 @@
1
1
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics {
2
- durationInMin?: string | number;
2
+ durationInMin?: {};
3
3
  query?: string;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics {
2
2
  applicationName?: string;
3
- durationInMin?: string | number;
3
+ durationInMin?: {};
4
4
  metricsFullPath?: string;
5
5
  }
@@ -3,7 +3,7 @@ import type { ProbeSyntheticsTestTemplate } from '../schemas/ProbeSyntheticsTest
3
3
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs {
4
4
  aggregation?: string;
5
5
  connectorID?: string;
6
- durationInMin?: string | number;
6
+ durationInMin?: {};
7
7
  formula?: string;
8
8
  queries?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogV2Query[];
9
9
  query?: string;
@@ -1,6 +1,6 @@
1
1
  import type { ProbeDynatraceMetricsTemplate } from '../schemas/ProbeDynatraceMetricsTemplate';
2
2
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs {
3
3
  connectorID?: string;
4
- durationInMin?: string | number;
4
+ durationInMin?: {};
5
5
  metrics?: ProbeDynatraceMetricsTemplate;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import type { ProbeTlsConfigSm } from '../schemas/ProbeTlsConfigSm';
2
2
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs {
3
3
  connectorID?: string;
4
- durationInMin?: string | number;
4
+ durationInMin?: {};
5
5
  fieldToFetch?: string;
6
6
  searchQuery?: string;
7
7
  tlsConfig?: ProbeTlsConfigSm;
@@ -1,4 +1,4 @@
1
1
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics {
2
- durationInMin?: string | number;
2
+ durationInMin?: {};
3
3
  query?: string;
4
4
  }
@@ -2,5 +2,6 @@ export interface ImageRegistryCustomImagesRequest {
2
2
  ddcr?: string;
3
3
  ddcrFault?: string;
4
4
  ddcrLib?: string;
5
+ loadTestRunner?: string;
5
6
  logWatcher?: string;
6
7
  }
@@ -2,5 +2,6 @@ export interface ImageregistriesCustomImages {
2
2
  ddcr?: string;
3
3
  ddcrFault?: string;
4
4
  ddcrLib?: string;
5
+ loadTestRunner?: string;
5
6
  logWatcher?: string;
6
7
  }
@@ -6,7 +6,7 @@ export interface ModelInput {
6
6
  /**
7
7
  * Default value for the input
8
8
  */
9
- default?: string | number;
9
+ default?: {};
10
10
  /**
11
11
  * Description of the input (minimum 10 characters)
12
12
  */
@@ -34,5 +34,5 @@ export interface ModelInput {
34
34
  /**
35
35
  * Value of the input - can be static or runtime (string, boolean, or number)
36
36
  */
37
- value?: string | number;
37
+ value?: {};
38
38
  }
@@ -0,0 +1 @@
1
+ export type MongodbInfrastructureType = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'KubernetesV2' | 'Linux' | 'Windows';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -5,6 +5,6 @@ export interface PipelinesCreatePipelineResponse {
5
5
  identifier?: string;
6
6
  };
7
7
  message?: string;
8
- metaData?: string | number;
8
+ metaData?: {};
9
9
  status?: string;
10
10
  }
@@ -9,19 +9,19 @@ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkE
9
9
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
10
10
  export interface ProbeApmProbe {
11
11
  appDynamicsProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs;
12
- attempt?: string | number;
12
+ attempt?: {};
13
13
  comparator?: ProbeComparator;
14
14
  datadogApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs;
15
15
  dynatraceApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs;
16
16
  gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs;
17
17
  initialDelay?: string;
18
- initialDelaySeconds?: string | number;
18
+ initialDelaySeconds?: {};
19
19
  interval?: string;
20
20
  newRelicProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs;
21
21
  pollingInterval?: string;
22
22
  probeTimeout?: string;
23
23
  prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
24
- retry?: string | number;
24
+ retry?: {};
25
25
  splunkEnterpriseProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs;
26
26
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs;
27
27
  stopOnFailure?: boolean;
@@ -4,5 +4,5 @@ export interface ProbeCmdProbeTemplate {
4
4
  command?: string;
5
5
  comparator?: ProbeComparatorTemplate;
6
6
  env?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv[];
7
- source?: string | number;
7
+ source?: {};
8
8
  }
@@ -14,7 +14,7 @@ export interface ProbeContainerProbe {
14
14
  [key: string]: string;
15
15
  };
16
16
  args?: string;
17
- attempt?: string | number;
17
+ attempt?: {};
18
18
  command?: string[];
19
19
  comparator?: ProbeComparator;
20
20
  containerSecurityContext?: V1SecurityContext;
@@ -26,7 +26,7 @@ export interface ProbeContainerProbe {
26
26
  imagePullPolicy?: V1PullPolicy;
27
27
  imagePullSecrets?: string[];
28
28
  initialDelay?: string;
29
- initialDelaySeconds?: string | number;
29
+ initialDelaySeconds?: {};
30
30
  interval?: string;
31
31
  labels?: {
32
32
  [key: string]: string;
@@ -39,7 +39,7 @@ export interface ProbeContainerProbe {
39
39
  pollingInterval?: string;
40
40
  probeTimeout?: string;
41
41
  resources?: CommonResourceRequirements;
42
- retry?: string | number;
42
+ retry?: {};
43
43
  serviceAccountName?: string;
44
44
  stopOnFailure?: boolean;
45
45
  tolerations?: V1Toleration[];
@@ -1,16 +1,16 @@
1
1
  import type { ProbeDatadogMetrics } from '../schemas/ProbeDatadogMetrics';
2
2
  import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
3
3
  export interface ProbeDatadogProbe {
4
- attempt?: string | number;
4
+ attempt?: {};
5
5
  datadogCredentialsSecretName?: string;
6
6
  datadogSite?: string;
7
7
  initialDelay?: string;
8
- initialDelaySeconds?: string | number;
8
+ initialDelaySeconds?: {};
9
9
  interval?: string;
10
10
  metrics?: ProbeDatadogMetrics;
11
11
  pollingInterval?: string;
12
12
  probeTimeout?: string;
13
- retry?: string | number;
13
+ retry?: {};
14
14
  stopOnFailure?: boolean;
15
15
  syntheticsTest?: ProbeSyntheticsTest;
16
16
  verbosity?: string;
@@ -2,16 +2,16 @@ 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?: string | number;
5
+ attempt?: {};
6
6
  comparator?: ProbeComparator;
7
7
  endpoint?: string;
8
8
  initialDelay?: string;
9
- initialDelaySeconds?: string | number;
9
+ initialDelaySeconds?: {};
10
10
  interval?: string;
11
11
  metrics?: ProbeMetrics;
12
12
  pollingInterval?: string;
13
13
  probeTimeout?: string;
14
- retry?: string | number;
14
+ retry?: {};
15
15
  stopOnFailure?: boolean;
16
16
  timeFrame?: string;
17
17
  verbosity?: string;
@@ -2,9 +2,9 @@ export interface ProbeEvaluationWindow {
2
2
  /**
3
3
  * End time of evaluation
4
4
  */
5
- evaluationEndTime?: string | number;
5
+ evaluationEndTime?: {};
6
6
  /**
7
7
  * Start time of evaluation
8
8
  */
9
- evaluationStartTime?: string | number;
9
+ evaluationStartTime?: {};
10
10
  }
@@ -1,4 +1,4 @@
1
1
  export interface ProbeEvaluationWindowTemplate {
2
- evaluationEndTime?: string | number;
3
- evaluationStartTime?: string | number;
2
+ evaluationEndTime?: {};
3
+ evaluationStartTime?: {};
4
4
  }
@@ -3,16 +3,16 @@ 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?: string | number;
6
+ attempt?: {};
7
7
  auth?: ProbeAuthorization;
8
8
  headers?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders[];
9
9
  initialDelay?: string;
10
- initialDelaySeconds?: string | number;
10
+ initialDelaySeconds?: {};
11
11
  interval?: string;
12
12
  method?: ProbeMethod;
13
13
  pollingInterval?: string;
14
14
  probeTimeout?: string;
15
- retry?: string | number;
15
+ retry?: {};
16
16
  stopOnFailure?: boolean;
17
17
  tlsConfig?: ProbeTlsConfig;
18
18
  url?: string;
@@ -1,9 +1,9 @@
1
1
  export interface ProbeK8SProbe {
2
- attempt?: string | number;
2
+ attempt?: {};
3
3
  fieldSelector?: string;
4
4
  group?: string;
5
5
  initialDelay?: string;
6
- initialDelaySeconds?: string | number;
6
+ initialDelaySeconds?: {};
7
7
  interval?: string;
8
8
  labelSelector?: string;
9
9
  namespace?: string;
@@ -12,7 +12,7 @@ export interface ProbeK8SProbe {
12
12
  probeTimeout?: string;
13
13
  resource?: string;
14
14
  resourceNames?: string;
15
- retry?: string | number;
15
+ retry?: {};
16
16
  stopOnFailure?: boolean;
17
17
  verbosity?: string;
18
18
  version?: string;
@@ -1,17 +1,17 @@
1
1
  import type { ProbeComparator } from '../schemas/ProbeComparator';
2
2
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
3
3
  export interface ProbeKubernetesCmdProbe {
4
- attempt?: string | number;
4
+ attempt?: {};
5
5
  command?: string;
6
6
  comparator?: ProbeComparator;
7
7
  env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
8
8
  initialDelay?: string;
9
- initialDelaySeconds?: string | number;
9
+ initialDelaySeconds?: {};
10
10
  interval?: string;
11
11
  pollingInterval?: string;
12
12
  probeTimeout?: string;
13
- retry?: string | number;
14
- source?: string | number;
13
+ retry?: {};
14
+ source?: {};
15
15
  stopOnFailure?: boolean;
16
16
  verbosity?: string;
17
17
  }
@@ -1,17 +1,17 @@
1
1
  import type { ProbeComparator } from '../schemas/ProbeComparator';
2
2
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
3
3
  export interface ProbeLinuxCmdProbe {
4
- attempt?: string | number;
4
+ attempt?: {};
5
5
  command?: string;
6
6
  comparator?: ProbeComparator;
7
7
  env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
8
8
  initialDelay?: string;
9
- initialDelaySeconds?: string | number;
9
+ initialDelaySeconds?: {};
10
10
  interval?: string;
11
11
  pollingInterval?: string;
12
12
  probeTimeout?: string;
13
- retry?: string | number;
14
- source?: string | number;
13
+ retry?: {};
14
+ source?: {};
15
15
  stopOnFailure?: boolean;
16
16
  verbosity?: string;
17
17
  }
@@ -1,9 +1,9 @@
1
1
  export interface ProbeProbeTemplateRunProperties {
2
- attempt?: string | number;
2
+ attempt?: {};
3
3
  initialDelay?: string;
4
4
  interval?: string;
5
5
  pollingInterval?: string;
6
- retry?: string | number;
6
+ retry?: {};
7
7
  stopOnFailure?: boolean;
8
8
  timeout?: string;
9
9
  verbosity?: string;
@@ -2,18 +2,18 @@ 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?: string | number;
5
+ attempt?: {};
6
6
  auth?: ProbeAuthorization;
7
7
  comparator?: ProbeComparator;
8
8
  endpoint?: string;
9
9
  initialDelay?: string;
10
- initialDelaySeconds?: string | number;
10
+ initialDelaySeconds?: {};
11
11
  interval?: string;
12
12
  pollingInterval?: string;
13
13
  probeTimeout?: string;
14
14
  query?: string;
15
15
  queryPath?: string;
16
- retry?: string | number;
16
+ retry?: {};
17
17
  stopOnFailure?: boolean;
18
18
  tlsConfig?: ProbeTlsConfig;
19
19
  verbosity?: string;
@@ -0,0 +1,4 @@
1
+ export interface ProbeRuleDetails {
2
+ isEnterprise?: boolean;
3
+ ruleIdentity?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -2,18 +2,18 @@ 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?: string | number;
5
+ attempt?: {};
6
6
  comparator?: ProbeComparator;
7
7
  evaluationTimeout?: string;
8
8
  evaluationWindow?: ProbeEvaluationWindow;
9
9
  initialDelay?: string;
10
- initialDelaySeconds?: string | number;
10
+ initialDelaySeconds?: {};
11
11
  insecureSkipVerify?: boolean;
12
12
  interval?: string;
13
13
  platformEndpoint?: string;
14
14
  pollingInterval?: string;
15
15
  probeTimeout?: string;
16
- retry?: string | number;
16
+ retry?: {};
17
17
  sloIdentifier?: string;
18
18
  sloSourceMetadata?: ProbeSloSourceMetadata;
19
19
  stopOnFailure?: boolean;
@@ -2,6 +2,6 @@ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } fr
2
2
  export interface ProbeTlsConfigSm {
3
3
  caCrt?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
4
4
  clientCrt?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
5
- insecureSkipVerify?: string | number;
5
+ insecureSkipVerify?: {};
6
6
  key?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
7
7
  }
@@ -1,16 +1,16 @@
1
1
  import type { ProbeComparator } from '../schemas/ProbeComparator';
2
2
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
3
3
  export interface ProbeWindowsCmdProbe {
4
- attempt?: string | number;
4
+ attempt?: {};
5
5
  command?: string;
6
6
  comparator?: ProbeComparator;
7
7
  env?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv[];
8
8
  initialDelay?: string;
9
- initialDelaySeconds?: string | number;
9
+ initialDelaySeconds?: {};
10
10
  interval?: string;
11
11
  pollingInterval?: string;
12
12
  probeTimeout?: string;
13
- retry?: string | number;
13
+ retry?: {};
14
14
  stopOnFailure?: boolean;
15
15
  verbosity?: string;
16
16
  }
@@ -0,0 +1,4 @@
1
+ export interface RiskProbeExecutionExperimentSource {
2
+ experimentID?: string;
3
+ experimentRunID?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface RiskProbeExecutionPipelineStepSource {
2
+ pipelineID?: string;
3
+ pipelineRunID?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { RiskProbeExecutionExperimentSource } from '../schemas/RiskProbeExecutionExperimentSource';
2
+ import type { RiskProbeExecutionPipelineStepSource } from '../schemas/RiskProbeExecutionPipelineStepSource';
3
+ export interface RiskProbeExecutionSource {
4
+ experiment?: RiskProbeExecutionExperimentSource;
5
+ pipelineStep?: RiskProbeExecutionPipelineStepSource;
6
+ }
@@ -1,6 +1,8 @@
1
1
  import type { RiskScanSourceServiceDiscovery } from '../schemas/RiskScanSourceServiceDiscovery';
2
2
  import type { RiskScanSourcePipeline } from '../schemas/RiskScanSourcePipeline';
3
+ import type { RiskScanSourceProbeExecution } from '../schemas/RiskScanSourceProbeExecution';
3
4
  export interface RiskScanSource {
4
5
  discoveryAgent?: RiskScanSourceServiceDiscovery;
5
6
  pipeline?: RiskScanSourcePipeline;
7
+ probeExecution?: RiskScanSourceProbeExecution;
6
8
  }
@@ -0,0 +1,6 @@
1
+ import type { RiskProbeExecutionSource } from '../schemas/RiskProbeExecutionSource';
2
+ export interface RiskScanSourceProbeExecution {
3
+ executionSource?: RiskProbeExecutionSource;
4
+ probeIdentity?: string;
5
+ probeName?: string;
6
+ }
@@ -1 +1 @@
1
- export type RiskScanType = 'DiscoveryAgent' | 'PipelineExecution';
1
+ export type RiskScanType = 'DiscoveryAgent' | 'PipelineExecution' | 'ProbeExecution';
@@ -1,5 +1,6 @@
1
1
  export interface RiskscansHeatmapCell {
2
2
  hasRisk?: boolean;
3
+ lastDetectedAt?: number;
3
4
  riskIdentity?: string;
4
5
  severity?: string;
5
6
  status?: string;
@@ -2,9 +2,9 @@ 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<string | number>;
5
+ allowedValues?: Array<{}>;
6
6
  category?: TemplateInputCategory;
7
- default?: string | number;
7
+ default?: {};
8
8
  description?: string;
9
9
  name: string;
10
10
  path?: string;
@@ -15,5 +15,5 @@ export interface TemplateInput {
15
15
  tooltipId?: string;
16
16
  type?: TemplateInputType;
17
17
  validator?: string;
18
- value: string | number;
18
+ value: {};
19
19
  }
@@ -2,5 +2,5 @@ import type { TemplateInputReference } from '../schemas/TemplateInputReference';
2
2
  export interface TemplateInputMinimum {
3
3
  name: string;
4
4
  reference?: TemplateInputReference;
5
- value: string | number;
5
+ value: {};
6
6
  }
@@ -7,5 +7,5 @@ export interface TemplateVariable {
7
7
  reference?: TemplateInputReference;
8
8
  required?: boolean;
9
9
  type?: TemplateVariableType;
10
- value: string | number;
10
+ value: {};
11
11
  }
@@ -8,6 +8,7 @@ import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
8
8
  import type { ProbeDynatraceProbe } from '../schemas/ProbeDynatraceProbe';
9
9
  import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
10
10
  import type { ProbePromProbe } from '../schemas/ProbePromProbe';
11
+ import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
11
12
  import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
12
13
  import type { TemplateVariable } from '../schemas/TemplateVariable';
13
14
  import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
@@ -30,6 +31,7 @@ export interface TypesCreateProbeResponse {
30
31
  probeId?: string;
31
32
  promProperties?: ProbePromProbe;
32
33
  revisionId?: string;
34
+ ruleDetails?: ProbeRuleDetails;
33
35
  sloProperties?: ProbeSloProbe;
34
36
  tags?: string[];
35
37
  variables?: TemplateVariable[];
@@ -5,6 +5,7 @@ import type { TemplateInput } from '../schemas/TemplateInput';
5
5
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
6
6
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
7
7
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
8
+ import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
8
9
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
9
10
  import type { TypesProbeType } from '../schemas/TypesProbeType';
10
11
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -28,6 +29,7 @@ export interface TypesGetProbeResponse {
28
29
  probeTemplateRef?: string;
29
30
  recentProbeRuns?: TypesProbeRecentExecutions[];
30
31
  risks?: string[];
32
+ ruleDetails?: ProbeRuleDetails;
31
33
  runProperties?: ProbeProbeTemplateRunProperties;
32
34
  tags?: string[];
33
35
  type?: TypesProbeType;
@@ -4,6 +4,7 @@ import type { TemplateInput } from '../schemas/TemplateInput';
4
4
  import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
5
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
6
6
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
7
+ import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
7
8
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
8
9
  import type { TypesProbeType } from '../schemas/TypesProbeType';
9
10
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -25,6 +26,7 @@ export interface TypesProbeRequest {
25
26
  probeTemplateRef?: string;
26
27
  recentProbeRuns?: TypesProbeRecentExecutions[];
27
28
  risks?: string[];
29
+ ruleDetails?: ProbeRuleDetails;
28
30
  runProperties?: ProbeProbeTemplateRunProperties;
29
31
  tags?: string[];
30
32
  type?: TypesProbeType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.67.0",
3
+ "version": "1.69.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",