@harnessio/react-ssca-manager-client 0.86.3 → 0.86.5
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/useCreateScannerConfigurationMutation.d.ts +23 -0
- package/dist/ssca-manager/src/services/hooks/useCreateScannerConfigurationMutation.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationsQuery.d.ts +24 -0
- package/dist/ssca-manager/src/services/hooks/useListScannerConfigurationsQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useUpdateScannerConfigurationMutation.d.ts +24 -0
- package/dist/ssca-manager/src/services/hooks/useUpdateScannerConfigurationMutation.js +14 -0
- package/dist/ssca-manager/src/services/index.d.ts +7 -0
- package/dist/ssca-manager/src/services/index.js +3 -0
- package/dist/ssca-manager/src/services/schemas/AffectedArtifactInfo.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/InternalAffectedArtifact.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.d.ts +16 -0
- package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SaveSignatureRequestBody.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannerConfiguration } from '../schemas/ScannerConfiguration';
|
|
3
|
+
import type { CreateScannerConfigurationRequest } from '../schemas/CreateScannerConfigurationRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CreateScannerConfigurationMutationPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CreateScannerConfigurationMutationHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type CreateScannerConfigurationRequestBody = CreateScannerConfigurationRequest;
|
|
14
|
+
export type CreateScannerConfigurationOkResponse = ResponseWithPagination<ScannerConfiguration>;
|
|
15
|
+
export type CreateScannerConfigurationErrorResponse = unknown;
|
|
16
|
+
export interface CreateScannerConfigurationProps extends CreateScannerConfigurationMutationPathParams, Omit<FetcherOptions<unknown, CreateScannerConfigurationRequestBody, CreateScannerConfigurationMutationHeaderParams>, 'url'> {
|
|
17
|
+
body: CreateScannerConfigurationRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function createScannerConfiguration(props: CreateScannerConfigurationProps): Promise<CreateScannerConfigurationOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Create a scanner configuration
|
|
22
|
+
*/
|
|
23
|
+
export declare function useCreateScannerConfigurationMutation(options?: Omit<UseMutationOptions<CreateScannerConfigurationOkResponse, CreateScannerConfigurationErrorResponse, CreateScannerConfigurationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateScannerConfigurationOkResponse, unknown, CreateScannerConfigurationProps, 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 createScannerConfiguration(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/scanner-configurations`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a scanner configuration
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateScannerConfigurationMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createScannerConfiguration(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannerConfigurationListResponse } from '../schemas/ScannerConfigurationListResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ListScannerConfigurationsQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ListScannerConfigurationsQueryQueryParams {
|
|
10
|
+
scanner_id?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ListScannerConfigurationsQueryHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type ListScannerConfigurationsOkResponse = ResponseWithPagination<ScannerConfigurationListResponse>;
|
|
16
|
+
export type ListScannerConfigurationsErrorResponse = unknown;
|
|
17
|
+
export interface ListScannerConfigurationsProps extends ListScannerConfigurationsQueryPathParams, Omit<FetcherOptions<ListScannerConfigurationsQueryQueryParams, unknown, ListScannerConfigurationsQueryHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: ListScannerConfigurationsQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function listScannerConfigurations(props: ListScannerConfigurationsProps): Promise<ListScannerConfigurationsOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* List scanner configurations
|
|
23
|
+
*/
|
|
24
|
+
export declare function useListScannerConfigurationsQuery(props: ListScannerConfigurationsProps, options?: Omit<UseQueryOptions<ListScannerConfigurationsOkResponse, ListScannerConfigurationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannerConfigurationsOkResponse, 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 listScannerConfigurations(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/scanner-configurations`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List scanner configurations
|
|
11
|
+
*/
|
|
12
|
+
export function useListScannerConfigurationsQuery(props, options) {
|
|
13
|
+
return useQuery(['listScannerConfigurations', props.org, props.project, props.queryParams], ({ signal }) => listScannerConfigurations(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScannerConfiguration } from '../schemas/ScannerConfiguration';
|
|
3
|
+
import type { UpdateScannerConfigurationRequest } from '../schemas/UpdateScannerConfigurationRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateScannerConfigurationMutationPathParams {
|
|
7
|
+
org: string;
|
|
8
|
+
project: string;
|
|
9
|
+
configId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateScannerConfigurationMutationHeaderParams {
|
|
12
|
+
'Harness-Account': string;
|
|
13
|
+
}
|
|
14
|
+
export type UpdateScannerConfigurationRequestBody = UpdateScannerConfigurationRequest;
|
|
15
|
+
export type UpdateScannerConfigurationOkResponse = ResponseWithPagination<ScannerConfiguration>;
|
|
16
|
+
export type UpdateScannerConfigurationErrorResponse = unknown;
|
|
17
|
+
export interface UpdateScannerConfigurationProps extends UpdateScannerConfigurationMutationPathParams, Omit<FetcherOptions<unknown, UpdateScannerConfigurationRequestBody, UpdateScannerConfigurationMutationHeaderParams>, 'url'> {
|
|
18
|
+
body: UpdateScannerConfigurationRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function updateScannerConfiguration(props: UpdateScannerConfigurationProps): Promise<UpdateScannerConfigurationOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Update a scanner configuration
|
|
23
|
+
*/
|
|
24
|
+
export declare function useUpdateScannerConfigurationMutation(options?: Omit<UseMutationOptions<UpdateScannerConfigurationOkResponse, UpdateScannerConfigurationErrorResponse, UpdateScannerConfigurationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateScannerConfigurationOkResponse, unknown, UpdateScannerConfigurationProps, 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 updateScannerConfiguration(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/scanner-configurations/${props.configId}`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update a scanner configuration
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateScannerConfigurationMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateScannerConfiguration(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -27,6 +27,8 @@ export type { CreateRemediationPullRequestErrorResponse, CreateRemediationPullRe
|
|
|
27
27
|
export { createRemediationPullRequest, useCreateRemediationPullRequestMutation, } from './hooks/useCreateRemediationPullRequestMutation';
|
|
28
28
|
export type { CreateRemediationTrackerErrorResponse, CreateRemediationTrackerMutationPathParams, CreateRemediationTrackerOkResponse, CreateRemediationTrackerProps, CreateRemediationTrackerRequestBody, } from './hooks/useCreateRemediationTrackerMutation';
|
|
29
29
|
export { createRemediationTracker, useCreateRemediationTrackerMutation, } from './hooks/useCreateRemediationTrackerMutation';
|
|
30
|
+
export type { CreateScannerConfigurationErrorResponse, CreateScannerConfigurationMutationPathParams, CreateScannerConfigurationOkResponse, CreateScannerConfigurationProps, CreateScannerConfigurationRequestBody, } from './hooks/useCreateScannerConfigurationMutation';
|
|
31
|
+
export { createScannerConfiguration, useCreateScannerConfigurationMutation, } from './hooks/useCreateScannerConfigurationMutation';
|
|
30
32
|
export type { CreateTicketErrorResponse, CreateTicketMutationPathParams, CreateTicketOkResponse, CreateTicketProps, CreateTicketRequestBody, } from './hooks/useCreateTicketMutation';
|
|
31
33
|
export { createTicket, useCreateTicketMutation } from './hooks/useCreateTicketMutation';
|
|
32
34
|
export type { DeleteIntegrationErrorResponse, DeleteIntegrationMutationPathParams, DeleteIntegrationOkResponse, DeleteIntegrationProps, } from './hooks/useDeleteIntegrationMutation';
|
|
@@ -189,6 +191,8 @@ export type { ListIntegrationsErrorResponse, ListIntegrationsOkResponse, ListInt
|
|
|
189
191
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
190
192
|
export type { ListRemediationsErrorResponse, ListRemediationsOkResponse, ListRemediationsProps, ListRemediationsQueryPathParams, ListRemediationsQueryQueryParams, ListRemediationsRequestBody, } from './hooks/useListRemediationsQuery';
|
|
191
193
|
export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
|
|
194
|
+
export type { ListScannerConfigurationsErrorResponse, ListScannerConfigurationsOkResponse, ListScannerConfigurationsProps, ListScannerConfigurationsQueryPathParams, ListScannerConfigurationsQueryQueryParams, } from './hooks/useListScannerConfigurationsQuery';
|
|
195
|
+
export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
|
|
192
196
|
export type { PostComplianceResultStatsEvaluationBreakdownArtifactTypeErrorResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationPathParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeMutationQueryParams, PostComplianceResultStatsEvaluationBreakdownArtifactTypeOkResponse, PostComplianceResultStatsEvaluationBreakdownArtifactTypeProps, PostComplianceResultStatsEvaluationBreakdownArtifactTypeRequestBody, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
193
197
|
export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
194
198
|
export type { PostComplianceResultStatsOverviewErrorResponse, PostComplianceResultStatsOverviewMutationPathParams, PostComplianceResultStatsOverviewMutationQueryParams, PostComplianceResultStatsOverviewOkResponse, PostComplianceResultStatsOverviewProps, PostComplianceResultStatsOverviewRequestBody, } from './hooks/usePostComplianceResultStatsOverviewMutation';
|
|
@@ -219,6 +223,8 @@ export type { UpdateExemptionErrorResponse, UpdateExemptionMutationPathParams, U
|
|
|
219
223
|
export { updateExemption, useUpdateExemptionMutation } from './hooks/useUpdateExemptionMutation';
|
|
220
224
|
export type { UpdateRemediationTrackerErrorResponse, UpdateRemediationTrackerMutationPathParams, UpdateRemediationTrackerOkResponse, UpdateRemediationTrackerProps, UpdateRemediationTrackerRequestBody, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
221
225
|
export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
226
|
+
export type { UpdateScannerConfigurationErrorResponse, UpdateScannerConfigurationMutationPathParams, UpdateScannerConfigurationOkResponse, UpdateScannerConfigurationProps, UpdateScannerConfigurationRequestBody, } from './hooks/useUpdateScannerConfigurationMutation';
|
|
227
|
+
export { updateScannerConfiguration, useUpdateScannerConfigurationMutation, } from './hooks/useUpdateScannerConfigurationMutation';
|
|
222
228
|
export type { UpsertEolAutoTicketConfigErrorResponse, UpsertEolAutoTicketConfigMutationPathParams, UpsertEolAutoTicketConfigOkResponse, UpsertEolAutoTicketConfigProps, UpsertEolAutoTicketConfigRequestBody, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
223
229
|
export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
224
230
|
export type { AiWorkflowExecutionRequestBodyRequestBody } from './requestBodies/AiWorkflowExecutionRequestBodyRequestBody';
|
|
@@ -731,6 +737,7 @@ export type { RemediationTrackerUpdateResponseBody } from './schemas/Remediation
|
|
|
731
737
|
export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
|
|
732
738
|
export type { RemediationWarning } from './schemas/RemediationWarning';
|
|
733
739
|
export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
|
|
740
|
+
export type { ReportSbomAttestationVerificationRequestBody } from './schemas/ReportSbomAttestationVerificationRequestBody';
|
|
734
741
|
export type { Repositories } from './schemas/Repositories';
|
|
735
742
|
export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
|
|
736
743
|
export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
|
|
@@ -12,6 +12,7 @@ export { createExemption, useCreateExemptionMutation } from './hooks/useCreateEx
|
|
|
12
12
|
export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
|
|
13
13
|
export { createRemediationPullRequest, useCreateRemediationPullRequestMutation, } from './hooks/useCreateRemediationPullRequestMutation';
|
|
14
14
|
export { createRemediationTracker, useCreateRemediationTrackerMutation, } from './hooks/useCreateRemediationTrackerMutation';
|
|
15
|
+
export { createScannerConfiguration, useCreateScannerConfigurationMutation, } from './hooks/useCreateScannerConfigurationMutation';
|
|
15
16
|
export { createTicket, useCreateTicketMutation } from './hooks/useCreateTicketMutation';
|
|
16
17
|
export { deleteIntegration, useDeleteIntegrationMutation, } from './hooks/useDeleteIntegrationMutation';
|
|
17
18
|
export { downloadAttestation, useDownloadAttestationQuery, } from './hooks/useDownloadAttestationQuery';
|
|
@@ -93,6 +94,7 @@ export { listAttestations, useListAttestationsMutation } from './hooks/useListAt
|
|
|
93
94
|
export { listExemptions, useListExemptionsQuery } from './hooks/useListExemptionsQuery';
|
|
94
95
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
95
96
|
export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
|
|
97
|
+
export { listScannerConfigurations, useListScannerConfigurationsQuery, } from './hooks/useListScannerConfigurationsQuery';
|
|
96
98
|
export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
97
99
|
export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
|
|
98
100
|
export { remediateAffectedTarget, useRemediateAffectedTargetQuery, } from './hooks/useRemediateAffectedTargetQuery';
|
|
@@ -108,4 +110,5 @@ export { sscaLicenseUsage, useSscaLicenseUsageQuery } from './hooks/useSscaLicen
|
|
|
108
110
|
export { toggleAgentStatus, useToggleAgentStatusMutation, } from './hooks/useToggleAgentStatusMutation';
|
|
109
111
|
export { updateExemption, useUpdateExemptionMutation } from './hooks/useUpdateExemptionMutation';
|
|
110
112
|
export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
113
|
+
export { updateScannerConfiguration, useUpdateScannerConfigurationMutation, } from './hooks/useUpdateScannerConfigurationMutation';
|
|
111
114
|
export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
@@ -2,9 +2,9 @@ export interface AffectedArtifactInfo {
|
|
|
2
2
|
artifact_id?: string;
|
|
3
3
|
artifact_name?: string;
|
|
4
4
|
/**
|
|
5
|
-
* Whether this target is a source code repository or
|
|
5
|
+
* Whether this target is a source code repository, container image, or non-container artifact
|
|
6
6
|
*/
|
|
7
|
-
artifact_type?: 'CONTAINER' | 'REPOSITORY';
|
|
7
|
+
artifact_type?: 'CONTAINER' | 'NON_CONTAINER' | 'REPOSITORY';
|
|
8
8
|
artifact_version?: string;
|
|
9
9
|
base_branch?: string;
|
|
10
10
|
/**
|
|
@@ -2,9 +2,9 @@ export interface InternalAffectedArtifact {
|
|
|
2
2
|
artifact_id?: string;
|
|
3
3
|
artifact_name?: string;
|
|
4
4
|
/**
|
|
5
|
-
* Whether this target is a source code repository or
|
|
5
|
+
* Whether this target is a source code repository, container image, or non-container artifact
|
|
6
6
|
*/
|
|
7
|
-
artifact_type?: 'CONTAINER' | 'REPOSITORY';
|
|
7
|
+
artifact_type?: 'CONTAINER' | 'NON_CONTAINER' | 'REPOSITORY';
|
|
8
8
|
artifact_version?: string;
|
|
9
9
|
base_branch?: string;
|
|
10
10
|
env_type?: string;
|
package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ArtifactModelPipeline } from '../schemas/ArtifactModelPipeline';
|
|
2
|
+
import type { ExecutionDetail } from '../schemas/ExecutionDetail';
|
|
3
|
+
import type { VerificationStatus } from '../schemas/VerificationStatus';
|
|
4
|
+
export interface ReportSbomAttestationVerificationRequestBody {
|
|
5
|
+
artifact: ArtifactModelPipeline;
|
|
6
|
+
execution_context: ExecutionDetail;
|
|
7
|
+
/**
|
|
8
|
+
* Keyless provider when verification_method is keyless.
|
|
9
|
+
*/
|
|
10
|
+
keyless_type?: 'harness' | 'non-harness';
|
|
11
|
+
/**
|
|
12
|
+
* How the SBOM attestation was verified.
|
|
13
|
+
*/
|
|
14
|
+
verification_method: 'keybased' | 'keyless' | 'secret-manager';
|
|
15
|
+
verification_status: VerificationStatus;
|
|
16
|
+
}
|
package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,5 +4,13 @@ import type { RekorLog } from '../schemas/RekorLog';
|
|
|
4
4
|
export interface SaveSignatureRequestBody {
|
|
5
5
|
artifact?: ArtifactModelPipeline;
|
|
6
6
|
execution_context?: ExecutionDetail;
|
|
7
|
+
/**
|
|
8
|
+
* Keyless OIDC provider type when signing_method is keyless.
|
|
9
|
+
*/
|
|
10
|
+
keyless_type?: 'harness' | 'non-harness';
|
|
7
11
|
rekor?: RekorLog;
|
|
12
|
+
/**
|
|
13
|
+
* Signing method used for artifact signing.
|
|
14
|
+
*/
|
|
15
|
+
signing_method?: 'keybased' | 'keyless' | 'secret-manager';
|
|
8
16
|
}
|