@harnessio/react-ssca-manager-client 0.86.23 → 0.86.25

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.
Files changed (63) hide show
  1. package/dist/ssca-manager/src/services/hooks/useCreateIntegrationMutation.d.ts +2 -2
  2. package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.d.ts +4 -3
  3. package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.js +4 -3
  4. package/dist/ssca-manager/src/services/hooks/useGetIntegrationCountsQuery.d.ts +12 -1
  5. package/dist/ssca-manager/src/services/hooks/useGetIntegrationCountsQuery.js +1 -1
  6. package/dist/ssca-manager/src/services/hooks/useGetProjectAiWorkflowConfigQuery.d.ts +1 -1
  7. package/dist/ssca-manager/src/services/hooks/useGetProjectAiWorkflowConfigQuery.js +1 -1
  8. package/dist/ssca-manager/src/services/hooks/useListIntegrationRepoScansMutation.d.ts +36 -0
  9. package/dist/ssca-manager/src/services/hooks/useListIntegrationRepoScansMutation.js +15 -0
  10. package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.d.ts +21 -0
  11. package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.js +14 -0
  12. package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.d.ts +3 -3
  13. package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.js +3 -3
  14. package/dist/ssca-manager/src/services/hooks/useSaveProjectAiWorkflowConfigMutation.d.ts +1 -1
  15. package/dist/ssca-manager/src/services/hooks/useSaveProjectAiWorkflowConfigMutation.js +1 -1
  16. package/dist/ssca-manager/src/services/index.d.ts +25 -1
  17. package/dist/ssca-manager/src/services/index.js +2 -0
  18. package/dist/ssca-manager/src/services/requestBodies/IntegrationRepoScanListRequestBodyRequestBody.d.ts +2 -0
  19. package/dist/ssca-manager/src/services/requestBodies/IntegrationRepoScanListRequestBodyRequestBody.js +1 -0
  20. package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.d.ts +2 -0
  21. package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.js +1 -0
  22. package/dist/ssca-manager/src/services/responses/ScannerConfigurationIntegrationsResponseBodyResponse.d.ts +2 -0
  23. package/dist/ssca-manager/src/services/responses/ScannerConfigurationIntegrationsResponseBodyResponse.js +1 -0
  24. package/dist/ssca-manager/src/services/schemas/AiWorkflowTypeEnum.d.ts +1 -1
  25. package/dist/ssca-manager/src/services/schemas/InitiateRemediationAgentConflict.d.ts +5 -0
  26. package/dist/ssca-manager/src/services/schemas/InitiateRemediationAgentConflict.js +4 -0
  27. package/dist/ssca-manager/src/services/schemas/InitiateRemediationAgentRequest.d.ts +18 -0
  28. package/dist/ssca-manager/src/services/schemas/InitiateRemediationAgentRequest.js +4 -0
  29. package/dist/ssca-manager/src/services/schemas/InitiateRemediationAgentResponse.d.ts +7 -0
  30. package/dist/ssca-manager/src/services/schemas/InitiateRemediationAgentResponse.js +4 -0
  31. package/dist/ssca-manager/src/services/schemas/Integration.d.ts +23 -0
  32. package/dist/ssca-manager/src/services/schemas/IntegrationCountsIntegrationStatus.d.ts +1 -0
  33. package/dist/ssca-manager/src/services/schemas/IntegrationCountsIntegrationStatus.js +4 -0
  34. package/dist/ssca-manager/src/services/schemas/IntegrationCountsResponse.d.ts +16 -4
  35. package/dist/ssca-manager/src/services/schemas/IntegrationCountsScannerCategory.d.ts +1 -0
  36. package/dist/ssca-manager/src/services/schemas/IntegrationCountsScannerCategory.js +4 -0
  37. package/dist/ssca-manager/src/services/schemas/IntegrationCountsView.d.ts +1 -0
  38. package/dist/ssca-manager/src/services/schemas/IntegrationCountsView.js +4 -0
  39. package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListItem.d.ts +19 -0
  40. package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListItem.js +1 -0
  41. package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListRequest.d.ts +6 -0
  42. package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListRequest.js +4 -0
  43. package/dist/ssca-manager/src/services/schemas/RemediationAgentBaseImage.d.ts +8 -0
  44. package/dist/ssca-manager/src/services/schemas/RemediationAgentBaseImage.js +4 -0
  45. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfile.d.ts +8 -0
  46. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfile.js +1 -0
  47. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfileScanExecution.d.ts +11 -0
  48. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfileScanExecution.js +4 -0
  49. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfileScanRequest.d.ts +22 -0
  50. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfileScanRequest.js +4 -0
  51. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfileScanResult.d.ts +13 -0
  52. package/dist/ssca-manager/src/services/schemas/RemediationAgentDockerfileScanResult.js +1 -0
  53. package/dist/ssca-manager/src/services/schemas/RepoScanExecutionDto.d.ts +26 -0
  54. package/dist/ssca-manager/src/services/schemas/RepoScanExecutionDto.js +1 -0
  55. package/dist/ssca-manager/src/services/schemas/RepoScanExecutionStatus.d.ts +4 -0
  56. package/dist/ssca-manager/src/services/schemas/RepoScanExecutionStatus.js +4 -0
  57. package/dist/ssca-manager/src/services/schemas/ResolveRemediationAgentRepoUrlRequest.d.ts +6 -0
  58. package/dist/ssca-manager/src/services/schemas/ResolveRemediationAgentRepoUrlRequest.js +4 -0
  59. package/dist/ssca-manager/src/services/schemas/ResolveRemediationAgentRepoUrlResponse.d.ts +10 -0
  60. package/dist/ssca-manager/src/services/schemas/ResolveRemediationAgentRepoUrlResponse.js +4 -0
  61. package/dist/ssca-manager/src/services/schemas/ScannerConfigCount.d.ts +11 -0
  62. package/dist/ssca-manager/src/services/schemas/UpdateIntegrationRspmRequest.d.ts +5 -1
  63. 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, Error, CreateIntegrationProps, unknown>;
24
+ export declare function useCreateIntegrationMutation(options?: Omit<UseMutationOptions<CreateIntegrationOkResponse, CreateIntegrationErrorResponse, CreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationOkResponse, unknown, CreateIntegrationProps, unknown>;
@@ -18,9 +18,10 @@ export interface GetAccountAiWorkflowConfigProps extends Omit<FetcherOptions<Get
18
18
  }
19
19
  export declare function getAccountAiWorkflowConfig(props: GetAccountAiWorkflowConfigProps): Promise<GetAccountAiWorkflowConfigOkResponse>;
20
20
  /**
21
- * Get account-level AI workflow configuration.
22
- * For SAST remediation, validation pipelines (scan/build) are project-scoped only —
23
- * configure them via the project AI workflow config API.
21
+ * Get AI workflow configuration at account, organization, or project scope.
22
+ * With org only, returns account defaults overlaid with organization overrides.
23
+ * With org and project, returns account + organization + project effective configuration.
24
+ * Validation pipelines are project-scoped only.
24
25
  *
25
26
  */
26
27
  export declare function useGetAccountAiWorkflowConfigQuery(props: GetAccountAiWorkflowConfigProps, options?: Omit<UseQueryOptions<GetAccountAiWorkflowConfigOkResponse, GetAccountAiWorkflowConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAccountAiWorkflowConfigOkResponse, unknown>;
@@ -7,9 +7,10 @@ export function getAccountAiWorkflowConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/v1/ai-workflow-config`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Get account-level AI workflow configuration.
11
- * For SAST remediation, validation pipelines (scan/build) are project-scoped only —
12
- * configure them via the project AI workflow config API.
10
+ * Get AI workflow configuration at account, organization, or project scope.
11
+ * With org only, returns account defaults overlaid with organization overrides.
12
+ * With org and project, returns account + organization + project effective configuration.
13
+ * Validation pipelines are project-scoped only.
13
14
  *
14
15
  */
15
16
  export function useGetAccountAiWorkflowConfigQuery(props, options) {
@@ -1,17 +1,28 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { IntegrationCountsResponse } from '../schemas/IntegrationCountsResponse';
3
+ import type { IntegrationCountsView } from '../schemas/IntegrationCountsView';
4
+ import type { IntegrationCountsScannerCategory } from '../schemas/IntegrationCountsScannerCategory';
5
+ import type { IntegrationCountsIntegrationStatus } from '../schemas/IntegrationCountsIntegrationStatus';
3
6
  import type { ResponseWithPagination } from '../helpers';
4
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
8
  export interface GetIntegrationCountsQueryPathParams {
6
9
  org: string;
7
10
  project: string;
8
11
  }
12
+ export interface GetIntegrationCountsQueryQueryParams {
13
+ view?: IntegrationCountsView;
14
+ types?: IntegrationCountsScannerCategory;
15
+ scanner_types?: string;
16
+ search_term?: string;
17
+ integration_status?: IntegrationCountsIntegrationStatus;
18
+ }
9
19
  export interface GetIntegrationCountsQueryHeaderParams {
10
20
  'Harness-Account': string;
11
21
  }
12
22
  export type GetIntegrationCountsOkResponse = ResponseWithPagination<IntegrationCountsResponse>;
13
23
  export type GetIntegrationCountsErrorResponse = unknown;
14
- export interface GetIntegrationCountsProps extends GetIntegrationCountsQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetIntegrationCountsQueryHeaderParams>, 'url'> {
24
+ export interface GetIntegrationCountsProps extends GetIntegrationCountsQueryPathParams, Omit<FetcherOptions<GetIntegrationCountsQueryQueryParams, unknown, GetIntegrationCountsQueryHeaderParams>, 'url'> {
25
+ queryParams: GetIntegrationCountsQueryQueryParams;
15
26
  }
16
27
  export declare function getIntegrationCounts(props: GetIntegrationCountsProps): Promise<GetIntegrationCountsOkResponse>;
17
28
  /**
@@ -10,5 +10,5 @@ export function getIntegrationCounts(props) {
10
10
  * RSPM dashboard counts at project scope
11
11
  */
12
12
  export function useGetIntegrationCountsQuery(props, options) {
13
- return useQuery(['getIntegrationCounts', props.org, props.project], ({ signal }) => getIntegrationCounts(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['getIntegrationCounts', props.org, props.project, props.queryParams], ({ signal }) => getIntegrationCounts(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -21,7 +21,7 @@ export interface GetProjectAiWorkflowConfigProps extends GetProjectAiWorkflowCon
21
21
  export declare function getProjectAiWorkflowConfig(props: GetProjectAiWorkflowConfigProps): Promise<GetProjectAiWorkflowConfigOkResponse>;
22
22
  /**
23
23
  * Get the effective AI workflow configuration for a project.
24
- * Returns account defaults overlaid with any project-scoped overrides.
24
+ * Returns account defaults overlaid with organization and project overrides.
25
25
  * For SAST remediation, validation pipelines (scan/build) are set on this project config.
26
26
  *
27
27
  */
@@ -8,7 +8,7 @@ export function getProjectAiWorkflowConfig(props) {
8
8
  }
9
9
  /**
10
10
  * Get the effective AI workflow configuration for a project.
11
- * Returns account defaults overlaid with any project-scoped overrides.
11
+ * Returns account defaults overlaid with organization and project overrides.
12
12
  * For SAST remediation, validation pipelines (scan/build) are set on this project config.
13
13
  *
14
14
  */
@@ -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}/repos/scans`, 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
+ }
@@ -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
+ }
@@ -21,9 +21,9 @@ export interface SaveAccountAiWorkflowConfigProps extends Omit<FetcherOptions<Sa
21
21
  }
