@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.
- package/dist/chaos-manager/src/services/hooks/useListRiskExperimentRecommendationsQuery.d.ts +2 -1
- package/dist/chaos-manager/src/services/hooks/useListRiskExperimentRecommendationsQuery.js +2 -1
- package/dist/chaos-manager/src/services/index.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskLinkedDiscoveredService.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RiskLinkedDiscoveredService.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskLinkedService.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/RiskLinkedService.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryResponse.d.ts +1 -0
- package/package.json +1 -1
package/dist/chaos-manager/src/services/hooks/useListRiskExperimentRecommendationsQuery.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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';
|
|
@@ -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
|
}
|
|
@@ -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