@harnessio/react-ssca-manager-client 0.84.15 → 0.84.16
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/useCreateEolAutoTicketConfigMutation.d.ts +23 -0
- package/dist/ssca-manager/src/services/hooks/useCreateEolAutoTicketConfigMutation.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetArtifactV2DetailComponentViewQuery.d.ts +1 -1
- package/dist/ssca-manager/src/services/hooks/useGetAttestationDetailsQuery.d.ts +21 -0
- package/dist/ssca-manager/src/services/hooks/useGetAttestationDetailsQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryBySourceMutation.d.ts +23 -0
- package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryBySourceMutation.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetEolAutoTicketConfigQuery.d.ts +20 -0
- package/dist/ssca-manager/src/services/hooks/useGetEolAutoTicketConfigQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useListAttestationsMutation.d.ts +1 -0
- package/dist/ssca-manager/src/services/index.d.ts +16 -0
- package/dist/ssca-manager/src/services/index.js +4 -0
- package/dist/ssca-manager/src/services/requestBodies/CooldownConfigRequestBodyRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/requestBodies/CooldownConfigRequestBodyRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.d.ts +1 -1
- package/dist/ssca-manager/src/services/responses/CooldownConfigResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/CooldownConfigResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AttestationSource.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/AttestationSubjectSummary.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/AttestationType.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/CooldownConfigRequestBody.d.ts +16 -0
- package/dist/ssca-manager/src/services/schemas/CooldownConfigRequestBody.js +4 -0
- package/dist/ssca-manager/src/services/schemas/CooldownConfigResponseBody.d.ts +12 -0
- package/dist/ssca-manager/src/services/schemas/CooldownConfigResponseBody.js +4 -0
- package/dist/ssca-manager/src/services/schemas/CooldownViolationsResponseBody.d.ts +18 -0
- package/dist/ssca-manager/src/services/schemas/CooldownViolationsResponseBody.js +4 -0
- package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigRequest.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigRequest.js +4 -0
- package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigResponse.d.ts +9 -0
- package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigResponse.js +4 -0
- package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigUpdateRequest.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigUpdateRequest.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { EolAutoTicketConfigResponse } from '../schemas/EolAutoTicketConfigResponse';
|
|
3
|
+
import type { EolAutoTicketConfigRequest } from '../schemas/EolAutoTicketConfigRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CreateEolAutoTicketConfigMutationPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CreateEolAutoTicketConfigMutationHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type CreateEolAutoTicketConfigRequestBody = EolAutoTicketConfigRequest;
|
|
14
|
+
export type CreateEolAutoTicketConfigOkResponse = ResponseWithPagination<EolAutoTicketConfigResponse>;
|
|
15
|
+
export type CreateEolAutoTicketConfigErrorResponse = unknown;
|
|
16
|
+
export interface CreateEolAutoTicketConfigProps extends CreateEolAutoTicketConfigMutationPathParams, Omit<FetcherOptions<unknown, CreateEolAutoTicketConfigRequestBody, CreateEolAutoTicketConfigMutationHeaderParams>, 'url'> {
|
|
17
|
+
body: CreateEolAutoTicketConfigRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function createEolAutoTicketConfig(props: CreateEolAutoTicketConfigProps): Promise<CreateEolAutoTicketConfigOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a project-scoped EOL auto ticket configuration.
|
|
22
|
+
*/
|
|
23
|
+
export declare function useCreateEolAutoTicketConfigMutation(options?: Omit<UseMutationOptions<CreateEolAutoTicketConfigOkResponse, CreateEolAutoTicketConfigErrorResponse, CreateEolAutoTicketConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateEolAutoTicketConfigOkResponse, unknown, CreateEolAutoTicketConfigProps, 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 createEolAutoTicketConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/eol-auto-ticket/config`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates a project-scoped EOL auto ticket configuration.
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateEolAutoTicketConfigMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createEolAutoTicketConfig(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -24,7 +24,7 @@ export interface GetArtifactV2DetailComponentViewQueryQueryParams {
|
|
|
24
24
|
/**
|
|
25
25
|
* @default "package_name"
|
|
26
26
|
*/
|
|
27
|
-
sort?: 'license_family' | 'package_name' | 'package_supplier';
|
|
27
|
+
sort?: 'eol_score' | 'eol_status' | 'license_family' | 'package_name' | 'package_supplier' | 'vulnerabilities';
|
|
28
28
|
enforce_elasticsearch?: boolean;
|
|
29
29
|
}
|
|
30
30
|
export interface GetArtifactV2DetailComponentViewQueryHeaderParams {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AttestationDetailsResponseBodyResponse } from '../responses/AttestationDetailsResponseBodyResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAttestationDetailsQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
attestation: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetAttestationDetailsQueryHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type GetAttestationDetailsOkResponse = ResponseWithPagination<AttestationDetailsResponseBodyResponse>;
|
|
14
|
+
export type GetAttestationDetailsErrorResponse = unknown;
|
|
15
|
+
export interface GetAttestationDetailsProps extends GetAttestationDetailsQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetAttestationDetailsQueryHeaderParams>, 'url'> {
|
|
16
|
+
}
|
|
17
|
+
export declare function getAttestationDetails(props: GetAttestationDetailsProps): Promise<GetAttestationDetailsOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns stored attestation metadata and subjects for a single attestation by document id.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useGetAttestationDetailsQuery(props: GetAttestationDetailsProps, options?: Omit<UseQueryOptions<GetAttestationDetailsOkResponse, GetAttestationDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAttestationDetailsOkResponse, 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 getAttestationDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/${props.attestation}/details`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns stored attestation metadata and subjects for a single attestation by document id.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAttestationDetailsQuery(props, options) {
|
|
13
|
+
return useQuery(['getAttestationDetails', props.org, props.project, props.attestation], ({ signal }) => getAttestationDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AttestationSummaryBySourceResponseBodyResponse } from '../responses/AttestationSummaryBySourceResponseBodyResponse';
|
|
3
|
+
import type { AttestationSummaryBySourceRequestBodyRequestBody } from '../requestBodies/AttestationSummaryBySourceRequestBodyRequestBody';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetAttestationSummaryBySourceMutationPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetAttestationSummaryBySourceMutationHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type GetAttestationSummaryBySourceRequestBody = AttestationSummaryBySourceRequestBodyRequestBody;
|
|
14
|
+
export type GetAttestationSummaryBySourceOkResponse = ResponseWithPagination<AttestationSummaryBySourceResponseBodyResponse>;
|
|
15
|
+
export type GetAttestationSummaryBySourceErrorResponse = unknown;
|
|
16
|
+
export interface GetAttestationSummaryBySourceProps extends GetAttestationSummaryBySourceMutationPathParams, Omit<FetcherOptions<unknown, GetAttestationSummaryBySourceRequestBody, GetAttestationSummaryBySourceMutationHeaderParams>, 'url'> {
|
|
17
|
+
body: GetAttestationSummaryBySourceRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function getAttestationSummaryBySource(props: GetAttestationSummaryBySourceProps): Promise<GetAttestationSummaryBySourceOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Attestation counts grouped by source
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetAttestationSummaryBySourceMutation(options?: Omit<UseMutationOptions<GetAttestationSummaryBySourceOkResponse, GetAttestationSummaryBySourceErrorResponse, GetAttestationSummaryBySourceProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetAttestationSummaryBySourceOkResponse, unknown, GetAttestationSummaryBySourceProps, 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 getAttestationSummaryBySource(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/summary-by-source`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Attestation counts grouped by source
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAttestationSummaryBySourceMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getAttestationSummaryBySource(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { EolAutoTicketConfigResponse } from '../schemas/EolAutoTicketConfigResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetEolAutoTicketConfigQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetEolAutoTicketConfigQueryHeaderParams {
|
|
10
|
+
'Harness-Account': string;
|
|
11
|
+
}
|
|
12
|
+
export type GetEolAutoTicketConfigOkResponse = ResponseWithPagination<EolAutoTicketConfigResponse>;
|
|
13
|
+
export type GetEolAutoTicketConfigErrorResponse = unknown;
|
|
14
|
+
export interface GetEolAutoTicketConfigProps extends GetEolAutoTicketConfigQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetEolAutoTicketConfigQueryHeaderParams>, 'url'> {
|
|
15
|
+
}
|
|
16
|
+
export declare function getEolAutoTicketConfig(props: GetEolAutoTicketConfigProps): Promise<GetEolAutoTicketConfigOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves the project-scoped EOL auto ticket configuration.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetEolAutoTicketConfigQuery(props: GetEolAutoTicketConfigProps, options?: Omit<UseQueryOptions<GetEolAutoTicketConfigOkResponse, GetEolAutoTicketConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEolAutoTicketConfigOkResponse, 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 getEolAutoTicketConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/eol-auto-ticket/config`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves the project-scoped EOL auto ticket configuration.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetEolAutoTicketConfigQuery(props, options) {
|
|
13
|
+
return useQuery(['getEolAutoTicketConfig', props.org, props.project], ({ signal }) => getEolAutoTicketConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -25,6 +25,7 @@ export interface ListAttestationsMutationQueryParams {
|
|
|
25
25
|
*/
|
|
26
26
|
sort?: 'created_at' | 'updated_at';
|
|
27
27
|
search?: string;
|
|
28
|
+
data_source?: 'ELASTICSEARCH' | 'MONGODB' | 'UDP';
|
|
28
29
|
}
|
|
29
30
|
export interface ListAttestationsMutationHeaderParams {
|
|
30
31
|
'Harness-Account': string;
|
|
@@ -15,6 +15,8 @@ export type { CreateComplianceStandardsErrorResponse, CreateComplianceStandardsM
|
|
|
15
15
|
export { createComplianceStandards, useCreateComplianceStandardsMutation, } from './hooks/useCreateComplianceStandardsMutation';
|
|
16
16
|
export type { CreateComponentTicketErrorResponse, CreateComponentTicketMutationPathParams, CreateComponentTicketMutationQueryParams, CreateComponentTicketOkResponse, CreateComponentTicketProps, CreateComponentTicketRequestBody, } from './hooks/useCreateComponentTicketMutation';
|
|
17
17
|
export { createComponentTicket, useCreateComponentTicketMutation, } from './hooks/useCreateComponentTicketMutation';
|
|
18
|
+
export type { CreateEolAutoTicketConfigErrorResponse, CreateEolAutoTicketConfigMutationPathParams, CreateEolAutoTicketConfigOkResponse, CreateEolAutoTicketConfigProps, CreateEolAutoTicketConfigRequestBody, } from './hooks/useCreateEolAutoTicketConfigMutation';
|
|
19
|
+
export { createEolAutoTicketConfig, useCreateEolAutoTicketConfigMutation, } from './hooks/useCreateEolAutoTicketConfigMutation';
|
|
18
20
|
export type { CreateIntegrationErrorResponse, CreateIntegrationMutationPathParams, CreateIntegrationOkResponse, CreateIntegrationProps, CreateIntegrationRequestBody, } from './hooks/useCreateIntegrationMutation';
|
|
19
21
|
export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
|
|
20
22
|
export type { CreateRemediationPullRequestErrorResponse, CreateRemediationPullRequestMutationPathParams, CreateRemediationPullRequestOkResponse, CreateRemediationPullRequestProps, CreateRemediationPullRequestRequestBody, } from './hooks/useCreateRemediationPullRequestMutation';
|
|
@@ -67,6 +69,10 @@ export type { GetArtifactV2DetailDeploymentViewErrorResponse, GetArtifactV2Detai
|
|
|
67
69
|
export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
|
|
68
70
|
export type { GetArtifactV2OverviewErrorResponse, GetArtifactV2OverviewOkResponse, GetArtifactV2OverviewProps, GetArtifactV2OverviewQueryPathParams, } from './hooks/useGetArtifactV2OverviewQuery';
|
|
69
71
|
export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
|
|
72
|
+
export type { GetAttestationDetailsErrorResponse, GetAttestationDetailsOkResponse, GetAttestationDetailsProps, GetAttestationDetailsQueryPathParams, } from './hooks/useGetAttestationDetailsQuery';
|
|
73
|
+
export { getAttestationDetails, useGetAttestationDetailsQuery, } from './hooks/useGetAttestationDetailsQuery';
|
|
74
|
+
export type { GetAttestationSummaryBySourceErrorResponse, GetAttestationSummaryBySourceMutationPathParams, GetAttestationSummaryBySourceOkResponse, GetAttestationSummaryBySourceProps, GetAttestationSummaryBySourceRequestBody, } from './hooks/useGetAttestationSummaryBySourceMutation';
|
|
75
|
+
export { getAttestationSummaryBySource, useGetAttestationSummaryBySourceMutation, } from './hooks/useGetAttestationSummaryBySourceMutation';
|
|
70
76
|
export type { GetAttestationSummaryByTypeErrorResponse, GetAttestationSummaryByTypeMutationPathParams, GetAttestationSummaryByTypeOkResponse, GetAttestationSummaryByTypeProps, GetAttestationSummaryByTypeRequestBody, } from './hooks/useGetAttestationSummaryByTypeMutation';
|
|
71
77
|
export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, } from './hooks/useGetAttestationSummaryByTypeMutation';
|
|
72
78
|
export type { GetAutoPrConfigErrorResponse, GetAutoPrConfigOkResponse, GetAutoPrConfigProps, GetAutoPrConfigQueryQueryParams, } from './hooks/useGetAutoPrConfigQuery';
|
|
@@ -111,6 +117,8 @@ export type { GetDeploymentsListForArtifactInRemediationErrorResponse, GetDeploy
|
|
|
111
117
|
export { getDeploymentsListForArtifactInRemediation, useGetDeploymentsListForArtifactInRemediationQuery, } from './hooks/useGetDeploymentsListForArtifactInRemediationQuery';
|
|
112
118
|
export type { GetEnvironmentListForRemediationErrorResponse, GetEnvironmentListForRemediationOkResponse, GetEnvironmentListForRemediationProps, GetEnvironmentListForRemediationQueryPathParams, GetEnvironmentListForRemediationQueryQueryParams, } from './hooks/useGetEnvironmentListForRemediationQuery';
|
|
113
119
|
export { getEnvironmentListForRemediation, useGetEnvironmentListForRemediationQuery, } from './hooks/useGetEnvironmentListForRemediationQuery';
|
|
120
|
+
export type { GetEolAutoTicketConfigErrorResponse, GetEolAutoTicketConfigOkResponse, GetEolAutoTicketConfigProps, GetEolAutoTicketConfigQueryPathParams, } from './hooks/useGetEolAutoTicketConfigQuery';
|
|
121
|
+
export { getEolAutoTicketConfig, useGetEolAutoTicketConfigQuery, } from './hooks/useGetEolAutoTicketConfigQuery';
|
|
114
122
|
export type { GetHarnessPipelineIntegrationErrorResponse, GetHarnessPipelineIntegrationOkResponse, GetHarnessPipelineIntegrationProps, GetHarnessPipelineIntegrationQueryPathParams, } from './hooks/useGetHarnessPipelineIntegrationQuery';
|
|
115
123
|
export { getHarnessPipelineIntegration, useGetHarnessPipelineIntegrationQuery, } from './hooks/useGetHarnessPipelineIntegrationQuery';
|
|
116
124
|
export type { GetIntegrationReposErrorResponse, GetIntegrationReposOkResponse, GetIntegrationReposProps, GetIntegrationReposQueryPathParams, } from './hooks/useGetIntegrationReposQuery';
|
|
@@ -186,6 +194,7 @@ export type { ComplianceResultsOverviewRequestBodyRequestBody } from './requestB
|
|
|
186
194
|
export type { ComplianceStandardsRequestBodyRequestBody } from './requestBodies/ComplianceStandardsRequestBodyRequestBody';
|
|
187
195
|
export type { ConfigRequestBodyRequestBody } from './requestBodies/ConfigRequestBodyRequestBody';
|
|
188
196
|
export type { ConfigureReposRequestRequestBody } from './requestBodies/ConfigureReposRequestRequestBody';
|
|
197
|
+
export type { CooldownConfigRequestBodyRequestBody } from './requestBodies/CooldownConfigRequestBodyRequestBody';
|
|
189
198
|
export type { CreateComplianceResultRequestBodyRequestBody } from './requestBodies/CreateComplianceResultRequestBodyRequestBody';
|
|
190
199
|
export type { CreateComplianceStandardRequestBodyRequestBody } from './requestBodies/CreateComplianceStandardRequestBodyRequestBody';
|
|
191
200
|
export type { CreateIntegrationRequestBodyRequestBody } from './requestBodies/CreateIntegrationRequestBodyRequestBody';
|
|
@@ -264,6 +273,7 @@ export type { ComponentListResponseBodyResponse } from './responses/ComponentLis
|
|
|
264
273
|
export type { ComponentSearchResponseBodyResponse } from './responses/ComponentSearchResponseBodyResponse';
|
|
265
274
|
export type { ComponentVulnerabilityListResponseBodyResponse } from './responses/ComponentVulnerabilityListResponseBodyResponse';
|
|
266
275
|
export type { ConfigResponseBodyResponse } from './responses/ConfigResponseBodyResponse';
|
|
276
|
+
export type { CooldownConfigResponseBodyResponse } from './responses/CooldownConfigResponseBodyResponse';
|
|
267
277
|
export type { CreateIntegrationResponseBodyResponse } from './responses/CreateIntegrationResponseBodyResponse';
|
|
268
278
|
export type { CreateTicketResponseBodyResponse } from './responses/CreateTicketResponseBodyResponse';
|
|
269
279
|
export type { EnforceSbomResponseBodyResponse } from './responses/EnforceSbomResponseBodyResponse';
|
|
@@ -446,6 +456,9 @@ export type { ConnectorConfigResponse } from './schemas/ConnectorConfigResponse'
|
|
|
446
456
|
export type { ContactInfo } from './schemas/ContactInfo';
|
|
447
457
|
export type { ContainerArtifactFilter } from './schemas/ContainerArtifactFilter';
|
|
448
458
|
export type { ContainerArtifactMetadata } from './schemas/ContainerArtifactMetadata';
|
|
459
|
+
export type { CooldownConfigRequestBody } from './schemas/CooldownConfigRequestBody';
|
|
460
|
+
export type { CooldownConfigResponseBody } from './schemas/CooldownConfigResponseBody';
|
|
461
|
+
export type { CooldownViolationsResponseBody } from './schemas/CooldownViolationsResponseBody';
|
|
449
462
|
export type { CreateComplianceResult } from './schemas/CreateComplianceResult';
|
|
450
463
|
export type { CreateComplianceResultV2 } from './schemas/CreateComplianceResultV2';
|
|
451
464
|
export type { CreateIntegrationRequest } from './schemas/CreateIntegrationRequest';
|
|
@@ -479,6 +492,9 @@ export type { EnforcementSummaryResponse } from './schemas/EnforcementSummaryRes
|
|
|
479
492
|
export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
|
|
480
493
|
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
481
494
|
export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
|
|
495
|
+
export type { EolAutoTicketConfigRequest } from './schemas/EolAutoTicketConfigRequest';
|
|
496
|
+
export type { EolAutoTicketConfigResponse } from './schemas/EolAutoTicketConfigResponse';
|
|
497
|
+
export type { EolAutoTicketConfigUpdateRequest } from './schemas/EolAutoTicketConfigUpdateRequest';
|
|
482
498
|
export type { EolStatus } from './schemas/EolStatus';
|
|
483
499
|
export type { Error } from './schemas/Error';
|
|
484
500
|
export type { ExcludeArtifactRequest } from './schemas/ExcludeArtifactRequest';
|
|
@@ -6,6 +6,7 @@ export { codeRepositoriesList, useCodeRepositoriesListQuery, } from './hooks/use
|
|
|
6
6
|
export { configureRepos, useConfigureReposMutation } from './hooks/useConfigureReposMutation';
|
|
7
7
|
export { createComplianceStandards, useCreateComplianceStandardsMutation, } from './hooks/useCreateComplianceStandardsMutation';
|
|
8
8
|
export { createComponentTicket, useCreateComponentTicketMutation, } from './hooks/useCreateComponentTicketMutation';
|
|
9
|
+
export { createEolAutoTicketConfig, useCreateEolAutoTicketConfigMutation, } from './hooks/useCreateEolAutoTicketConfigMutation';
|
|
9
10
|
export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
|
|
10
11
|
export { createRemediationPullRequest, useCreateRemediationPullRequestMutation, } from './hooks/useCreateRemediationPullRequestMutation';
|
|
11
12
|
export { createRemediationTracker, useCreateRemediationTrackerMutation, } from './hooks/useCreateRemediationTrackerMutation';
|
|
@@ -32,6 +33,8 @@ export { getArtifactV2ComponentVulnerabilityListByPurl, useGetArtifactV2Componen
|
|
|
32
33
|
export { getArtifactV2DetailComponentView, useGetArtifactV2DetailComponentViewQuery, } from './hooks/useGetArtifactV2DetailComponentViewQuery';
|
|
33
34
|
export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
|
|
34
35
|
export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
|
|
36
|
+
export { getAttestationDetails, useGetAttestationDetailsQuery, } from './hooks/useGetAttestationDetailsQuery';
|
|
37
|
+
export { getAttestationSummaryBySource, useGetAttestationSummaryBySourceMutation, } from './hooks/useGetAttestationSummaryBySourceMutation';
|
|
35
38
|
export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, } from './hooks/useGetAttestationSummaryByTypeMutation';
|
|
36
39
|
export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
|
|
37
40
|
export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
|
|
@@ -54,6 +57,7 @@ export { getComponents, useGetComponentsQuery } from './hooks/useGetComponentsQu
|
|
|
54
57
|
export { getConnectorConfig, useGetConnectorConfigQuery } from './hooks/useGetConnectorConfigQuery';
|
|
55
58
|
export { getDeploymentsListForArtifactInRemediation, useGetDeploymentsListForArtifactInRemediationQuery, } from './hooks/useGetDeploymentsListForArtifactInRemediationQuery';
|
|
56
59
|
export { getEnvironmentListForRemediation, useGetEnvironmentListForRemediationQuery, } from './hooks/useGetEnvironmentListForRemediationQuery';
|
|
60
|
+
export { getEolAutoTicketConfig, useGetEolAutoTicketConfigQuery, } from './hooks/useGetEolAutoTicketConfigQuery';
|
|
57
61
|
export { getHarnessPipelineIntegration, useGetHarnessPipelineIntegrationQuery, } from './hooks/useGetHarnessPipelineIntegrationQuery';
|
|
58
62
|
export { getIntegrationRepos, useGetIntegrationReposQuery, } from './hooks/useGetIntegrationReposQuery';
|
|
59
63
|
export { getIntegrationsConfig, useGetIntegrationsConfigQuery, } from './hooks/useGetIntegrationsConfigQuery';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { AttestationListingResponse } from '../schemas/AttestationListingResponse';
|
|
2
|
-
export type AttestationListingResponseBodyResponse = AttestationListingResponse;
|
|
2
|
+
export type AttestationListingResponseBodyResponse = AttestationListingResponse[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface CooldownConfigRequestBody {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
number_of_days: number;
|
|
4
|
+
/**
|
|
5
|
+
* Organization identifier
|
|
6
|
+
*/
|
|
7
|
+
org?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Project identifier
|
|
10
|
+
*/
|
|
11
|
+
project?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Whether cooldown violations are surfaced as a warning or an error.
|
|
14
|
+
*/
|
|
15
|
+
severity: 'error' | 'warning';
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface CooldownConfigResponseBody {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
number_of_days?: number;
|
|
4
|
+
/**
|
|
5
|
+
* The scope at which this configuration is set (account/org/project)
|
|
6
|
+
*/
|
|
7
|
+
scope?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether cooldown violations are surfaced as a warning or an error.
|
|
10
|
+
*/
|
|
11
|
+
severity?: 'error' | 'warning';
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface CooldownViolationsResponseBody {
|
|
2
|
+
/**
|
|
3
|
+
* The configured cooldown period in days
|
|
4
|
+
*/
|
|
5
|
+
cooldown_period_days?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Total number of SBOM components for the orchestration
|
|
8
|
+
*/
|
|
9
|
+
total_components?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Package URLs of components released within the cooldown window
|
|
12
|
+
*/
|
|
13
|
+
violating_purls?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Number of components violating the cooldown period
|
|
16
|
+
*/
|
|
17
|
+
violation_count?: number;
|
|
18
|
+
}
|