22
22
  export declare function saveAccountAiWorkflowConfig(props: SaveAccountAiWorkflowConfigProps): Promise<SaveAccountAiWorkflowConfigOkResponse>;
23
23
  /**
24
- * Create or update account-level AI workflow configuration.
25
- * For SAST remediation, validation pipeline fields must not be set here —
26
- * save them on the project-scoped config instead.
24
+ * Create or update account, organization, or project AI workflow configuration.
25
+ * Set org without project for organization overrides. Set both for project overrides.
26
+ * Validation pipeline fields must be saved at project scope.
27
27
  *
28
28
  */
29
29
  export declare function useSaveAccountAiWorkflowConfigMutation(options?: Omit<UseMutationOptions<SaveAccountAiWorkflowConfigOkResponse, SaveAccountAiWorkflowConfigErrorResponse, SaveAccountAiWorkflowConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveAccountAiWorkflowConfigOkResponse, unknown, SaveAccountAiWorkflowConfigProps, unknown>;
@@ -7,9 +7,9 @@ export function saveAccountAiWorkflowConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/v1/ai-workflow-config`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * Create or update account-level AI workflow configuration.
11
- * For SAST remediation, validation pipeline fields must not be set here —
12
- * save them on the project-scoped config instead.
10
+ * Create or update account, organization, or project AI workflow configuration.
11
+ * Set org without project for organization overrides. Set both for project overrides.
12
+ * Validation pipeline fields must be saved at project scope.
13
13
  *
14
14
  */
15
15
  export function useSaveAccountAiWorkflowConfigMutation(options) {
@@ -24,7 +24,7 @@ export interface SaveProjectAiWorkflowConfigProps extends SaveProjectAiWorkflowC
24
24
  export declare function saveProjectAiWorkflowConfig(props: SaveProjectAiWorkflowConfigProps): Promise<SaveProjectAiWorkflowConfigOkResponse>;
25
25
  /**
26
26
  * Create or update project-scoped AI workflow configuration overrides.
27
- * Unset fields inherit from the account config at trigger/read time.
27
+ * Unset fields inherit from organization and account configs at trigger/read time.
28
28
  * For SAST remediation, validation pipelines (scan/build) belong here.
29
29
  *
30
30
  */
@@ -8,7 +8,7 @@ export function saveProjectAiWorkflowConfig(props) {
8
8
  }
9
9
  /**
10
10
  * Create or update project-scoped AI workflow configuration overrides.
11
- * Unset fields inherit from the account config at trigger/read time.
11
+ * Unset fields inherit from organization and account configs at trigger/read time.
12
12
  * For SAST remediation, validation pipelines (scan/build) belong here.
13
13
  *
14
14
  */
@@ -155,7 +155,7 @@ export type { GetExemptionErrorResponse, GetExemptionOkResponse, GetExemptionPro
155
155
  export { getExemption, useGetExemptionQuery } from './hooks/useGetExemptionQuery';
156
156
  export type { GetHarnessPipelineIntegrationErrorResponse, GetHarnessPipelineIntegrationOkResponse, GetHarnessPipelineIntegrationProps, GetHarnessPipelineIntegrationQueryPathParams, } from './hooks/useGetHarnessPipelineIntegrationQuery';
157
157
  export { getHarnessPipelineIntegration, useGetHarnessPipelineIntegrationQuery, } from './hooks/useGetHarnessPipelineIntegrationQuery';
158
- export type { GetIntegrationCountsErrorResponse, GetIntegrationCountsOkResponse, GetIntegrationCountsProps, GetIntegrationCountsQueryPathParams, } from './hooks/useGetIntegrationCountsQuery';
158
+ export type { GetIntegrationCountsErrorResponse, GetIntegrationCountsOkResponse, GetIntegrationCountsProps, GetIntegrationCountsQueryPathParams, GetIntegrationCountsQueryQueryParams, } from './hooks/useGetIntegrationCountsQuery';
159
159
  export { getIntegrationCounts, useGetIntegrationCountsQuery, } from './hooks/useGetIntegrationCountsQuery';
160
160
  export type { GetIntegrationReposErrorResponse, GetIntegrationReposOkResponse, GetIntegrationReposProps, GetIntegrationReposQueryPathParams, } from './hooks/useGetIntegrationReposQuery';
161
161
  export { getIntegrationRepos, useGetIntegrationReposQuery, } from './hooks/useGetIntegrationReposQuery';
@@ -205,12 +205,16 @@ export type { ListAttestationsErrorResponse, ListAttestationsMutationQueryParams
205
205
  export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
206
206
  export type { ListExemptionsErrorResponse, ListExemptionsOkResponse, ListExemptionsProps, ListExemptionsQueryQueryParams, ListExemptionsRequestBody, } from './hooks/useListExemptionsQuery';
207
207
  export { listExemptions, useListExemptionsQuery } from './hooks/useListExemptionsQuery';
208
+ export type { ListIntegrationRepoScansErrorResponse, ListIntegrationRepoScansMutationPathParams, ListIntegrationRepoScansMutationQueryParams, ListIntegrationRepoScansOkResponse, ListIntegrationRepoScansProps, ListIntegrationRepoScansRequestBody, } from './hooks/useListIntegrationRepoScansMutation';
209
+ export { listIntegrationRepoScans, useListIntegrationRepoScansMutation, } from './hooks/useListIntegrationRepoScansMutation';
208
210
  export type { ListIntegrationsErrorResponse, ListIntegrationsOkResponse, ListIntegrationsProps, ListIntegrationsQueryPathParams, ListIntegrationsQueryQueryParams, } from './hooks/useListIntegrationsQuery';
209
211
  export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
210
212
  export type { ListRemediationsErrorResponse, ListRemediationsOkResponse, ListRemediationsProps, ListRemediationsQueryPathParams, ListRemediationsQueryQueryParams, ListRemediationsRequestBody, } from './hooks/useListRemediationsQuery';
211
213
  export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
212
214
  export type { ListRspmScannersErrorResponse, ListRspmScannersOkResponse, ListRspmScannersProps, ListRspmScannersQueryPathParams, ListRspmScannersQueryQueryParams, } from './hooks/useListRspmScannersQuery';
213
215
  export { listRspmScanners, useListRspmScannersQuery } from './hooks/useListRspmScannersQuery';
216
+ export type { ListScannerConfigurationIntegrationsErrorResponse, ListScannerConfigurationIntegrationsOkResponse, ListScannerConfigurationIntegrationsProps, ListScannerConfigurationIntegrationsQueryPathParams, } from './hooks/useListScannerConfigurationIntegrationsQuery';
217
+ export { listScannerConfigurationIntegrations, useListScannerConfigurationIntegrationsQuery, } from './hooks/useListScannerConfigurationIntegrationsQuery';
214
218
  export type { ListScannerConfigurationsErrorResponse, ListScannerConfigurationsOkResponse, ListScannerConfigurationsProps, ListScannerConfigurationsQueryPathParams, ListScannerConfigurationsQueryQueryParams, } from './hooks/useListScannerConfigurationsQuery';
215
219
  export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
216
220
  export type { PostComplianceResultStatsEvaluationBreakdownArtifactTypeErrorResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationPathParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationQueryParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeOkResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeProps, PostComplianceResultStatsEvaluationBreakdownArtifactTypeRequestBody, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
@@ -294,6 +298,7 @@ export type { ExecutionLimitRequestBodyRequestBody } from './requestBodies/Execu
294
298
  export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './requestBodies/FetchComplianceResultByArtifactRequestBodyRequestBody';
295
299
  export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
296
300
  export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
301
+ export type { IntegrationRepoScanListRequestBodyRequestBody } from './requestBodies/IntegrationRepoScanListRequestBodyRequestBody';
297
302
  export type { IntegrationStepConfigRequestBodyRequestBody } from './requestBodies/IntegrationStepConfigRequestBodyRequestBody';
298
303
  export type { ListSbomComponentsRequestBodyRequestBody } from './requestBodies/ListSbomComponentsRequestBodyRequestBody';
299
304
  export type { NormalisedSbomComponentRequestBodyRequestBody } from './requestBodies/NormalisedSbomComponentRequestBodyRequestBody';
@@ -382,6 +387,7 @@ export type { FetchIntegrationReposResponseBodyResponse } from './responses/Fetc
382
387
  export type { GetIntegrationSummaryResponseBodyResponse } from './responses/GetIntegrationSummaryResponseBodyResponse';
383
388
  export type { HarnessPipelineIntegrationResponseBodyResponse } from './responses/HarnessPipelineIntegrationResponseBodyResponse';
384
389
  export type { IntegrationListingResponseBodyResponse } from './responses/IntegrationListingResponseBodyResponse';
390
+ export type { IntegrationRepoScanListingResponseBodyResponse } from './responses/IntegrationRepoScanListingResponseBodyResponse';
385
391
  export type { IntegrationStepConfigResponseBodyResponse } from './responses/IntegrationStepConfigResponseBodyResponse';
386
392
  export type { LicenseDriftResponseBodyResponse } from './responses/LicenseDriftResponseBodyResponse';
387
393
  export type { ListConfigsResponseBodyResponse } from './responses/ListConfigsResponseBodyResponse';
@@ -410,6 +416,7 @@ export type { SaveResponseResponse } from './responses/SaveResponseResponse';
410
416
  export type { SbomProcessResponseBodyResponse } from './responses/SbomProcessResponseBodyResponse';
411
417
  export type { SbomScoreDetailV2ResponseBodyResponse } from './responses/SbomScoreDetailV2ResponseBodyResponse';
412
418
  export type { SbomScorecardResponseBodyResponse } from './responses/SbomScorecardResponseBodyResponse';
419
+ export type { ScannerConfigurationIntegrationsResponseBodyResponse } from './responses/ScannerConfigurationIntegrationsResponseBodyResponse';
413
420
  export type { ScannerConfigurationListingResponseBodyResponse } from './responses/ScannerConfigurationListingResponseBodyResponse';
414
421
  export type { TicketResponseBodyResponse } from './responses/TicketResponseBodyResponse';
415
422
  export type { TokenIssueResponseBodyResponse } from './responses/TokenIssueResponseBodyResponse';
@@ -688,10 +695,18 @@ export type { HarnessRunnerDetail } from './schemas/HarnessRunnerDetail';
688
695
  export type { ImageSpec } from './schemas/ImageSpec';
689
696
  export type { InfraConfigDto } from './schemas/InfraConfigDto';
690
697
  export type { InfraLayout } from './schemas/InfraLayout';
698
+ export type { InitiateRemediationAgentConflict } from './schemas/InitiateRemediationAgentConflict';
699
+ export type { InitiateRemediationAgentRequest } from './schemas/InitiateRemediationAgentRequest';
700
+ export type { InitiateRemediationAgentResponse } from './schemas/InitiateRemediationAgentResponse';
691
701
  export type { Integration } from './schemas/Integration';
692
702
  export type { IntegrationConfig } from './schemas/IntegrationConfig';
693
703
  export type { IntegrationConfigRequestBody } from './schemas/IntegrationConfigRequestBody';
704
+ export type { IntegrationCountsIntegrationStatus } from './schemas/IntegrationCountsIntegrationStatus';
694
705
  export type { IntegrationCountsResponse } from './schemas/IntegrationCountsResponse';
706
+ export type { IntegrationCountsScannerCategory } from './schemas/IntegrationCountsScannerCategory';
707
+ export type { IntegrationCountsView } from './schemas/IntegrationCountsView';
708
+ export type { IntegrationRepoScanListItem } from './schemas/IntegrationRepoScanListItem';
709
+ export type { IntegrationRepoScanListRequest } from './schemas/IntegrationRepoScanListRequest';
695
710
  export type { IntegrationStepConfig } from './schemas/IntegrationStepConfig';
696
711
  export type { IntegrationStepConfigRequestBody } from './schemas/IntegrationStepConfigRequestBody';
697
712
  export type { IntegrationType } from './schemas/IntegrationType';
@@ -762,6 +777,11 @@ export type { ProvenanceRequestBody } from './schemas/ProvenanceRequestBody';
762
777
  export type { ProvenanceRequestBodyV2 } from './schemas/ProvenanceRequestBodyV2';
763
778
  export type { ProvenanceResponseBody } from './schemas/ProvenanceResponseBody';
764
779
  export type { RekorLog } from './schemas/RekorLog';
780
+ export type { RemediationAgentBaseImage } from './schemas/RemediationAgentBaseImage';
781
+ export type { RemediationAgentDockerfile } from './schemas/RemediationAgentDockerfile';
782
+ export type { RemediationAgentDockerfileScanExecution } from './schemas/RemediationAgentDockerfileScanExecution';
783
+ export type { RemediationAgentDockerfileScanRequest } from './schemas/RemediationAgentDockerfileScanRequest';
784
+ export type { RemediationAgentDockerfileScanResult } from './schemas/RemediationAgentDockerfileScanResult';
765
785
  export type { RemediationArtifactDeploymentsListingRequestBody } from './schemas/RemediationArtifactDeploymentsListingRequestBody';
766
786
  export type { RemediationArtifactDeploymentsListingResponse } from './schemas/RemediationArtifactDeploymentsListingResponse';
767
787
  export type { RemediationArtifactDetailsResponse } from './schemas/RemediationArtifactDetailsResponse';
@@ -785,12 +805,16 @@ export type { RemediationTrackerUpdateResponseBody } from './schemas/Remediation
785
805
  export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
786
806
  export type { RemediationWarning } from './schemas/RemediationWarning';
787
807
  export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
808
+ export type { RepoScanExecutionDto } from './schemas/RepoScanExecutionDto';
809
+ export type { RepoScanExecutionStatus } from './schemas/RepoScanExecutionStatus';
788
810
  export type { ReportSbomAttestationVerificationRequestBody } from './schemas/ReportSbomAttestationVerificationRequestBody';
789
811
  export type { Repositories } from './schemas/Repositories';
790
812
  export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
791
813
  export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
792
814
  export type { RepositoryPlatform } from './schemas/RepositoryPlatform';
793
815
  export type { RepositorySpec } from './schemas/RepositorySpec';
816
+ export type { ResolveRemediationAgentRepoUrlRequest } from './schemas/ResolveRemediationAgentRepoUrlRequest';
817
+ export type { ResolveRemediationAgentRepoUrlResponse } from './schemas/ResolveRemediationAgentRepoUrlResponse';
794
818
  export type { RiskAndCompliance } from './schemas/RiskAndCompliance';
795
819
  export type { RspmScannerId } from './schemas/RspmScannerId';
796
820
  export type { RspmScannerInfo } from './schemas/RspmScannerInfo';
@@ -101,9 +101,11 @@ export { listAgentStatuses, useListAgentStatusesQuery } from './hooks/useListAge
101
101
  export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
102
102
  export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
103
103
  export { listExemptions, useListExemptionsQuery } from './hooks/useListExemptionsQuery';
104
+ export { listIntegrationRepoScans, useListIntegrationRepoScansMutation, } from './hooks/useListIntegrationRepoScansMutation';
104
105
  export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
105
106
  export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
106
107
  export { listRspmScanners, useListRspmScannersQuery } from './hooks/useListRspmScannersQuery';
108
+ export { listScannerConfigurationIntegrations, useListScannerConfigurationIntegrationsQuery, } from './hooks/useListScannerConfigurationIntegrationsQuery';
107
109
  export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
108
110
  export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
109
111
  export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
@@ -0,0 +1,2 @@
1
+ import type { IntegrationRepoScanListRequest } from '../schemas/IntegrationRepoScanListRequest';
2
+ export type IntegrationRepoScanListRequestBodyRequestBody = IntegrationRepoScanListRequest;
@@ -0,0 +1,2 @@
1
+ import type { IntegrationRepoScanListItem } from '../schemas/IntegrationRepoScanListItem';
2
+ export type IntegrationRepoScanListingResponseBodyResponse = IntegrationRepoScanListItem[];
@@ -0,0 +1,2 @@
1
+ import type { Integration } from '../schemas/Integration';
2
+ export type ScannerConfigurationIntegrationsResponseBodyResponse = Integration[];
@@ -2,4 +2,4 @@
2
2
  * Type of AI workflow
3
3
  * @example "vulnerability"
4
4
  */
5
- export type AiWorkflowTypeEnum = 'fp_triage' | 'remediation' | 'vulnerability' | 'zero_day';
5
+ export type AiWorkflowTypeEnum = 'dependency_remediation' | 'fp_triage' | 'remediation' | 'vulnerability' | 'zero_day';
@@ -0,0 +1,5 @@
1
+ export interface InitiateRemediationAgentConflict {
2
+ code: 'ACTIVE_EXECUTION_EXISTS';
3
+ executionId: string;
4
+ message: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,18 @@
1
+ export interface InitiateRemediationAgentRequest {
2
+ /**
3
+ * Caller's pipeline execution ID
4
+ */
5
+ pipelineExecutionId?: string;
6
+ /**
7
+ * Caller's pipeline ID
8
+ */
9
+ pipelineId?: string;
10
+ /**
11
+ * STO scan ID
12
+ */
13
+ scanId: string;
14
+ /**
15
+ * Workflow type (e.g. DEPENDENCY_REMEDIATION)
16
+ */
17
+ workflowType: string;
18
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface InitiateRemediationAgentResponse {
2
+ executionId: string;
3
+ status: string;
4
+ targetId?: string;
5
+ targetName?: string;
6
+ targetType?: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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,7 +20,15 @@ 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;
18
32
  /**
19
33
  * STO integration name. Present only on named STO integrations.
20
34
  */
@@ -24,6 +38,15 @@ export interface Integration {
24
38
  */
25
39
  last_scan_at?: number;
26
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 and no explicit repositories are retained, or the integration is not repo-based. Harness Code include_all_repos keeps repositories outside auto_discovery_scopes.
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 and no explicit repositories are retained, the integration is not repo-based, or repository selection is unset. Harness Code include_all_repos keeps repositories outside auto_discovery_scopes; this count is that retained list size.
47
+ * @format int64
48
+ */
49
+ repository_count?: number | null;
27
50
  /**
28
51
  * Map of scanner identifier to scanner configuration catalog id
29
52
  */
@@ -0,0 +1 @@
1
+ export type IntegrationCountsIntegrationStatus = 'active' | 'inactive';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,15 +1,27 @@
1
1
  import type { ScannerConfigCount } from '../schemas/ScannerConfigCount';
2
2
  export interface IntegrationCountsResponse {
3
3
  /**
4
- * Counts grouped by integration type (keys match stored type values)
4
+ * Active integrations per repository type (integration_enabled not false)
5
5
  */
6
- integrations_by_type: {
6
+ integrations_active_by_type?: {
7
7
  [key: string]: number;
8
8
  };
9
9
  /**
10
- * Scanner configuration counts keyed by scanner_id, with slug and display name metadata
10
+ * Total integrations grouped by repository integration type (keys GITHUB, BITBUCKET, HARNESS_CODE)
11
11
  */
12
- scanner_configs_by_scanner_id: {
12
+ integrations_by_type?: {
13
+ [key: string]: number;
14
+ };
15
+ /**
16
+ * Inactive integrations per repository type (integration_enabled false)
17
+ */
18
+ integrations_inactive_by_type?: {
19
+ [key: string]: number;
20
+ };
21
+ /**
22
+ * Scanner rows keyed by scanner_id, with config and integration usage counts
23
+ */
24
+ scanner_configs_by_scanner_id?: {
13
25
  [key: string]: ScannerConfigCount;
14
26
  };
15
27
  }
@@ -0,0 +1 @@
1
+ export type IntegrationCountsScannerCategory = 'all' | 'harness_security' | 'opensource' | 'supply_chain' | 'third_party';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type IntegrationCountsView = 'both' | 'repositories' | 'scanners';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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,6 @@
1
+ export interface IntegrationRepoScanListRequest {
2
+ /**
3
+ * When false (P0), list configured repos. When true (P1), list distinct scanned repo+branch keys from Mongo.
4
+ */
5
+ include_all_repos?: boolean;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface RemediationAgentBaseImage {
2
+ alias?: string;
3
+ image: string;
4
+ /**
5
+ * @format int32
6
+ */
7
+ line: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { RemediationAgentBaseImage } from '../schemas/RemediationAgentBaseImage';
2
+ export interface RemediationAgentDockerfile {
3
+ baseImages: RemediationAgentBaseImage[];
4
+ /**
5
+ * Repository-relative Dockerfile path
6
+ */
7
+ path: string;
8
+ }
@@ -0,0 +1,11 @@
1
+ export interface RemediationAgentDockerfileScanExecution {
2
+ pipelineExecutionId: string;
3
+ /**
4
+ * SCM connector used for the clone
5
+ */
6
+ scmConnectorRef?: string;
7
+ /**
8
+ * PMS status at trigger time
9
+ */
10
+ status: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,22 @@
1
+ export interface RemediationAgentDockerfileScanRequest {
2
+ /**
3
+ * Git branch to clone. When omitted, the default branch is resolved from the GitHub connector.
4
+ */
5
+ defaultBranch?: string;
6
+ /**
7
+ * Optional repository-relative Dockerfile path. When omitted, the cloned workspace is walked for Dockerfiles.
8
+ */
9
+ dockerfilePath?: string;
10
+ /**
11
+ * Remediator AI workflow execution id from initiate. Used to store and reuse the Dockerfile-discovery pipelineExecutionId so retries do not start a second clone.
12
+ */
13
+ executionId: string;
14
+ /**
15
+ * Git remote URL of the repository to scan for Dockerfiles
16
+ */
17
+ repoUrl: string;
18
+ /**
19
+ * SCM connector used to clone the repository. Resolved from the DEPENDENCY_REMEDIATION AI workflow config when omitted.
20
+ */
21
+ scmConnectorRef?: string;
22
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { RemediationAgentDockerfile } from '../schemas/RemediationAgentDockerfile';
2
+ export interface RemediationAgentDockerfileScanResult {
3
+ dockerfiles: RemediationAgentDockerfile[];
4
+ /**
5
+ * Failure detail when status is FAILED
6
+ */
7
+ message?: string;
8
+ pipelineExecutionId: string;
9
+ /**
10
+ * One of RUNNING, SUCCEEDED or FAILED
11
+ */
12
+ status: string;
13
+ }
@@ -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,4 @@
1
+ /**
2
+ * Status stored on scanExecutions. Passthrough of ScanExecutionStatus with no mapping.
3
+ */
4
+ export type RepoScanExecutionStatus = 'CANCELLED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING' | 'SUCCESS' | 'UNKNOWN';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface ResolveRemediationAgentRepoUrlRequest {
2
+ /**
3
+ * STO scan ID
4
+ */
5
+ scanId: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface ResolveRemediationAgentRepoUrlResponse {
2
+ /**
3
+ * Git remote URL from scan ArtifactInfo.targetUrl
4
+ */
5
+ repoUrl: string;
6
+ /**
7
+ * Effective SCM connector from DEPENDENCY_REMEDIATION AI workflow config
8
+ */
9
+ scmConnectorRef?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,9 +1,20 @@
1
1
  import type { RspmScannerType } from '../schemas/RspmScannerType';
2
2
  export interface ScannerConfigCount {
3
3
  /**
4
+ * Saved scanner configuration documents in this scope
4
5
  * @format int64
5
6
  */
6
7
  count: number;
8
+ /**
9
+ * Integrations in scope with this scanner in enabled_scanners and integration_enabled not false
10
+ * @format int64
11
+ */
12
+ integrations_active?: number;
13
+ /**
14
+ * Integrations in scope with this scanner in enabled_scanners and integration_enabled false
15
+ * @format int64
16
+ */
17
+ integrations_inactive?: number;
7
18
  /**
8
19
  * Display name from STO product catalog or SCS constants
9
20
  */
@@ -18,7 +18,11 @@ export interface UpdateIntegrationRspmRequest {
18
18
  enabled_scanners?: RspmScannerId[];
19
19
  infra_config?: InfraConfigDto;
20
20
  /**
21
- * 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). Omit to leave unchanged. Cannot clear the name.
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.
22
26
  */
23
27
  integration_name?: string;
24
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.86.23",
3
+ "version": "0.86.25",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",