@harnessio/react-ssca-manager-client 0.86.21 → 0.86.23
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/useGetCodeRepoAiWorkflowConfigQuery.d.ts +35 -0
- package/dist/ssca-manager/src/services/hooks/useGetCodeRepoAiWorkflowConfigQuery.js +23 -0
- package/dist/ssca-manager/src/services/hooks/useSaveCodeRepoAiWorkflowConfigMutation.d.ts +34 -0
- package/dist/ssca-manager/src/services/hooks/useSaveCodeRepoAiWorkflowConfigMutation.js +19 -0
- package/dist/ssca-manager/src/services/index.d.ts +5 -11
- package/dist/ssca-manager/src/services/index.js +2 -2
- package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigYamlResponse.d.ts +12 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigYamlResponse.js +0 -3
- package/dist/ssca-manager/src/services/schemas/AiWorkflowIncludeScopeStatus.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/Integration.d.ts +0 -23
- package/dist/ssca-manager/src/services/schemas/UpdateIntegrationRspmRequest.d.ts +1 -5
- package/package.json +1 -1
- package/dist/ssca-manager/src/services/hooks/useListIntegrationRepoScansMutation.d.ts +0 -36
- package/dist/ssca-manager/src/services/hooks/useListIntegrationRepoScansMutation.js +0 -15
- package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.d.ts +0 -21
- package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.js +0 -14
- package/dist/ssca-manager/src/services/requestBodies/IntegrationRepoScanListRequestBodyRequestBody.d.ts +0 -2
- package/dist/ssca-manager/src/services/requestBodies/IntegrationRepoScanListRequestBodyRequestBody.js +0 -1
- package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.d.ts +0 -2
- package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.js +0 -1
- package/dist/ssca-manager/src/services/responses/ScannerConfigurationIntegrationsResponseBodyResponse.d.ts +0 -2
- package/dist/ssca-manager/src/services/responses/ScannerConfigurationIntegrationsResponseBodyResponse.js +0 -1
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListItem.d.ts +0 -19
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListItem.js +0 -1
- package/dist/ssca-manager/src/services/schemas/IntegrationRepoScanListRequest.d.ts +0 -6
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionDto.d.ts +0 -26
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionDto.js +0 -1
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionStatus.d.ts +0 -4
- package/dist/ssca-manager/src/services/schemas/RepoScanExecutionStatus.js +0 -4
- /package/dist/ssca-manager/src/services/schemas/{IntegrationRepoScanListRequest.js → AiWorkflowIncludeScopeStatus.js} +0 -0
|
@@ -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 =
|
|
16
|
+
export type CreateIntegrationErrorResponse = 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, Error, CreateIntegrationProps, unknown>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowConfigYamlResponse } from '../schemas/AiWorkflowConfigYamlResponse';
|
|
3
|
+
import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetCodeRepoAiWorkflowConfigQueryPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
targetId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetCodeRepoAiWorkflowConfigQueryQueryParams {
|
|
12
|
+
ai_workflow_type?: AiWorkflowTypeEnum;
|
|
13
|
+
}
|
|
14
|
+
export interface GetCodeRepoAiWorkflowConfigQueryHeaderParams {
|
|
15
|
+
'Harness-Account': string;
|
|
16
|
+
}
|
|
17
|
+
export type GetCodeRepoAiWorkflowConfigOkResponse = ResponseWithPagination<AiWorkflowConfigYamlResponse>;
|
|
18
|
+
export type GetCodeRepoAiWorkflowConfigErrorResponse = unknown;
|
|
19
|
+
export interface GetCodeRepoAiWorkflowConfigProps extends GetCodeRepoAiWorkflowConfigQueryPathParams, Omit<FetcherOptions<GetCodeRepoAiWorkflowConfigQueryQueryParams, unknown, GetCodeRepoAiWorkflowConfigQueryHeaderParams>, 'url'> {
|
|
20
|
+
queryParams: GetCodeRepoAiWorkflowConfigQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function getCodeRepoAiWorkflowConfig(props: GetCodeRepoAiWorkflowConfigProps): Promise<GetCodeRepoAiWorkflowConfigOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Get the effective AI workflow configuration for a STO code-repo target.
|
|
25
|
+
* There is no per-repo enable toggle. `agent.targetIncluded` is true when the project
|
|
26
|
+
* `targetIncludeScope` covers this target (unset or ALL covers every target; SPECIFIC
|
|
27
|
+
* covers listed target ids). The UI uses that for the "enable at project level" hover.
|
|
28
|
+
* Account master toggle is `account_enabled`. Account project coverage is `include_scope_status`.
|
|
29
|
+
* fp_triage code-repo YAML does not carry branch or connector overrides.
|
|
30
|
+
* Remediation returns branch, scm, jira, and validation-pipeline overrides.
|
|
31
|
+
* Empty branches and blank branchRegex mean baseline-only triggering.
|
|
32
|
+
* Unchecking a target at project scope does not delete this code-repo document.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare function useGetCodeRepoAiWorkflowConfigQuery(props: GetCodeRepoAiWorkflowConfigProps, options?: Omit<UseQueryOptions<GetCodeRepoAiWorkflowConfigOkResponse, GetCodeRepoAiWorkflowConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCodeRepoAiWorkflowConfigOkResponse, unknown>;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 getCodeRepoAiWorkflowConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/ai-workflow-config/code-repos/${props.targetId}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the effective AI workflow configuration for a STO code-repo target.
|
|
11
|
+
* There is no per-repo enable toggle. `agent.targetIncluded` is true when the project
|
|
12
|
+
* `targetIncludeScope` covers this target (unset or ALL covers every target; SPECIFIC
|
|
13
|
+
* covers listed target ids). The UI uses that for the "enable at project level" hover.
|
|
14
|
+
* Account master toggle is `account_enabled`. Account project coverage is `include_scope_status`.
|
|
15
|
+
* fp_triage code-repo YAML does not carry branch or connector overrides.
|
|
16
|
+
* Remediation returns branch, scm, jira, and validation-pipeline overrides.
|
|
17
|
+
* Empty branches and blank branchRegex mean baseline-only triggering.
|
|
18
|
+
* Unchecking a target at project scope does not delete this code-repo document.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export function useGetCodeRepoAiWorkflowConfigQuery(props, options) {
|
|
22
|
+
return useQuery(['getCodeRepoAIWorkflowConfig', props.org, props.project, props.targetId, props.queryParams], ({ signal }) => getCodeRepoAiWorkflowConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowConfigYamlResponse } from '../schemas/AiWorkflowConfigYamlResponse';
|
|
3
|
+
import type { AiWorkflowConfigYamlRequest } from '../schemas/AiWorkflowConfigYamlRequest';
|
|
4
|
+
import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface SaveCodeRepoAiWorkflowConfigMutationPathParams {
|
|
8
|
+
org: string;
|
|
9
|
+
project: string;
|
|
10
|
+
targetId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface SaveCodeRepoAiWorkflowConfigMutationQueryParams {
|
|
13
|
+
ai_workflow_type?: AiWorkflowTypeEnum;
|
|
14
|
+
}
|
|
15
|
+
export interface SaveCodeRepoAiWorkflowConfigMutationHeaderParams {
|
|
16
|
+
'Harness-Account': string;
|
|
17
|
+
}
|
|
18
|
+
export type SaveCodeRepoAiWorkflowConfigRequestBody = AiWorkflowConfigYamlRequest;
|
|
19
|
+
export type SaveCodeRepoAiWorkflowConfigOkResponse = ResponseWithPagination<AiWorkflowConfigYamlResponse>;
|
|
20
|
+
export type SaveCodeRepoAiWorkflowConfigErrorResponse = unknown;
|
|
21
|
+
export interface SaveCodeRepoAiWorkflowConfigProps extends SaveCodeRepoAiWorkflowConfigMutationPathParams, Omit<FetcherOptions<SaveCodeRepoAiWorkflowConfigMutationQueryParams, SaveCodeRepoAiWorkflowConfigRequestBody, SaveCodeRepoAiWorkflowConfigMutationHeaderParams>, 'url'> {
|
|
22
|
+
queryParams: SaveCodeRepoAiWorkflowConfigMutationQueryParams;
|
|
23
|
+
body: SaveCodeRepoAiWorkflowConfigRequestBody;
|
|
24
|
+
}
|
|
25
|
+
export declare function saveCodeRepoAiWorkflowConfig(props: SaveCodeRepoAiWorkflowConfigProps): Promise<SaveCodeRepoAiWorkflowConfigOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Create or update STO target (code repo) config for an AI workflow agent.
|
|
28
|
+
* There is no per-repo enable toggle. `agent.enabled` in the body is ignored.
|
|
29
|
+
* Remediation accepts branches XOR branchRegex, scm, jiraEnabled, and
|
|
30
|
+
* scan/build validation pipelines. Slack/alertConfig/includeScope/triggerConfig are ignored.
|
|
31
|
+
* Saving here does not change project targetIncludeScope.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useSaveCodeRepoAiWorkflowConfigMutation(options?: Omit<UseMutationOptions<SaveCodeRepoAiWorkflowConfigOkResponse, SaveCodeRepoAiWorkflowConfigErrorResponse, SaveCodeRepoAiWorkflowConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveCodeRepoAiWorkflowConfigOkResponse, unknown, SaveCodeRepoAiWorkflowConfigProps, unknown>;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 saveCodeRepoAiWorkflowConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/ai-workflow-config/code-repos/${props.targetId}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create or update STO target (code repo) config for an AI workflow agent.
|
|
11
|
+
* There is no per-repo enable toggle. `agent.enabled` in the body is ignored.
|
|
12
|
+
* Remediation accepts branches XOR branchRegex, scm, jiraEnabled, and
|
|
13
|
+
* scan/build validation pipelines. Slack/alertConfig/includeScope/triggerConfig are ignored.
|
|
14
|
+
* Saving here does not change project targetIncludeScope.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export function useSaveCodeRepoAiWorkflowConfigMutation(options) {
|
|
18
|
+
return useMutation((mutateProps) => saveCodeRepoAiWorkflowConfig(mutateProps), options);
|
|
19
|
+
}
|
|
@@ -117,6 +117,8 @@ export type { GetCicdWorkflowsListErrorResponse, GetCicdWorkflowsListOkResponse,
|
|
|
117
117
|
export { getCicdWorkflowsList, useGetCicdWorkflowsListQuery, } from './hooks/useGetCicdWorkflowsListQuery';
|
|
118
118
|
export type { GetCicdWorkflowsSummaryErrorResponse, GetCicdWorkflowsSummaryOkResponse, GetCicdWorkflowsSummaryProps, GetCicdWorkflowsSummaryQueryPathParams, } from './hooks/useGetCicdWorkflowsSummaryQuery';
|
|
119
119
|
export { getCicdWorkflowsSummary, useGetCicdWorkflowsSummaryQuery, } from './hooks/useGetCicdWorkflowsSummaryQuery';
|
|
120
|
+
export type { GetCodeRepoAiWorkflowConfigErrorResponse, GetCodeRepoAiWorkflowConfigOkResponse, GetCodeRepoAiWorkflowConfigProps, GetCodeRepoAiWorkflowConfigQueryPathParams, GetCodeRepoAiWorkflowConfigQueryQueryParams, } from './hooks/useGetCodeRepoAiWorkflowConfigQuery';
|
|
121
|
+
export { getCodeRepoAiWorkflowConfig, useGetCodeRepoAiWorkflowConfigQuery, } from './hooks/useGetCodeRepoAiWorkflowConfigQuery';
|
|
120
122
|
export type { GetCodeRepositoryOverviewErrorResponse, GetCodeRepositoryOverviewOkResponse, GetCodeRepositoryOverviewProps, GetCodeRepositoryOverviewQueryPathParams, } from './hooks/useGetCodeRepositoryOverviewQuery';
|
|
121
123
|
export { getCodeRepositoryOverview, useGetCodeRepositoryOverviewQuery, } from './hooks/useGetCodeRepositoryOverviewQuery';
|
|
122
124
|
export type { GetCompliaceStandardByIdErrorResponse, GetCompliaceStandardByIdOkResponse, GetCompliaceStandardByIdProps, GetCompliaceStandardByIdQueryPathParams, } from './hooks/useGetCompliaceStandardByIdQuery';
|
|
@@ -203,16 +205,12 @@ export type { ListAttestationsErrorResponse, ListAttestationsMutationQueryParams
|
|
|
203
205
|
export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
|
|
204
206
|
export type { ListExemptionsErrorResponse, ListExemptionsOkResponse, ListExemptionsProps, ListExemptionsQueryQueryParams, ListExemptionsRequestBody, } from './hooks/useListExemptionsQuery';
|
|
205
207
|
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';
|
|
208
208
|
export type { ListIntegrationsErrorResponse, ListIntegrationsOkResponse, ListIntegrationsProps, ListIntegrationsQueryPathParams, ListIntegrationsQueryQueryParams, } from './hooks/useListIntegrationsQuery';
|
|
209
209
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
210
210
|
export type { ListRemediationsErrorResponse, ListRemediationsOkResponse, ListRemediationsProps, ListRemediationsQueryPathParams, ListRemediationsQueryQueryParams, ListRemediationsRequestBody, } from './hooks/useListRemediationsQuery';
|
|
211
211
|
export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
|
|
212
212
|
export type { ListRspmScannersErrorResponse, ListRspmScannersOkResponse, ListRspmScannersProps, ListRspmScannersQueryPathParams, ListRspmScannersQueryQueryParams, } from './hooks/useListRspmScannersQuery';
|
|
213
213
|
export { listRspmScanners, useListRspmScannersQuery } from './hooks/useListRspmScannersQuery';
|
|
214
|
-
export type { ListScannerConfigurationIntegrationsErrorResponse, ListScannerConfigurationIntegrationsOkResponse, ListScannerConfigurationIntegrationsProps, ListScannerConfigurationIntegrationsQueryPathParams, } from './hooks/useListScannerConfigurationIntegrationsQuery';
|
|
215
|
-
export { listScannerConfigurationIntegrations, useListScannerConfigurationIntegrationsQuery, } from './hooks/useListScannerConfigurationIntegrationsQuery';
|
|
216
214
|
export type { ListScannerConfigurationsErrorResponse, ListScannerConfigurationsOkResponse, ListScannerConfigurationsProps, ListScannerConfigurationsQueryPathParams, ListScannerConfigurationsQueryQueryParams, } from './hooks/useListScannerConfigurationsQuery';
|
|
217
215
|
export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
|
|
218
216
|
export type { PostComplianceResultStatsEvaluationBreakdownArtifactTypeErrorResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationPathParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationQueryParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeOkResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeProps, PostComplianceResultStatsEvaluationBreakdownArtifactTypeRequestBody, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
@@ -231,6 +229,8 @@ export type { SaveAccountAiWorkflowConfigErrorResponse, SaveAccountAiWorkflowCon
|
|
|
231
229
|
export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
|
|
232
230
|
export type { SaveAutoPrConfigErrorResponse, SaveAutoPrConfigOkResponse, SaveAutoPrConfigProps, SaveAutoPrConfigRequestBody, } from './hooks/useSaveAutoPrConfigMutation';
|
|
233
231
|
export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
|
|
232
|
+
export type { SaveCodeRepoAiWorkflowConfigErrorResponse, SaveCodeRepoAiWorkflowConfigMutationPathParams, SaveCodeRepoAiWorkflowConfigMutationQueryParams, SaveCodeRepoAiWorkflowConfigOkResponse, SaveCodeRepoAiWorkflowConfigProps, SaveCodeRepoAiWorkflowConfigRequestBody, } from './hooks/useSaveCodeRepoAiWorkflowConfigMutation';
|
|
233
|
+
export { saveCodeRepoAiWorkflowConfig, useSaveCodeRepoAiWorkflowConfigMutation, } from './hooks/useSaveCodeRepoAiWorkflowConfigMutation';
|
|
234
234
|
export type { SaveConnectorConfigErrorResponse, SaveConnectorConfigOkResponse, SaveConnectorConfigProps, SaveConnectorConfigRequestBody, } from './hooks/useSaveConnectorConfigMutation';
|
|
235
235
|
export { saveConnectorConfig, useSaveConnectorConfigMutation, } from './hooks/useSaveConnectorConfigMutation';
|
|
236
236
|
export type { SaveOssScoringCapConfigErrorResponse, SaveOssScoringCapConfigOkResponse, SaveOssScoringCapConfigProps, SaveOssScoringCapConfigRequestBody, } from './hooks/useSaveOssScoringCapConfigQuery';
|
|
@@ -294,7 +294,6 @@ export type { ExecutionLimitRequestBodyRequestBody } from './requestBodies/Execu
|
|
|
294
294
|
export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './requestBodies/FetchComplianceResultByArtifactRequestBodyRequestBody';
|
|
295
295
|
export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
|
|
296
296
|
export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
|
|
297
|
-
export type { IntegrationRepoScanListRequestBodyRequestBody } from './requestBodies/IntegrationRepoScanListRequestBodyRequestBody';
|
|
298
297
|
export type { IntegrationStepConfigRequestBodyRequestBody } from './requestBodies/IntegrationStepConfigRequestBodyRequestBody';
|
|
299
298
|
export type { ListSbomComponentsRequestBodyRequestBody } from './requestBodies/ListSbomComponentsRequestBodyRequestBody';
|
|
300
299
|
export type { NormalisedSbomComponentRequestBodyRequestBody } from './requestBodies/NormalisedSbomComponentRequestBodyRequestBody';
|
|
@@ -383,7 +382,6 @@ export type { FetchIntegrationReposResponseBodyResponse } from './responses/Fetc
|
|
|
383
382
|
export type { GetIntegrationSummaryResponseBodyResponse } from './responses/GetIntegrationSummaryResponseBodyResponse';
|
|
384
383
|
export type { HarnessPipelineIntegrationResponseBodyResponse } from './responses/HarnessPipelineIntegrationResponseBodyResponse';
|
|
385
384
|
export type { IntegrationListingResponseBodyResponse } from './responses/IntegrationListingResponseBodyResponse';
|
|
386
|
-
export type { IntegrationRepoScanListingResponseBodyResponse } from './responses/IntegrationRepoScanListingResponseBodyResponse';
|
|
387
385
|
export type { IntegrationStepConfigResponseBodyResponse } from './responses/IntegrationStepConfigResponseBodyResponse';
|
|
388
386
|
export type { LicenseDriftResponseBodyResponse } from './responses/LicenseDriftResponseBodyResponse';
|
|
389
387
|
export type { ListConfigsResponseBodyResponse } from './responses/ListConfigsResponseBodyResponse';
|
|
@@ -412,7 +410,6 @@ export type { SaveResponseResponse } from './responses/SaveResponseResponse';
|
|
|
412
410
|
export type { SbomProcessResponseBodyResponse } from './responses/SbomProcessResponseBodyResponse';
|
|
413
411
|
export type { SbomScoreDetailV2ResponseBodyResponse } from './responses/SbomScoreDetailV2ResponseBodyResponse';
|
|
414
412
|
export type { SbomScorecardResponseBodyResponse } from './responses/SbomScorecardResponseBodyResponse';
|
|
415
|
-
export type { ScannerConfigurationIntegrationsResponseBodyResponse } from './responses/ScannerConfigurationIntegrationsResponseBodyResponse';
|
|
416
413
|
export type { ScannerConfigurationListingResponseBodyResponse } from './responses/ScannerConfigurationListingResponseBodyResponse';
|
|
417
414
|
export type { TicketResponseBodyResponse } from './responses/TicketResponseBodyResponse';
|
|
418
415
|
export type { TokenIssueResponseBodyResponse } from './responses/TokenIssueResponseBodyResponse';
|
|
@@ -445,6 +442,7 @@ export type { AiWorkflowExecutionStatusEnum } from './schemas/AiWorkflowExecutio
|
|
|
445
442
|
export type { AiWorkflowExecutionStepsResponse } from './schemas/AiWorkflowExecutionStepsResponse';
|
|
446
443
|
export type { AiWorkflowExecutionSummary } from './schemas/AiWorkflowExecutionSummary';
|
|
447
444
|
export type { AiWorkflowIncludeScope } from './schemas/AiWorkflowIncludeScope';
|
|
445
|
+
export type { AiWorkflowIncludeScopeStatus } from './schemas/AiWorkflowIncludeScopeStatus';
|
|
448
446
|
export type { AiWorkflowInfoByScanIdsRequest } from './schemas/AiWorkflowInfoByScanIdsRequest';
|
|
449
447
|
export type { AiWorkflowInfoByScanIdsResponse } from './schemas/AiWorkflowInfoByScanIdsResponse';
|
|
450
448
|
export type { AiWorkflowInfrastructureConfig } from './schemas/AiWorkflowInfrastructureConfig';
|
|
@@ -694,8 +692,6 @@ export type { Integration } from './schemas/Integration';
|
|
|
694
692
|
export type { IntegrationConfig } from './schemas/IntegrationConfig';
|
|
695
693
|
export type { IntegrationConfigRequestBody } from './schemas/IntegrationConfigRequestBody';
|
|
696
694
|
export type { IntegrationCountsResponse } from './schemas/IntegrationCountsResponse';
|
|
697
|
-
export type { IntegrationRepoScanListItem } from './schemas/IntegrationRepoScanListItem';
|
|
698
|
-
export type { IntegrationRepoScanListRequest } from './schemas/IntegrationRepoScanListRequest';
|
|
699
695
|
export type { IntegrationStepConfig } from './schemas/IntegrationStepConfig';
|
|
700
696
|
export type { IntegrationStepConfigRequestBody } from './schemas/IntegrationStepConfigRequestBody';
|
|
701
697
|
export type { IntegrationType } from './schemas/IntegrationType';
|
|
@@ -789,8 +785,6 @@ export type { RemediationTrackerUpdateResponseBody } from './schemas/Remediation
|
|
|
789
785
|
export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
|
|
790
786
|
export type { RemediationWarning } from './schemas/RemediationWarning';
|
|
791
787
|
export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
|
|
792
|
-
export type { RepoScanExecutionDto } from './schemas/RepoScanExecutionDto';
|
|
793
|
-
export type { RepoScanExecutionStatus } from './schemas/RepoScanExecutionStatus';
|
|
794
788
|
export type { ReportSbomAttestationVerificationRequestBody } from './schemas/ReportSbomAttestationVerificationRequestBody';
|
|
795
789
|
export type { Repositories } from './schemas/Repositories';
|
|
796
790
|
export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
|
|
@@ -57,6 +57,7 @@ export { getCicdOverview, useGetCicdOverviewQuery } from './hooks/useGetCicdOver
|
|
|
57
57
|
export { getCicdRulesEvaluationTrend, useGetCicdRulesEvaluationTrendQuery, } from './hooks/useGetCicdRulesEvaluationTrendQuery';
|
|
58
58
|
export { getCicdWorkflowsList, useGetCicdWorkflowsListQuery, } from './hooks/useGetCicdWorkflowsListQuery';
|
|
59
59
|
export { getCicdWorkflowsSummary, useGetCicdWorkflowsSummaryQuery, } from './hooks/useGetCicdWorkflowsSummaryQuery';
|
|
60
|
+
export { getCodeRepoAiWorkflowConfig, useGetCodeRepoAiWorkflowConfigQuery, } from './hooks/useGetCodeRepoAiWorkflowConfigQuery';
|
|
60
61
|
export { getCodeRepositoryOverview, useGetCodeRepositoryOverviewQuery, } from './hooks/useGetCodeRepositoryOverviewQuery';
|
|
61
62
|
export { getCompliaceStandardById, useGetCompliaceStandardByIdQuery, } from './hooks/useGetCompliaceStandardByIdQuery';
|
|
62
63
|
export { getComplianceEvaluationTrends, useGetComplianceEvaluationTrendsQuery, } from './hooks/useGetComplianceEvaluationTrendsQuery';
|
|
@@ -100,11 +101,9 @@ export { listAgentStatuses, useListAgentStatusesQuery } from './hooks/useListAge
|
|
|
100
101
|
export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
|
|
101
102
|
export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
|
|
102
103
|
export { listExemptions, useListExemptionsQuery } from './hooks/useListExemptionsQuery';
|
|
103
|
-
export { listIntegrationRepoScans, useListIntegrationRepoScansMutation, } from './hooks/useListIntegrationRepoScansMutation';
|
|
104
104
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
105
105
|
export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
|
|
106
106
|
export { listRspmScanners, useListRspmScannersQuery } from './hooks/useListRspmScannersQuery';
|
|
107
|
-
export { listScannerConfigurationIntegrations, useListScannerConfigurationIntegrationsQuery, } from './hooks/useListScannerConfigurationIntegrationsQuery';
|
|
108
107
|
export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
|
|
109
108
|
export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
110
109
|
export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
|
|
@@ -114,6 +113,7 @@ export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from '
|
|
|
114
113
|
export { reviewExemption, useReviewExemptionMutation } from './hooks/useReviewExemptionMutation';
|
|
115
114
|
export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
|
|
116
115
|
export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
|
|
116
|
+
export { saveCodeRepoAiWorkflowConfig, useSaveCodeRepoAiWorkflowConfigMutation, } from './hooks/useSaveCodeRepoAiWorkflowConfigMutation';
|
|
117
117
|
export { saveConnectorConfig, useSaveConnectorConfigMutation, } from './hooks/useSaveConnectorConfigMutation';
|
|
118
118
|
export { saveOssScoringCapConfig, useSaveOssScoringCapConfigQuery, } from './hooks/useSaveOssScoringCapConfigQuery';
|
|
119
119
|
export { saveProjectAiWorkflowConfig, useSaveProjectAiWorkflowConfigMutation, } from './hooks/useSaveProjectAiWorkflowConfigMutation';
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
import type { AiWorkflowIncludeScopeStatus } from '../schemas/AiWorkflowIncludeScopeStatus';
|
|
1
2
|
export interface AiWorkflowConfigYamlResponse {
|
|
3
|
+
/**
|
|
4
|
+
* Account-level master toggle for this workflow type (not the per-repo switch)
|
|
5
|
+
*/
|
|
6
|
+
account_enabled?: boolean;
|
|
7
|
+
include_scope_status?: AiWorkflowIncludeScopeStatus;
|
|
8
|
+
/**
|
|
9
|
+
* Removed. Target membership is project YAML `agent.targetIncludeScope` (`type` ALL or SPECIFIC, `targetIds`). Code-repo GET reports coverage as `agent.targetIncluded`. This field is no longer set.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated
|
|
12
|
+
*/
|
|
13
|
+
target_enablement?: boolean | null;
|
|
2
14
|
/**
|
|
3
15
|
* Stringified YAML of the agent configuration
|
|
4
16
|
*/
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the requested org/project is covered by account includeScope. Omitted when the request has no org (account-level GET). ENABLED_FOR_THIS_PROJECT when the exact (org, project) pair is included (or includeScope type is explicitly ALL). ENABLED_FOR_ATLEAST_ONE_PROJECT when the org has at least one listed project but the requested project is absent or the request is org-scoped. NOT_ENABLED when the master toggle is off, includeScope is null / type is blank, or the org/project is not in includeScope.
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type AiWorkflowIncludeScopeStatus = 'ENABLED_FOR_ATLEAST_ONE_PROJECT' | 'ENABLED_FOR_THIS_PROJECT' | 'NOT_ENABLED';
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import type { AutoDiscoveryScope } from '../schemas/AutoDiscoveryScope';
|
|
2
1
|
import type { InfraConfigDto } from '../schemas/InfraConfigDto';
|
|
3
|
-
import type { RepoDetailsDto } from '../schemas/RepoDetailsDto';
|
|
4
2
|
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[];
|
|
9
3
|
/**
|
|
10
4
|
* When true, STO scans fail on critical findings.
|
|
11
5
|
*/
|
|
@@ -20,15 +14,7 @@ export interface Integration {
|
|
|
20
14
|
*/
|
|
21
15
|
enabled_scanners?: string[];
|
|
22
16
|
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;
|
|
27
17
|
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
18
|
/**
|
|
33
19
|
* STO integration name. Present only on named STO integrations.
|
|
34
20
|
*/
|
|
@@ -38,15 +24,6 @@ export interface Integration {
|
|
|
38
24
|
*/
|
|
39
25
|
last_scan_at?: number;
|
|
40
26
|
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;
|
|
50
27
|
/**
|
|
51
28
|
* Map of scanner identifier to scanner configuration catalog id
|
|
52
29
|
*/
|
|
@@ -18,11 +18,7 @@ export interface UpdateIntegrationRspmRequest {
|
|
|
18
18
|
enabled_scanners?: RspmScannerId[];
|
|
19
19
|
infra_config?: InfraConfigDto;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
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.
|
|
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.
|
|
26
22
|
*/
|
|
27
23
|
integration_name?: string;
|
|
28
24
|
/**
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
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>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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>;
|
package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationIntegrationsQuery.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/ssca-manager/src/services/responses/IntegrationRepoScanListingResponseBodyResponse.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|