@harnessio/react-chaos-manager-client 1.91.7-beta.1 → 1.91.8
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/useCreateProbeTemplateMutation.d.ts +0 -9
- package/dist/chaos-manager/src/services/hooks/useGetProbeTemplateQuery.d.ts +1 -7
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskScanRisksQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.d.ts +0 -1
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateMutation.d.ts +0 -9
- package/dist/chaos-manager/src/services/hooks/useUpdateScannedRiskStatusMutation.d.ts +32 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateScannedRiskStatusMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +4 -24
- package/dist/chaos-manager/src/services/index.js +1 -7
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesExecutionOutput.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2ChaosHubResponse.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2CreateHubRequest.js +3 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2GetHubResponse.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2UpdateHubRequest.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2UpdateHubRequest.js +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +0 -15
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +0 -36
- package/dist/chaos-manager/src/services/schemas/RiskRiskRuleSpec.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatusDetails.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksUpdateStatusRequest.d.ts +9 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/hooks/useImportProbeTemplateV3Mutation.d.ts +0 -34
- package/dist/chaos-manager/src/services/hooks/useImportProbeTemplateV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigV3Mutation.d.ts +0 -37
- package/dist/chaos-manager/src/services/hooks/useMoveProbeTemplateConfigV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateV3Mutation.d.ts +0 -32
- package/dist/chaos-manager/src/services/hooks/useRefreshProbeTemplateV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useSaveProbeTemplateRevisionV3Mutation.d.ts +0 -39
- package/dist/chaos-manager/src/services/hooks/useSaveProbeTemplateRevisionV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateRevisionV3Mutation.d.ts +0 -31
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateRevisionV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.d.ts +0 -31
- package/dist/chaos-manager/src/services/hooks/useSetDefaultProbeTemplateVersionV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.d.ts +0 -36
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateGitMetadataV3Mutation.js +0 -14
- package/dist/chaos-manager/src/services/schemas/ChaosHubGitDefaults.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/ChaosHubGitDefaults.js +0 -4
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateImportProbeTemplateRequest.d.ts +0 -19
- package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateImportProbeTemplateRequest.js +0 -4
- package/dist/chaos-manager/src/services/schemas/EntityDetails.d.ts +0 -10
- package/dist/chaos-manager/src/services/schemas/EntityDetails.js +0 -4
- package/dist/chaos-manager/src/services/schemas/EntityStoreType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/EntityStoreType.js +0 -4
- package/dist/chaos-manager/src/services/schemas/EntityValidityDetails.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/EntityValidityDetails.js +0 -4
- package/dist/chaos-manager/src/services/schemas/ResolveSource.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ResolveSource.js +0 -4
- package/dist/chaos-manager/src/services/schemas/ResolveUsed.d.ts +0 -10
- package/dist/chaos-manager/src/services/schemas/ScmCacheInfo.d.ts +0 -16
- package/dist/chaos-manager/src/services/schemas/ScmCacheState.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ScmCacheState.js +0 -4
- package/dist/chaos-manager/src/services/schemas/V3SaveRevisionRequest.d.ts +0 -39
- package/dist/chaos-manager/src/services/schemas/V3SaveRevisionRequest.js +0 -1
- /package/dist/chaos-manager/src/services/schemas/{ResolveUsed.js → ScannedrisksRiskStatusDetails.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ScmCacheInfo.js → ScannedrisksUpdateStatusRequest.js} +0 -0
|
@@ -6,15 +6,6 @@ export interface CreateProbeTemplateMutationQueryParams {
|
|
|
6
6
|
accountIdentifier: string;
|
|
7
7
|
organizationIdentifier: string;
|
|
8
8
|
projectIdentifier: string;
|
|
9
|
-
storeType?: string;
|
|
10
|
-
connectorRef?: string;
|
|
11
|
-
repoName?: string;
|
|
12
|
-
isHarnessCodeRepo?: boolean;
|
|
13
|
-
branch?: string;
|
|
14
|
-
filePath?: string;
|
|
15
|
-
commitMsg?: string;
|
|
16
|
-
isNewBranch?: boolean;
|
|
17
|
-
baseBranch?: string;
|
|
18
9
|
}
|
|
19
10
|
export type CreateProbeTemplateRequestBody = ChaosprobetemplateProbeTemplate;
|
|
20
11
|
export type CreateProbeTemplateOkResponse = ChaosprobetemplateProbeTemplate;
|
|
@@ -11,16 +11,10 @@ export interface GetProbeTemplateQueryQueryParams {
|
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
hubIdentity: string;
|
|
13
13
|
revision?: string;
|
|
14
|
-
versionLabel?: string;
|
|
15
|
-
branch?: string;
|
|
16
|
-
loadFromFallbackBranch?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface GetProbeTemplateQueryHeaderParams {
|
|
19
|
-
'Load-From-Cache'?: string;
|
|
20
14
|
}
|
|
21
15
|
export type GetProbeTemplateOkResponse = ChaosprobetemplateGetProbeTemplateResponse;
|
|
22
16
|
export type GetProbeTemplateErrorResponse = ApiRestError;
|
|
23
|
-
export interface GetProbeTemplateProps extends GetProbeTemplateQueryPathParams, Omit<FetcherOptions<GetProbeTemplateQueryQueryParams, unknown
|
|
17
|
+
export interface GetProbeTemplateProps extends GetProbeTemplateQueryPathParams, Omit<FetcherOptions<GetProbeTemplateQueryQueryParams, unknown>, 'url'> {
|
|
24
18
|
queryParams: GetProbeTemplateQueryQueryParams;
|
|
25
19
|
}
|
|
26
20
|
export interface GetProbeTemplateResponseContainer {
|
|
@@ -22,6 +22,7 @@ export interface ListChaosServicesQueryQueryParams {
|
|
|
22
22
|
probeIds?: string;
|
|
23
23
|
projectIdentifier?: string;
|
|
24
24
|
search?: string;
|
|
25
|
+
serviceType?: 'AmazonApplicationLoadBalancer' | 'AmazonClassicLoadBalancer' | 'AmazonEC2Instance' | 'AmazonLambda' | 'AmazonNetworkLoadBalancer' | 'AmazonRelationalDatabaseService' | 'CodeRepository' | 'Kubernetes' | 'KubernetesNode' | 'KubernetesService' | 'KubernetesWorkload' | 'LinuxVM' | 'LinuxVMProcess' | 'Other' | 'WindowsVM' | 'WindowsVMProcess';
|
|
25
26
|
sortAscending?: boolean;
|
|
26
27
|
sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
27
28
|
tags?: string;
|
|
@@ -29,7 +29,7 @@ export interface ListRiskScanRisksQueryQueryParams {
|
|
|
29
29
|
severity?: 'Critical' | 'High' | 'Low' | 'Medium';
|
|
30
30
|
sortAscending?: boolean;
|
|
31
31
|
sortField?: 'firstDetected' | 'lastDetected' | 'name' | 'occurrenceCount' | 'severity';
|
|
32
|
-
status?: 'Ignored' | 'InProgress' | 'Open' | 'Resolved';
|
|
32
|
+
status?: 'Ignored' | 'InProgress' | 'Invalid' | 'Open' | 'Resolved';
|
|
33
33
|
tags?: string;
|
|
34
34
|
validationType?: 'Confirmed' | 'Passive';
|
|
35
35
|
}
|
|
@@ -36,6 +36,7 @@ export interface ListScannedRisksQueryQueryParams {
|
|
|
36
36
|
sortField?: 'firstDetected' | 'lastDetected' | 'lastUpdated' | 'name' | 'occurrenceCount' | 'severity';
|
|
37
37
|
source?: 'DiscoveryAgent' | 'PipelineExecution' | 'ProbeExecution';
|
|
38
38
|
startTime?: number;
|
|
39
|
+
status?: 'Ignored' | 'Invalid' | 'Open' | 'Resolved';
|
|
39
40
|
tags?: string;
|
|
40
41
|
validationType?: string;
|
|
41
42
|
}
|
|
@@ -11,7 +11,6 @@ export interface ListVariablesInProbeTemplateQueryQueryParams {
|
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
hubIdentity: string;
|
|
13
13
|
revision: string;
|
|
14
|
-
versionLabel?: string;
|
|
15
14
|
}
|
|
16
15
|
export type ListVariablesInProbeTemplateOkResponse = ChaosprobetemplateProbeTemplateVariables;
|
|
17
16
|
export type ListVariablesInProbeTemplateErrorResponse = ApiRestError;
|
package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export interface SummarizeScannedRisksByServiceResponseContainer {
|
|
|
24
24
|
export declare function summarizeScannedRisksByService(props: SummarizeScannedRisksByServiceProps): Promise<SummarizeScannedRisksByServiceResponseContainer>;
|
|
25
25
|
export type SummarizeScannedRisksByServiceMutationProps<T extends keyof SummarizeScannedRisksByServiceProps> = Omit<SummarizeScannedRisksByServiceProps, T> & Partial<Pick<SummarizeScannedRisksByServiceProps, T>>;
|
|
26
26
|
/**
|
|
27
|
-
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
27
|
+
* Returns aggregated risk counts (total, critical, high, medium, low) per target service. The search field filters services by a case-insensitive substring of the service name.
|
|
28
28
|
*/
|
|
29
29
|
export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer, SharedError, SummarizeScannedRisksByServiceMutationProps<T>, unknown>;
|
|
@@ -7,7 +7,7 @@ export function summarizeScannedRisksByService(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/scanned-risks/summary`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
10
|
+
* Returns aggregated risk counts (total, critical, high, medium, low) per target service. The search field filters services by a case-insensitive substring of the service name.
|
|
11
11
|
*/
|
|
12
12
|
export function useSummarizeScannedRisksByServiceMutation(props, options) {
|
|
13
13
|
return useMutation((mutateProps) => summarizeScannedRisksByService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
@@ -10,15 +10,6 @@ export interface UpdateProbeTemplateMutationQueryParams {
|
|
|
10
10
|
organizationIdentifier: string;
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
isDefault?: boolean;
|
|
13
|
-
storeType?: string;
|
|
14
|
-
connectorRef?: string;
|
|
15
|
-
repoName?: string;
|
|
16
|
-
isHarnessCodeRepo?: boolean;
|
|
17
|
-
branch?: string;
|
|
18
|
-
filePath?: string;
|
|
19
|
-
commitMsg?: string;
|
|
20
|
-
isNewBranch?: boolean;
|
|
21
|
-
baseBranch?: string;
|
|
22
13
|
}
|
|
23
14
|
export type UpdateProbeTemplateRequestBody = ChaosprobetemplateProbeTemplate;
|
|
24
15
|
export type UpdateProbeTemplateOkResponse = ChaosprobetemplateProbeTemplate;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannedrisksGetResponse } from '../schemas/ScannedrisksGetResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { ScannedrisksUpdateStatusRequest } from '../schemas/ScannedrisksUpdateStatusRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface UpdateScannedRiskStatusMutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateScannedRiskStatusMutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type UpdateScannedRiskStatusRequestBody = ScannedrisksUpdateStatusRequest;
|
|
17
|
+
export type UpdateScannedRiskStatusOkResponse = ScannedrisksGetResponse;
|
|
18
|
+
export type UpdateScannedRiskStatusErrorResponse = SharedError;
|
|
19
|
+
export interface UpdateScannedRiskStatusProps extends UpdateScannedRiskStatusMutationPathParams, Omit<FetcherOptions<UpdateScannedRiskStatusMutationQueryParams, UpdateScannedRiskStatusRequestBody>, 'url'> {
|
|
20
|
+
queryParams: UpdateScannedRiskStatusMutationQueryParams;
|
|
21
|
+
body: UpdateScannedRiskStatusRequestBody;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateScannedRiskStatusResponseContainer {
|
|
24
|
+
body: UpdateScannedRiskStatusOkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function updateScannedRiskStatus(props: UpdateScannedRiskStatusProps): Promise<UpdateScannedRiskStatusResponseContainer>;
|
|
28
|
+
export type UpdateScannedRiskStatusMutationProps<T extends keyof UpdateScannedRiskStatusProps> = Omit<UpdateScannedRiskStatusProps, T> & Partial<Pick<UpdateScannedRiskStatusProps, T>>;
|
|
29
|
+
/**
|
|
30
|
+
* sets a scanned risk to Open, Ignored, or Resolved. Resolved requires mitigated=true. Ignored risks stay Ignored when detected again; Resolved risks reopen. Invalid is set only when the risk rule changes and cannot be set or cleared here.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useUpdateScannedRiskStatusMutation<T extends keyof UpdateScannedRiskStatusProps>(props: Pick<Partial<UpdateScannedRiskStatusProps>, T>, options?: Omit<UseMutationOptions<UpdateScannedRiskStatusResponseContainer, UpdateScannedRiskStatusErrorResponse, UpdateScannedRiskStatusMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateScannedRiskStatusResponseContainer, SharedError, UpdateScannedRiskStatusMutationProps<T>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function updateScannedRiskStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scanned-risks/${props.identity}/status`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* sets a scanned risk to Open, Ignored, or Resolved. Resolved requires mitigated=true. Ignored risks stay Ignored when detected again; Resolved risks reopen. Invalid is set only when the risk rule changes and cannot be set or cleared here.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateScannedRiskStatusMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateScannedRiskStatus(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -312,8 +312,6 @@ export type { ImportActionErrorResponse, ImportActionMutationProps, ImportAction
|
|
|
312
312
|
export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
|
|
313
313
|
export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMutationQueryParams, ImportProbeOkResponse, ImportProbeProps, ImportProbeRequestBody, } from './hooks/useImportProbeMutation';
|
|
314
314
|
export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
|
|
315
|
-
export type { ImportProbeTemplateV3ErrorResponse, ImportProbeTemplateV3MutationProps, ImportProbeTemplateV3MutationQueryParams, ImportProbeTemplateV3OkResponse, ImportProbeTemplateV3Props, ImportProbeTemplateV3RequestBody, } from './hooks/useImportProbeTemplateV3Mutation';
|
|
316
|
-
export { importProbeTemplateV3, useImportProbeTemplateV3Mutation, } from './hooks/useImportProbeTemplateV3Mutation';
|
|
317
315
|
export type { InternalAbortRiskScanErrorResponse, InternalAbortRiskScanMutationProps, InternalAbortRiskScanMutationQueryParams, InternalAbortRiskScanOkResponse, InternalAbortRiskScanProps, InternalAbortRiskScanRequestBody, } from './hooks/useInternalAbortRiskScanMutation';
|
|
318
316
|
export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
|
|
319
317
|
export type { ListActionMetadataErrorResponse, ListActionMetadataOkResponse, ListActionMetadataProps, ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody, } from './hooks/useListActionMetadataQuery';
|
|
@@ -462,8 +460,6 @@ export type { ListVariablesInActionTemplateErrorResponse, ListVariablesInActionT
|
|
|
462
460
|
export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
463
461
|
export type { ListVariablesInProbeTemplateErrorResponse, ListVariablesInProbeTemplateOkResponse, ListVariablesInProbeTemplateProps, ListVariablesInProbeTemplateQueryPathParams, ListVariablesInProbeTemplateQueryQueryParams, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
464
462
|
export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
465
|
-
export type { MoveProbeTemplateConfigV3ErrorResponse, MoveProbeTemplateConfigV3MutationPathParams, MoveProbeTemplateConfigV3MutationProps, MoveProbeTemplateConfigV3MutationQueryParams, MoveProbeTemplateConfigV3OkResponse, MoveProbeTemplateConfigV3Props, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
|
|
466
|
-
export { moveProbeTemplateConfigV3, useMoveProbeTemplateConfigV3Mutation, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
|
|
467
463
|
export type { OnboardServicesErrorResponse, OnboardServicesMutationPathParams, OnboardServicesMutationProps, OnboardServicesMutationQueryParams, OnboardServicesOkResponse, OnboardServicesProps, OnboardServicesRequestBody, } from './hooks/useOnboardServicesMutation';
|
|
468
464
|
export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
|
|
469
465
|
export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationProps, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
@@ -490,8 +486,6 @@ export type { ProcessTemplateErrorResponse, ProcessTemplateMutationProps, Proces
|
|
|
490
486
|
export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
|
|
491
487
|
export type { RecommendationEventErrorResponse, RecommendationEventMutationProps, RecommendationEventOkResponse, RecommendationEventProps, RecommendationEventRequestBody, } from './hooks/useRecommendationEventMutation';
|
|
492
488
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
493
|
-
export type { RefreshProbeTemplateV3ErrorResponse, RefreshProbeTemplateV3MutationPathParams, RefreshProbeTemplateV3MutationProps, RefreshProbeTemplateV3MutationQueryParams, RefreshProbeTemplateV3OkResponse, RefreshProbeTemplateV3Props, } from './hooks/useRefreshProbeTemplateV3Mutation';
|
|
494
|
-
export { refreshProbeTemplateV3, useRefreshProbeTemplateV3Mutation, } from './hooks/useRefreshProbeTemplateV3Mutation';
|
|
495
489
|
export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
|
|
496
490
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
497
491
|
export type { RegisterLegacyKubernetesInfraErrorResponse, RegisterLegacyKubernetesInfraMutationProps, RegisterLegacyKubernetesInfraMutationQueryParams, RegisterLegacyKubernetesInfraOkResponse, RegisterLegacyKubernetesInfraProps, RegisterLegacyKubernetesInfraRequestBody, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
|
|
@@ -520,12 +514,6 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
|
|
|
520
514
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
521
515
|
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
522
516
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
523
|
-
export type { SaveProbeTemplateRevisionV3ErrorResponse, SaveProbeTemplateRevisionV3MutationPathParams, SaveProbeTemplateRevisionV3MutationProps, SaveProbeTemplateRevisionV3MutationQueryParams, SaveProbeTemplateRevisionV3OkResponse, SaveProbeTemplateRevisionV3Props, SaveProbeTemplateRevisionV3RequestBody, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
|
|
524
|
-
export { saveProbeTemplateRevisionV3, useSaveProbeTemplateRevisionV3Mutation, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
|
|
525
|
-
export type { SetDefaultProbeTemplateRevisionV3ErrorResponse, SetDefaultProbeTemplateRevisionV3MutationPathParams, SetDefaultProbeTemplateRevisionV3MutationProps, SetDefaultProbeTemplateRevisionV3MutationQueryParams, SetDefaultProbeTemplateRevisionV3OkResponse, SetDefaultProbeTemplateRevisionV3Props, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
|
|
526
|
-
export { setDefaultProbeTemplateRevisionV3, useSetDefaultProbeTemplateRevisionV3Mutation, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
|
|
527
|
-
export type { SetDefaultProbeTemplateVersionV3ErrorResponse, SetDefaultProbeTemplateVersionV3MutationPathParams, SetDefaultProbeTemplateVersionV3MutationProps, SetDefaultProbeTemplateVersionV3MutationQueryParams, SetDefaultProbeTemplateVersionV3OkResponse, SetDefaultProbeTemplateVersionV3Props, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
|
|
528
|
-
export { setDefaultProbeTemplateVersionV3, useSetDefaultProbeTemplateVersionV3Mutation, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
|
|
529
517
|
export type { SkipOnboardingErrorResponse, SkipOnboardingMutationPathParams, SkipOnboardingMutationProps, SkipOnboardingMutationQueryParams, SkipOnboardingOkResponse, SkipOnboardingProps, } from './hooks/useSkipOnboardingMutation';
|
|
530
518
|
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
531
519
|
export type { StopAllChaosExperimentsV3ErrorResponse, StopAllChaosExperimentsV3MutationProps, StopAllChaosExperimentsV3MutationQueryParams, StopAllChaosExperimentsV3OkResponse, StopAllChaosExperimentsV3Props, } from './hooks/useStopAllChaosExperimentsV3Mutation';
|
|
@@ -594,8 +582,6 @@ export type { UpdateNoteErrorResponse, UpdateNoteMutationProps, UpdateNoteMutati
|
|
|
594
582
|
export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
|
|
595
583
|
export type { UpdateProbeErrorResponse, UpdateProbeMutationPathParams, UpdateProbeMutationProps, UpdateProbeMutationQueryParams, UpdateProbeOkResponse, UpdateProbeProps, UpdateProbeRequestBody, } from './hooks/useUpdateProbeMutation';
|
|
596
584
|
export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
|
|
597
|
-
export type { UpdateProbeTemplateGitMetadataV3ErrorResponse, UpdateProbeTemplateGitMetadataV3MutationPathParams, UpdateProbeTemplateGitMetadataV3MutationProps, UpdateProbeTemplateGitMetadataV3MutationQueryParams, UpdateProbeTemplateGitMetadataV3OkResponse, UpdateProbeTemplateGitMetadataV3Props, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
|
|
598
|
-
export { updateProbeTemplateGitMetadataV3, useUpdateProbeTemplateGitMetadataV3Mutation, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
|
|
599
585
|
export type { UpdateProbeTemplateErrorResponse, UpdateProbeTemplateMutationPathParams, UpdateProbeTemplateMutationProps, UpdateProbeTemplateMutationQueryParams, UpdateProbeTemplateOkResponse, UpdateProbeTemplateProps, UpdateProbeTemplateRequestBody, } from './hooks/useUpdateProbeTemplateMutation';
|
|
600
586
|
export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
|
|
601
587
|
export type { UpdateRecommendationStatusErrorResponse, UpdateRecommendationStatusMutationProps, UpdateRecommendationStatusMutationQueryParams, UpdateRecommendationStatusOkResponse, UpdateRecommendationStatusProps, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
@@ -608,6 +594,8 @@ export type { UpdateRiskScanErrorResponse, UpdateRiskScanMutationPathParams, Upd
|
|
|
608
594
|
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
609
595
|
export type { UpdateRuleErrorResponse, UpdateRuleMutationPathParams, UpdateRuleMutationProps, UpdateRuleMutationQueryParams, UpdateRuleOkResponse, UpdateRuleProps, UpdateRuleRequestBody, } from './hooks/useUpdateRuleMutation';
|
|
610
596
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
597
|
+
export type { UpdateScannedRiskStatusErrorResponse, UpdateScannedRiskStatusMutationPathParams, UpdateScannedRiskStatusMutationProps, UpdateScannedRiskStatusMutationQueryParams, UpdateScannedRiskStatusOkResponse, UpdateScannedRiskStatusProps, UpdateScannedRiskStatusRequestBody, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
598
|
+
export { updateScannedRiskStatus, useUpdateScannedRiskStatusMutation, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
611
599
|
export type { UpgradeLegacyKubernetesChaosInfraErrorResponse, UpgradeLegacyKubernetesChaosInfraMutationPathParams, UpgradeLegacyKubernetesChaosInfraMutationProps, UpgradeLegacyKubernetesChaosInfraMutationQueryParams, UpgradeLegacyKubernetesChaosInfraOkResponse, UpgradeLegacyKubernetesChaosInfraProps, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
612
600
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
613
601
|
export type { VerifyChaosStageInPipelineRunErrorResponse, VerifyChaosStageInPipelineRunOkResponse, VerifyChaosStageInPipelineRunProps, VerifyChaosStageInPipelineRunQueryQueryParams, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
@@ -684,7 +672,6 @@ export type { ChaosExperimentWeightagesInput } from './schemas/ChaosExperimentWe
|
|
|
684
672
|
export type { ChaosExperimentWorkflowRevision } from './schemas/ChaosExperimentWorkflowRevision';
|
|
685
673
|
export type { ChaosHubAuthType } from './schemas/ChaosHubAuthType';
|
|
686
674
|
export type { ChaosHubConnectorScope } from './schemas/ChaosHubConnectorScope';
|
|
687
|
-
export type { ChaosHubGitDefaults } from './schemas/ChaosHubGitDefaults';
|
|
688
675
|
export type { ChaosInfrastructureV2ChaosInfraV2 } from './schemas/ChaosInfrastructureV2ChaosInfraV2';
|
|
689
676
|
export type { ChaosInfrastructureV2ChaosInfraV2Spec } from './schemas/ChaosInfrastructureV2ChaosInfraV2Spec';
|
|
690
677
|
export type { ChaosInfrastructureV2HelperDaemonSetConfig } from './schemas/ChaosInfrastructureV2HelperDaemonSetConfig';
|
|
@@ -800,7 +787,6 @@ export type { Chaoshubv2GetHubResponse } from './schemas/Chaoshubv2GetHubRespons
|
|
|
800
787
|
export type { Chaoshubv2ListHubResponse } from './schemas/Chaoshubv2ListHubResponse';
|
|
801
788
|
export type { Chaoshubv2UpdateHubRequest } from './schemas/Chaoshubv2UpdateHubRequest';
|
|
802
789
|
export type { ChaosprobetemplateGetProbeTemplateResponse } from './schemas/ChaosprobetemplateGetProbeTemplateResponse';
|
|
803
|
-
export type { ChaosprobetemplateImportProbeTemplateRequest } from './schemas/ChaosprobetemplateImportProbeTemplateRequest';
|
|
804
790
|
export type { ChaosprobetemplateListProbeTemplateResponse } from './schemas/ChaosprobetemplateListProbeTemplateResponse';
|
|
805
791
|
export type { ChaosprobetemplateListReferencedByResponse } from './schemas/ChaosprobetemplateListReferencedByResponse';
|
|
806
792
|
export type { ChaosprobetemplateProbeTemplate } from './schemas/ChaosprobetemplateProbeTemplate';
|
|
@@ -892,9 +878,6 @@ export type { DatabaseResourceRequirements } from './schemas/DatabaseResourceReq
|
|
|
892
878
|
export type { DatabaseResourceWatchConfig } from './schemas/DatabaseResourceWatchConfig';
|
|
893
879
|
export type { DatabaseServiceCollection } from './schemas/DatabaseServiceCollection';
|
|
894
880
|
export type { DatabaseServiceIdentity } from './schemas/DatabaseServiceIdentity';
|
|
895
|
-
export type { EntityDetails } from './schemas/EntityDetails';
|
|
896
|
-
export type { EntityStoreType } from './schemas/EntityStoreType';
|
|
897
|
-
export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
898
881
|
export type { ExecutionActionData } from './schemas/ExecutionActionData';
|
|
899
882
|
export type { ExecutionChaosData } from './schemas/ExecutionChaosData';
|
|
900
883
|
export type { ExecutionChaosExecutionNode } from './schemas/ExecutionChaosExecutionNode';
|
|
@@ -1346,8 +1329,6 @@ export type { RecommendationsListRecommendationsRequest } from './schemas/Recomm
|
|
|
1346
1329
|
export type { RecommendationsListRecommendationsResponse } from './schemas/RecommendationsListRecommendationsResponse';
|
|
1347
1330
|
export type { RecommendationsPipelineAddExperimentResponse } from './schemas/RecommendationsPipelineAddExperimentResponse';
|
|
1348
1331
|
export type { RecommendationsRunActionResponse } from './schemas/RecommendationsRunActionResponse';
|
|
1349
|
-
export type { ResolveSource } from './schemas/ResolveSource';
|
|
1350
|
-
export type { ResolveUsed } from './schemas/ResolveUsed';
|
|
1351
1332
|
export type { ResourceQuantity } from './schemas/ResourceQuantity';
|
|
1352
1333
|
export type { RiskCategory } from './schemas/RiskCategory';
|
|
1353
1334
|
export type { RiskCdService } from './schemas/RiskCdService';
|
|
@@ -1440,14 +1421,14 @@ export type { ScannedrisksOccurrenceDetail } from './schemas/ScannedrisksOccurre
|
|
|
1440
1421
|
export type { ScannedrisksOccurrencesResponse } from './schemas/ScannedrisksOccurrencesResponse';
|
|
1441
1422
|
export type { ScannedrisksRiskStat } from './schemas/ScannedrisksRiskStat';
|
|
1442
1423
|
export type { ScannedrisksRiskStatus } from './schemas/ScannedrisksRiskStatus';
|
|
1424
|
+
export type { ScannedrisksRiskStatusDetails } from './schemas/ScannedrisksRiskStatusDetails';
|
|
1443
1425
|
export type { ScannedrisksScannedRisk } from './schemas/ScannedrisksScannedRisk';
|
|
1444
1426
|
export type { ScannedrisksScannedRiskSpec } from './schemas/ScannedrisksScannedRiskSpec';
|
|
1445
1427
|
export type { ScannedrisksServiceRiskSummary } from './schemas/ScannedrisksServiceRiskSummary';
|
|
1446
1428
|
export type { ScannedrisksServiceRiskSummaryQuery } from './schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
1447
1429
|
export type { ScannedrisksServiceRiskSummaryResponse } from './schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
1430
|
+
export type { ScannedrisksUpdateStatusRequest } from './schemas/ScannedrisksUpdateStatusRequest';
|
|
1448
1431
|
export type { ScannedrisksValidationType } from './schemas/ScannedrisksValidationType';
|
|
1449
|
-
export type { ScmCacheInfo } from './schemas/ScmCacheInfo';
|
|
1450
|
-
export type { ScmCacheState } from './schemas/ScmCacheState';
|
|
1451
1432
|
export type { SecurityGovernanceAccessControl } from './schemas/SecurityGovernanceAccessControl';
|
|
1452
1433
|
export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
|
|
1453
1434
|
export type { SecurityGovernanceChaosServiceAccountSpec } from './schemas/SecurityGovernanceChaosServiceAccountSpec';
|
|
@@ -1764,7 +1745,6 @@ export type { V3ListExperimentData } from './schemas/V3ListExperimentData';
|
|
|
1764
1745
|
export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
|
|
1765
1746
|
export type { V3ProcessTemplateRequest } from './schemas/V3ProcessTemplateRequest';
|
|
1766
1747
|
export type { V3ProcessTemplateResponse } from './schemas/V3ProcessTemplateResponse';
|
|
1767
|
-
export type { V3SaveRevisionRequest } from './schemas/V3SaveRevisionRequest';
|
|
1768
1748
|
export type { V3TriggerRiskScanRequest } from './schemas/V3TriggerRiskScanRequest';
|
|
1769
1749
|
export type { V3TriggerRiskScanResponse } from './schemas/V3TriggerRiskScanResponse';
|
|
1770
1750
|
export type { V3TriggerRiskScanResponseData } from './schemas/V3TriggerRiskScanResponseData';
|
|
@@ -155,7 +155,6 @@ export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2Onboar
|
|
|
155
155
|
export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
|
|
156
156
|
export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
|
|
157
157
|
export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
|
|
158
|
-
export { importProbeTemplateV3, useImportProbeTemplateV3Mutation, } from './hooks/useImportProbeTemplateV3Mutation';
|
|
159
158
|
export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hooks/useInternalAbortRiskScanMutation';
|
|
160
159
|
export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
|
|
161
160
|
export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
|
|
@@ -230,7 +229,6 @@ export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/u
|
|
|
230
229
|
export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
|
|
231
230
|
export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
232
231
|
export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
233
|
-
export { moveProbeTemplateConfigV3, useMoveProbeTemplateConfigV3Mutation, } from './hooks/useMoveProbeTemplateConfigV3Mutation';
|
|
234
232
|
export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
|
|
235
233
|
export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
236
234
|
export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCreationMutation, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
|
|
@@ -244,7 +242,6 @@ export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/
|
|
|
244
242
|
export { pipelineOnboardChaosStatus, usePipelineOnboardChaosStatusQuery, } from './hooks/usePipelineOnboardChaosStatusQuery';
|
|
245
243
|
export { processTemplate, useProcessTemplateMutation } from './hooks/useProcessTemplateMutation';
|
|
246
244
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
247
|
-
export { refreshProbeTemplateV3, useRefreshProbeTemplateV3Mutation, } from './hooks/useRefreshProbeTemplateV3Mutation';
|
|
248
245
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
249
246
|
export { registerLegacyKubernetesInfra, useRegisterLegacyKubernetesInfraMutation, } from './hooks/useRegisterLegacyKubernetesInfraMutation';
|
|
250
247
|
export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/useRegisterMachineInfraMutation';
|
|
@@ -259,9 +256,6 @@ export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/
|
|
|
259
256
|
export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
260
257
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
261
258
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
262
|
-
export { saveProbeTemplateRevisionV3, useSaveProbeTemplateRevisionV3Mutation, } from './hooks/useSaveProbeTemplateRevisionV3Mutation';
|
|
263
|
-
export { setDefaultProbeTemplateRevisionV3, useSetDefaultProbeTemplateRevisionV3Mutation, } from './hooks/useSetDefaultProbeTemplateRevisionV3Mutation';
|
|
264
|
-
export { setDefaultProbeTemplateVersionV3, useSetDefaultProbeTemplateVersionV3Mutation, } from './hooks/useSetDefaultProbeTemplateVersionV3Mutation';
|
|
265
259
|
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
266
260
|
export { stopAllChaosExperimentsV3, useStopAllChaosExperimentsV3Mutation, } from './hooks/useStopAllChaosExperimentsV3Mutation';
|
|
267
261
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
@@ -296,13 +290,13 @@ export { updateLegacyKubernetesChaosInfra, useUpdateLegacyKubernetesChaosInfraMu
|
|
|
296
290
|
export { updateMachineInfra, useUpdateMachineInfraMutation, } from './hooks/useUpdateMachineInfraMutation';
|
|
297
291
|
export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
|
|
298
292
|
export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutation';
|
|
299
|
-
export { updateProbeTemplateGitMetadataV3, useUpdateProbeTemplateGitMetadataV3Mutation, } from './hooks/useUpdateProbeTemplateGitMetadataV3Mutation';
|
|
300
293
|
export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
|
|
301
294
|
export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
302
295
|
export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
|
|
303
296
|
export { updateRiskRule, useUpdateRiskRuleMutation } from './hooks/useUpdateRiskRuleMutation';
|
|
304
297
|
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
305
298
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
299
|
+
export { updateScannedRiskStatus, useUpdateScannedRiskStatusMutation, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
306
300
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
307
301
|
export { useVerifyChaosStageInPipelineRunQuery, verifyChaosStageInPipelineRun, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
308
302
|
export { useVerifyProbeMutation, verifyProbe } from './hooks/useVerifyProbeMutation';
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
|
|
2
2
|
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
3
3
|
export interface ChaosExecutionNodesExecutionOutput {
|
|
4
|
+
finishedAt?: number;
|
|
4
5
|
resourceType?: ExecutionChaosStepType;
|
|
6
|
+
/**
|
|
7
|
+
* Spec is the step definition parsed into its SDK type: *probev1.Probe,
|
|
8
|
+
* *experiment.Fault or *action.Action based on ResourceType.
|
|
9
|
+
*/
|
|
10
|
+
spec?: {};
|
|
5
11
|
status?: ExecutionChaosStepStatus;
|
|
6
12
|
}
|
|
@@ -3,7 +3,6 @@ import type { ChaosExperimentRunExperimentType } from '../schemas/ChaosExperimen
|
|
|
3
3
|
import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
|
|
4
4
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
5
5
|
import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
|
|
6
|
-
import type { ResolveUsed } from '../schemas/ResolveUsed';
|
|
7
6
|
import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
8
7
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
9
8
|
import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
|
|
@@ -42,10 +41,6 @@ export interface ChaosExperimentRunChaosExperimentRun {
|
|
|
42
41
|
probes?: ChaosExperimentRunProbe[];
|
|
43
42
|
projectID?: string;
|
|
44
43
|
resiliencyScore?: number;
|
|
45
|
-
/**
|
|
46
|
-
* ResolvedSources records the Git content a run executed (ADR §9.3).
|
|
47
|
-
*/
|
|
48
|
-
resolvedSources?: ResolveUsed[];
|
|
49
44
|
revisionID?: string;
|
|
50
45
|
runSequence?: number;
|
|
51
46
|
securityGovernance?: ChaosExperimentRunSecurityGovernanceNode;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ChaosHubAuthType } from '../schemas/ChaosHubAuthType';
|
|
2
2
|
import type { ChaosHubConnectorScope } from '../schemas/ChaosHubConnectorScope';
|
|
3
|
-
import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
|
|
4
3
|
export interface Chaoshubv2ChaosHubResponse {
|
|
5
4
|
accountID: string;
|
|
6
5
|
actionTemplateCount?: number;
|
|
@@ -21,14 +20,6 @@ export interface Chaoshubv2ChaosHubResponse {
|
|
|
21
20
|
description?: string;
|
|
22
21
|
experimentTemplateCount?: number;
|
|
23
22
|
faultTemplateCount?: number;
|
|
24
|
-
/**
|
|
25
|
-
* GitDefaults are the Git Experience defaults for templates created in
|
|
26
|
-
* this hub (ADR_GIT_EXPERIENCE_RESILIENCE_TESTING.md §4.2). Deliberately a
|
|
27
|
-
* NEW field: the legacy connector_id/connector_scope/repo_name/repo_branch
|
|
28
|
-
* fields above are read by the 12-hourly go-git clone job
|
|
29
|
-
* (chaoshub.HandleSyncAllHubs) and must not be populated for Git Experience.
|
|
30
|
-
*/
|
|
31
|
-
gitDefaults?: ChaosHubGitDefaults;
|
|
32
23
|
hubId: string;
|
|
33
24
|
identity: string;
|
|
34
25
|
isDefault: boolean;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
|
|
2
1
|
export interface Chaoshubv2CreateHubRequest {
|
|
3
2
|
connectorRef?: string;
|
|
4
3
|
description?: string;
|
|
5
|
-
/**
|
|
6
|
-
* GitDefaults sets the hub's Git Experience defaults. Optional.
|
|
7
|
-
*/
|
|
8
|
-
gitDefaults?: ChaosHubGitDefaults;
|
|
9
4
|
identity: string;
|
|
10
5
|
name: string;
|
|
11
6
|
repoBranch?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ChaosHubAuthType } from '../schemas/ChaosHubAuthType';
|
|
2
2
|
import type { ChaosHubConnectorScope } from '../schemas/ChaosHubConnectorScope';
|
|
3
|
-
import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
|
|
4
3
|
export interface Chaoshubv2GetHubResponse {
|
|
5
4
|
accountID: string;
|
|
6
5
|
actionTemplateCount?: number;
|
|
@@ -21,14 +20,6 @@ export interface Chaoshubv2GetHubResponse {
|
|
|
21
20
|
description?: string;
|
|
22
21
|
experimentTemplateCount?: number;
|
|
23
22
|
faultTemplateCount?: number;
|
|
24
|
-
/**
|
|
25
|
-
* GitDefaults are the Git Experience defaults for templates created in
|
|
26
|
-
* this hub (ADR_GIT_EXPERIENCE_RESILIENCE_TESTING.md §4.2). Deliberately a
|
|
27
|
-
* NEW field: the legacy connector_id/connector_scope/repo_name/repo_branch
|
|
28
|
-
* fields above are read by the 12-hourly go-git clone job
|
|
29
|
-
* (chaoshub.HandleSyncAllHubs) and must not be populated for Git Experience.
|
|
30
|
-
*/
|
|
31
|
-
gitDefaults?: ChaosHubGitDefaults;
|
|
32
23
|
hubId: string;
|
|
33
24
|
identity: string;
|
|
34
25
|
isDefault: boolean;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import type { ChaosHubGitDefaults } from '../schemas/ChaosHubGitDefaults';
|
|
2
1
|
export interface Chaoshubv2UpdateHubRequest {
|
|
3
2
|
description?: string;
|
|
4
|
-
/**
|
|
5
|
-
* GitDefaults, when present, replaces the hub's Git Experience defaults.
|
|
6
|
-
* An empty object ({}) clears them; omitting the field leaves them as is.
|
|
7
|
-
*/
|
|
8
|
-
gitDefaults?: ChaosHubGitDefaults;
|
|
9
3
|
name: string;
|
|
10
4
|
tags?: string[];
|
|
11
5
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import type { EntityDetails } from '../schemas/EntityDetails';
|
|
2
1
|
import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
|
|
3
2
|
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
4
3
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
5
4
|
import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
|
|
6
5
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
7
|
-
import type { EntityStoreType } from '../schemas/EntityStoreType';
|
|
8
6
|
import type { ProbeProbeType } from '../schemas/ProbeProbeType';
|
|
9
7
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
10
8
|
export interface ChaosprobetemplateProbeTemplate {
|
|
11
9
|
description?: string;
|
|
12
|
-
gitDetails?: EntityDetails;
|
|
13
10
|
hubRef?: string;
|
|
14
11
|
identity?: string;
|
|
15
12
|
infrastructureType?: ProbeInfrastructureType;
|
|
@@ -21,19 +18,7 @@ export interface ChaosprobetemplateProbeTemplate {
|
|
|
21
18
|
revision?: number;
|
|
22
19
|
ruleDetails?: ProbeRuleDetails;
|
|
23
20
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
24
|
-
/**
|
|
25
|
-
* Response-only Git Experience fields; never part of the internal YAML
|
|
26
|
-
* encoding or the Git file.
|
|
27
|
-
*/
|
|
28
|
-
storeType?: EntityStoreType;
|
|
29
21
|
tags?: string[];
|
|
30
22
|
type?: ProbeProbeType;
|
|
31
23
|
variables?: TemplateVariable[];
|
|
32
|
-
/**
|
|
33
|
-
* VersionLabel names the revision (platform versionLabel). Optional on
|
|
34
|
-
* create and save-as-new-revision (defaults to the revision number),
|
|
35
|
-
* immutable afterwards. Kept out of the stored `template` YAML so an
|
|
36
|
-
* edited manifest cannot carry an old label into a new revision.
|
|
37
|
-
*/
|
|
38
|
-
versionLabel?: string;
|
|
39
24
|
}
|
|
@@ -3,7 +3,6 @@ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
|
3
3
|
import type { ChaosExperimentRunRunFailureDetails } from '../schemas/ChaosExperimentRunRunFailureDetails';
|
|
4
4
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
5
5
|
import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
|
|
6
|
-
import type { ResolveUsed } from '../schemas/ResolveUsed';
|
|
7
6
|
import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
8
7
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
9
8
|
import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
|
|
@@ -52,10 +51,6 @@ export interface ExperimentrunsGetExperimentRunResponse {
|
|
|
52
51
|
probes?: ChaosExperimentRunProbe[];
|
|
53
52
|
projectID?: string;
|
|
54
53
|
resiliencyScore?: number;
|
|
55
|
-
/**
|
|
56
|
-
* ResolvedSources records the Git content a run executed (ADR §9.3).
|
|
57
|
-
*/
|
|
58
|
-
resolvedSources?: ResolveUsed[];
|
|
59
54
|
revisionID?: string;
|
|
60
55
|
runSequence?: number;
|
|
61
56
|
securityGovernance?: ChaosExperimentRunSecurityGovernanceNode;
|
|
@@ -1,40 +1,17 @@
|
|
|
1
|
-
import type { ScmCacheInfo } from '../schemas/ScmCacheInfo';
|
|
2
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
|
-
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
4
|
-
import type { EntityDetails } from '../schemas/EntityDetails';
|
|
5
2
|
import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
|
|
6
3
|
import type { TemplateInput } from '../schemas/TemplateInput';
|
|
7
4
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
8
5
|
import type { ProbeRuleDetails } from '../schemas/ProbeRuleDetails';
|
|
9
6
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
10
|
-
import type { EntityStoreType } from '../schemas/EntityStoreType';
|
|
11
7
|
import type { ProbeProbeType } from '../schemas/ProbeProbeType';
|
|
12
8
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
13
9
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate {
|
|
14
10
|
accountID: string;
|
|
15
|
-
cacheResponse?: ScmCacheInfo;
|
|
16
|
-
connectorRef?: string;
|
|
17
11
|
createdAt?: number;
|
|
18
12
|
createdBy?: string;
|
|
19
13
|
createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
20
14
|
description?: string;
|
|
21
|
-
/**
|
|
22
|
-
* EntityValidityDetails is set on GET of a REMOTE revision whose file in
|
|
23
|
-
* Git fails validation (platform EntityValidityDetails).
|
|
24
|
-
*/
|
|
25
|
-
entityValidityDetails?: EntityValidityDetails;
|
|
26
|
-
fallbackBranch?: string;
|
|
27
|
-
filePath?: string;
|
|
28
|
-
/**
|
|
29
|
-
* GitDetails / CacheResponse are response-only (platform EntityGitDetails,
|
|
30
|
-
* CacheResponseMetadataDTO).
|
|
31
|
-
*/
|
|
32
|
-
gitDetails?: EntityDetails;
|
|
33
|
-
/**
|
|
34
|
-
* GitYAML is the canonical Git file of a REMOTE revision, for the UI's
|
|
35
|
-
* YAML view (ADR §5.2). Template keeps its existing format.
|
|
36
|
-
*/
|
|
37
|
-
gitYaml?: string;
|
|
38
15
|
hubRef?: string;
|
|
39
16
|
id?: string;
|
|
40
17
|
/**
|
|
@@ -50,22 +27,18 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
50
27
|
*/
|
|
51
28
|
isDefault?: boolean;
|
|
52
29
|
isEnterprise?: boolean;
|
|
53
|
-
isHarnessCodeRepo?: boolean;
|
|
54
30
|
isRemoved: boolean;
|
|
55
31
|
name: string;
|
|
56
32
|
orgID?: string;
|
|
57
33
|
parentUniqueId?: string;
|
|
58
34
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
59
35
|
projectID?: string;
|
|
60
|
-
repoName?: string;
|
|
61
|
-
repoUrl?: string;
|
|
62
36
|
/**
|
|
63
37
|
* it increments every time a new version of fault is published
|
|
64
38
|
*/
|
|
65
39
|
revision?: number;
|
|
66
40
|
ruleDetails?: ProbeRuleDetails;
|
|
67
41
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
68
|
-
storeType?: EntityStoreType;
|
|
69
42
|
tags?: string[];
|
|
70
43
|
template?: string;
|
|
71
44
|
type?: ProbeProbeType;
|
|
@@ -74,13 +47,4 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
|
|
|
74
47
|
updatedBy?: string;
|
|
75
48
|
updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
76
49
|
variables?: TemplateVariable[];
|
|
77
|
-
/**
|
|
78
|
-
* VersionLabel is the user-facing name of this revision (platform
|
|
79
|
-
* versionLabel): "v1.1.0", or the revision number when the author gave
|
|
80
|
-
* none. Immutable. Revisions created before the field existed have none
|
|
81
|
-
* stored; EffectiveVersionLabel derives it, so no backfill is needed.
|
|
82
|
-
* Revision stays the internal key (indexes, internal_identity_with_revision,
|
|
83
|
-
* existing references); a REMOTE revision's file is named after the label.
|
|
84
|
-
*/
|
|
85
|
-
versionLabel?: string;
|
|
86
50
|
}
|