@harnessio/react-chaos-manager-client 1.91.7 → 1.91.9
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/useCreateRiskRuleMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useCreateRiskRuleMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListActionSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListActionSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateSpecVariablesMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateSpecVariablesMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +1 -0
- 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 +24 -0
- package/dist/chaos-manager/src/services/index.js +9 -0
- package/dist/chaos-manager/src/services/requestBodies/SharedSpecVariablesRequestRequestBody.d.ts +2 -0
- package/dist/chaos-manager/src/services/requestBodies/SharedSpecVariablesRequestRequestBody.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatusDetails.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksRiskStatusDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksUpdateStatusRequest.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksUpdateStatusRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/SharedSpecVariable.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/SharedSpecVariable.js +4 -0
- package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/SharedSpecVariablesResponse.js +1 -0
- package/package.json +1 -1
|
@@ -24,6 +24,6 @@ export interface CreateRiskRuleResponseContainer {
|
|
|
24
24
|
export declare function createRiskRule(props: CreateRiskRuleProps): Promise<CreateRiskRuleResponseContainer>;
|
|
25
25
|
export type CreateRiskRuleMutationProps<T extends keyof CreateRiskRuleProps> = Omit<CreateRiskRuleProps, T> & Partial<Pick<CreateRiskRuleProps, T>>;
|
|
26
26
|
/**
|
|
27
|
-
* creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty.
|
|
27
|
+
* creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty. spec.dataSource is SourceCode or ApplicationManifest; spec.faults must be on the chaos fault allowlist.
|
|
28
28
|
*/
|
|
29
29
|
export declare function useCreateRiskRuleMutation<T extends keyof CreateRiskRuleProps>(props: Pick<Partial<CreateRiskRuleProps>, T>, options?: Omit<UseMutationOptions<CreateRiskRuleResponseContainer, CreateRiskRuleErrorResponse, CreateRiskRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRiskRuleResponseContainer, SharedError, CreateRiskRuleMutationProps<T>, unknown>;
|
|
@@ -7,7 +7,7 @@ export function createRiskRule(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/risk-rules`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty.
|
|
10
|
+
* creates an account-scoped custom risk rule. accountIdentifier is stored on the rule; organization and project stay empty. spec.dataSource is SourceCode or ApplicationManifest; spec.faults must be on the chaos fault allowlist.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateRiskRuleMutation(props, options) {
|
|
13
13
|
return useMutation((mutateProps) => createRiskRule(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListActionSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListActionSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListActionSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListActionSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListActionSpecVariablesProps extends Omit<FetcherOptions<ListActionSpecVariablesMutationQueryParams, ListActionSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListActionSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListActionSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListActionSpecVariablesResponseContainer {
|
|
22
|
+
body: ListActionSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listActionSpecVariables(props: ListActionSpecVariablesProps): Promise<ListActionSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListActionSpecVariablesMutationProps<T extends keyof ListActionSpecVariablesProps> = Omit<ListActionSpecVariablesProps, T> & Partial<Pick<ListActionSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided action YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListActionSpecVariablesMutation<T extends keyof ListActionSpecVariablesProps>(props: Pick<Partial<ListActionSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListActionSpecVariablesResponseContainer, ListActionSpecVariablesErrorResponse, ListActionSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListActionSpecVariablesResponseContainer, SharedError, ListActionSpecVariablesMutationProps<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 listActionSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/actions/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided action YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListActionSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listActionSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListActionTemplateSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListActionTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListActionTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListActionTemplateSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListActionTemplateSpecVariablesProps extends Omit<FetcherOptions<ListActionTemplateSpecVariablesMutationQueryParams, ListActionTemplateSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListActionTemplateSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListActionTemplateSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListActionTemplateSpecVariablesResponseContainer {
|
|
22
|
+
body: ListActionTemplateSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listActionTemplateSpecVariables(props: ListActionTemplateSpecVariablesProps): Promise<ListActionTemplateSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListActionTemplateSpecVariablesMutationProps<T extends keyof ListActionTemplateSpecVariablesProps> = Omit<ListActionTemplateSpecVariablesProps, T> & Partial<Pick<ListActionTemplateSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided action template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListActionTemplateSpecVariablesMutation<T extends keyof ListActionTemplateSpecVariablesProps>(props: Pick<Partial<ListActionTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListActionTemplateSpecVariablesResponseContainer, ListActionTemplateSpecVariablesErrorResponse, ListActionTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListActionTemplateSpecVariablesResponseContainer, SharedError, ListActionTemplateSpecVariablesMutationProps<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 listActionTemplateSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/action-templates/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided action template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListActionTemplateSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listActionTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListExperimentSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListExperimentSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListExperimentSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListExperimentSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListExperimentSpecVariablesProps extends Omit<FetcherOptions<ListExperimentSpecVariablesMutationQueryParams, ListExperimentSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListExperimentSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListExperimentSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListExperimentSpecVariablesResponseContainer {
|
|
22
|
+
body: ListExperimentSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listExperimentSpecVariables(props: ListExperimentSpecVariablesProps): Promise<ListExperimentSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListExperimentSpecVariablesMutationProps<T extends keyof ListExperimentSpecVariablesProps> = Omit<ListExperimentSpecVariablesProps, T> & Partial<Pick<ListExperimentSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided experiment YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListExperimentSpecVariablesMutation<T extends keyof ListExperimentSpecVariablesProps>(props: Pick<Partial<ListExperimentSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListExperimentSpecVariablesResponseContainer, ListExperimentSpecVariablesErrorResponse, ListExperimentSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListExperimentSpecVariablesResponseContainer, SharedError, ListExperimentSpecVariablesMutationProps<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 listExperimentSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided experiment YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListExperimentSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listExperimentSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateSpecVariablesMutation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListExperimentTemplateSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListExperimentTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListExperimentTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListExperimentTemplateSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListExperimentTemplateSpecVariablesProps extends Omit<FetcherOptions<ListExperimentTemplateSpecVariablesMutationQueryParams, ListExperimentTemplateSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListExperimentTemplateSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListExperimentTemplateSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListExperimentTemplateSpecVariablesResponseContainer {
|
|
22
|
+
body: ListExperimentTemplateSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listExperimentTemplateSpecVariables(props: ListExperimentTemplateSpecVariablesProps): Promise<ListExperimentTemplateSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListExperimentTemplateSpecVariablesMutationProps<T extends keyof ListExperimentTemplateSpecVariablesProps> = Omit<ListExperimentTemplateSpecVariablesProps, T> & Partial<Pick<ListExperimentTemplateSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided experiment template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListExperimentTemplateSpecVariablesMutation<T extends keyof ListExperimentTemplateSpecVariablesProps>(props: Pick<Partial<ListExperimentTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListExperimentTemplateSpecVariablesResponseContainer, ListExperimentTemplateSpecVariablesErrorResponse, ListExperimentTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListExperimentTemplateSpecVariablesResponseContainer, SharedError, ListExperimentTemplateSpecVariablesMutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateSpecVariablesMutation.js
ADDED
|
@@ -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 listExperimentTemplateSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiment-templates/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided experiment template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListExperimentTemplateSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listExperimentTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListFaultSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListFaultSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListFaultSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListFaultSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListFaultSpecVariablesProps extends Omit<FetcherOptions<ListFaultSpecVariablesMutationQueryParams, ListFaultSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListFaultSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListFaultSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListFaultSpecVariablesResponseContainer {
|
|
22
|
+
body: ListFaultSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listFaultSpecVariables(props: ListFaultSpecVariablesProps): Promise<ListFaultSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListFaultSpecVariablesMutationProps<T extends keyof ListFaultSpecVariablesProps> = Omit<ListFaultSpecVariablesProps, T> & Partial<Pick<ListFaultSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided fault YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListFaultSpecVariablesMutation<T extends keyof ListFaultSpecVariablesProps>(props: Pick<Partial<ListFaultSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListFaultSpecVariablesResponseContainer, ListFaultSpecVariablesErrorResponse, ListFaultSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListFaultSpecVariablesResponseContainer, SharedError, ListFaultSpecVariablesMutationProps<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 listFaultSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/faults/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided fault YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListFaultSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listFaultSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListFaultTemplateSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListFaultTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListFaultTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListFaultTemplateSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListFaultTemplateSpecVariablesProps extends Omit<FetcherOptions<ListFaultTemplateSpecVariablesMutationQueryParams, ListFaultTemplateSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListFaultTemplateSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListFaultTemplateSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListFaultTemplateSpecVariablesResponseContainer {
|
|
22
|
+
body: ListFaultTemplateSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listFaultTemplateSpecVariables(props: ListFaultTemplateSpecVariablesProps): Promise<ListFaultTemplateSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListFaultTemplateSpecVariablesMutationProps<T extends keyof ListFaultTemplateSpecVariablesProps> = Omit<ListFaultTemplateSpecVariablesProps, T> & Partial<Pick<ListFaultTemplateSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided fault template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListFaultTemplateSpecVariablesMutation<T extends keyof ListFaultTemplateSpecVariablesProps>(props: Pick<Partial<ListFaultTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListFaultTemplateSpecVariablesResponseContainer, ListFaultTemplateSpecVariablesErrorResponse, ListFaultTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListFaultTemplateSpecVariablesResponseContainer, SharedError, ListFaultTemplateSpecVariablesMutationProps<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 listFaultTemplateSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/fault-templates/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided fault template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListFaultTemplateSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listFaultTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListProbeSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListProbeSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListProbeSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListProbeSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListProbeSpecVariablesProps extends Omit<FetcherOptions<ListProbeSpecVariablesMutationQueryParams, ListProbeSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListProbeSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListProbeSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListProbeSpecVariablesResponseContainer {
|
|
22
|
+
body: ListProbeSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listProbeSpecVariables(props: ListProbeSpecVariablesProps): Promise<ListProbeSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListProbeSpecVariablesMutationProps<T extends keyof ListProbeSpecVariablesProps> = Omit<ListProbeSpecVariablesProps, T> & Partial<Pick<ListProbeSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided probe YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListProbeSpecVariablesMutation<T extends keyof ListProbeSpecVariablesProps>(props: Pick<Partial<ListProbeSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListProbeSpecVariablesResponseContainer, ListProbeSpecVariablesErrorResponse, ListProbeSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListProbeSpecVariablesResponseContainer, SharedError, ListProbeSpecVariablesMutationProps<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 listProbeSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/probes/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided probe YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListProbeSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listProbeSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SharedSpecVariablesResponse } from '../schemas/SharedSpecVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { SharedSpecVariablesRequestRequestBody } from '../requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListProbeTemplateSpecVariablesMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
organizationIdentifier?: string;
|
|
10
|
+
parentUniqueId?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
search?: string;
|
|
13
|
+
}
|
|
14
|
+
export type ListProbeTemplateSpecVariablesRequestBody = SharedSpecVariablesRequestRequestBody;
|
|
15
|
+
export type ListProbeTemplateSpecVariablesOkResponse = SharedSpecVariablesResponse;
|
|
16
|
+
export type ListProbeTemplateSpecVariablesErrorResponse = SharedError;
|
|
17
|
+
export interface ListProbeTemplateSpecVariablesProps extends Omit<FetcherOptions<ListProbeTemplateSpecVariablesMutationQueryParams, ListProbeTemplateSpecVariablesRequestBody>, 'url'> {
|
|
18
|
+
queryParams: ListProbeTemplateSpecVariablesMutationQueryParams;
|
|
19
|
+
body: ListProbeTemplateSpecVariablesRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export interface ListProbeTemplateSpecVariablesResponseContainer {
|
|
22
|
+
body: ListProbeTemplateSpecVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function listProbeTemplateSpecVariables(props: ListProbeTemplateSpecVariablesProps): Promise<ListProbeTemplateSpecVariablesResponseContainer>;
|
|
26
|
+
export type ListProbeTemplateSpecVariablesMutationProps<T extends keyof ListProbeTemplateSpecVariablesProps> = Omit<ListProbeTemplateSpecVariablesProps, T> & Partial<Pick<ListProbeTemplateSpecVariablesProps, T>>;
|
|
27
|
+
/**
|
|
28
|
+
* decodes the provided probe template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListProbeTemplateSpecVariablesMutation<T extends keyof ListProbeTemplateSpecVariablesProps>(props: Pick<Partial<ListProbeTemplateSpecVariablesProps>, T>, options?: Omit<UseMutationOptions<ListProbeTemplateSpecVariablesResponseContainer, ListProbeTemplateSpecVariablesErrorResponse, ListProbeTemplateSpecVariablesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListProbeTemplateSpecVariablesResponseContainer, SharedError, ListProbeTemplateSpecVariablesMutationProps<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 listProbeTemplateSpecVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/probe-templates/variables`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* decodes the provided probe template YAML, extracts its own variables and merges them with project/org/account scope platform variables
|
|
11
|
+
*/
|
|
12
|
+
export function useListProbeTemplateSpecVariablesMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => listProbeTemplateSpecVariables(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -320,12 +320,16 @@ export type { ListActionReferencedByErrorResponse, ListActionReferencedByOkRespo
|
|
|
320
320
|
export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
|
|
321
321
|
export type { ListActionRunsErrorResponse, ListActionRunsOkResponse, ListActionRunsProps, ListActionRunsQueryQueryParams, } from './hooks/useListActionRunsQuery';
|
|
322
322
|
export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
|
|
323
|
+
export type { ListActionSpecVariablesErrorResponse, ListActionSpecVariablesMutationProps, ListActionSpecVariablesMutationQueryParams, ListActionSpecVariablesOkResponse, ListActionSpecVariablesProps, ListActionSpecVariablesRequestBody, } from './hooks/useListActionSpecVariablesMutation';
|
|
324
|
+
export { listActionSpecVariables, useListActionSpecVariablesMutation, } from './hooks/useListActionSpecVariablesMutation';
|
|
323
325
|
export type { ListActionTemplateErrorResponse, ListActionTemplateOkResponse, ListActionTemplateProps, ListActionTemplateQueryQueryParams, } from './hooks/useListActionTemplateQuery';
|
|
324
326
|
export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
|
|
325
327
|
export type { ListActionTemplateReferencedByErrorResponse, ListActionTemplateReferencedByOkResponse, ListActionTemplateReferencedByProps, ListActionTemplateReferencedByQueryPathParams, ListActionTemplateReferencedByQueryQueryParams, } from './hooks/useListActionTemplateReferencedByQuery';
|
|
326
328
|
export { listActionTemplateReferencedBy, useListActionTemplateReferencedByQuery, } from './hooks/useListActionTemplateReferencedByQuery';
|
|
327
329
|
export type { ListActionTemplateRevisionsErrorResponse, ListActionTemplateRevisionsOkResponse, ListActionTemplateRevisionsProps, ListActionTemplateRevisionsQueryPathParams, ListActionTemplateRevisionsQueryQueryParams, } from './hooks/useListActionTemplateRevisionsQuery';
|
|
328
330
|
export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
|
|
331
|
+
export type { ListActionTemplateSpecVariablesErrorResponse, ListActionTemplateSpecVariablesMutationProps, ListActionTemplateSpecVariablesMutationQueryParams, ListActionTemplateSpecVariablesOkResponse, ListActionTemplateSpecVariablesProps, ListActionTemplateSpecVariablesRequestBody, } from './hooks/useListActionTemplateSpecVariablesMutation';
|
|
332
|
+
export { listActionTemplateSpecVariables, useListActionTemplateSpecVariablesMutation, } from './hooks/useListActionTemplateSpecVariablesMutation';
|
|
329
333
|
export type { ListActionsErrorResponse, ListActionsOkResponse, ListActionsProps, ListActionsQueryQueryParams, } from './hooks/useListActionsQuery';
|
|
330
334
|
export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
|
|
331
335
|
export type { ListAllChaosExperimentRunsV3ErrorResponse, ListAllChaosExperimentRunsV3OkResponse, ListAllChaosExperimentRunsV3Props, ListAllChaosExperimentRunsV3QueryQueryParams, } from './hooks/useListAllChaosExperimentRunsV3Query';
|
|
@@ -366,10 +370,14 @@ export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultO
|
|
|
366
370
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
367
371
|
export type { ListExperimentRuntimeInputsV3ErrorResponse, ListExperimentRuntimeInputsV3OkResponse, ListExperimentRuntimeInputsV3Props, ListExperimentRuntimeInputsV3QueryPathParams, ListExperimentRuntimeInputsV3QueryQueryParams, } from './hooks/useListExperimentRuntimeInputsV3Query';
|
|
368
372
|
export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
|
|
373
|
+
export type { ListExperimentSpecVariablesErrorResponse, ListExperimentSpecVariablesMutationProps, ListExperimentSpecVariablesMutationQueryParams, ListExperimentSpecVariablesOkResponse, ListExperimentSpecVariablesProps, ListExperimentSpecVariablesRequestBody, } from './hooks/useListExperimentSpecVariablesMutation';
|
|
374
|
+
export { listExperimentSpecVariables, useListExperimentSpecVariablesMutation, } from './hooks/useListExperimentSpecVariablesMutation';
|
|
369
375
|
export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
|
|
370
376
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
371
377
|
export type { ListExperimentTemplateReferencedByErrorResponse, ListExperimentTemplateReferencedByOkResponse, ListExperimentTemplateReferencedByProps, ListExperimentTemplateReferencedByQueryPathParams, ListExperimentTemplateReferencedByQueryQueryParams, } from './hooks/useListExperimentTemplateReferencedByQuery';
|
|
372
378
|
export { listExperimentTemplateReferencedBy, useListExperimentTemplateReferencedByQuery, } from './hooks/useListExperimentTemplateReferencedByQuery';
|
|
379
|
+
export type { ListExperimentTemplateSpecVariablesErrorResponse, ListExperimentTemplateSpecVariablesMutationProps, ListExperimentTemplateSpecVariablesMutationQueryParams, ListExperimentTemplateSpecVariablesOkResponse, ListExperimentTemplateSpecVariablesProps, ListExperimentTemplateSpecVariablesRequestBody, } from './hooks/useListExperimentTemplateSpecVariablesMutation';
|
|
380
|
+
export { listExperimentTemplateSpecVariables, useListExperimentTemplateSpecVariablesMutation, } from './hooks/useListExperimentTemplateSpecVariablesMutation';
|
|
373
381
|
export type { ListExperimentsErrorResponse, ListExperimentsOkResponse, ListExperimentsProps, ListExperimentsQueryQueryParams, ListExperimentsRequestBody, } from './hooks/useListExperimentsQuery';
|
|
374
382
|
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
375
383
|
export type { ListExperimentsV3ErrorResponse, ListExperimentsV3OkResponse, ListExperimentsV3Props, ListExperimentsV3QueryQueryParams, } from './hooks/useListExperimentsV3Query';
|
|
@@ -382,10 +390,14 @@ export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListF
|
|
|
382
390
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
383
391
|
export type { ListFaultReferencedByErrorResponse, ListFaultReferencedByOkResponse, ListFaultReferencedByProps, ListFaultReferencedByQueryPathParams, ListFaultReferencedByQueryQueryParams, } from './hooks/useListFaultReferencedByQuery';
|
|
384
392
|
export { listFaultReferencedBy, useListFaultReferencedByQuery, } from './hooks/useListFaultReferencedByQuery';
|
|
393
|
+
export type { ListFaultSpecVariablesErrorResponse, ListFaultSpecVariablesMutationProps, ListFaultSpecVariablesMutationQueryParams, ListFaultSpecVariablesOkResponse, ListFaultSpecVariablesProps, ListFaultSpecVariablesRequestBody, } from './hooks/useListFaultSpecVariablesMutation';
|
|
394
|
+
export { listFaultSpecVariables, useListFaultSpecVariablesMutation, } from './hooks/useListFaultSpecVariablesMutation';
|
|
385
395
|
export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
|
|
386
396
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
387
397
|
export type { ListFaultTemplateReferencedByErrorResponse, ListFaultTemplateReferencedByOkResponse, ListFaultTemplateReferencedByProps, ListFaultTemplateReferencedByQueryPathParams, ListFaultTemplateReferencedByQueryQueryParams, } from './hooks/useListFaultTemplateReferencedByQuery';
|
|
388
398
|
export { listFaultTemplateReferencedBy, useListFaultTemplateReferencedByQuery, } from './hooks/useListFaultTemplateReferencedByQuery';
|
|
399
|
+
export type { ListFaultTemplateSpecVariablesErrorResponse, ListFaultTemplateSpecVariablesMutationProps, ListFaultTemplateSpecVariablesMutationQueryParams, ListFaultTemplateSpecVariablesOkResponse, ListFaultTemplateSpecVariablesProps, ListFaultTemplateSpecVariablesRequestBody, } from './hooks/useListFaultTemplateSpecVariablesMutation';
|
|
400
|
+
export { listFaultTemplateSpecVariables, useListFaultTemplateSpecVariablesMutation, } from './hooks/useListFaultTemplateSpecVariablesMutation';
|
|
389
401
|
export type { ListFaultv2ErrorResponse, ListFaultv2OkResponse, ListFaultv2Props, ListFaultv2QueryQueryParams, } from './hooks/useListFaultv2Query';
|
|
390
402
|
export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
|
|
391
403
|
export type { ListFunctionErrorResponse, ListFunctionOkResponse, ListFunctionProps, ListFunctionQueryPathParams, ListFunctionQueryQueryParams, } from './hooks/useListFunctionQuery';
|
|
@@ -422,10 +434,14 @@ export type { ListProbeReferencedByErrorResponse, ListProbeReferencedByOkRespons
|
|
|
422
434
|
export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/useListProbeReferencedByQuery';
|
|
423
435
|
export type { ListProbeRunsErrorResponse, ListProbeRunsOkResponse, ListProbeRunsProps, ListProbeRunsQueryQueryParams, } from './hooks/useListProbeRunsQuery';
|
|
424
436
|
export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
|
|
437
|
+
export type { ListProbeSpecVariablesErrorResponse, ListProbeSpecVariablesMutationProps, ListProbeSpecVariablesMutationQueryParams, ListProbeSpecVariablesOkResponse, ListProbeSpecVariablesProps, ListProbeSpecVariablesRequestBody, } from './hooks/useListProbeSpecVariablesMutation';
|
|
438
|
+
export { listProbeSpecVariables, useListProbeSpecVariablesMutation, } from './hooks/useListProbeSpecVariablesMutation';
|
|
425
439
|
export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
|
|
426
440
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
427
441
|
export type { ListProbeTemplateReferencedByErrorResponse, ListProbeTemplateReferencedByOkResponse, ListProbeTemplateReferencedByProps, ListProbeTemplateReferencedByQueryPathParams, ListProbeTemplateReferencedByQueryQueryParams, } from './hooks/useListProbeTemplateReferencedByQuery';
|
|
428
442
|
export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
|
|
443
|
+
export type { ListProbeTemplateSpecVariablesErrorResponse, ListProbeTemplateSpecVariablesMutationProps, ListProbeTemplateSpecVariablesMutationQueryParams, ListProbeTemplateSpecVariablesOkResponse, ListProbeTemplateSpecVariablesProps, ListProbeTemplateSpecVariablesRequestBody, } from './hooks/useListProbeTemplateSpecVariablesMutation';
|
|
444
|
+
export { listProbeTemplateSpecVariables, useListProbeTemplateSpecVariablesMutation, } from './hooks/useListProbeTemplateSpecVariablesMutation';
|
|
429
445
|
export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
|
|
430
446
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
431
447
|
export type { ListRecommendationsErrorResponse, ListRecommendationsOkResponse, ListRecommendationsProps, ListRecommendationsQueryQueryParams, ListRecommendationsRequestBody, } from './hooks/useListRecommendationsQuery';
|
|
@@ -594,6 +610,8 @@ export type { UpdateRiskScanErrorResponse, UpdateRiskScanMutationPathParams, Upd
|
|
|
594
610
|
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
595
611
|
export type { UpdateRuleErrorResponse, UpdateRuleMutationPathParams, UpdateRuleMutationProps, UpdateRuleMutationQueryParams, UpdateRuleOkResponse, UpdateRuleProps, UpdateRuleRequestBody, } from './hooks/useUpdateRuleMutation';
|
|
596
612
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
613
|
+
export type { UpdateScannedRiskStatusErrorResponse, UpdateScannedRiskStatusMutationPathParams, UpdateScannedRiskStatusMutationProps, UpdateScannedRiskStatusMutationQueryParams, UpdateScannedRiskStatusOkResponse, UpdateScannedRiskStatusProps, UpdateScannedRiskStatusRequestBody, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
614
|
+
export { updateScannedRiskStatus, useUpdateScannedRiskStatusMutation, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
597
615
|
export type { UpgradeLegacyKubernetesChaosInfraErrorResponse, UpgradeLegacyKubernetesChaosInfraMutationPathParams, UpgradeLegacyKubernetesChaosInfraMutationProps, UpgradeLegacyKubernetesChaosInfraMutationQueryParams, UpgradeLegacyKubernetesChaosInfraOkResponse, UpgradeLegacyKubernetesChaosInfraProps, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
598
616
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
599
617
|
export type { VerifyChaosStageInPipelineRunErrorResponse, VerifyChaosStageInPipelineRunOkResponse, VerifyChaosStageInPipelineRunProps, VerifyChaosStageInPipelineRunQueryQueryParams, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
@@ -602,6 +620,7 @@ export type { VerifyProbeErrorResponse, VerifyProbeMutationPathParams, VerifyPro
|
|
|
602
620
|
export { useVerifyProbeMutation, verifyProbe } from './hooks/useVerifyProbeMutation';
|
|
603
621
|
export type { ChaosfaulttemplateActionTemplateRequestBody } from './requestBodies/ChaosfaulttemplateActionTemplateRequestBody';
|
|
604
622
|
export type { InfraV2ListKubernetesInfraV2RequestRequestBody } from './requestBodies/InfraV2ListKubernetesInfraV2RequestRequestBody';
|
|
623
|
+
export type { SharedSpecVariablesRequestRequestBody } from './requestBodies/SharedSpecVariablesRequestRequestBody';
|
|
605
624
|
export type { TypesProbeRequestRequestBody } from './requestBodies/TypesProbeRequestRequestBody';
|
|
606
625
|
export type { ActionAction } from './schemas/ActionAction';
|
|
607
626
|
export type { ActionActionTemplateProperties } from './schemas/ActionActionTemplateProperties';
|
|
@@ -1419,11 +1438,13 @@ export type { ScannedrisksOccurrenceDetail } from './schemas/ScannedrisksOccurre
|
|
|
1419
1438
|
export type { ScannedrisksOccurrencesResponse } from './schemas/ScannedrisksOccurrencesResponse';
|
|
1420
1439
|
export type { ScannedrisksRiskStat } from './schemas/ScannedrisksRiskStat';
|
|
1421
1440
|
export type { ScannedrisksRiskStatus } from './schemas/ScannedrisksRiskStatus';
|
|
1441
|
+
export type { ScannedrisksRiskStatusDetails } from './schemas/ScannedrisksRiskStatusDetails';
|
|
1422
1442
|
export type { ScannedrisksScannedRisk } from './schemas/ScannedrisksScannedRisk';
|
|
1423
1443
|
export type { ScannedrisksScannedRiskSpec } from './schemas/ScannedrisksScannedRiskSpec';
|
|
1424
1444
|
export type { ScannedrisksServiceRiskSummary } from './schemas/ScannedrisksServiceRiskSummary';
|
|
1425
1445
|
export type { ScannedrisksServiceRiskSummaryQuery } from './schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
1426
1446
|
export type { ScannedrisksServiceRiskSummaryResponse } from './schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
1447
|
+
export type { ScannedrisksUpdateStatusRequest } from './schemas/ScannedrisksUpdateStatusRequest';
|
|
1427
1448
|
export type { ScannedrisksValidationType } from './schemas/ScannedrisksValidationType';
|
|
1428
1449
|
export type { SecurityGovernanceAccessControl } from './schemas/SecurityGovernanceAccessControl';
|
|
1429
1450
|
export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
|
|
@@ -1454,6 +1475,9 @@ export type { SharedMetadata } from './schemas/SharedMetadata';
|
|
|
1454
1475
|
export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
|
|
1455
1476
|
export type { SharedReferencedByItem } from './schemas/SharedReferencedByItem';
|
|
1456
1477
|
export type { SharedReferencedByKind } from './schemas/SharedReferencedByKind';
|
|
1478
|
+
export type { SharedSpecVariable } from './schemas/SharedSpecVariable';
|
|
1479
|
+
export type { SharedSpecVariablesRequest } from './schemas/SharedSpecVariablesRequest';
|
|
1480
|
+
export type { SharedSpecVariablesResponse } from './schemas/SharedSpecVariablesResponse';
|
|
1457
1481
|
export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
|
|
1458
1482
|
export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
|
|
1459
1483
|
export type { TargetnetworkmapStatus } from './schemas/TargetnetworkmapStatus';
|
|
@@ -159,9 +159,11 @@ export { internalAbortRiskScan, useInternalAbortRiskScanMutation, } from './hook
|
|
|
159
159
|
export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
|
|
160
160
|
export { listActionReferencedBy, useListActionReferencedByQuery, } from './hooks/useListActionReferencedByQuery';
|
|
161
161
|
export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
|
|
162
|
+
export { listActionSpecVariables, useListActionSpecVariablesMutation, } from './hooks/useListActionSpecVariablesMutation';
|
|
162
163
|
export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
|
|
163
164
|
export { listActionTemplateReferencedBy, useListActionTemplateReferencedByQuery, } from './hooks/useListActionTemplateReferencedByQuery';
|
|
164
165
|
export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
|
|
166
|
+
export { listActionTemplateSpecVariables, useListActionTemplateSpecVariablesMutation, } from './hooks/useListActionTemplateSpecVariablesMutation';
|
|
165
167
|
export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
|
|
166
168
|
export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
|
|
167
169
|
export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
|
|
@@ -182,16 +184,20 @@ export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks
|
|
|
182
184
|
export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
|
|
183
185
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
184
186
|
export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
|
|
187
|
+
export { listExperimentSpecVariables, useListExperimentSpecVariablesMutation, } from './hooks/useListExperimentSpecVariablesMutation';
|
|
185
188
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
186
189
|
export { listExperimentTemplateReferencedBy, useListExperimentTemplateReferencedByQuery, } from './hooks/useListExperimentTemplateReferencedByQuery';
|
|
190
|
+
export { listExperimentTemplateSpecVariables, useListExperimentTemplateSpecVariablesMutation, } from './hooks/useListExperimentTemplateSpecVariablesMutation';
|
|
187
191
|
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
188
192
|
export { listExperimentsV3, useListExperimentsV3Query } from './hooks/useListExperimentsV3Query';
|
|
189
193
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
190
194
|
export { listFaultMetadata, useListFaultMetadataQuery } from './hooks/useListFaultMetadataQuery';
|
|
191
195
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
192
196
|
export { listFaultReferencedBy, useListFaultReferencedByQuery, } from './hooks/useListFaultReferencedByQuery';
|
|
197
|
+
export { listFaultSpecVariables, useListFaultSpecVariablesMutation, } from './hooks/useListFaultSpecVariablesMutation';
|
|
193
198
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
194
199
|
export { listFaultTemplateReferencedBy, useListFaultTemplateReferencedByQuery, } from './hooks/useListFaultTemplateReferencedByQuery';
|
|
200
|
+
export { listFaultTemplateSpecVariables, useListFaultTemplateSpecVariablesMutation, } from './hooks/useListFaultTemplateSpecVariablesMutation';
|
|
195
201
|
export { listFaultv2, useListFaultv2Query } from './hooks/useListFaultv2Query';
|
|
196
202
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
197
203
|
export { listGamedayMetadata, useListGamedayMetadataQuery, } from './hooks/useListGamedayMetadataQuery';
|
|
@@ -210,8 +216,10 @@ export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useLi
|
|
|
210
216
|
export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
|
|
211
217
|
export { listProbeReferencedBy, useListProbeReferencedByQuery, } from './hooks/useListProbeReferencedByQuery';
|
|
212
218
|
export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
|
|
219
|
+
export { listProbeSpecVariables, useListProbeSpecVariablesMutation, } from './hooks/useListProbeSpecVariablesMutation';
|
|
213
220
|
export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
|
|
214
221
|
export { listProbeTemplateReferencedBy, useListProbeTemplateReferencedByQuery, } from './hooks/useListProbeTemplateReferencedByQuery';
|
|
222
|
+
export { listProbeTemplateSpecVariables, useListProbeTemplateSpecVariablesMutation, } from './hooks/useListProbeTemplateSpecVariablesMutation';
|
|
215
223
|
export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
|
|
216
224
|
export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
|
|
217
225
|
export { listRiskExperimentRecommendations, useListRiskExperimentRecommendationsQuery, } from './hooks/useListRiskExperimentRecommendationsQuery';
|
|
@@ -296,6 +304,7 @@ export { updateRisk, useUpdateRiskMutation } from './hooks/useUpdateRiskMutation
|
|
|
296
304
|
export { updateRiskRule, useUpdateRiskRuleMutation } from './hooks/useUpdateRiskRuleMutation';
|
|
297
305
|
export { updateRiskScan, useUpdateRiskScanMutation } from './hooks/useUpdateRiskScanMutation';
|
|
298
306
|
export { updateRule, useUpdateRuleMutation } from './hooks/useUpdateRuleMutation';
|
|
307
|
+
export { updateScannedRiskStatus, useUpdateScannedRiskStatusMutation, } from './hooks/useUpdateScannedRiskStatusMutation';
|
|
299
308
|
export { upgradeLegacyKubernetesChaosInfra, useUpgradeLegacyKubernetesChaosInfraMutation, } from './hooks/useUpgradeLegacyKubernetesChaosInfraMutation';
|
|
300
309
|
export { useVerifyChaosStageInPipelineRunQuery, verifyChaosStageInPipelineRun, } from './hooks/useVerifyChaosStageInPipelineRunQuery';
|
|
301
310
|
export { useVerifyProbeMutation, verifyProbe } from './hooks/useVerifyProbeMutation';
|
package/dist/chaos-manager/src/services/requestBodies/SharedSpecVariablesRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ScannedrisksRiskStatus } from '../schemas/ScannedrisksRiskStatus';
|
|
2
|
+
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
3
|
+
export interface ScannedrisksRiskStatusDetails {
|
|
4
|
+
/**
|
|
5
|
+
* Mitigated is the user's confirmation, required to resolve a risk.
|
|
6
|
+
*/
|
|
7
|
+
mitigated?: boolean;
|
|
8
|
+
note?: string;
|
|
9
|
+
previousStatus?: ScannedrisksRiskStatus;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
/**
|
|
12
|
+
* UpdatedByUserDetails is the API form of UpdatedBy. Get and list fill the
|
|
13
|
+
* username and email; the id is returned either way.
|
|
14
|
+
*/
|
|
15
|
+
updatedBy?: HcesdkUserDetails;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import type { RiskCategory } from '../schemas/RiskCategory';
|
|
|
2
2
|
import type { RiskSeverity } from '../schemas/RiskSeverity';
|
|
3
3
|
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
4
4
|
import type { ScannedrisksRiskStatus } from '../schemas/ScannedrisksRiskStatus';
|
|
5
|
+
import type { ScannedrisksRiskStatusDetails } from '../schemas/ScannedrisksRiskStatusDetails';
|
|
5
6
|
import type { RiskTargetService } from '../schemas/RiskTargetService';
|
|
6
7
|
import type { ScannedrisksValidationType } from '../schemas/ScannedrisksValidationType';
|
|
7
8
|
export interface ScannedrisksScannedRiskSpec {
|
|
@@ -39,6 +40,11 @@ export interface ScannedrisksScannedRiskSpec {
|
|
|
39
40
|
*/
|
|
40
41
|
sources?: RiskScanType[];
|
|
41
42
|
status?: ScannedrisksRiskStatus;
|
|
43
|
+
/**
|
|
44
|
+
* StatusDetails is set by the last user status change. A later detection
|
|
45
|
+
* that reopens the risk keeps it and records the status it reopened from.
|
|
46
|
+
*/
|
|
47
|
+
statusDetails?: ScannedrisksRiskStatusDetails;
|
|
42
48
|
targetService?: RiskTargetService;
|
|
43
49
|
/**
|
|
44
50
|
* ValidationType reflects only the most recently written occurrence's
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ScannedrisksRiskStatus } from '../schemas/ScannedrisksRiskStatus';
|
|
2
|
+
export interface ScannedrisksUpdateStatusRequest {
|
|
3
|
+
/**
|
|
4
|
+
* Mitigated confirms the risk is mitigated. Required to be true for Resolved.
|
|
5
|
+
*/
|
|
6
|
+
mitigated?: boolean;
|
|
7
|
+
note?: string;
|
|
8
|
+
status: ScannedrisksRiskStatus;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED