@harnessio/react-chaos-manager-client 1.66.1 → 1.67.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.
- package/dist/chaos-manager/src/services/hooks/useAbortRiskScanMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useAbortRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateRiskScanMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useCreateRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteRiskScanMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableInternalQuery.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableInternalQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskRuleQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskRuleQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanHeatmapQuery.d.ts +37 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanHeatmapQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportDownloadUrlQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportDownloadUrlQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetScannedRiskQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetScannedRiskQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +44 -0
- package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.d.ts +42 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +46 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRetryRiskScanMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useRetryRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateRiskScanMutation.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +86 -0
- package/dist/chaos-manager/src/services/index.js +17 -0
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2ChaosHubResponse.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/Chaoshubv2GetHubResponse.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutputResponse.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentProbeRef.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ModelInput.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/PipelinesCreatePipelineResponse.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindowTemplate.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ProbeHttpProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateRunProperties.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/RiskCategory.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskCategory.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskCdService.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskCdService.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskChaosService.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskChaosService.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskCollectionError.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskCollectionError.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskCollectionSummary.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/RiskCollectionSummary.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskDiscoveredService.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RiskDiscoveredService.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskEvidenceResource.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RiskEvidenceResource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskDataSource.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskDataSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskRulePrompt.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskRulePrompt.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskRuleSpec.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskRuleSpec.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskSummary.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/RiskRiskSummary.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScan.d.ts +40 -0
- package/dist/chaos-manager/src/services/schemas/RiskScan.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanResult.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanResult.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanSource.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanSourcePipeline.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanSourcePipeline.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanSourceServiceDiscovery.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanSourceServiceDiscovery.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanStatus.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskServiceDetails.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/RiskServiceDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskSeverity.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskSeverity.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskTargetService.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/RiskTargetService.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskTargetServiceType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskTargetServiceType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskrulesListResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RiskrulesListResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskrulesRiskRuleResponse.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/RiskrulesRiskRuleResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RisksCreateRequest.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/RisksRisk.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/RisksRiskResponse.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/RiskscansCreateRequest.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansCreateRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansDownloadResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansDownloadResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapCell.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapCell.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapResponse.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapRiskRule.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapRiskRule.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapRow.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapRow.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapSummary.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansHeatmapSummary.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansListResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansListResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansOccurrenceContext.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansOccurrenceContext.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansOccurrenceDetails.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansOccurrenceDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansReportResponse.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansReportResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansReportSummary.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansReportSummary.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansRiskScanResponse.d.ts +40 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansRiskScanResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansScannedRiskWithOccurrences.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansScannedRiskWithOccurrences.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansUpdateRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RiskscansUpdateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksGetResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksGetResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksListResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksListResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksOccurrenceDetail.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksOccurrenceDetail.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksOccurrencesResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksOccurrencesResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStat.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStat.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatus.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRisk.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRisk.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummary.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummary.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.d.ts +65 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryResponse.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksValidationType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksValidationType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V2OnboardingManualMethod.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingManualMethod.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2Onboarding.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2OnboardingRequest.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannedrisksOccurrencesResponse } from '../schemas/ScannedrisksOccurrencesResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListScannedRiskOccurrencesQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListScannedRiskOccurrencesQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
endTime?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @default 15
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
organizationIdentifier?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @default 0
|
|
19
|
+
*/
|
|
20
|
+
page?: number;
|
|
21
|
+
parentUniqueId?: string;
|
|
22
|
+
projectIdentifier?: string;
|
|
23
|
+
scanType?: string;
|
|
24
|
+
search?: string;
|
|
25
|
+
sortAscending?: boolean;
|
|
26
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
27
|
+
startTime?: number;
|
|
28
|
+
}
|
|
29
|
+
export type ListScannedRiskOccurrencesOkResponse = ScannedrisksOccurrencesResponse;
|
|
30
|
+
export type ListScannedRiskOccurrencesErrorResponse = ApiRestError;
|
|
31
|
+
export interface ListScannedRiskOccurrencesProps extends ListScannedRiskOccurrencesQueryPathParams, Omit<FetcherOptions<ListScannedRiskOccurrencesQueryQueryParams, unknown>, 'url'> {
|
|
32
|
+
queryParams: ListScannedRiskOccurrencesQueryQueryParams;
|
|
33
|
+
}
|
|
34
|
+
export interface ListScannedRiskOccurrencesResponseContainer {
|
|
35
|
+
body: ListScannedRiskOccurrencesOkResponse;
|
|
36
|
+
headers: Headers;
|
|
37
|
+
}
|
|
38
|
+
export declare function listScannedRiskOccurrences(props: ListScannedRiskOccurrencesProps): Promise<ListScannedRiskOccurrencesResponseContainer>;
|
|
39
|
+
/**
|
|
40
|
+
* lists all occurrences for a specific scanned risk
|
|
41
|
+
*/
|
|
42
|
+
export declare function useListScannedRiskOccurrencesQuery(props: ListScannedRiskOccurrencesProps, options?: Omit<UseQueryOptions<ListScannedRiskOccurrencesResponseContainer, ListScannedRiskOccurrencesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannedRiskOccurrencesResponseContainer, ApiRestError>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listScannedRiskOccurrences(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scanned-risks/${props.identity}/occurrences`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists all occurrences for a specific scanned risk
|
|
11
|
+
*/
|
|
12
|
+
export function useListScannedRiskOccurrencesQuery(props, options) {
|
|
13
|
+
return useQuery(['listScannedRiskOccurrences', props.identity, props.queryParams], ({ signal }) => listScannedRiskOccurrences(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannedrisksListResponse } from '../schemas/ScannedrisksListResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListScannedRisksQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
agentIdentity?: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
endTime?: number;
|
|
10
|
+
environmentIdentity?: string;
|
|
11
|
+
includeAllScope?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @default 15
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
organizationIdentifier?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @default 0
|
|
19
|
+
*/
|
|
20
|
+
page?: number;
|
|
21
|
+
parentUniqueId?: string;
|
|
22
|
+
projectIdentifier?: string;
|
|
23
|
+
riskRuleId?: string;
|
|
24
|
+
search?: string;
|
|
25
|
+
serviceIdentity?: string;
|
|
26
|
+
severity?: string;
|
|
27
|
+
sortAscending?: boolean;
|
|
28
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
29
|
+
startTime?: number;
|
|
30
|
+
tags?: string;
|
|
31
|
+
validationType?: string;
|
|
32
|
+
}
|
|
33
|
+
export type ListScannedRisksOkResponse = ScannedrisksListResponse;
|
|
34
|
+
export type ListScannedRisksErrorResponse = ApiRestError;
|
|
35
|
+
export interface ListScannedRisksProps extends Omit<FetcherOptions<ListScannedRisksQueryQueryParams, unknown>, 'url'> {
|
|
36
|
+
queryParams: ListScannedRisksQueryQueryParams;
|
|
37
|
+
}
|
|
38
|
+
export interface ListScannedRisksResponseContainer {
|
|
39
|
+
body: ListScannedRisksOkResponse;
|
|
40
|
+
headers: Headers;
|
|
41
|
+
}
|
|
42
|
+
export declare function listScannedRisks(props: ListScannedRisksProps): Promise<ListScannedRisksResponseContainer>;
|
|
43
|
+
/**
|
|
44
|
+
* lists scanned risks with optional filtering
|
|
45
|
+
*/
|
|
46
|
+
export declare function useListScannedRisksQuery(props: ListScannedRisksProps, options?: Omit<UseQueryOptions<ListScannedRisksResponseContainer, ListScannedRisksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannedRisksResponseContainer, ApiRestError>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listScannedRisks(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scanned-risks`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* lists scanned risks with optional filtering
|
|
11
|
+
*/
|
|
12
|
+
export function useListScannedRisksQuery(props, options) {
|
|
13
|
+
return useQuery(['listScannedRisks', props.queryParams], ({ signal }) => listScannedRisks(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
|
+
export interface RetryRiskScanMutationPathParams {
|
|
5
|
+
identity: string;
|
|
6
|
+
}
|
|
7
|
+
export interface RetryRiskScanMutationQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
correlationID?: string;
|
|
10
|
+
organizationIdentifier?: string;
|
|
11
|
+
parentUniqueId?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
}
|
|
14
|
+
export type RetryRiskScanOkResponse = {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
17
|
+
export type RetryRiskScanErrorResponse = ApiRestError;
|
|
18
|
+
export interface RetryRiskScanProps extends RetryRiskScanMutationPathParams, Omit<FetcherOptions<RetryRiskScanMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: RetryRiskScanMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface RetryRiskScanResponseContainer {
|
|
22
|
+
body: RetryRiskScanOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function retryRiskScan(props: RetryRiskScanProps): Promise<RetryRiskScanResponseContainer>;
|
|
26
|
+
export type RetryRiskScanMutationProps<T extends keyof RetryRiskScanProps> = Omit<RetryRiskScanProps, T> & Partial<Pick<RetryRiskScanProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* retries an errored risk scan by its identity
|
|
29
|
+
*/
|
|
30
|
+
export declare function useRetryRiskScanMutation<T extends keyof RetryRiskScanProps>(props: Pick<Partial<RetryRiskScanProps>, T>, options?: Omit<UseMutationOptions<RetryRiskScanResponseContainer, RetryRiskScanErrorResponse, RetryRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryRiskScanResponseContainer, ApiRestError, RetryRiskScanMutationProps<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 retryRiskScan(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/risk-scans/${props.identity}/retry`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* retries an errored risk scan by its identity
|
|
11
|
+
*/
|
|
12
|
+
export function useRetryRiskScanMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => retryRiskScan(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannedrisksServiceRiskSummaryResponse } from '../schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ScannedrisksServiceRiskSummaryQuery } from '../schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface SummarizeScannedRisksByServiceMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export type SummarizeScannedRisksByServiceRequestBody = ScannedrisksServiceRiskSummaryQuery;
|
|
14
|
+
export type SummarizeScannedRisksByServiceOkResponse = ScannedrisksServiceRiskSummaryResponse;
|
|
15
|
+
export type SummarizeScannedRisksByServiceErrorResponse = ApiRestError;
|
|
16
|
+
export interface SummarizeScannedRisksByServiceProps extends Omit<FetcherOptions<SummarizeScannedRisksByServiceMutationQueryParams, SummarizeScannedRisksByServiceRequestBody>, 'url'> {
|
|
17
|
+
queryParams: SummarizeScannedRisksByServiceMutationQueryParams;
|
|
18
|
+
body: SummarizeScannedRisksByServiceRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export interface SummarizeScannedRisksByServiceResponseContainer {
|
|
21
|
+
body: SummarizeScannedRisksByServiceOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function summarizeScannedRisksByService(props: SummarizeScannedRisksByServiceProps): Promise<SummarizeScannedRisksByServiceResponseContainer>;
|
|
25
|
+
export type SummarizeScannedRisksByServiceMutationProps<T extends keyof SummarizeScannedRisksByServiceProps> = Omit<SummarizeScannedRisksByServiceProps, T> & Partial<Pick<SummarizeScannedRisksByServiceProps, T>>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
28
|
+
*/
|
|
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, ApiRestError, SummarizeScannedRisksByServiceMutationProps<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 summarizeScannedRisksByService(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scanned-risks/summary`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
11
|
+
*/
|
|
12
|
+
export function useSummarizeScannedRisksByServiceMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => summarizeScannedRisksByService(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
+
import type { RiskscansUpdateRequest } from '../schemas/RiskscansUpdateRequest';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface UpdateRiskScanMutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateRiskScanMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
organizationIdentifier?: string;
|
|
12
|
+
parentUniqueId?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type UpdateRiskScanRequestBody = RiskscansUpdateRequest;
|
|
16
|
+
export type UpdateRiskScanOkResponse = {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
export type UpdateRiskScanErrorResponse = ApiRestError;
|
|
20
|
+
export interface UpdateRiskScanProps extends UpdateRiskScanMutationPathParams, Omit<FetcherOptions<UpdateRiskScanMutationQueryParams, UpdateRiskScanRequestBody>, 'url'> {
|
|
21
|
+
queryParams: UpdateRiskScanMutationQueryParams;
|
|
22
|
+
body: UpdateRiskScanRequestBody;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateRiskScanResponseContainer {
|
|
25
|
+
body: UpdateRiskScanOkResponse;
|
|
26
|
+
headers: Headers;
|
|
27
|
+
}
|
|
28
|
+
export declare function updateRiskScan(props: UpdateRiskScanProps): Promise<UpdateRiskScanResponseContainer>;
|
|
29
|
+
export type UpdateRiskScanMutationProps<T extends keyof UpdateRiskScanProps> = Omit<UpdateRiskScanProps, T> & Partial<Pick<UpdateRiskScanProps, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* updates an existing risk scan's metadata
|
|
32
|
+
*/
|
|
33
|
+
export declare function useUpdateRiskScanMutation<T extends keyof UpdateRiskScanProps>(props: Pick<Partial<UpdateRiskScanProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskScanResponseContainer, UpdateRiskScanErrorResponse, UpdateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskScanResponseContainer, ApiRestError, UpdateRiskScanMutationProps<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 updateRiskScan(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/risk-scans/${props.identity}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* updates an existing risk scan's metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateRiskScanMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateRiskScan(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -2,6 +2,8 @@ export type { AbortChaosComponentForMachineErrorResponse, AbortChaosComponentFor
|
|
|
2
2
|
export { abortChaosComponentForMachine, useAbortChaosComponentForMachineMutation, } from './hooks/useAbortChaosComponentForMachineMutation';
|
|
3
3
|
export type { AbortChaosComponentErrorResponse, AbortChaosComponentMutationProps, AbortChaosComponentMutationQueryParams, AbortChaosComponentOkResponse, AbortChaosComponentProps, AbortChaosComponentRequestBody, } from './hooks/useAbortChaosComponentMutation';
|
|
4
4
|
export { abortChaosComponent, useAbortChaosComponentMutation, } from './hooks/useAbortChaosComponentMutation';
|
|
5
|
+
export type { AbortRiskScanErrorResponse, AbortRiskScanMutationPathParams, AbortRiskScanMutationProps, AbortRiskScanMutationQueryParams, AbortRiskScanOkResponse, AbortRiskScanProps, } from './hooks/useAbortRiskScanMutation';
|
|
6
|
+
export { abortRiskScan, useAbortRiskScanMutation } from './hooks/useAbortRiskScanMutation';
|
|
5
7
|
export type { AddNoteErrorResponse, AddNoteMutationProps, AddNoteMutationQueryParams, AddNoteOkResponse, AddNoteProps, AddNoteRequestBody, } from './hooks/useAddNoteMutation';
|
|
6
8
|
export { addNote, useAddNoteMutation } from './hooks/useAddNoteMutation';
|
|
7
9
|
export type { BulkExperimentDeleteErrorResponse, BulkExperimentDeleteMutationProps, BulkExperimentDeleteMutationQueryParams, BulkExperimentDeleteOkResponse, BulkExperimentDeleteProps, BulkExperimentDeleteRequestBody, } from './hooks/useBulkExperimentDeleteMutation';
|
|
@@ -56,6 +58,8 @@ export type { CreateRecommendationErrorResponse, CreateRecommendationMutationPro
|
|
|
56
58
|
export { createRecommendation, useCreateRecommendationMutation, } from './hooks/useCreateRecommendationMutation';
|
|
57
59
|
export type { CreateRiskErrorResponse, CreateRiskMutationProps, CreateRiskMutationQueryParams, CreateRiskOkResponse, CreateRiskProps, CreateRiskRequestBody, } from './hooks/useCreateRiskMutation';
|
|
58
60
|
export { createRisk, useCreateRiskMutation } from './hooks/useCreateRiskMutation';
|
|
61
|
+
export type { CreateRiskScanErrorResponse, CreateRiskScanMutationProps, CreateRiskScanMutationQueryParams, CreateRiskScanOkResponse, CreateRiskScanProps, CreateRiskScanRequestBody, } from './hooks/useCreateRiskScanMutation';
|
|
62
|
+
export { createRiskScan, useCreateRiskScanMutation } from './hooks/useCreateRiskScanMutation';
|
|
59
63
|
export type { CreateRuleErrorResponse, CreateRuleMutationProps, CreateRuleMutationQueryParams, CreateRuleOkResponse, CreateRuleProps, CreateRuleRequestBody, } from './hooks/useCreateRuleMutation';
|
|
60
64
|
export { createRule, useCreateRuleMutation } from './hooks/useCreateRuleMutation';
|
|
61
65
|
export type { CreateV2OnboardingErrorResponse, CreateV2OnboardingMutationProps, CreateV2OnboardingMutationQueryParams, CreateV2OnboardingOkResponse, CreateV2OnboardingProps, CreateV2OnboardingRequestBody, } from './hooks/useCreateV2OnboardingMutation';
|
|
@@ -102,6 +106,8 @@ export type { DeleteRecommendationErrorResponse, DeleteRecommendationMutationPro
|
|
|
102
106
|
export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
|
|
103
107
|
export type { DeleteRiskErrorResponse, DeleteRiskMutationPathParams, DeleteRiskMutationProps, DeleteRiskMutationQueryParams, DeleteRiskOkResponse, DeleteRiskProps, } from './hooks/useDeleteRiskMutation';
|
|
104
108
|
export { deleteRisk, useDeleteRiskMutation } from './hooks/useDeleteRiskMutation';
|
|
109
|
+
export type { DeleteRiskScanErrorResponse, DeleteRiskScanMutationPathParams, DeleteRiskScanMutationProps, DeleteRiskScanMutationQueryParams, DeleteRiskScanOkResponse, DeleteRiskScanProps, } from './hooks/useDeleteRiskScanMutation';
|
|
110
|
+
export { deleteRiskScan, useDeleteRiskScanMutation } from './hooks/useDeleteRiskScanMutation';
|
|
105
111
|
export type { DeleteRuleErrorResponse, DeleteRuleMutationPathParams, DeleteRuleMutationProps, DeleteRuleMutationQueryParams, DeleteRuleOkResponse, DeleteRuleProps, } from './hooks/useDeleteRuleMutation';
|
|
106
112
|
export { deleteRule, useDeleteRuleMutation } from './hooks/useDeleteRuleMutation';
|
|
107
113
|
export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutationPathParams, DeleteTargetNetworkMapMutationProps, DeleteTargetNetworkMapMutationQueryParams, DeleteTargetNetworkMapOkResponse, DeleteTargetNetworkMapProps, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
@@ -126,6 +132,8 @@ export type { GetActionTemplateErrorResponse, GetActionTemplateOkResponse, GetAc
|
|
|
126
132
|
export { getActionTemplate, useGetActionTemplateQuery } from './hooks/useGetActionTemplateQuery';
|
|
127
133
|
export type { GetActionTemplateRevisionDifferenceErrorResponse, GetActionTemplateRevisionDifferenceOkResponse, GetActionTemplateRevisionDifferenceProps, GetActionTemplateRevisionDifferenceQueryPathParams, GetActionTemplateRevisionDifferenceQueryQueryParams, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
|
|
128
134
|
export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDifferenceQuery, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
|
|
135
|
+
export type { GetChaosComponentVariableInternalErrorResponse, GetChaosComponentVariableInternalOkResponse, GetChaosComponentVariableInternalProps, GetChaosComponentVariableInternalQueryQueryParams, } from './hooks/useGetChaosComponentVariableInternalQuery';
|
|
136
|
+
export { getChaosComponentVariableInternal, useGetChaosComponentVariableInternalQuery, } from './hooks/useGetChaosComponentVariableInternalQuery';
|
|
129
137
|
export type { GetChaosComponentVariableErrorResponse, GetChaosComponentVariableOkResponse, GetChaosComponentVariableProps, GetChaosComponentVariableQueryQueryParams, } from './hooks/useGetChaosComponentVariableQuery';
|
|
130
138
|
export { getChaosComponentVariable, useGetChaosComponentVariableQuery, } from './hooks/useGetChaosComponentVariableQuery';
|
|
131
139
|
export type { GetChaosDashboardErrorResponse, GetChaosDashboardOkResponse, GetChaosDashboardProps, } from './hooks/useGetChaosDashboardQuery';
|
|
@@ -248,8 +256,20 @@ export type { GetResourceUsageErrorResponse, GetResourceUsageOkResponse, GetReso
|
|
|
248
256
|
export { getResourceUsage, useGetResourceUsageQuery } from './hooks/useGetResourceUsageQuery';
|
|
249
257
|
export type { GetRiskErrorResponse, GetRiskOkResponse, GetRiskProps, GetRiskQueryPathParams, GetRiskQueryQueryParams, } from './hooks/useGetRiskQuery';
|
|
250
258
|
export { getRisk, useGetRiskQuery } from './hooks/useGetRiskQuery';
|
|
259
|
+
export type { GetRiskRuleErrorResponse, GetRiskRuleOkResponse, GetRiskRuleProps, GetRiskRuleQueryPathParams, GetRiskRuleQueryQueryParams, } from './hooks/useGetRiskRuleQuery';
|
|
260
|
+
export { getRiskRule, useGetRiskRuleQuery } from './hooks/useGetRiskRuleQuery';
|
|
261
|
+
export type { GetRiskScanHeatmapErrorResponse, GetRiskScanHeatmapOkResponse, GetRiskScanHeatmapProps, GetRiskScanHeatmapQueryPathParams, GetRiskScanHeatmapQueryQueryParams, } from './hooks/useGetRiskScanHeatmapQuery';
|
|
262
|
+
export { getRiskScanHeatmap, useGetRiskScanHeatmapQuery } from './hooks/useGetRiskScanHeatmapQuery';
|
|
263
|
+
export type { GetRiskScanErrorResponse, GetRiskScanOkResponse, GetRiskScanProps, GetRiskScanQueryPathParams, GetRiskScanQueryQueryParams, } from './hooks/useGetRiskScanQuery';
|
|
264
|
+
export { getRiskScan, useGetRiskScanQuery } from './hooks/useGetRiskScanQuery';
|
|
265
|
+
export type { GetRiskScanReportDownloadUrlErrorResponse, GetRiskScanReportDownloadUrlOkResponse, GetRiskScanReportDownloadUrlProps, GetRiskScanReportDownloadUrlQueryPathParams, GetRiskScanReportDownloadUrlQueryQueryParams, } from './hooks/useGetRiskScanReportDownloadUrlQuery';
|
|
266
|
+
export { getRiskScanReportDownloadUrl, useGetRiskScanReportDownloadUrlQuery, } from './hooks/useGetRiskScanReportDownloadUrlQuery';
|
|
267
|
+
export type { GetRiskScanReportErrorResponse, GetRiskScanReportOkResponse, GetRiskScanReportProps, GetRiskScanReportQueryPathParams, GetRiskScanReportQueryQueryParams, } from './hooks/useGetRiskScanReportQuery';
|
|
268
|
+
export { getRiskScanReport, useGetRiskScanReportQuery } from './hooks/useGetRiskScanReportQuery';
|
|
251
269
|
export type { GetRuleErrorResponse, GetRuleOkResponse, GetRuleProps, GetRuleQueryPathParams, GetRuleQueryQueryParams, } from './hooks/useGetRuleQuery';
|
|
252
270
|
export { getRule, useGetRuleQuery } from './hooks/useGetRuleQuery';
|
|
271
|
+
export type { GetScannedRiskErrorResponse, GetScannedRiskOkResponse, GetScannedRiskProps, GetScannedRiskQueryPathParams, GetScannedRiskQueryQueryParams, } from './hooks/useGetScannedRiskQuery';
|
|
272
|
+
export { getScannedRisk, useGetScannedRiskQuery } from './hooks/useGetScannedRiskQuery';
|
|
253
273
|
export type { GetServiceResponseErrorResponse, GetServiceResponseOkResponse, GetServiceResponseProps, GetServiceResponseQueryPathParams, GetServiceResponseQueryQueryParams, } from './hooks/useGetServiceResponseQuery';
|
|
254
274
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
255
275
|
export type { GetServiceUsageReportErrorResponse, GetServiceUsageReportOkResponse, GetServiceUsageReportProps, GetServiceUsageReportQueryPathParams, GetServiceUsageReportQueryQueryParams, } from './hooks/useGetServiceUsageReportQuery';
|
|
@@ -350,10 +370,18 @@ export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, Li
|
|
|
350
370
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
351
371
|
export type { ListRecommendationsErrorResponse, ListRecommendationsOkResponse, ListRecommendationsProps, ListRecommendationsQueryQueryParams, ListRecommendationsRequestBody, } from './hooks/useListRecommendationsQuery';
|
|
352
372
|
export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
|
|
373
|
+
export type { ListRiskRulesErrorResponse, ListRiskRulesOkResponse, ListRiskRulesProps, ListRiskRulesQueryQueryParams, } from './hooks/useListRiskRulesQuery';
|
|
374
|
+
export { listRiskRules, useListRiskRulesQuery } from './hooks/useListRiskRulesQuery';
|
|
375
|
+
export type { ListRiskScansErrorResponse, ListRiskScansOkResponse, ListRiskScansProps, ListRiskScansQueryQueryParams, } from './hooks/useListRiskScansQuery';
|
|
376
|
+
export { listRiskScans, useListRiskScansQuery } from './hooks/useListRiskScansQuery';
|
|
353
377
|
export type { ListRisksErrorResponse, ListRisksOkResponse, ListRisksProps, ListRisksQueryQueryParams, } from './hooks/useListRisksQuery';
|
|
354
378
|
export { listRisks, useListRisksQuery } from './hooks/useListRisksQuery';
|
|
355
379
|
export type { ListRuleErrorResponse, ListRuleOkResponse, ListRuleProps, ListRuleQueryQueryParams, } from './hooks/useListRuleQuery';
|
|
356
380
|
export { listRule, useListRuleQuery } from './hooks/useListRuleQuery';
|
|
381
|
+
export type { ListScannedRiskOccurrencesErrorResponse, ListScannedRiskOccurrencesOkResponse, ListScannedRiskOccurrencesProps, ListScannedRiskOccurrencesQueryPathParams, ListScannedRiskOccurrencesQueryQueryParams, } from './hooks/useListScannedRiskOccurrencesQuery';
|
|
382
|
+
export { listScannedRiskOccurrences, useListScannedRiskOccurrencesQuery, } from './hooks/useListScannedRiskOccurrencesQuery';
|
|
383
|
+
export type { ListScannedRisksErrorResponse, ListScannedRisksOkResponse, ListScannedRisksProps, ListScannedRisksQueryQueryParams, } from './hooks/useListScannedRisksQuery';
|
|
384
|
+
export { listScannedRisks, useListScannedRisksQuery } from './hooks/useListScannedRisksQuery';
|
|
357
385
|
export type { ListServiceErrorResponse, ListServiceOkResponse, ListServiceProps, ListServiceQueryPathParams, ListServiceQueryQueryParams, } from './hooks/useListServiceQuery';
|
|
358
386
|
export { listService, useListServiceQuery } from './hooks/useListServiceQuery';
|
|
359
387
|
export type { ListTargetNetworkMapsErrorResponse, ListTargetNetworkMapsOkResponse, ListTargetNetworkMapsProps, ListTargetNetworkMapsQueryQueryParams, ListTargetNetworkMapsRequestBody, } from './hooks/useListTargetNetworkMapsQuery';
|
|
@@ -400,6 +428,8 @@ export type { ResolveImageRegistryV3ErrorResponse, ResolveImageRegistryV3OkRespo
|
|
|
400
428
|
export { resolveImageRegistryV3, useResolveImageRegistryV3Query, } from './hooks/useResolveImageRegistryV3Query';
|
|
401
429
|
export type { RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationPathParams, RetryExperimentCreationMutationProps, RetryExperimentCreationMutationQueryParams, RetryExperimentCreationOkResponse, RetryExperimentCreationProps, RetryExperimentCreationRequestBody, } from './hooks/useRetryExperimentCreationMutation';
|
|
402
430
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
431
|
+
export type { RetryRiskScanErrorResponse, RetryRiskScanMutationPathParams, RetryRiskScanMutationProps, RetryRiskScanMutationQueryParams, RetryRiskScanOkResponse, RetryRiskScanProps, } from './hooks/useRetryRiskScanMutation';
|
|
432
|
+
export { retryRiskScan, useRetryRiskScanMutation } from './hooks/useRetryRiskScanMutation';
|
|
403
433
|
export type { RunChaosComponentForMachineErrorResponse, RunChaosComponentForMachineMutationProps, RunChaosComponentForMachineMutationQueryParams, RunChaosComponentForMachineOkResponse, RunChaosComponentForMachineProps, RunChaosComponentForMachineRequestBody, } from './hooks/useRunChaosComponentForMachineMutation';
|
|
404
434
|
export { runChaosComponentForMachine, useRunChaosComponentForMachineMutation, } from './hooks/useRunChaosComponentForMachineMutation';
|
|
405
435
|
export type { RunChaosComponentErrorResponse, RunChaosComponentMutationProps, RunChaosComponentMutationQueryParams, RunChaosComponentOkResponse, RunChaosComponentProps, RunChaosComponentRequestBody, } from './hooks/useRunChaosComponentMutation';
|
|
@@ -422,6 +452,8 @@ export type { StopDrTestErrorResponse, StopDrTestMutationPathParams, StopDrTestM
|
|
|
422
452
|
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
423
453
|
export type { StopOnboardingExperimentsErrorResponse, StopOnboardingExperimentsMutationPathParams, StopOnboardingExperimentsMutationProps, StopOnboardingExperimentsMutationQueryParams, StopOnboardingExperimentsOkResponse, StopOnboardingExperimentsProps, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
424
454
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
455
|
+
export type { SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps, SummarizeScannedRisksByServiceMutationQueryParams, SummarizeScannedRisksByServiceOkResponse, SummarizeScannedRisksByServiceProps, SummarizeScannedRisksByServiceRequestBody, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
456
|
+
export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
425
457
|
export type { TestLegacyKubernetesChaosInfraConnectionErrorResponse, TestLegacyKubernetesChaosInfraConnectionOkResponse, TestLegacyKubernetesChaosInfraConnectionProps, TestLegacyKubernetesChaosInfraConnectionQueryPathParams, TestLegacyKubernetesChaosInfraConnectionQueryQueryParams, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
426
458
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
427
459
|
export type { UpdateActionErrorResponse, UpdateActionMutationPathParams, UpdateActionMutationProps, UpdateActionMutationQueryParams, UpdateActionOkResponse, UpdateActionProps, UpdateActionRequestBody, } from './hooks/useUpdateActionMutation';
|
|
@@ -474,6 +506,8 @@ export type { UpdateRecommendationStatusErrorResponse, UpdateRecommendationStatu
|
|
|
474
506
|
export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
475
507
|
export type { UpdateRiskErrorResponse, UpdateRiskMutationPathParams, UpdateRiskMutationProps, UpdateRiskMutationQueryParams, UpdateRiskOkResponse, UpdateRiskProps, UpdateRiskRequestBody, } from './hooks/useUpdateRiskMutation';
|
|
476
508
|
export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
|
|
509
|
+
export type { UpdateRiskScanErrorResponse, UpdateRiskScanMutationPathParams, UpdateRiskScanMutationProps, UpdateRiskScanMutationQueryParams, UpdateRiskScanOkResponse, UpdateRiskScanProps, UpdateRiskScanRequestBody, } from './hooks/useUpdateRiskScanMutation';
|
|
510
|
+
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
477
511
|
export type { UpdateRuleErrorResponse, UpdateRuleMutationPathParams, UpdateRuleMutationProps, UpdateRuleMutationQueryParams, UpdateRuleOkResponse, UpdateRuleProps, UpdateRuleRequestBody, } from './hooks/useUpdateRuleMutation';
|
|
478
512
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
479
513
|
export type { UpgradeLegacyKubernetesChaosInfraErrorResponse, UpgradeLegacyKubernetesChaosInfraMutationPathParams, UpgradeLegacyKubernetesChaosInfraMutationProps, UpgradeLegacyKubernetesChaosInfraMutationQueryParams, UpgradeLegacyKubernetesChaosInfraOkResponse, UpgradeLegacyKubernetesChaosInfraProps, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
@@ -1153,6 +1187,30 @@ export type { RecommendationsListRecommendationsResponse } from './schemas/Recom
|
|
|
1153
1187
|
export type { RecommendationsPipelineAddExperimentResponse } from './schemas/RecommendationsPipelineAddExperimentResponse';
|
|
1154
1188
|
export type { RecommendationsRunActionResponse } from './schemas/RecommendationsRunActionResponse';
|
|
1155
1189
|
export type { ResourceQuantity } from './schemas/ResourceQuantity';
|
|
1190
|
+
export type { RiskCategory } from './schemas/RiskCategory';
|
|
1191
|
+
export type { RiskCdService } from './schemas/RiskCdService';
|
|
1192
|
+
export type { RiskChaosService } from './schemas/RiskChaosService';
|
|
1193
|
+
export type { RiskCollectionError } from './schemas/RiskCollectionError';
|
|
1194
|
+
export type { RiskCollectionSummary } from './schemas/RiskCollectionSummary';
|
|
1195
|
+
export type { RiskDiscoveredService } from './schemas/RiskDiscoveredService';
|
|
1196
|
+
export type { RiskEvidenceResource } from './schemas/RiskEvidenceResource';
|
|
1197
|
+
export type { RiskRiskDataSource } from './schemas/RiskRiskDataSource';
|
|
1198
|
+
export type { RiskRiskRulePrompt } from './schemas/RiskRiskRulePrompt';
|
|
1199
|
+
export type { RiskRiskRuleSpec } from './schemas/RiskRiskRuleSpec';
|
|
1200
|
+
export type { RiskRiskSummary } from './schemas/RiskRiskSummary';
|
|
1201
|
+
export type { RiskScan } from './schemas/RiskScan';
|
|
1202
|
+
export type { RiskScanResult } from './schemas/RiskScanResult';
|
|
1203
|
+
export type { RiskScanSource } from './schemas/RiskScanSource';
|
|
1204
|
+
export type { RiskScanSourcePipeline } from './schemas/RiskScanSourcePipeline';
|
|
1205
|
+
export type { RiskScanSourceServiceDiscovery } from './schemas/RiskScanSourceServiceDiscovery';
|
|
1206
|
+
export type { RiskScanStatus } from './schemas/RiskScanStatus';
|
|
1207
|
+
export type { RiskScanType } from './schemas/RiskScanType';
|
|
1208
|
+
export type { RiskServiceDetails } from './schemas/RiskServiceDetails';
|
|
1209
|
+
export type { RiskSeverity } from './schemas/RiskSeverity';
|
|
1210
|
+
export type { RiskTargetService } from './schemas/RiskTargetService';
|
|
1211
|
+
export type { RiskTargetServiceType } from './schemas/RiskTargetServiceType';
|
|
1212
|
+
export type { RiskrulesListResponse } from './schemas/RiskrulesListResponse';
|
|
1213
|
+
export type { RiskrulesRiskRuleResponse } from './schemas/RiskrulesRiskRuleResponse';
|
|
1156
1214
|
export type { RisksActiveExecutionResponse } from './schemas/RisksActiveExecutionResponse';
|
|
1157
1215
|
export type { RisksActiveRiskCounter } from './schemas/RisksActiveRiskCounter';
|
|
1158
1216
|
export type { RisksCreateRequest } from './schemas/RisksCreateRequest';
|
|
@@ -1164,6 +1222,33 @@ export type { RisksListRiskResponse } from './schemas/RisksListRiskResponse';
|
|
|
1164
1222
|
export type { RisksRisk } from './schemas/RisksRisk';
|
|
1165
1223
|
export type { RisksRiskResponse } from './schemas/RisksRiskResponse';
|
|
1166
1224
|
export type { RisksUpdateRequest } from './schemas/RisksUpdateRequest';
|
|
1225
|
+
export type { RiskscansCreateRequest } from './schemas/RiskscansCreateRequest';
|
|
1226
|
+
export type { RiskscansDownloadResponse } from './schemas/RiskscansDownloadResponse';
|
|
1227
|
+
export type { RiskscansHeatmapCell } from './schemas/RiskscansHeatmapCell';
|
|
1228
|
+
export type { RiskscansHeatmapResponse } from './schemas/RiskscansHeatmapResponse';
|
|
1229
|
+
export type { RiskscansHeatmapRiskRule } from './schemas/RiskscansHeatmapRiskRule';
|
|
1230
|
+
export type { RiskscansHeatmapRow } from './schemas/RiskscansHeatmapRow';
|
|
1231
|
+
export type { RiskscansHeatmapSummary } from './schemas/RiskscansHeatmapSummary';
|
|
1232
|
+
export type { RiskscansListResponse } from './schemas/RiskscansListResponse';
|
|
1233
|
+
export type { RiskscansOccurrenceContext } from './schemas/RiskscansOccurrenceContext';
|
|
1234
|
+
export type { RiskscansOccurrenceDetails } from './schemas/RiskscansOccurrenceDetails';
|
|
1235
|
+
export type { RiskscansReportResponse } from './schemas/RiskscansReportResponse';
|
|
1236
|
+
export type { RiskscansReportSummary } from './schemas/RiskscansReportSummary';
|
|
1237
|
+
export type { RiskscansRiskScanResponse } from './schemas/RiskscansRiskScanResponse';
|
|
1238
|
+
export type { RiskscansScannedRiskWithOccurrences } from './schemas/RiskscansScannedRiskWithOccurrences';
|
|
1239
|
+
export type { RiskscansUpdateRequest } from './schemas/RiskscansUpdateRequest';
|
|
1240
|
+
export type { ScannedrisksGetResponse } from './schemas/ScannedrisksGetResponse';
|
|
1241
|
+
export type { ScannedrisksListResponse } from './schemas/ScannedrisksListResponse';
|
|
1242
|
+
export type { ScannedrisksOccurrenceDetail } from './schemas/ScannedrisksOccurrenceDetail';
|
|
1243
|
+
export type { ScannedrisksOccurrencesResponse } from './schemas/ScannedrisksOccurrencesResponse';
|
|
1244
|
+
export type { ScannedrisksRiskStat } from './schemas/ScannedrisksRiskStat';
|
|
1245
|
+
export type { ScannedrisksRiskStatus } from './schemas/ScannedrisksRiskStatus';
|
|
1246
|
+
export type { ScannedrisksScannedRisk } from './schemas/ScannedrisksScannedRisk';
|
|
1247
|
+
export type { ScannedrisksScannedRiskSpec } from './schemas/ScannedrisksScannedRiskSpec';
|
|
1248
|
+
export type { ScannedrisksServiceRiskSummary } from './schemas/ScannedrisksServiceRiskSummary';
|
|
1249
|
+
export type { ScannedrisksServiceRiskSummaryQuery } from './schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
1250
|
+
export type { ScannedrisksServiceRiskSummaryResponse } from './schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
1251
|
+
export type { ScannedrisksValidationType } from './schemas/ScannedrisksValidationType';
|
|
1167
1252
|
export type { SecurityGovernanceAccessControl } from './schemas/SecurityGovernanceAccessControl';
|
|
1168
1253
|
export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
|
|
1169
1254
|
export type { SecurityGovernanceChaosServiceAccountSpec } from './schemas/SecurityGovernanceChaosServiceAccountSpec';
|
|
@@ -1443,6 +1528,7 @@ export type { V2OnboardingConfirmServiceOnboardingResponse } from './schemas/V2O
|
|
|
1443
1528
|
export type { V2OnboardingDiscoveredService } from './schemas/V2OnboardingDiscoveredService';
|
|
1444
1529
|
export type { V2OnboardingExperiments } from './schemas/V2OnboardingExperiments';
|
|
1445
1530
|
export type { V2OnboardingListOnboardedServicesResponse } from './schemas/V2OnboardingListOnboardedServicesResponse';
|
|
1531
|
+
export type { V2OnboardingManualMethod } from './schemas/V2OnboardingManualMethod';
|
|
1446
1532
|
export type { V2OnboardingNetworkMapCreationMode } from './schemas/V2OnboardingNetworkMapCreationMode';
|
|
1447
1533
|
export type { V2OnboardingOnboardServicesRequest } from './schemas/V2OnboardingOnboardServicesRequest';
|
|
1448
1534
|
export type { V2OnboardingOnboardServicesResponse } from './schemas/V2OnboardingOnboardServicesResponse';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { abortChaosComponentForMachine, useAbortChaosComponentForMachineMutation, } from './hooks/useAbortChaosComponentForMachineMutation';
|
|
2
2
|
export { abortChaosComponent, useAbortChaosComponentMutation, } from './hooks/useAbortChaosComponentMutation';
|
|
3
|
+
export { abortRiskScan, useAbortRiskScanMutation } from './hooks/useAbortRiskScanMutation';
|
|
3
4
|
export { addNote, useAddNoteMutation } from './hooks/useAddNoteMutation';
|
|
4
5
|
export { bulkExperimentDelete, useBulkExperimentDeleteMutation, } from './hooks/useBulkExperimentDeleteMutation';
|
|
5
6
|
export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/useBulkExperimentTagAddMutation';
|
|
@@ -27,6 +28,7 @@ export { createProbe, useCreateProbeMutation } from './hooks/useCreateProbeMutat
|
|
|
27
28
|
export { createProbeTemplate, useCreateProbeTemplateMutation, } from './hooks/useCreateProbeTemplateMutation';
|
|
28
29
|
export { createRecommendation, useCreateRecommendationMutation, } from './hooks/useCreateRecommendationMutation';
|
|
29
30
|
export { createRisk, useCreateRiskMutation } from './hooks/useCreateRiskMutation';
|
|
31
|
+
export { createRiskScan, useCreateRiskScanMutation } from './hooks/useCreateRiskScanMutation';
|
|
30
32
|
export { createRule, useCreateRuleMutation } from './hooks/useCreateRuleMutation';
|
|
31
33
|
export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useCreateV2OnboardingMutation';
|
|
32
34
|
export { delegateCallbackUpdate, useDelegateCallbackUpdateMutation, } from './hooks/useDelegateCallbackUpdateMutation';
|
|
@@ -50,6 +52,7 @@ export { deleteProbe, useDeleteProbeMutation } from './hooks/useDeleteProbeMutat
|
|
|
50
52
|
export { deleteProbeTemplate, useDeleteProbeTemplateMutation, } from './hooks/useDeleteProbeTemplateMutation';
|
|
51
53
|
export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
|
|
52
54
|
export { deleteRisk, useDeleteRiskMutation } from './hooks/useDeleteRiskMutation';
|
|
55
|
+
export { deleteRiskScan, useDeleteRiskScanMutation } from './hooks/useDeleteRiskScanMutation';
|
|
53
56
|
export { deleteRule, useDeleteRuleMutation } from './hooks/useDeleteRuleMutation';
|
|
54
57
|
export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
55
58
|
export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
|
|
@@ -62,6 +65,7 @@ export { getActionManifest, useGetActionManifestQuery } from './hooks/useGetActi
|
|
|
62
65
|
export { getAction, useGetActionQuery } from './hooks/useGetActionQuery';
|
|
63
66
|
export { getActionTemplate, useGetActionTemplateQuery } from './hooks/useGetActionTemplateQuery';
|
|
64
67
|
export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDifferenceQuery, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
|
|
68
|
+
export { getChaosComponentVariableInternal, useGetChaosComponentVariableInternalQuery, } from './hooks/useGetChaosComponentVariableInternalQuery';
|
|
65
69
|
export { getChaosComponentVariable, useGetChaosComponentVariableQuery, } from './hooks/useGetChaosComponentVariableQuery';
|
|
66
70
|
export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
|
|
67
71
|
export { getChaosExperimentRunReportJson, useGetChaosExperimentRunReportJsonQuery, } from './hooks/useGetChaosExperimentRunReportJsonQuery';
|
|
@@ -123,7 +127,13 @@ export { getProbesInExperiment, useGetProbesInExperimentQuery, } from './hooks/u
|
|
|
123
127
|
export { getRecommendation, useGetRecommendationQuery } from './hooks/useGetRecommendationQuery';
|
|
124
128
|
export { getResourceUsage, useGetResourceUsageQuery } from './hooks/useGetResourceUsageQuery';
|
|
125
129
|
export { getRisk, useGetRiskQuery } from './hooks/useGetRiskQuery';
|
|
130
|
+
export { getRiskRule, useGetRiskRuleQuery } from './hooks/useGetRiskRuleQuery';
|
|
131
|
+
export { getRiskScanHeatmap, useGetRiskScanHeatmapQuery } from './hooks/useGetRiskScanHeatmapQuery';
|
|
132
|
+
export { getRiskScan, useGetRiskScanQuery } from './hooks/useGetRiskScanQuery';
|
|
133
|
+
export { getRiskScanReportDownloadUrl, useGetRiskScanReportDownloadUrlQuery, } from './hooks/useGetRiskScanReportDownloadUrlQuery';
|
|
134
|
+
export { getRiskScanReport, useGetRiskScanReportQuery } from './hooks/useGetRiskScanReportQuery';
|
|
126
135
|
export { getRule, useGetRuleQuery } from './hooks/useGetRuleQuery';
|
|
136
|
+
export { getScannedRisk, useGetScannedRiskQuery } from './hooks/useGetScannedRiskQuery';
|
|
127
137
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
128
138
|
export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
|
|
129
139
|
export { getSgpTemplateByGenAi, useGetSgpTemplateByGenAiMutation, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
@@ -174,8 +184,12 @@ export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListPro
|
|
|
174
184
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
175
185
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
176
186
|
export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
|
|
187
|
+
export { listRiskRules, useListRiskRulesQuery } from './hooks/useListRiskRulesQuery';
|
|
188
|
+
export { listRiskScans, useListRiskScansQuery } from './hooks/useListRiskScansQuery';
|
|
177
189
|
export { listRisks, useListRisksQuery } from './hooks/useListRisksQuery';
|
|
178
190
|
export { listRule, useListRuleQuery } from './hooks/useListRuleQuery';
|
|
191
|
+
export { listScannedRiskOccurrences, useListScannedRiskOccurrencesQuery, } from './hooks/useListScannedRiskOccurrencesQuery';
|
|
192
|
+
export { listScannedRisks, useListScannedRisksQuery } from './hooks/useListScannedRisksQuery';
|
|
179
193
|
export { listService, useListServiceQuery } from './hooks/useListServiceQuery';
|
|
180
194
|
export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/useListTargetNetworkMapsQuery';
|
|
181
195
|
export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
|
|
@@ -199,6 +213,7 @@ export { registerMachineInfra, useRegisterMachineInfraMutation, } from './hooks/
|
|
|
199
213
|
export { renderTemplateForm, useRenderTemplateFormQuery } from './hooks/useRenderTemplateFormQuery';
|
|
200
214
|
export { resolveImageRegistryV3, useResolveImageRegistryV3Query, } from './hooks/useResolveImageRegistryV3Query';
|
|
201
215
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
216
|
+
export { retryRiskScan, useRetryRiskScanMutation } from './hooks/useRetryRiskScanMutation';
|
|
202
217
|
export { runChaosComponentForMachine, useRunChaosComponentForMachineMutation, } from './hooks/useRunChaosComponentForMachineMutation';
|
|
203
218
|
export { runChaosComponent, useRunChaosComponentMutation, } from './hooks/useRunChaosComponentMutation';
|
|
204
219
|
export { runChaosExperimentV3, useRunChaosExperimentV3Mutation, } from './hooks/useRunChaosExperimentV3Mutation';
|
|
@@ -210,6 +225,7 @@ export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hook
|
|
|
210
225
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
211
226
|
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
212
227
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
228
|
+
export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
213
229
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
214
230
|
export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
|
|
215
231
|
export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
|
|
@@ -236,6 +252,7 @@ export { updateProbe, useUpdateProbeMutation } from './hooks/useUpdateProbeMutat
|
|
|
236
252
|
export { updateProbeTemplate, useUpdateProbeTemplateMutation, } from './hooks/useUpdateProbeTemplateMutation';
|
|
237
253
|
export { updateRecommendationStatus, useUpdateRecommendationStatusMutation, } from './hooks/useUpdateRecommendationStatusMutation';
|
|
238
254
|
export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation';
|
|
255
|
+
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
239
256
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
240
257
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
241
258
|
export { useVerifyChaosStageInPipelineRunQuery, verifyChaosStageInPipelineRun, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface ActionActionTemplateRunProperties {
|
|
2
2
|
initialDelay?: string;
|
|
3
3
|
interval?: string;
|
|
4
|
-
iterations?:
|
|
5
|
-
maxRetries?:
|
|
4
|
+
iterations?: string | number;
|
|
5
|
+
maxRetries?: string | number;
|
|
6
6
|
stopOnFailure?: boolean;
|
|
7
7
|
timeout?: string;
|
|
8
8
|
verbosity?: string;
|
|
@@ -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?:
|
|
6
|
+
durationInMin?: string | number;
|
|
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?:
|
|
4
|
+
durationInMin?: string | number;
|
|
5
5
|
metrics?: ProbeMetrics;
|
|
6
6
|
}
|