@harnessio/react-ssca-manager-client 0.84.13 → 0.84.15

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 (66) hide show
  1. package/dist/ssca-manager/src/services/hooks/useBulkDownloadAttestationsMutation.d.ts +23 -0
  2. package/dist/ssca-manager/src/services/hooks/useBulkDownloadAttestationsMutation.js +14 -0
  3. package/dist/ssca-manager/src/services/hooks/useCodeRepositoriesListQuery.d.ts +1 -1
  4. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryByTypeMutation.d.ts +23 -0
  5. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryByTypeMutation.js +14 -0
  6. package/dist/ssca-manager/src/services/hooks/useListAttestationsMutation.d.ts +43 -0
  7. package/dist/ssca-manager/src/services/hooks/useListAttestationsMutation.js +14 -0
  8. package/dist/ssca-manager/src/services/index.d.ts +31 -0
  9. package/dist/ssca-manager/src/services/index.js +3 -0
  10. package/dist/ssca-manager/src/services/requestBodies/AttestationBulkDownloadRequestBodyRequestBody.d.ts +2 -0
  11. package/dist/ssca-manager/src/services/requestBodies/AttestationBulkDownloadRequestBodyRequestBody.js +1 -0
  12. package/dist/ssca-manager/src/services/requestBodies/AttestationListingRequestBodyRequestBody.d.ts +2 -0
  13. package/dist/ssca-manager/src/services/requestBodies/AttestationListingRequestBodyRequestBody.js +1 -0
  14. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryBySourceRequestBodyRequestBody.d.ts +2 -0
  15. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryBySourceRequestBodyRequestBody.js +1 -0
  16. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryByTypeRequestBodyRequestBody.d.ts +2 -0
  17. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryByTypeRequestBodyRequestBody.js +1 -0
  18. package/dist/ssca-manager/src/services/responses/AttestationBulkDownloadResponseBodyResponse.d.ts +2 -0
  19. package/dist/ssca-manager/src/services/responses/AttestationBulkDownloadResponseBodyResponse.js +1 -0
  20. package/dist/ssca-manager/src/services/responses/AttestationDetailsResponseBodyResponse.d.ts +2 -0
  21. package/dist/ssca-manager/src/services/responses/AttestationDetailsResponseBodyResponse.js +1 -0
  22. package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.d.ts +2 -0
  23. package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.js +1 -0
  24. package/dist/ssca-manager/src/services/responses/AttestationSummaryBySourceResponseBodyResponse.d.ts +2 -0
  25. package/dist/ssca-manager/src/services/responses/AttestationSummaryBySourceResponseBodyResponse.js +1 -0
  26. package/dist/ssca-manager/src/services/responses/AttestationSummaryByTypeResponseBodyResponse.d.ts +2 -0
  27. package/dist/ssca-manager/src/services/responses/AttestationSummaryByTypeResponseBodyResponse.js +1 -0
  28. package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewResponse.d.ts +5 -4
  29. package/dist/ssca-manager/src/services/schemas/AttestationBulkDownloadRequest.d.ts +19 -0
  30. package/dist/ssca-manager/src/services/schemas/AttestationBulkDownloadRequest.js +4 -0
  31. package/dist/ssca-manager/src/services/schemas/AttestationDetailsResponse.d.ts +53 -0
  32. package/dist/ssca-manager/src/services/schemas/AttestationDetailsResponse.js +1 -0
  33. package/dist/ssca-manager/src/services/schemas/AttestationListingRequest.d.ts +27 -0
  34. package/dist/ssca-manager/src/services/schemas/AttestationListingRequest.js +1 -0
  35. package/dist/ssca-manager/src/services/schemas/AttestationListingResponse.d.ts +45 -0
  36. package/dist/ssca-manager/src/services/schemas/AttestationListingResponse.js +1 -0
  37. package/dist/ssca-manager/src/services/schemas/AttestationSubjectDigestSummary.d.ts +10 -0
  38. package/dist/ssca-manager/src/services/schemas/AttestationSubjectDigestSummary.js +4 -0
  39. package/dist/ssca-manager/src/services/schemas/AttestationSubjectSummary.d.ts +15 -0
  40. package/dist/ssca-manager/src/services/schemas/AttestationSubjectSummary.js +1 -0
  41. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceItem.d.ts +8 -0
  42. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceItem.js +1 -0
  43. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceRequest.d.ts +20 -0
  44. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceRequest.js +1 -0
  45. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceResponse.d.ts +11 -0
  46. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceResponse.js +1 -0
  47. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeItem.d.ts +8 -0
  48. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeItem.js +1 -0
  49. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeRequest.d.ts +20 -0
  50. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeRequest.js +1 -0
  51. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeResponse.d.ts +11 -0
  52. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeResponse.js +1 -0
  53. package/dist/ssca-manager/src/services/schemas/AutoPrConfigResponseBody.d.ts +2 -0
  54. package/dist/ssca-manager/src/services/schemas/AutoPrConfigUpdates.d.ts +2 -0
  55. package/dist/ssca-manager/src/services/schemas/AutoPrCooldownRule.d.ts +10 -0
  56. package/dist/ssca-manager/src/services/schemas/AutoPrCooldownRule.js +4 -0
  57. package/dist/ssca-manager/src/services/schemas/AutoPrPresetConfig.d.ts +2 -0
  58. package/dist/ssca-manager/src/services/schemas/Integration.d.ts +1 -1
  59. package/dist/ssca-manager/src/services/schemas/MaliciousDetail.d.ts +27 -0
  60. package/dist/ssca-manager/src/services/schemas/MaliciousDetail.js +1 -0
  61. package/dist/ssca-manager/src/services/schemas/MaliciousPackageReference.d.ts +10 -0
  62. package/dist/ssca-manager/src/services/schemas/MaliciousPackageReference.js +4 -0
  63. package/dist/ssca-manager/src/services/schemas/OrchestrationOssRisksSummary.d.ts +8 -0
  64. package/dist/ssca-manager/src/services/schemas/SubjectNameFilter.d.ts +8 -0
  65. package/dist/ssca-manager/src/services/schemas/SubjectNameFilter.js +1 -0
  66. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { AttestationBulkDownloadResponseBodyResponse } from '../responses/AttestationBulkDownloadResponseBodyResponse';
