@harnessio/react-chaos-manager-client 1.71.0 → 1.73.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.
@@ -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';
@@ -0,0 +1 @@
1
+ export type RiskDetectionMethod = 'AI' | 'RiskAnalyzer';
@@ -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 {};
@@ -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
+ }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.71.0",
3
+ "version": "1.73.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",