@harnessio/react-chaos-manager-client 1.91.4 → 1.91.6

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.
@@ -48,7 +48,8 @@ export declare function listRiskExperimentRecommendations(props: ListRiskExperim
48
48
  /**
49
49
  * returns the live risk experiment recommendations. Missing recommendations are created by the background reconciler.
50
50
  * When scannedRiskIdentity is set, only that risk's recommendation is returned. scanIdentity limits the list to risks detected by that scan.
51
- * severity, source, and the serviceIdentity/serviceFilterV2 fields filter the same way as the scanned-risks list.
51
+ * With scanIdentity, serviceIdentity matches that scan's in-context service: the discovered service identity for an infra scan and the CD service identity for a pipeline scan.
52
+ * Without a scan, severity, source, and the serviceIdentity/serviceFilterV2 fields filter the same way as the scanned-risks list.
52
53
  * startTime and endTime are unix milliseconds and limit the list to recommendations created in that window.
53
54
  * sortField orders by name, severity, or lastUpdated (the default, newest first).
54
55
  */
@@ -9,7 +9,8 @@ export function listRiskExperimentRecommendations(props) {
9
9
  /**
10
10
  * returns the live risk experiment recommendations. Missing recommendations are created by the background reconciler.
11
11
  * When scannedRiskIdentity is set, only that risk's recommendation is returned. scanIdentity limits the list to risks detected by that scan.
12
- * severity, source, and the serviceIdentity/serviceFilterV2 fields filter the same way as the scanned-risks list.
12
+ * With scanIdentity, serviceIdentity matches that scan's in-context service: the discovered service identity for an infra scan and the CD service identity for a pipeline scan.
13
+ * Without a scan, severity, source, and the serviceIdentity/serviceFilterV2 fields filter the same way as the scanned-risks list.
13
14
  * startTime and endTime are unix milliseconds and limit the list to recommendations created in that window.
14
15
  * sortField orders by name, severity, or lastUpdated (the default, newest first).
15
16
  */
@@ -1333,6 +1333,7 @@ export type { RiskCollectionSummary } from './schemas/RiskCollectionSummary';
1333
1333
  export type { RiskDetectionMethod } from './schemas/RiskDetectionMethod';
1334
1334
  export type { RiskDiscoveredService } from './schemas/RiskDiscoveredService';
1335
1335
  export type { RiskEvidenceResource } from './schemas/RiskEvidenceResource';
1336
+ export type { RiskLinkedDiscoveredService } from './schemas/RiskLinkedDiscoveredService';
1336
1337
  export type { RiskLinkedService } from './schemas/RiskLinkedService';
1337
1338
  export type { RiskPipelineInfrastructure } from './schemas/RiskPipelineInfrastructure';
1338
1339
  export type { RiskProbeExecutionExperimentSource } from './schemas/RiskProbeExecutionExperimentSource';
@@ -0,0 +1,6 @@
1
+ export interface RiskLinkedDiscoveredService {
2
+ agentIdentity?: string;
3
+ environmentIdentity?: string;
4
+ externalID?: string;
5
+ identity?: string;
6
+ }
@@ -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,24 @@
1
+ import type { RiskLinkedDiscoveredService } from '../schemas/RiskLinkedDiscoveredService';
1
2
  export interface RiskLinkedService {
2
3
  chaosServiceIdentity?: string;
4
+ /**
5
+ * ChaosServiceName is the display name of the chaos service.
6
+ */
7
+ chaosServiceName?: string;
8
+ /**
9
+ * LinkedDiscoveredService is the discovered service it is linked to.
10
+ */
11
+ linkedDiscoveredService?: RiskLinkedDiscoveredService;
12
+ /**
13
+ * LinkedToDiscoveredService reports whether a code-repository chaos service
14
+ * is linked to a discovered service. It is unset for other service types.
15
+ */
16
+ linkedToDiscoveredService?: boolean;
17
+ /**
18
+ * MatchedByRepository marks an entry the scan did not link explicitly: the
19
+ * chaos service onboarded for the repository and module, which findings
20
+ * for that module are saved against.
21
+ */
22
+ matchedByRepository?: boolean;
3
23
  module?: string;
4
24
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -2,6 +2,7 @@ import type { ScannedrisksRiskStat } from '../schemas/ScannedrisksRiskStat';
2
2
  import type { ScannedrisksServiceRiskSummary } from '../schemas/ScannedrisksServiceRiskSummary';
3
3
  import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
4
4
  export interface ScannedrisksServiceRiskSummaryResponse {
5
+ codeRepositoryScanRiskStat?: ScannedrisksRiskStat;
5
6
  confirmedRiskStat?: ScannedrisksRiskStat;
6
7
  correlationID?: string;
7
8
  data?: ScannedrisksServiceRiskSummary[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.91.4",
3
+ "version": "1.91.6",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",