3
+ import type { AttestationBulkDownloadRequestBodyRequestBody } from '../requestBodies/AttestationBulkDownloadRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BulkDownloadAttestationsMutationPathParams {
7
+ org: string;
8
+ project: string;
9
+ }
10
+ export interface BulkDownloadAttestationsMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type BulkDownloadAttestationsRequestBody = AttestationBulkDownloadRequestBodyRequestBody;
14
+ export type BulkDownloadAttestationsOkResponse = ResponseWithPagination<AttestationBulkDownloadResponseBodyResponse>;
15
+ export type BulkDownloadAttestationsErrorResponse = unknown;
16
+ export interface BulkDownloadAttestationsProps extends BulkDownloadAttestationsMutationPathParams, Omit<FetcherOptions<unknown, BulkDownloadAttestationsRequestBody, BulkDownloadAttestationsMutationHeaderParams>, 'url'> {
17
+ body: BulkDownloadAttestationsRequestBody;
18
+ }
19
+ export declare function bulkDownloadAttestations(props: BulkDownloadAttestationsProps): Promise<BulkDownloadAttestationsOkResponse>;
20
+ /**
21
+ * Bulk download DSSE attestation envelopes
22
+ */
23
+ export declare function useBulkDownloadAttestationsMutation(options?: Omit<UseMutationOptions<BulkDownloadAttestationsOkResponse, BulkDownloadAttestationsErrorResponse, BulkDownloadAttestationsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BulkDownloadAttestationsOkResponse, unknown, BulkDownloadAttestationsProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function bulkDownloadAttestations(props) {
7
+ return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/bulk-download`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Bulk download DSSE attestation envelopes
11
+ */
12
+ export function useBulkDownloadAttestationsMutation(options) {
13
+ return useMutation((mutateProps) => bulkDownloadAttestations(mutateProps), options);
14
+ }
@@ -21,7 +21,7 @@ export interface CodeRepositoriesListQueryQueryParams {
21
21
  */
22
22
  page?: number;
23
23
  /**
24
- * @default "last-scan"
24
+ * @default "last_scan"
25
25
  */
26
26
  sort?: 'compliance_results' | 'last_scan' | 'name';
27
27
  enforce_elasticsearch?: boolean;
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { AttestationSummaryByTypeResponseBodyResponse } from '../responses/AttestationSummaryByTypeResponseBodyResponse';
3
+ import type { AttestationSummaryByTypeRequestBodyRequestBody } from '../requestBodies/AttestationSummaryByTypeRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetAttestationSummaryByTypeMutationPathParams {
7
+ org: string;
8
+ project: string;
9
+ }
10
+ export interface GetAttestationSummaryByTypeMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type GetAttestationSummaryByTypeRequestBody = AttestationSummaryByTypeRequestBodyRequestBody;
14
+ export type GetAttestationSummaryByTypeOkResponse = ResponseWithPagination<AttestationSummaryByTypeResponseBodyResponse>;
15
+ export type GetAttestationSummaryByTypeErrorResponse = unknown;
16
+ export interface GetAttestationSummaryByTypeProps extends GetAttestationSummaryByTypeMutationPathParams, Omit<FetcherOptions<unknown, GetAttestationSummaryByTypeRequestBody, GetAttestationSummaryByTypeMutationHeaderParams>, 'url'> {
17
+ body: GetAttestationSummaryByTypeRequestBody;
18
+ }
19
+ export declare function getAttestationSummaryByType(props: GetAttestationSummaryByTypeProps): Promise<GetAttestationSummaryByTypeOkResponse>;
20
+ /**
21
+ * Attestation counts grouped by type
22
+ */
23
+ export declare function useGetAttestationSummaryByTypeMutation(options?: Omit<UseMutationOptions<GetAttestationSummaryByTypeOkResponse, GetAttestationSummaryByTypeErrorResponse, GetAttestationSummaryByTypeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetAttestationSummaryByTypeOkResponse, unknown, GetAttestationSummaryByTypeProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getAttestationSummaryByType(props) {
7
+ return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/summary-by-type`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Attestation counts grouped by type
11
+ */
12
+ export function useGetAttestationSummaryByTypeMutation(options) {
13
+ return useMutation((mutateProps) => getAttestationSummaryByType(mutateProps), options);
14
+ }
@@ -0,0 +1,43 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { AttestationListingResponseBodyResponse } from '../responses/AttestationListingResponseBodyResponse';
3
+ import type { AttestationListingRequestBodyRequestBody } from '../requestBodies/AttestationListingRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListAttestationsMutationPathParams {
7
+ org: string;
8
+ project: string;
9
+ }
10
+ export interface ListAttestationsMutationQueryParams {
11
+ /**
12
+ * @default 30
13
+ */
14
+ limit?: number;
15
+ /**
16
+ * @default 0
17
+ */
18
+ page?: number;
19
+ /**
20
+ * @default "DESC"
21
+ */
22
+ order?: 'ASC' | 'DESC';
23
+ /**
24
+ * @default "created_at"
25
+ */
26
+ sort?: 'created_at' | 'updated_at';
27
+ search?: string;
28
+ }
29
+ export interface ListAttestationsMutationHeaderParams {
30
+ 'Harness-Account': string;
31
+ }
32
+ export type ListAttestationsRequestBody = AttestationListingRequestBodyRequestBody;
33
+ export type ListAttestationsOkResponse = ResponseWithPagination<AttestationListingResponseBodyResponse>;
34
+ export type ListAttestationsErrorResponse = unknown;
35
+ export interface ListAttestationsProps extends ListAttestationsMutationPathParams, Omit<FetcherOptions<ListAttestationsMutationQueryParams, ListAttestationsRequestBody, ListAttestationsMutationHeaderParams>, 'url'> {
36
+ queryParams: ListAttestationsMutationQueryParams;
37
+ body: ListAttestationsRequestBody;
38
+ }
39
+ export declare function listAttestations(props: ListAttestationsProps): Promise<ListAttestationsOkResponse>;
40
+ /**
41
+ * List attestations for a project
42
+ */
43
+ export declare function useListAttestationsMutation(options?: Omit<UseMutationOptions<ListAttestationsOkResponse, ListAttestationsErrorResponse, ListAttestationsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListAttestationsOkResponse, unknown, ListAttestationsProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function listAttestations(props) {
7
+ return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * List attestations for a project
11
+ */
12
+ export function useListAttestationsMutation(options) {
13
+ return useMutation((mutateProps) => listAttestations(mutateProps), options);
14
+ }
@@ -1,6 +1,8 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
2
  export type { ArtifactListV2ErrorResponse, ArtifactListV2OkResponse, ArtifactListV2Props, ArtifactListV2QueryPathParams, ArtifactListV2QueryQueryParams, ArtifactListV2RequestBody, } from './hooks/useArtifactListV2Query';
3
3
  export { artifactListV2, useArtifactListV2Query } from './hooks/useArtifactListV2Query';
4
+ export type { BulkDownloadAttestationsErrorResponse, BulkDownloadAttestationsMutationPathParams, BulkDownloadAttestationsOkResponse, BulkDownloadAttestationsProps, BulkDownloadAttestationsRequestBody, } from './hooks/useBulkDownloadAttestationsMutation';
5
+ export { bulkDownloadAttestations, useBulkDownloadAttestationsMutation, } from './hooks/useBulkDownloadAttestationsMutation';
4
6
  export type { CheckArtifactAndDeploymentsErrorResponse, CheckArtifactAndDeploymentsMutationPathParams, CheckArtifactAndDeploymentsOkResponse, CheckArtifactAndDeploymentsProps, CheckArtifactAndDeploymentsRequestBody, } from './hooks/useCheckArtifactAndDeploymentsMutation';
5
7
  export { checkArtifactAndDeployments, useCheckArtifactAndDeploymentsMutation, } from './hooks/useCheckArtifactAndDeploymentsMutation';
6
8
  export type { CloseRemediationTrackerErrorResponse, CloseRemediationTrackerMutationPathParams, CloseRemediationTrackerOkResponse, CloseRemediationTrackerProps, } from './hooks/useCloseRemediationTrackerMutation';
@@ -65,6 +67,8 @@ export type { GetArtifactV2DetailDeploymentViewErrorResponse, GetArtifactV2Detai
65
67
  export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
66
68
  export type { GetArtifactV2OverviewErrorResponse, GetArtifactV2OverviewOkResponse, GetArtifactV2OverviewProps, GetArtifactV2OverviewQueryPathParams, } from './hooks/useGetArtifactV2OverviewQuery';
67
69
  export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
70
+ export type { GetAttestationSummaryByTypeErrorResponse, GetAttestationSummaryByTypeMutationPathParams, GetAttestationSummaryByTypeOkResponse, GetAttestationSummaryByTypeProps, GetAttestationSummaryByTypeRequestBody, } from './hooks/useGetAttestationSummaryByTypeMutation';
71
+ export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, } from './hooks/useGetAttestationSummaryByTypeMutation';
68
72
  export type { GetAutoPrConfigErrorResponse, GetAutoPrConfigOkResponse, GetAutoPrConfigProps, GetAutoPrConfigQueryQueryParams, } from './hooks/useGetAutoPrConfigQuery';
69
73
  export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
70
74
  export type { GetAutoPrPresetsErrorResponse, GetAutoPrPresetsOkResponse, GetAutoPrPresetsProps, } from './hooks/useGetAutoPrPresetsQuery';
@@ -137,6 +141,8 @@ export type { ImportLicenseFamilyConfigErrorResponse, ImportLicenseFamilyConfigM
137
141
  export { importLicenseFamilyConfig, useImportLicenseFamilyConfigMutation, } from './hooks/useImportLicenseFamilyConfigMutation';
138
142
  export type { ListArtifactSourcesErrorResponse, ListArtifactSourcesOkResponse, ListArtifactSourcesProps, ListArtifactSourcesQueryPathParams, ListArtifactSourcesQueryQueryParams, ListArtifactSourcesRequestBody, } from './hooks/useListArtifactSourcesQuery';
139
143
  export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
144
+ export type { ListAttestationsErrorResponse, ListAttestationsMutationPathParams, ListAttestationsMutationQueryParams, ListAttestationsOkResponse, ListAttestationsProps, ListAttestationsRequestBody, } from './hooks/useListAttestationsMutation';
145
+ export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
140
146
  export type { ListIntegrationsErrorResponse, ListIntegrationsOkResponse, ListIntegrationsProps, ListIntegrationsQueryPathParams, ListIntegrationsQueryQueryParams, } from './hooks/useListIntegrationsQuery';
141
147
  export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
142
148
  export type { ListRemediationsErrorResponse, ListRemediationsOkResponse, ListRemediationsProps, ListRemediationsQueryPathParams, ListRemediationsQueryQueryParams, ListRemediationsRequestBody, } from './hooks/useListRemediationsQuery';
@@ -162,7 +168,11 @@ export type { ArtifactComponentsRequestBodyRequestBody } from './requestBodies/A
162
168
  export type { ArtifactListingPipelineRequestBodyRequestBody } from './requestBodies/ArtifactListingPipelineRequestBodyRequestBody';
163
169
  export type { ArtifactListingRequestBodyRequestBody } from './requestBodies/ArtifactListingRequestBodyRequestBody';
164
170
  export type { ArtifactSbomDriftRequestBodyRequestBody } from './requestBodies/ArtifactSbomDriftRequestBodyRequestBody';
171
+ export type { AttestationBulkDownloadRequestBodyRequestBody } from './requestBodies/AttestationBulkDownloadRequestBodyRequestBody';
172
+ export type { AttestationListingRequestBodyRequestBody } from './requestBodies/AttestationListingRequestBodyRequestBody';
165
173
  export type { AttestationQueryRequestBodyRequestBody } from './requestBodies/AttestationQueryRequestBodyRequestBody';
174
+ export type { AttestationSummaryBySourceRequestBodyRequestBody } from './requestBodies/AttestationSummaryBySourceRequestBodyRequestBody';
175
+ export type { AttestationSummaryByTypeRequestBodyRequestBody } from './requestBodies/AttestationSummaryByTypeRequestBodyRequestBody';
166
176
  export type { AttestationUploadRequestBodyRequestBody } from './requestBodies/AttestationUploadRequestBodyRequestBody';
167
177
  export type { AutoPrConfigRequestBodyRequestBody } from './requestBodies/AutoPrConfigRequestBodyRequestBody';
168
178
  export type { BaselineRequestBodyRequestBody } from './requestBodies/BaselineRequestBodyRequestBody';
@@ -224,8 +234,13 @@ export type { ArtifactSbomDriftResponseBodyResponse } from './responses/Artifact
224
234
  export type { ArtifactSbomResponseBodyResponse } from './responses/ArtifactSbomResponseBodyResponse';
225
235
  export type { ArtifactSourcesListingResponseResponse } from './responses/ArtifactSourcesListingResponseResponse';
226
236
  export type { ArtifactV2ListingResponseBodyResponse } from './responses/ArtifactV2ListingResponseBodyResponse';
237
+ export type { AttestationBulkDownloadResponseBodyResponse } from './responses/AttestationBulkDownloadResponseBodyResponse';
238
+ export type { AttestationDetailsResponseBodyResponse } from './responses/AttestationDetailsResponseBodyResponse';
227
239
  export type { AttestationDownloadResponseResponse } from './responses/AttestationDownloadResponseResponse';
240
+ export type { AttestationListingResponseBodyResponse } from './responses/AttestationListingResponseBodyResponse';
228
241
  export type { AttestationQueryResponseResponse } from './responses/AttestationQueryResponseResponse';
242
+ export type { AttestationSummaryBySourceResponseBodyResponse } from './responses/AttestationSummaryBySourceResponseBodyResponse';
243
+ export type { AttestationSummaryByTypeResponseBodyResponse } from './responses/AttestationSummaryByTypeResponseBodyResponse';
229
244
  export type { AttestationUploadResponseResponse } from './responses/AttestationUploadResponseResponse';
230
245
  export type { AutoPrConfigResponseBodyResponse } from './responses/AutoPrConfigResponseBodyResponse';
231
246
  export type { BaselineResponseBodyResponse } from './responses/BaselineResponseBodyResponse';
@@ -331,8 +346,20 @@ export type { ArtifactV2Overview } from './schemas/ArtifactV2Overview';
331
346
  export type { ArtifactVariant } from './schemas/ArtifactVariant';
332
347
  export type { Attestation } from './schemas/Attestation';
333
348
  export type { AttestationActivity } from './schemas/AttestationActivity';
349
+ export type { AttestationBulkDownloadRequest } from './schemas/AttestationBulkDownloadRequest';
350
+ export type { AttestationDetailsResponse } from './schemas/AttestationDetailsResponse';
334
351
  export type { AttestationLinks } from './schemas/AttestationLinks';
352
+ export type { AttestationListingRequest } from './schemas/AttestationListingRequest';
353
+ export type { AttestationListingResponse } from './schemas/AttestationListingResponse';
335
354
  export type { AttestationSource } from './schemas/AttestationSource';
355
+ export type { AttestationSubjectDigestSummary } from './schemas/AttestationSubjectDigestSummary';
356
+ export type { AttestationSubjectSummary } from './schemas/AttestationSubjectSummary';
357
+ export type { AttestationSummaryBySourceItem } from './schemas/AttestationSummaryBySourceItem';
358
+ export type { AttestationSummaryBySourceRequest } from './schemas/AttestationSummaryBySourceRequest';
359
+ export type { AttestationSummaryBySourceResponse } from './schemas/AttestationSummaryBySourceResponse';
360
+ export type { AttestationSummaryByTypeItem } from './schemas/AttestationSummaryByTypeItem';
361
+ export type { AttestationSummaryByTypeRequest } from './schemas/AttestationSummaryByTypeRequest';
362
+ export type { AttestationSummaryByTypeResponse } from './schemas/AttestationSummaryByTypeResponse';
336
363
  export type { AttestationType } from './schemas/AttestationType';
337
364
  export type { AttestationUploadRequest } from './schemas/AttestationUploadRequest';
338
365
  export type { AttestationUploadResponseBody } from './schemas/AttestationUploadResponseBody';
@@ -342,6 +369,7 @@ export type { AutoPrComplianceRule } from './schemas/AutoPrComplianceRule';
342
369
  export type { AutoPrConfigRequestBody } from './schemas/AutoPrConfigRequestBody';
343
370
  export type { AutoPrConfigResponseBody } from './schemas/AutoPrConfigResponseBody';
344
371
  export type { AutoPrConfigUpdates } from './schemas/AutoPrConfigUpdates';
372
+ export type { AutoPrCooldownRule } from './schemas/AutoPrCooldownRule';
345
373
  export type { AutoPrDependencySafetyRule } from './schemas/AutoPrDependencySafetyRule';
346
374
  export type { AutoPrPreset } from './schemas/AutoPrPreset';
347
375
  export type { AutoPrPresetConfig } from './schemas/AutoPrPresetConfig';
@@ -495,6 +523,8 @@ export type { LicenseFamilyResponse } from './schemas/LicenseFamilyResponse';
495
523
  export type { LicenseFilter } from './schemas/LicenseFilter';
496
524
  export type { LicenseUsageResponse } from './schemas/LicenseUsageResponse';
497
525
  export type { ListIntegrationReposResponse } from './schemas/ListIntegrationReposResponse';
526
+ export type { MaliciousDetail } from './schemas/MaliciousDetail';
527
+ export type { MaliciousPackageReference } from './schemas/MaliciousPackageReference';
498
528
  export type { NameOperator } from './schemas/NameOperator';
499
529
  export type { NormalisedSbomComponentRequestBody } from './schemas/NormalisedSbomComponentRequestBody';
500
530
  export type { NormalizedSbomComponentDto } from './schemas/NormalizedSbomComponentDto';
@@ -592,6 +622,7 @@ export type { SlsaVerificationRequestBody } from './schemas/SlsaVerificationRequ
592
622
  export type { SlsaVerificationRequestBodyV2 } from './schemas/SlsaVerificationRequestBodyV2';
593
623
  export type { SscaSummary } from './schemas/SscaSummary';
594
624
  export type { StoIssueCount } from './schemas/StoIssueCount';
625
+ export type { SubjectNameFilter } from './schemas/SubjectNameFilter';
595
626
  export type { TargetVersionVulnerability } from './schemas/TargetVersionVulnerability';
596
627
  export type { TicketInfo } from './schemas/TicketInfo';
597
628
  export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
@@ -1,4 +1,5 @@
1
1
  export { artifactListV2, useArtifactListV2Query } from './hooks/useArtifactListV2Query';
2
+ export { bulkDownloadAttestations, useBulkDownloadAttestationsMutation, } from './hooks/useBulkDownloadAttestationsMutation';
2
3
  export { checkArtifactAndDeployments, useCheckArtifactAndDeploymentsMutation, } from './hooks/useCheckArtifactAndDeploymentsMutation';
3
4
  export { closeRemediationTracker, useCloseRemediationTrackerMutation, } from './hooks/useCloseRemediationTrackerMutation';
4
5
  export { codeRepositoriesList, useCodeRepositoriesListQuery, } from './hooks/useCodeRepositoriesListQuery';
@@ -31,6 +32,7 @@ export { getArtifactV2ComponentVulnerabilityListByPurl, useGetArtifactV2Componen
31
32
  export { getArtifactV2DetailComponentView, useGetArtifactV2DetailComponentViewQuery, } from './hooks/useGetArtifactV2DetailComponentViewQuery';
32
33
  export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
33
34
  export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
35
+ export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, } from './hooks/useGetAttestationSummaryByTypeMutation';
34
36
  export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
35
37
  export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
36
38
  export { getBaselineForArtifact, useGetBaselineForArtifactQuery, } from './hooks/useGetBaselineForArtifactQuery';
@@ -67,6 +69,7 @@ export { getSbomScorecard, useGetSbomScorecardQuery } from './hooks/useGetSbomSc
67
69
  export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
68
70
  export { importLicenseFamilyConfig, useImportLicenseFamilyConfigMutation, } from './hooks/useImportLicenseFamilyConfigMutation';
69
71
  export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
72
+ export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
70
73
  export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
71
74
  export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
72
75
  export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
@@ -0,0 +1,2 @@
1
+ import type { AttestationBulkDownloadRequest } from '../schemas/AttestationBulkDownloadRequest';
2
+ export type AttestationBulkDownloadRequestBodyRequestBody = AttestationBulkDownloadRequest;
@@ -0,0 +1,2 @@
1
+ import type { AttestationListingRequest } from '../schemas/AttestationListingRequest';
2
+ export type AttestationListingRequestBodyRequestBody = AttestationListingRequest;
@@ -0,0 +1,2 @@
1
+ import type { AttestationSummaryBySourceRequest } from '../schemas/AttestationSummaryBySourceRequest';
2
+ export type AttestationSummaryBySourceRequestBodyRequestBody = AttestationSummaryBySourceRequest;
@@ -0,0 +1,2 @@
1
+ import type { AttestationSummaryByTypeRequest } from '../schemas/AttestationSummaryByTypeRequest';
2
+ export type AttestationSummaryByTypeRequestBodyRequestBody = AttestationSummaryByTypeRequest;
@@ -0,0 +1,2 @@
1
+ import type { DsseEnvelope } from '../schemas/DsseEnvelope';
2
+ export type AttestationBulkDownloadResponseBodyResponse = DsseEnvelope[];
@@ -0,0 +1,2 @@
1
+ import type { AttestationDetailsResponse } from '../schemas/AttestationDetailsResponse';
2
+ export type AttestationDetailsResponseBodyResponse = AttestationDetailsResponse;
@@ -0,0 +1,2 @@
1
+ import type { AttestationListingResponse } from '../schemas/AttestationListingResponse';
2
+ export type AttestationListingResponseBodyResponse = AttestationListingResponse;
@@ -0,0 +1,2 @@
1
+ import type { AttestationSummaryBySourceResponse } from '../schemas/AttestationSummaryBySourceResponse';
2
+ export type AttestationSummaryBySourceResponseBodyResponse = AttestationSummaryBySourceResponse;
@@ -0,0 +1,2 @@
1
+ import type { AttestationSummaryByTypeResponse } from '../schemas/AttestationSummaryByTypeResponse';
2
+ export type AttestationSummaryByTypeResponseBodyResponse = AttestationSummaryByTypeResponse;
@@ -1,6 +1,7 @@
1
1
  import type { DependencyType } from '../schemas/DependencyType';
2
2
  import type { LayerType } from '../schemas/LayerType';
3
3
  import type { StoIssueCount } from '../schemas/StoIssueCount';
4
+ import type { MaliciousDetail } from '../schemas/MaliciousDetail';
4
5
  import type { ComponentParent } from '../schemas/ComponentParent';
5
6
  import type { VulnerabilitySource } from '../schemas/VulnerabilitySource';
6
7
  export interface ArtifactComponentViewResponse {
@@ -49,13 +50,13 @@ export interface ArtifactComponentViewResponse {
49
50
  */
50
51
  license_family?: string;
51
52
  /**
52
- * Source of the malicious package
53
+ * Malicious package intelligence reports for the component (CVE identifiers are not included)
53
54
  */
54
- malicious_source?: string;
55
+ malicious_details?: MaliciousDetail[];
55
56
  /**
56
- * Summary of the OSS risks for the component
57
+ * Source of the malicious package
57
58
  */
58
- oss_risk_summary?: string;
59
+ malicious_source?: string;
59
60
  package_license?: string;
60
61
  package_manager?: string;
61
62
  package_name?: string;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Download multiple attestations by inclusive creation-time range OR by digest list. Provide either both start_time and end_time, or attestation_ids (GitOID SHA-256), not both.
3
+ */
4
+ export interface AttestationBulkDownloadRequest {
5
+ /**
6
+ * GitOID SHA-256 digests to download. Omit when using start_time and end_time.
7
+ */
8
+ attestation_ids?: string[];
9
+ /**
10
+ * Inclusive range end, epoch ms UTC (creation time). Use with start_time when not using attestation_ids.
11
+ * @format int64
12
+ */
13
+ end_time?: number;
14
+ /**
15
+ * Inclusive range start, epoch ms UTC (creation time). Use with end_time when not using attestation_ids.
16
+ * @format int64
17
+ */
18
+ start_time?: number;
19
+ }
@@ -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,53 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ import type { AttestationSubjectSummary } from '../schemas/AttestationSubjectSummary';
3
+ import type { AttestationType } from '../schemas/AttestationType';
4
+ export interface AttestationDetailsResponse {
5
+ /**
6
+ * Associated artifact identifier for tracing.
7
+ */
8
+ artifact_id?: string;
9
+ /**
10
+ * Created at (epoch ms).
11
+ * @format int64
12
+ */
13
+ created_at?: number;
14
+ /**
15
+ * GitOID SHA-256 digest in Archivista.
16
+ */
17
+ gitoid_sha256?: string;
18
+ /**
19
+ * MIME type of the DSSE payload (e.g. application/vnd.in-toto+json).
20
+ */
21
+ payload_type?: string;
22
+ /**
23
+ * Pipeline execution id when present.
24
+ */
25
+ pipeline_execution_id?: string;
26
+ /**
27
+ * Pipeline id when present.
28
+ */
29
+ pipeline_id?: string;
30
+ /**
31
+ * S3 path for attestation storage.
32
+ */
33
+ s3_path?: string;
34
+ source: AttestationSource;
35
+ /**
36
+ * Stage execution id when present.
37
+ */
38
+ stage_execution_id?: string;
39
+ /**
40
+ * Step execution id when present.
41
+ */
42
+ step_execution_id?: string;
43
+ /**
44
+ * All attestation subjects.
45
+ */
46
+ subjects: AttestationSubjectSummary[];
47
+ type: AttestationType;
48
+ /**
49
+ * Updated at (epoch ms).
50
+ * @format int64
51
+ */
52
+ updated_at?: number;
53
+ }
@@ -0,0 +1,27 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ import type { SubjectNameFilter } from '../schemas/SubjectNameFilter';
3
+ import type { AttestationType } from '../schemas/AttestationType';
4
+ /**
5
+ * List filters (arrays are OR matches). Filters creation time when start/end set. Optional subject_filter matches subject name via operator.
6
+ */
7
+ export interface AttestationListingRequest {
8
+ /**
9
+ * Inclusive range end, epoch ms UTC (creation time).
10
+ * @format int64
11
+ */
12
+ end_time?: number;
13
+ /**
14
+ * Filter by record sources (any match).
15
+ */
16
+ sources?: AttestationSource[];
17
+ /**
18
+ * Inclusive range start, epoch ms UTC (creation time).
19
+ * @format int64
20
+ */
21
+ start_time?: number;
22
+ subject_filter?: SubjectNameFilter;
23
+ /**
24
+ * Filter by attestation types (any match).
25
+ */
26
+ types?: AttestationType[];
27
+ }
@@ -0,0 +1,45 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ import type { AttestationSubjectSummary } from '../schemas/AttestationSubjectSummary';
3
+ import type { AttestationType } from '../schemas/AttestationType';
4
+ export interface AttestationListingResponse {
5
+ /**
6
+ * Extra subjects after the first (for "+N more").
7
+ */
8
+ additional_subject_count: number;
9
+ /**
10
+ * Created at (epoch ms).
11
+ * @format int64
12
+ */
13
+ created_at: number;
14
+ /**
15
+ * GitOID SHA-256 digest.
16
+ */
17
+ gitoid_sha256: string;
18
+ /**
19
+ * Document id (MongoDB uuid).
20
+ */
21
+ id: string;
22
+ /**
23
+ * Pipeline execution id when present.
24
+ */
25
+ pipeline_execution_id?: string;
26
+ /**
27
+ * Pipeline id when present.
28
+ */
29
+ pipeline_id?: string;
30
+ source: AttestationSource;
31
+ /**
32
+ * Ingestion status (e.g. PENDING, INDEXED).
33
+ */
34
+ status?: string;
35
+ /**
36
+ * First subject summary; null if none.
37
+ */
38
+ subject?: AttestationSubjectSummary;
39
+ type: AttestationType;
40
+ /**
41
+ * Updated at (epoch ms).
42
+ * @format int64
43
+ */
44
+ updated_at: number;
45
+ }
@@ -0,0 +1,10 @@
1
+ export interface AttestationSubjectDigestSummary {
2
+ /**
3
+ * Digest algorithm.
4
+ */
5
+ algorithm?: string;
6
+ /**
7
+ * Digest value.
8
+ */
9
+ value?: 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 {};
@@ -0,0 +1,15 @@
1
+ import type { AttestationSubjectDigestSummary } from '../schemas/AttestationSubjectDigestSummary';
2
+ export interface AttestationSubjectSummary {
3
+ /**
4
+ * Subject digest (algorithm and value).
5
+ */
6
+ digest?: AttestationSubjectDigestSummary | null;
7
+ /**
8
+ * Subject name.
9
+ */
10
+ name?: string;
11
+ /**
12
+ * Subject SHA-256 when present.
13
+ */
14
+ sha256?: string | null;
15
+ }
@@ -0,0 +1,8 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ export interface AttestationSummaryBySourceItem {
3
+ /**
4
+ * Number of attestations for this source in the requested range.
5
+ */
6
+ count: number;
7
+ source: AttestationSource;
8
+ }
@@ -0,0 +1,20 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ /**
3
+ * Time range for aggregation; optional source filter (arrays are OR matches).
4
+ */
5
+ export interface AttestationSummaryBySourceRequest {
6
+ /**
7
+ * Inclusive range end, epoch ms UTC (creation time).
8
+ * @format int64
9
+ */
10
+ end_time: number;
11
+ /**
12
+ * Filter by record sources before aggregating (any match).
13
+ */
14
+ sources?: AttestationSource[];
15
+ /**
16
+ * Inclusive range start, epoch ms UTC (creation time).
17
+ * @format int64
18
+ */
19
+ start_time: number;
20
+ }
@@ -0,0 +1,11 @@
1
+ import type { AttestationSummaryBySourceItem } from '../schemas/AttestationSummaryBySourceItem';
2
+ export interface AttestationSummaryBySourceResponse {
3
+ /**
4
+ * Counts per attestation source present in the result set.
5
+ */
6
+ items: AttestationSummaryBySourceItem[];
7
+ /**
8
+ * Total attestations across all sources in the requested range.
9
+ */
10
+ total: number;
11
+ }
@@ -0,0 +1,8 @@
1
+ import type { AttestationType } from '../schemas/AttestationType';
2
+ export interface AttestationSummaryByTypeItem {
3
+ /**
4
+ * Number of attestations for this type in the requested range.
5
+ */
6
+ count: number;
7
+ type: AttestationType;
8
+ }
@@ -0,0 +1,20 @@
1
+ import type { AttestationType } from '../schemas/AttestationType';
2
+ /**
3
+ * Time range for aggregation; optional type filter (arrays are OR matches).
4
+ */
5
+ export interface AttestationSummaryByTypeRequest {
6
+ /**
7
+ * Inclusive range end, epoch ms UTC (creation time).
8
+ * @format int64
9
+ */
10
+ end_time: number;
11
+ /**
12
+ * Inclusive range start, epoch ms UTC (creation time).
13
+ * @format int64
14
+ */
15
+ start_time: number;
16
+ /**
17
+ * Filter by attestation types before aggregating (any match).
18
+ */
19
+ types?: AttestationType[];
20
+ }
@@ -0,0 +1,11 @@
1
+ import type { AttestationSummaryByTypeItem } from '../schemas/AttestationSummaryByTypeItem';
2
+ export interface AttestationSummaryByTypeResponse {
3
+ /**
4
+ * Counts per attestation type present in the result set.
5
+ */
6
+ items: AttestationSummaryByTypeItem[];
7
+ /**
8
+ * Total attestations across all types in the requested range.
9
+ */
10
+ total: number;
11
+ }
@@ -1,6 +1,7 @@
1
1
  import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
2
2
  import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
3
3
  import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
4
+ import type { AutoPrCooldownRule } from '../schemas/AutoPrCooldownRule';
4
5
  import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
5
6
  import type { AutoPrPreset } from '../schemas/AutoPrPreset';
6
7
  import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
@@ -21,6 +22,7 @@ export interface AutoPrConfigResponseBody {
21
22
  * Auto PR Config identifier
22
23
  */
23
24
  config_id?: string;
25
+ cooldown_rule?: AutoPrCooldownRule;
24
26
  /**
25
27
  * Creation timestamp
26
28
  * @format int64
@@ -1,6 +1,7 @@
1
1
  import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
2
2
  import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
3
3
  import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
4
+ import type { AutoPrCooldownRule } from '../schemas/AutoPrCooldownRule';
4
5
  import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
5
6
  import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
6
7
  import type { AutoPrVersioningRule } from '../schemas/AutoPrVersioningRule';
@@ -15,6 +16,7 @@ export interface AutoPrConfigUpdates {
15
16
  allow_override?: boolean;
16
17
  auto_pr_schedule?: AutoPrSchedule;
17
18
  compliance_rule?: AutoPrComplianceRule;
19
+ cooldown_rule?: AutoPrCooldownRule;
18
20
  dependency_safety_rule?: AutoPrDependencySafetyRule;
19
21
  /**
20
22
  * Enable or disable Auto PR
@@ -0,0 +1,10 @@
1
+ export interface AutoPrCooldownRule {
2
+ /**
3
+ * Number of days a package version must exist before it can be included in an Auto PR. Recommended 2-3 days.
4
+ */
5
+ cooldown_period_days?: number;
6
+ /**
7
+ * When enabled, Auto PRs will only be created for package versions released more than the configured cooldown period ago.
8
+ */
9
+ enable_cooldown_check?: boolean;
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,6 +1,7 @@
1
1
  import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
2
2
  import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
3
3
  import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
4
+ import type { AutoPrCooldownRule } from '../schemas/AutoPrCooldownRule';
4
5
  import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
5
6
  import type { AutoPrPreset } from '../schemas/AutoPrPreset';
6
7
  import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
@@ -9,6 +10,7 @@ export interface AutoPrPresetConfig {
9
10
  advanced_rule?: AutoPrAdvancedRule;
10
11
  auto_pr_schedule?: AutoPrSchedule;
11
12
  compliance_rule?: AutoPrComplianceRule;
13
+ cooldown_rule?: AutoPrCooldownRule;
12
14
  dependency_safety_rule?: AutoPrDependencySafetyRule;
13
15
  preset?: AutoPrPreset;
14
16
  security_rule?: AutoPrSecurityRule;
@@ -7,5 +7,5 @@ export interface Integration {
7
7
  last_scan_at?: number;
8
8
  org?: string;
9
9
  status?: 'ACTIVE' | 'INACTIVE';
10
- type?: 'GITHUB' | 'HARNESS';
10
+ type?: 'BITBUCKET' | 'GITHUB' | 'HARNESS';
11
11
  }
@@ -0,0 +1,27 @@
1
+ import type { MaliciousPackageReference } from '../schemas/MaliciousPackageReference';
2
+ /**
3
+ * A single malicious package report without CVE identifiers
4
+ */
5
+ export interface MaliciousDetail {
6
+ /**
7
+ * Identifier of the malicious report
8
+ */
9
+ id?: string;
10
+ /**
11
+ * Publication time of the report if available
12
+ */
13
+ published_at?: string;
14
+ references?: MaliciousPackageReference[];
15
+ /**
16
+ * Summary text for the malicious report
17
+ */
18
+ summary?: string;
19
+ /**
20
+ * Title of the malicious report
21
+ */
22
+ title?: string;
23
+ /**
24
+ * URL for more information about the report
25
+ */
26
+ url?: string;
27
+ }
@@ -0,0 +1,10 @@
1
+ export interface MaliciousPackageReference {
2
+ /**
3
+ * Type of reference
4
+ */
5
+ type?: string;
6
+ /**
7
+ * URL for the reference
8
+ */
9
+ url?: 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 {};
@@ -2,7 +2,15 @@ export interface OrchestrationOssRisksSummary {
2
2
  close_to_eol_component_count?: number;
3
3
  definite_eol_component_count?: number;
4
4
  derived_eol_component_count?: number;
5
+ /**
6
+ * Count of components identified as malicious packages
7
+ */
8
+ malicious_component_count?: number;
5
9
  outdated_component_count?: number;
6
10
  total_eol_component_count?: number;
11
+ /**
12
+ * Count of components identified as typosquatted packages
13
+ */
14
+ typosquatted_component_count?: number;
7
15
  unmaintained_component_count?: number;
8
16
  }
@@ -0,0 +1,8 @@
1
+ import type { Operator } from '../schemas/Operator';
2
+ /**
3
+ * Subject name matching via operator (same shape as LicenseFilter).
4
+ */
5
+ export interface SubjectNameFilter {
6
+ operator: Operator;
7
+ value: string;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.13",
3
+ "version": "0.84.15",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",