@harnessio/react-ssca-manager-client 0.86.20 → 0.86.21
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/ssca-manager/src/services/hooks/useCreateIntegrationMutation.d.ts +2 -2
- package/dist/ssca-manager/src/services/hooks/useListIntegrationRepoScansMutation.d.ts +36 -0
- package/dist/ssca-manager/src/services/hooks/useListIntegrationRepoScansMutation.js +15 -0
- package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.d.ts +21 -0
- package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useRemediateAffectedTargetQuery.d.ts +5 -2
- package/dist/ssca-manager/src/services/hooks/useUpdateIntegrationRspmConfigMutation.d.ts +24 -0
- package/dist/ssca-manager/src/services/hooks/useUpdateIntegrationRspmConfigMutation.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useValidateIntegrationNameQuery.d.ts +24 -0
- package/dist/ssca-manager/src/services/hooks/useValidateIntegrationNameQuery.js +14 -0
- package/dist/ssca-manager/src/services/index.d.ts +17 -0
- package/dist/ssca-manager/src/services/index.js +4 -0
- package/dist/ssca-manager/src/services/requestBodies/IntegrationRepoScanListRequestBodyRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/requestBodies/IntegrationRepoScanListRequestBodyRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/responses/ScannerConfigurationIntegrationsResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/ScannerConfigurationIntegrationsResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/responses/ValidateIntegrationNameResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/ValidateIntegrationNameResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/CreateIntegrationRequest.d.ts +8 -0
- package/dist/ssca-manager/src/services/schemas/GetIntegrationSummaryResponse.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/Integration.d.ts +27 -0
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListItem.d.ts +19 -0
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListItem.js +1 -0
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListRequest.d.ts +6 -0
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListRequest.js +4 -0
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionDto.d.ts +26 -0
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionDto.js +1 -0
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionStatus.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionStatus.js +4 -0
- package/dist/ssca-manager/src/services/schemas/UpdateIntegrationRspmRequest.d.ts +9 -1
- package/dist/ssca-manager/src/services/schemas/ValidateIntegrationNameResponse.d.ts +6 -0
- package/dist/ssca-manager/src/services/schemas/ValidateIntegrationNameResponse.js +4 -0
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ export interface CreateIntegrationMutationHeaderParams {
|
|
|
13
13
|
}
|
|
14
14
|
export type CreateIntegrationRequestBody = CreateIntegrationRequestBodyRequestBody;
|
|
15
15
|
export type CreateIntegrationOkResponse = ResponseWithPagination<CreateIntegrationResponseBodyResponse>;
|
|
16
|
-
export type CreateIntegrationErrorResponse = Error;
|
|
16
|
+
export type CreateIntegrationErrorResponse = unknown | Error;
|
|
17
17
|
export interface CreateIntegrationProps extends CreateIntegrationMutationPathParams, Omit<FetcherOptions<unknown, CreateIntegrationRequestBody, CreateIntegrationMutationHeaderParams>, 'url'> {
|
|
18
18
|
body: CreateIntegrationRequestBody;
|
|
19
19
|
}
|
|
@@ -21,4 +21,4 @@ export declare function createIntegration(props: CreateIntegrationProps): Promis
|
|
|
21
21
|
/**
|
|
22
22
|
* Create Integration
|
|
23
23
|
*/
|
|
24
|
-
export declare function useCreateIntegrationMutation(options?: Omit<UseMutationOptions<CreateIntegrationOkResponse, CreateIntegrationErrorResponse, CreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationOkResponse,
|
|
24
|
+
export declare function useCreateIntegrationMutation(options?: Omit<UseMutationOptions<CreateIntegrationOkResponse, CreateIntegrationErrorResponse, CreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationOkResponse, unknown, CreateIntegrationProps, unknown>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationRepoScanListingResponseBodyResponse } from '../responses/IntegrationRepoScanListingResponseBodyResponse';
|
|
3
|
+
import type { IntegrationRepoScanListRequest } from '../schemas/IntegrationRepoScanListRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListIntegrationRepoScansMutationPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
integration: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ListIntegrationRepoScansMutationQueryParams {
|
|
12
|
+
/**
|
|
13
|
+
* @default 30
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
page?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ListIntegrationRepoScansMutationHeaderParams {
|
|
22
|
+
'Harness-Account': string;
|
|
23
|
+
}
|
|
24
|
+
export type ListIntegrationRepoScansRequestBody = IntegrationRepoScanListRequest;
|
|
25
|
+
export type ListIntegrationRepoScansOkResponse = ResponseWithPagination<IntegrationRepoScanListingResponseBodyResponse>;
|
|
26
|
+
export type ListIntegrationRepoScansErrorResponse = unknown;
|
|
27
|
+
export interface ListIntegrationRepoScansProps extends ListIntegrationRepoScansMutationPathParams, Omit<FetcherOptions<ListIntegrationRepoScansMutationQueryParams, ListIntegrationRepoScansRequestBody, ListIntegrationRepoScansMutationHeaderParams>, 'url'> {
|
|
28
|
+
queryParams: ListIntegrationRepoScansMutationQueryParams;
|
|
29
|
+
body: ListIntegrationRepoScansRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export declare function listIntegrationRepoScans(props: ListIntegrationRepoScansProps): Promise<ListIntegrationRepoScansOkResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Paginated list of repositories for an integration joined with the latest scanExecutions row per (repo_url, branch). Status is the scanExecutions enum with no mapping. Repos without a matching scan row are still returned with null last_scan fields.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare function useListIntegrationRepoScansMutation(options?: Omit<UseMutationOptions<ListIntegrationRepoScansOkResponse, ListIntegrationRepoScansErrorResponse, ListIntegrationRepoScansProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListIntegrationRepoScansOkResponse, unknown, ListIntegrationRepoScansProps, unknown>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 '../../../../fetcher/index.js';
|
|
6
|
+
export function listIntegrationRepoScans(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/integration/${props.integration}/repo-scans/list`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Paginated list of repositories for an integration joined with the latest scanExecutions row per (repo_url, branch). Status is the scanExecutions enum with no mapping. Repos without a matching scan row are still returned with null last_scan fields.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export function useListIntegrationRepoScansMutation(options) {
|
|
14
|
+
return useMutation((mutateProps) => listIntegrationRepoScans(mutateProps), options);
|
|
15
|
+
}
|
package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannerConfigurationIntegrationsResponseBodyResponse } from '../responses/ScannerConfigurationIntegrationsResponseBodyResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ListScannerConfigurationIntegrationsQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
configId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ListScannerConfigurationIntegrationsQueryHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type ListScannerConfigurationIntegrationsOkResponse = ResponseWithPagination<ScannerConfigurationIntegrationsResponseBodyResponse>;
|
|
14
|
+
export type ListScannerConfigurationIntegrationsErrorResponse = unknown;
|
|
15
|
+
export interface ListScannerConfigurationIntegrationsProps extends ListScannerConfigurationIntegrationsQueryPathParams, Omit<FetcherOptions<unknown, unknown, ListScannerConfigurationIntegrationsQueryHeaderParams>, 'url'> {
|
|
16
|
+
}
|
|
17
|
+
export declare function listScannerConfigurationIntegrations(props: ListScannerConfigurationIntegrationsProps): Promise<ListScannerConfigurationIntegrationsOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns Integration DTOs for integrations in the project that reference the given scanner configuration in scanner_config_refs. Same shape as GET/list integration. Used before delete or edit to show dependent integrations. Which scanner slot uses this config is in scanner_config_refs.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useListScannerConfigurationIntegrationsQuery(props: ListScannerConfigurationIntegrationsProps, options?: Omit<UseQueryOptions<ListScannerConfigurationIntegrationsOkResponse, ListScannerConfigurationIntegrationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannerConfigurationIntegrationsOkResponse, 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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function listScannerConfigurationIntegrations(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/scanner-configurations/${props.configId}/integrations`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns Integration DTOs for integrations in the project that reference the given scanner configuration in scanner_config_refs. Same shape as GET/list integration. Used before delete or edit to show dependent integrations. Which scanner slot uses this config is in scanner_config_refs.
|
|
11
|
+
*/
|
|
12
|
+
export function useListScannerConfigurationIntegrationsQuery(props, options) {
|
|
13
|
+
return useQuery(['listScannerConfigurationIntegrations', props.org, props.project, props.configId], ({ signal }) => listScannerConfigurationIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { AffectedTargetRemediationResponse } from '../schemas/AffectedTargetRemediationResponse';
|
|
3
|
+
import type { Error } from '../schemas/Error';
|
|
3
4
|
import type { RemediationPrRequest } from '../schemas/RemediationPrRequest';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -16,7 +17,9 @@ export interface RemediateAffectedTargetQueryHeaderParams {
|
|
|
16
17
|
}
|
|
17
18
|
export type RemediateAffectedTargetRequestBody = RemediationPrRequest;
|
|
18
19
|
export type RemediateAffectedTargetOkResponse = ResponseWithPagination<AffectedTargetRemediationResponse>;
|
|
19
|
-
export type RemediateAffectedTargetErrorResponse =
|
|
20
|
+
export type RemediateAffectedTargetErrorResponse = AffectedTargetRemediationResponse | {
|
|
21
|
+
message?: string;
|
|
22
|
+
} | Error;
|
|
20
23
|
export interface RemediateAffectedTargetProps extends RemediateAffectedTargetQueryPathParams, Omit<FetcherOptions<RemediateAffectedTargetQueryQueryParams, RemediateAffectedTargetRequestBody, RemediateAffectedTargetQueryHeaderParams>, 'url'> {
|
|
21
24
|
queryParams: RemediateAffectedTargetQueryQueryParams;
|
|
22
25
|
body: RemediateAffectedTargetRequestBody;
|
|
@@ -25,4 +28,4 @@ export declare function remediateAffectedTarget(props: RemediateAffectedTargetPr
|
|
|
25
28
|
/**
|
|
26
29
|
* Trigger creation of a remediation Pull Request for a specific affected target. Idempotent — returns existing PR status if one already exists for this target.
|
|
27
30
|
*/
|
|
28
|
-
export declare function useRemediateAffectedTargetQuery(props: RemediateAffectedTargetProps, options?: Omit<UseQueryOptions<RemediateAffectedTargetOkResponse, RemediateAffectedTargetErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<RemediateAffectedTargetOkResponse,
|
|
31
|
+
export declare function useRemediateAffectedTargetQuery(props: RemediateAffectedTargetProps, options?: Omit<UseQueryOptions<RemediateAffectedTargetOkResponse, RemediateAffectedTargetErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<RemediateAffectedTargetOkResponse, RemediateAffectedTargetErrorResponse>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CreateIntegrationResponseBodyResponse } from '../responses/CreateIntegrationResponseBodyResponse';
|
|
3
|
+
import type { UpdateIntegrationRspmRequestBodyRequestBody } from '../requestBodies/UpdateIntegrationRspmRequestBodyRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateIntegrationRspmConfigMutationPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
integration: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateIntegrationRspmConfigMutationHeaderParams {
|
|
12
|
+
'Harness-Account': string;
|
|
13
|
+
}
|
|
14
|
+
export type UpdateIntegrationRspmConfigRequestBody = UpdateIntegrationRspmRequestBodyRequestBody;
|
|
15
|
+
export type UpdateIntegrationRspmConfigOkResponse = ResponseWithPagination<CreateIntegrationResponseBodyResponse>;
|
|
16
|
+
export type UpdateIntegrationRspmConfigErrorResponse = unknown;
|
|
17
|
+
export interface UpdateIntegrationRspmConfigProps extends UpdateIntegrationRspmConfigMutationPathParams, Omit<FetcherOptions<unknown, UpdateIntegrationRspmConfigRequestBody, UpdateIntegrationRspmConfigMutationHeaderParams>, 'url'> {
|
|
18
|
+
body: UpdateIntegrationRspmConfigRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function updateIntegrationRspmConfig(props: UpdateIntegrationRspmConfigProps): Promise<UpdateIntegrationRspmConfigOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Updates enabled scanners, scanner credentials, infrastructure config, cron expression, and/or integration_name on an existing integration. Used after create when the onboarding wizard collects repos before RSPM settings. integration_name may be supplied alone. type, connector_id, and is_integration_name are immutable after create.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useUpdateIntegrationRspmConfigMutation(options?: Omit<UseMutationOptions<UpdateIntegrationRspmConfigOkResponse, UpdateIntegrationRspmConfigErrorResponse, UpdateIntegrationRspmConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationRspmConfigOkResponse, unknown, UpdateIntegrationRspmConfigProps, 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 '../../../../fetcher/index.js';
|
|
6
|
+
export function updateIntegrationRspmConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/integration/${props.integration}`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Updates enabled scanners, scanner credentials, infrastructure config, cron expression, and/or integration_name on an existing integration. Used after create when the onboarding wizard collects repos before RSPM settings. integration_name may be supplied alone. type, connector_id, and is_integration_name are immutable after create.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateIntegrationRspmConfigMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateIntegrationRspmConfig(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ValidateIntegrationNameResponseBodyResponse } from '../responses/ValidateIntegrationNameResponseBodyResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ValidateIntegrationNameQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ValidateIntegrationNameQueryQueryParams {
|
|
10
|
+
integration_name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ValidateIntegrationNameQueryHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type ValidateIntegrationNameOkResponse = ResponseWithPagination<ValidateIntegrationNameResponseBodyResponse>;
|
|
16
|
+
export type ValidateIntegrationNameErrorResponse = unknown;
|
|
17
|
+
export interface ValidateIntegrationNameProps extends ValidateIntegrationNameQueryPathParams, Omit<FetcherOptions<ValidateIntegrationNameQueryQueryParams, unknown, ValidateIntegrationNameQueryHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: ValidateIntegrationNameQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function validateIntegrationName(props: ValidateIntegrationNameProps): Promise<ValidateIntegrationNameOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns whether integration_name can be used to create a named STO integration in this scope without colliding with unique_sto_*_integrationName. Does not create the integration.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useValidateIntegrationNameQuery(props: ValidateIntegrationNameProps, options?: Omit<UseQueryOptions<ValidateIntegrationNameOkResponse, ValidateIntegrationNameErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ValidateIntegrationNameOkResponse, 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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function validateIntegrationName(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/integration/validate-name`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns whether integration_name can be used to create a named STO integration in this scope without colliding with unique_sto_*_integrationName. Does not create the integration.
|
|
11
|
+
*/
|
|
12
|
+
export function useValidateIntegrationNameQuery(props, options) {
|
|
13
|
+
return useQuery(['validateIntegrationName', props.org, props.project, props.queryParams], ({ signal }) => validateIntegrationName(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -203,12 +203,16 @@ export type { ListAttestationsErrorResponse, ListAttestationsMutationQueryParams
|
|
|
203
203
|
export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
|
|
204
204
|
export type { ListExemptionsErrorResponse, ListExemptionsOkResponse, ListExemptionsProps, ListExemptionsQueryQueryParams, ListExemptionsRequestBody, } from './hooks/useListExemptionsQuery';
|
|
205
205
|
export { listExemptions, useListExemptionsQuery } from './hooks/useListExemptionsQuery';
|
|
206
|
+
export type { ListIntegrationRepoScansErrorResponse, ListIntegrationRepoScansMutationPathParams, ListIntegrationRepoScansMutationQueryParams, ListIntegrationRepoScansOkResponse, ListIntegrationRepoScansProps, ListIntegrationRepoScansRequestBody, } from './hooks/useListIntegrationRepoScansMutation';
|
|
207
|
+
export { listIntegrationRepoScans, useListIntegrationRepoScansMutation, } from './hooks/useListIntegrationRepoScansMutation';
|
|
206
208
|
export type { ListIntegrationsErrorResponse, ListIntegrationsOkResponse, ListIntegrationsProps, ListIntegrationsQueryPathParams, ListIntegrationsQueryQueryParams, } from './hooks/useListIntegrationsQuery';
|
|
207
209
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
208
210
|
export type { ListRemediationsErrorResponse, ListRemediationsOkResponse, ListRemediationsProps, ListRemediationsQueryPathParams, ListRemediationsQueryQueryParams, ListRemediationsRequestBody, } from './hooks/useListRemediationsQuery';
|
|
209
211
|
export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
|
|
210
212
|
export type { ListRspmScannersErrorResponse, ListRspmScannersOkResponse, ListRspmScannersProps, ListRspmScannersQueryPathParams, ListRspmScannersQueryQueryParams, } from './hooks/useListRspmScannersQuery';
|
|
211
213
|
export { listRspmScanners, useListRspmScannersQuery } from './hooks/useListRspmScannersQuery';
|
|
214
|
+
export type { ListScannerConfigurationIntegrationsErrorResponse, ListScannerConfigurationIntegrationsOkResponse, ListScannerConfigurationIntegrationsProps, ListScannerConfigurationIntegrationsQueryPathParams, } from './hooks/useListScannerConfigurationIntegrationsQuery';
|
|
215
|
+
export { listScannerConfigurationIntegrations, useListScannerConfigurationIntegrationsQuery, } from './hooks/useListScannerConfigurationIntegrationsQuery';
|
|
212
216
|
export type { ListScannerConfigurationsErrorResponse, ListScannerConfigurationsOkResponse, ListScannerConfigurationsProps, ListScannerConfigurationsQueryPathParams, ListScannerConfigurationsQueryQueryParams, } from './hooks/useListScannerConfigurationsQuery';
|
|
213
217
|
export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
|
|
214
218
|
export type { PostComplianceResultStatsEvaluationBreakdownArtifactTypeErrorResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationPathParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationQueryParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeOkResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeProps, PostComplianceResultStatsEvaluationBreakdownArtifactTypeRequestBody, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
@@ -241,12 +245,16 @@ export type { ToggleAgentStatusErrorResponse, ToggleAgentStatusOkResponse, Toggl
|
|
|
241
245
|
export { toggleAgentStatus, useToggleAgentStatusMutation, } from './hooks/useToggleAgentStatusMutation';
|
|
242
246
|
export type { UpdateExemptionErrorResponse, UpdateExemptionMutationPathParams, UpdateExemptionMutationQueryParams, UpdateExemptionOkResponse, UpdateExemptionProps, UpdateExemptionRequestBody, } from './hooks/useUpdateExemptionMutation';
|
|
243
247
|
export { updateExemption, useUpdateExemptionMutation } from './hooks/useUpdateExemptionMutation';
|
|
248
|
+
export type { UpdateIntegrationRspmConfigErrorResponse, UpdateIntegrationRspmConfigMutationPathParams, UpdateIntegrationRspmConfigOkResponse, UpdateIntegrationRspmConfigProps, UpdateIntegrationRspmConfigRequestBody, } from './hooks/useUpdateIntegrationRspmConfigMutation';
|
|
249
|
+
export { updateIntegrationRspmConfig, useUpdateIntegrationRspmConfigMutation, } from './hooks/useUpdateIntegrationRspmConfigMutation';
|
|
244
250
|
export type { UpdateRemediationTrackerErrorResponse, UpdateRemediationTrackerMutationPathParams, UpdateRemediationTrackerOkResponse, UpdateRemediationTrackerProps, UpdateRemediationTrackerRequestBody, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
245
251
|
export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
246
252
|
export type { UpdateScannerConfigurationErrorResponse, UpdateScannerConfigurationMutationPathParams, UpdateScannerConfigurationOkResponse, UpdateScannerConfigurationProps, UpdateScannerConfigurationRequestBody, } from './hooks/useUpdateScannerConfigurationMutation';
|
|
247
253
|
export { updateScannerConfiguration, useUpdateScannerConfigurationMutation, } from './hooks/useUpdateScannerConfigurationMutation';
|
|
248
254
|
export type { UpsertEolAutoTicketConfigErrorResponse, UpsertEolAutoTicketConfigMutationPathParams, UpsertEolAutoTicketConfigOkResponse, UpsertEolAutoTicketConfigProps, UpsertEolAutoTicketConfigRequestBody, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
249
255
|
export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
256
|
+
export type { ValidateIntegrationNameErrorResponse, ValidateIntegrationNameOkResponse, ValidateIntegrationNameProps, ValidateIntegrationNameQueryPathParams, ValidateIntegrationNameQueryQueryParams, } from './hooks/useValidateIntegrationNameQuery';
|
|
257
|
+
export { useValidateIntegrationNameQuery, validateIntegrationName, } from './hooks/useValidateIntegrationNameQuery';
|
|
250
258
|
export type { AiWorkflowExecutionRequestBodyRequestBody } from './requestBodies/AiWorkflowExecutionRequestBodyRequestBody';
|
|
251
259
|
export type { ArtifactComponentsRequestBodyRequestBody } from './requestBodies/ArtifactComponentsRequestBodyRequestBody';
|
|
252
260
|
export type { ArtifactListingPipelineRequestBodyRequestBody } from './requestBodies/ArtifactListingPipelineRequestBodyRequestBody';
|
|
@@ -286,6 +294,7 @@ export type { ExecutionLimitRequestBodyRequestBody } from './requestBodies/Execu
|
|
|
286
294
|
export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './requestBodies/FetchComplianceResultByArtifactRequestBodyRequestBody';
|
|
287
295
|
export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
|
|
288
296
|
export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
|
|
297
|
+
export type { IntegrationRepoScanListRequestBodyRequestBody } from './requestBodies/IntegrationRepoScanListRequestBodyRequestBody';
|
|
289
298
|
export type { IntegrationStepConfigRequestBodyRequestBody } from './requestBodies/IntegrationStepConfigRequestBodyRequestBody';
|
|
290
299
|
export type { ListSbomComponentsRequestBodyRequestBody } from './requestBodies/ListSbomComponentsRequestBodyRequestBody';
|
|
291
300
|
export type { NormalisedSbomComponentRequestBodyRequestBody } from './requestBodies/NormalisedSbomComponentRequestBodyRequestBody';
|
|
@@ -374,6 +383,7 @@ export type { FetchIntegrationReposResponseBodyResponse } from './responses/Fetc
|
|
|
374
383
|
export type { GetIntegrationSummaryResponseBodyResponse } from './responses/GetIntegrationSummaryResponseBodyResponse';
|
|
375
384
|
export type { HarnessPipelineIntegrationResponseBodyResponse } from './responses/HarnessPipelineIntegrationResponseBodyResponse';
|
|
376
385
|
export type { IntegrationListingResponseBodyResponse } from './responses/IntegrationListingResponseBodyResponse';
|
|
386
|
+
export type { IntegrationRepoScanListingResponseBodyResponse } from './responses/IntegrationRepoScanListingResponseBodyResponse';
|
|
377
387
|
export type { IntegrationStepConfigResponseBodyResponse } from './responses/IntegrationStepConfigResponseBodyResponse';
|
|
378
388
|
export type { LicenseDriftResponseBodyResponse } from './responses/LicenseDriftResponseBodyResponse';
|
|
379
389
|
export type { ListConfigsResponseBodyResponse } from './responses/ListConfigsResponseBodyResponse';
|
|
@@ -402,10 +412,12 @@ export type { SaveResponseResponse } from './responses/SaveResponseResponse';
|
|
|
402
412
|
export type { SbomProcessResponseBodyResponse } from './responses/SbomProcessResponseBodyResponse';
|
|
403
413
|
export type { SbomScoreDetailV2ResponseBodyResponse } from './responses/SbomScoreDetailV2ResponseBodyResponse';
|
|
404
414
|
export type { SbomScorecardResponseBodyResponse } from './responses/SbomScorecardResponseBodyResponse';
|
|
415
|
+
export type { ScannerConfigurationIntegrationsResponseBodyResponse } from './responses/ScannerConfigurationIntegrationsResponseBodyResponse';
|
|
405
416
|
export type { ScannerConfigurationListingResponseBodyResponse } from './responses/ScannerConfigurationListingResponseBodyResponse';
|
|
406
417
|
export type { TicketResponseBodyResponse } from './responses/TicketResponseBodyResponse';
|
|
407
418
|
export type { TokenIssueResponseBodyResponse } from './responses/TokenIssueResponseBodyResponse';
|
|
408
419
|
export type { UpdateIntegrationResponseBodyResponse } from './responses/UpdateIntegrationResponseBodyResponse';
|
|
420
|
+
export type { ValidateIntegrationNameResponseBodyResponse } from './responses/ValidateIntegrationNameResponseBodyResponse';
|
|
409
421
|
export type { VersionResponseBodyResponse } from './responses/VersionResponseBodyResponse';
|
|
410
422
|
export type { ActivityDetails } from './schemas/ActivityDetails';
|
|
411
423
|
export type { AffectedArtifactInfo } from './schemas/AffectedArtifactInfo';
|
|
@@ -682,6 +694,8 @@ export type { Integration } from './schemas/Integration';
|
|
|
682
694
|
export type { IntegrationConfig } from './schemas/IntegrationConfig';
|
|
683
695
|
export type { IntegrationConfigRequestBody } from './schemas/IntegrationConfigRequestBody';
|
|
684
696
|
export type { IntegrationCountsResponse } from './schemas/IntegrationCountsResponse';
|
|
697
|
+
export type { IntegrationRepoScanListItem } from './schemas/IntegrationRepoScanListItem';
|
|
698
|
+
export type { IntegrationRepoScanListRequest } from './schemas/IntegrationRepoScanListRequest';
|
|
685
699
|
export type { IntegrationStepConfig } from './schemas/IntegrationStepConfig';
|
|
686
700
|
export type { IntegrationStepConfigRequestBody } from './schemas/IntegrationStepConfigRequestBody';
|
|
687
701
|
export type { IntegrationType } from './schemas/IntegrationType';
|
|
@@ -775,6 +789,8 @@ export type { RemediationTrackerUpdateResponseBody } from './schemas/Remediation
|
|
|
775
789
|
export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
|
|
776
790
|
export type { RemediationWarning } from './schemas/RemediationWarning';
|
|
777
791
|
export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
|
|
792
|
+
export type { RepoScanExecutionDto } from './schemas/RepoScanExecutionDto';
|
|
793
|
+
export type { RepoScanExecutionStatus } from './schemas/RepoScanExecutionStatus';
|
|
778
794
|
export type { ReportSbomAttestationVerificationRequestBody } from './schemas/ReportSbomAttestationVerificationRequestBody';
|
|
779
795
|
export type { Repositories } from './schemas/Repositories';
|
|
780
796
|
export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
|
|
@@ -842,6 +858,7 @@ export type { UpdateAiWorkflowExecutionStatusResponse } from './schemas/UpdateAi
|
|
|
842
858
|
export type { UpdateIntegration } from './schemas/UpdateIntegration';
|
|
843
859
|
export type { UpdateIntegrationRspmRequest } from './schemas/UpdateIntegrationRspmRequest';
|
|
844
860
|
export type { UpdateScannerConfigurationRequest } from './schemas/UpdateScannerConfigurationRequest';
|
|
861
|
+
export type { ValidateIntegrationNameResponse } from './schemas/ValidateIntegrationNameResponse';
|
|
845
862
|
export type { VerificationActivity } from './schemas/VerificationActivity';
|
|
846
863
|
export type { VerificationStatus } from './schemas/VerificationStatus';
|
|
847
864
|
export type { VersionInfo } from './schemas/VersionInfo';
|
|
@@ -100,9 +100,11 @@ export { listAgentStatuses, useListAgentStatusesQuery } from './hooks/useListAge
|
|
|
100
100
|
export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
|
|
101
101
|
export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
|
|
102
102
|
export { listExemptions, useListExemptionsQuery } from './hooks/useListExemptionsQuery';
|
|
103
|
+
export { listIntegrationRepoScans, useListIntegrationRepoScansMutation, } from './hooks/useListIntegrationRepoScansMutation';
|
|
103
104
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
104
105
|
export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
|
|
105
106
|
export { listRspmScanners, useListRspmScannersQuery } from './hooks/useListRspmScannersQuery';
|
|
107
|
+
export { listScannerConfigurationIntegrations, useListScannerConfigurationIntegrationsQuery, } from './hooks/useListScannerConfigurationIntegrationsQuery';
|
|
106
108
|
export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
|
|
107
109
|
export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
108
110
|
export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
|
|
@@ -119,6 +121,8 @@ export { setBaselineForArtifactV2, useSetBaselineForArtifactV2Mutation, } from '
|
|
|
119
121
|
export { sscaLicenseUsage, useSscaLicenseUsageQuery } from './hooks/useSscaLicenseUsageQuery';
|
|
120
122
|
export { toggleAgentStatus, useToggleAgentStatusMutation, } from './hooks/useToggleAgentStatusMutation';
|
|
121
123
|
export { updateExemption, useUpdateExemptionMutation } from './hooks/useUpdateExemptionMutation';
|
|
124
|
+
export { updateIntegrationRspmConfig, useUpdateIntegrationRspmConfigMutation, } from './hooks/useUpdateIntegrationRspmConfigMutation';
|
|
122
125
|
export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
123
126
|
export { updateScannerConfiguration, useUpdateScannerConfigurationMutation, } from './hooks/useUpdateScannerConfigurationMutation';
|
|
124
127
|
export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
128
|
+
export { useValidateIntegrationNameQuery, validateIntegrationName, } from './hooks/useValidateIntegrationNameQuery';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ssca-manager/src/services/responses/ValidateIntegrationNameResponseBodyResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -17,6 +17,14 @@ export interface CreateIntegrationRequest {
|
|
|
17
17
|
enabled_scanners?: RspmScannerId[];
|
|
18
18
|
infra_config?: InfraConfigDto;
|
|
19
19
|
installation_id?: string;
|
|
20
|
+
/**
|
|
21
|
+
* STO integration name. Optional when is_integration_name is true: omit the field to auto-generate a unique name (connector name, project identifier, or github_app, suffixed with _1, _2, ...). If present, must be non-blank; empty and whitespace-only values are rejected. Ignored for SCS get-or-create.
|
|
22
|
+
*/
|
|
23
|
+
integration_name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* When true, creates a named STO integration instead of SCS get-or-create. Name alone does not select the STO path.
|
|
26
|
+
*/
|
|
27
|
+
is_integration_name?: boolean;
|
|
20
28
|
/**
|
|
21
29
|
* Map of scanner identifier to scanner configuration catalog id
|
|
22
30
|
*/
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import type { AutoDiscoveryScope } from '../schemas/AutoDiscoveryScope';
|
|
1
2
|
import type { InfraConfigDto } from '../schemas/InfraConfigDto';
|
|
3
|
+
import type { RepoDetailsDto } from '../schemas/RepoDetailsDto';
|
|
2
4
|
export interface Integration {
|
|
5
|
+
/**
|
|
6
|
+
* Present when include_all_repos is true for Harness Code integrations. Returned on GET /integration and GET scanner-configurations/{configId}/integrations.
|
|
7
|
+
*/
|
|
8
|
+
auto_discovery_scopes?: AutoDiscoveryScope[];
|
|
3
9
|
/**
|
|
4
10
|
* When true, STO scans fail on critical findings.
|
|
5
11
|
*/
|
|
@@ -14,12 +20,33 @@ export interface Integration {
|
|
|
14
20
|
*/
|
|
15
21
|
enabled_scanners?: string[];
|
|
16
22
|
id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* True when the integration selects every repository from the SCM. Returned for repo-based integrations on GET /integration and GET scanner-configurations/{configId}/integrations.
|
|
25
|
+
*/
|
|
26
|
+
include_all_repos?: boolean;
|
|
17
27
|
infra_config?: InfraConfigDto;
|
|
28
|
+
/**
|
|
29
|
+
* Absent or true: iterator creates scan executions. False: iterator skips scan create. Not set at create; patch via UpdateIntegrationRspmRequest.
|
|
30
|
+
*/
|
|
31
|
+
integration_enabled?: boolean | null;
|
|
32
|
+
/**
|
|
33
|
+
* STO integration name. Present only on named STO integrations.
|
|
34
|
+
*/
|
|
35
|
+
integration_name?: string;
|
|
18
36
|
/**
|
|
19
37
|
* @format int64
|
|
20
38
|
*/
|
|
21
39
|
last_scan_at?: number;
|
|
22
40
|
org?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Stored repository selection. Returned for repo-based integrations on GET /integration and GET scanner-configurations/{configId}/integrations. Omitted or empty when include_all_repos is true or the integration is not repo-based.
|
|
43
|
+
*/
|
|
44
|
+
repositories?: RepoDetailsDto[];
|
|
45
|
+
/**
|
|
46
|
+
* Number of repositories in the integration. Returned for repo-based integrations on GET /integration and GET scanner-configurations/{configId}/integrations. For explicit selections, the stored list size. Null when include_all_repos is true, the integration is not repo-based, or repository selection is unset.
|
|
47
|
+
* @format int64
|
|
48
|
+
*/
|
|
49
|
+
repository_count?: number | null;
|
|
23
50
|
/**
|
|
24
51
|
* Map of scanner identifier to scanner configuration catalog id
|
|
25
52
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RepoScanExecutionDto } from '../schemas/RepoScanExecutionDto';
|
|
2
|
+
import type { RepoScanExecutionStatus } from '../schemas/RepoScanExecutionStatus';
|
|
3
|
+
export interface IntegrationRepoScanListItem {
|
|
4
|
+
branch?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Relative SSCA pipeline execution URL. Null when pipelineExecutionId is absent.
|
|
7
|
+
*/
|
|
8
|
+
execution_link?: string | null;
|
|
9
|
+
last_scan?: RepoScanExecutionDto;
|
|
10
|
+
last_scan_status?: RepoScanExecutionStatus;
|
|
11
|
+
/**
|
|
12
|
+
* createdAt for PENDING/IN_PROGRESS, lastModifiedAt for terminal statuses.
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
last_scan_time?: number | null;
|
|
16
|
+
owner?: string;
|
|
17
|
+
repo_name?: string;
|
|
18
|
+
repo_url?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RepoScanExecutionStatus } from '../schemas/RepoScanExecutionStatus';
|
|
2
|
+
/**
|
|
3
|
+
* Public fields of the latest RepoScanExecutionsEntity. inputYaml is omitted.
|
|
4
|
+
*/
|
|
5
|
+
export interface RepoScanExecutionDto {
|
|
6
|
+
branch?: string;
|
|
7
|
+
connector_id?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @format int64
|
|
10
|
+
*/
|
|
11
|
+
created_at?: number | null;
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
last_modified_at?: number | null;
|
|
16
|
+
pipeline_execution_id?: string;
|
|
17
|
+
pipeline_id?: string;
|
|
18
|
+
priority?: 'NORMAL' | 'URGENT';
|
|
19
|
+
repo_size?: string;
|
|
20
|
+
repo_url?: string;
|
|
21
|
+
scan_execution_id?: string;
|
|
22
|
+
scan_org?: boolean;
|
|
23
|
+
status?: RepoScanExecutionStatus;
|
|
24
|
+
sto_rspm_flow?: boolean;
|
|
25
|
+
uuid?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RspmScannerId } from '../schemas/RspmScannerId';
|
|
2
2
|
import type { InfraConfigDto } from '../schemas/InfraConfigDto';
|
|
3
3
|
/**
|
|
4
|
-
* Partial update of RSPM scan configuration on an existing integration. Only supplied fields are updated; `type` and `
|
|
4
|
+
* Partial update of RSPM scan configuration on an existing integration. Only supplied fields are updated; `type`, `connector_id`, and `is_integration_name` are immutable after create.
|
|
5
5
|
*/
|
|
6
6
|
export interface UpdateIntegrationRspmRequest {
|
|
7
7
|
/**
|
|
@@ -17,6 +17,14 @@ export interface UpdateIntegrationRspmRequest {
|
|
|
17
17
|
*/
|
|
18
18
|
enabled_scanners?: RspmScannerId[];
|
|
19
19
|
infra_config?: InfraConfigDto;
|
|
20
|
+
/**
|
|
21
|
+
* When false, iterator skips scan execution create. True or omit on patch leaves iterator running. Omit to leave unchanged.
|
|
22
|
+
*/
|
|
23
|
+
integration_enabled?: boolean | null;
|
|
24
|
+
/**
|
|
25
|
+
* Optional rename of a named STO integration. Non-blank and unique in the project among STO rows. Same name as current is a no-op. HTTP 400 when the integration is unnamed (useIntegrationName absent or false). HTTP 409 when another STO integration in the project already uses this name. Omit to leave unchanged. Cannot clear the name.
|
|
26
|
+
*/
|
|
27
|
+
integration_name?: string;
|
|
20
28
|
/**
|
|
21
29
|
* Map of scanner identifier to scanner configuration catalog id
|
|
22
30
|
*/
|