@harnessio/react-ssca-manager-client 0.73.0 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ssca-manager/src/services/hooks/useCreateIntegrationMutation.d.ts +3 -2
- package/dist/ssca-manager/src/services/index.d.ts +21 -0
- package/dist/ssca-manager/src/services/requestBodies/DownloadSbomRequestBodyRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/requestBodies/DownloadSbomRequestBodyRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/requestBodies/ExecutionLimitRequestBodyRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/requestBodies/ExecutionLimitRequestBodyRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/responses/ExecutionLimitResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/ExecutionLimitResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/responses/PluginResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/PluginResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/ActivityDetails.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactSpec.d.ts +3 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactSpec.js +4 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactV2ListingResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactV2Overview.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/CreateIntegrationRequest.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/DownloadSbomRequest.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/DownloadSbomRequest.js +1 -0
- package/dist/ssca-manager/src/services/schemas/DownloadSignatureResponseBody.d.ts +6 -0
- package/dist/ssca-manager/src/services/schemas/DownloadSignatureResponseBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/EnforceSbomResponseBody.d.ts +3 -1
- package/dist/ssca-manager/src/services/schemas/EnforceSbomResponseBody.js +0 -3
- package/dist/ssca-manager/src/services/schemas/Error.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/Error.js +4 -0
- package/dist/ssca-manager/src/services/schemas/ExecutionLimitRequestBody.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/ExecutionLimitRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/ExecutionLimitResponseBody.d.ts +8 -0
- package/dist/ssca-manager/src/services/schemas/ExecutionLimitResponseBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/ImageSpec.d.ts +19 -0
- package/dist/ssca-manager/src/services/schemas/ImageSpec.js +1 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerification.d.ts +9 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerification.js +1 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerificationActivity.d.ts +9 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerificationActivity.js +1 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerificationModelPipeline.d.ts +10 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerificationModelPipeline.js +1 -0
- package/dist/ssca-manager/src/services/schemas/PluginResponseBody.d.ts +9 -0
- package/dist/ssca-manager/src/services/schemas/PluginResponseBody.js +4 -0
- package/dist/ssca-manager/src/services/schemas/RekorLog.d.ts +8 -0
- package/dist/ssca-manager/src/services/schemas/RekorLog.js +4 -0
- package/dist/ssca-manager/src/services/schemas/RepoDetailsDto.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/RepositorySpec.d.ts +12 -0
- package/dist/ssca-manager/src/services/schemas/RepositorySpec.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SaveIntegrityVerificationRequestBody.d.ts +11 -0
- package/dist/ssca-manager/src/services/schemas/SaveIntegrityVerificationRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SaveResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/SaveResponse.js +0 -3
- package/dist/ssca-manager/src/services/schemas/SaveSignatureRequestBody.d.ts +8 -0
- package/dist/ssca-manager/src/services/schemas/SaveSignatureRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SigningActivity.d.ts +9 -0
- package/dist/ssca-manager/src/services/schemas/SigningActivity.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SscaSummary.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/VerificationStatus.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/VerificationStatus.js +4 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { CreateIntegrationResponseBodyResponse } from '../responses/CreateIntegrationResponseBodyResponse';
|
|
3
|
+
import type { Error } from '../schemas/Error';
|
|
3
4
|
import type { CreateIntegrationRequestBodyRequestBody } from '../requestBodies/CreateIntegrationRequestBodyRequestBody';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -12,7 +13,7 @@ export interface CreateIntegrationMutationHeaderParams {
|
|
|
12
13
|
}
|
|
13
14
|
export type CreateIntegrationRequestBody = CreateIntegrationRequestBodyRequestBody;
|
|
14
15
|
export type CreateIntegrationOkResponse = ResponseWithPagination<CreateIntegrationResponseBodyResponse>;
|
|
15
|
-
export type CreateIntegrationErrorResponse =
|
|
16
|
+
export type CreateIntegrationErrorResponse = Error;
|
|
16
17
|
export interface CreateIntegrationProps extends CreateIntegrationMutationPathParams, Omit<FetcherOptions<unknown, CreateIntegrationRequestBody, CreateIntegrationMutationHeaderParams>, 'url'> {
|
|
17
18
|
body: CreateIntegrationRequestBody;
|
|
18
19
|
}
|
|
@@ -20,4 +21,4 @@ export declare function createIntegration(props: CreateIntegrationProps): Promis
|
|
|
20
21
|
/**
|
|
21
22
|
* Create Integration
|
|
22
23
|
*/
|
|
23
|
-
export declare function useCreateIntegrationMutation(options?: Omit<UseMutationOptions<CreateIntegrationOkResponse, CreateIntegrationErrorResponse, CreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationOkResponse,
|
|
24
|
+
export declare function useCreateIntegrationMutation(options?: Omit<UseMutationOptions<CreateIntegrationOkResponse, CreateIntegrationErrorResponse, CreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationOkResponse, Error, CreateIntegrationProps, unknown>;
|
|
@@ -150,9 +150,11 @@ export type { CreateComplianceResultRequestBodyRequestBody } from './requestBodi
|
|
|
150
150
|
export type { CreateComplianceStandardRequestBodyRequestBody } from './requestBodies/CreateComplianceStandardRequestBodyRequestBody';
|
|
151
151
|
export type { CreateIntegrationRequestBodyRequestBody } from './requestBodies/CreateIntegrationRequestBodyRequestBody';
|
|
152
152
|
export type { CreateTicketRequestBodyRequestBody } from './requestBodies/CreateTicketRequestBodyRequestBody';
|
|
153
|
+
export type { DownloadSbomRequestBodyRequestBody } from './requestBodies/DownloadSbomRequestBodyRequestBody';
|
|
153
154
|
export type { EnforceSbomRequestBodyRequestBody } from './requestBodies/EnforceSbomRequestBodyRequestBody';
|
|
154
155
|
export type { EnforceSbomRequestBodyV2RequestBody } from './requestBodies/EnforceSbomRequestBodyV2RequestBody';
|
|
155
156
|
export type { ExcludeArtifactRequestBodyRequestBody } from './requestBodies/ExcludeArtifactRequestBodyRequestBody';
|
|
157
|
+
export type { ExecutionLimitRequestBodyRequestBody } from './requestBodies/ExecutionLimitRequestBodyRequestBody';
|
|
156
158
|
export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './requestBodies/FetchComplianceResultByArtifactRequestBodyRequestBody';
|
|
157
159
|
export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
|
|
158
160
|
export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
|
|
@@ -206,6 +208,7 @@ export type { CreateIntegrationResponseBodyResponse } from './responses/CreateIn
|
|
|
206
208
|
export type { CreateTicketResponseBodyResponse } from './responses/CreateTicketResponseBodyResponse';
|
|
207
209
|
export type { EnforceSbomResponseBodyResponse } from './responses/EnforceSbomResponseBodyResponse';
|
|
208
210
|
export type { EnforcementSummaryResponseBodyResponse } from './responses/EnforcementSummaryResponseBodyResponse';
|
|
211
|
+
export type { ExecutionLimitResponseBodyResponse } from './responses/ExecutionLimitResponseBodyResponse';
|
|
209
212
|
export type { ExemptionListResponseDtoResponse } from './responses/ExemptionListResponseDtoResponse';
|
|
210
213
|
export type { FetchArtifactByComplianceIdResponseResponse } from './responses/FetchArtifactByComplianceIdResponseResponse';
|
|
211
214
|
export type { FetchArtifactsByComplianceIdResponseBodyResponse } from './responses/FetchArtifactsByComplianceIdResponseBodyResponse';
|
|
@@ -220,6 +223,7 @@ export type { ListIntegrationReposResponseBodyResponse } from './responses/ListI
|
|
|
220
223
|
export type { NormaliseSbomResponseBodyResponse } from './responses/NormaliseSbomResponseBodyResponse';
|
|
221
224
|
export type { OrchestrationStepDriftResponseBodyResponse } from './responses/OrchestrationStepDriftResponseBodyResponse';
|
|
222
225
|
export type { OrchestrationSummaryResponseBodyResponse } from './responses/OrchestrationSummaryResponseBodyResponse';
|
|
226
|
+
export type { PluginResponseBodyResponse } from './responses/PluginResponseBodyResponse';
|
|
223
227
|
export type { PolicyViolationResponseResponse } from './responses/PolicyViolationResponseResponse';
|
|
224
228
|
export type { ProvenanceResponseBodyResponse } from './responses/ProvenanceResponseBodyResponse';
|
|
225
229
|
export type { RemediationArtifactDeploymentsListingResponseBodyResponse } from './responses/RemediationArtifactDeploymentsListingResponseBodyResponse';
|
|
@@ -261,6 +265,7 @@ export type { ArtifactSbomDriftRequestBody } from './schemas/ArtifactSbomDriftRe
|
|
|
261
265
|
export type { ArtifactSbomDriftResponse } from './schemas/ArtifactSbomDriftResponse';
|
|
262
266
|
export type { ArtifactSbomResponseBody } from './schemas/ArtifactSbomResponseBody';
|
|
263
267
|
export type { ArtifactSourcesListingResponse } from './schemas/ArtifactSourcesListingResponse';
|
|
268
|
+
export type { ArtifactSpec } from './schemas/ArtifactSpec';
|
|
264
269
|
export type { ArtifactV2Details } from './schemas/ArtifactV2Details';
|
|
265
270
|
export type { ArtifactV2ListingResponse } from './schemas/ArtifactV2ListingResponse';
|
|
266
271
|
export type { ArtifactV2Overview } from './schemas/ArtifactV2Overview';
|
|
@@ -328,6 +333,8 @@ export type { DefaultVulnerability } from './schemas/DefaultVulnerability';
|
|
|
328
333
|
export type { DeploymentActivity } from './schemas/DeploymentActivity';
|
|
329
334
|
export type { Deployments } from './schemas/Deployments';
|
|
330
335
|
export type { DeploymentsCount } from './schemas/DeploymentsCount';
|
|
336
|
+
export type { DownloadSbomRequest } from './schemas/DownloadSbomRequest';
|
|
337
|
+
export type { DownloadSignatureResponseBody } from './schemas/DownloadSignatureResponseBody';
|
|
331
338
|
export type { DriftDetailsDto } from './schemas/DriftDetailsDto';
|
|
332
339
|
export type { EnforceSbomRequestBody } from './schemas/EnforceSbomRequestBody';
|
|
333
340
|
export type { EnforceSbomRequestBodyV2 } from './schemas/EnforceSbomRequestBodyV2';
|
|
@@ -340,10 +347,13 @@ export type { EnforcementSummaryResponse } from './schemas/EnforcementSummaryRes
|
|
|
340
347
|
export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
|
|
341
348
|
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
342
349
|
export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
|
|
350
|
+
export type { Error } from './schemas/Error';
|
|
343
351
|
export type { ExcludeArtifactRequest } from './schemas/ExcludeArtifactRequest';
|
|
344
352
|
export type { ExecutionContext } from './schemas/ExecutionContext';
|
|
345
353
|
export type { ExecutionContextV2 } from './schemas/ExecutionContextV2';
|
|
346
354
|
export type { ExecutionDetail } from './schemas/ExecutionDetail';
|
|
355
|
+
export type { ExecutionLimitRequestBody } from './schemas/ExecutionLimitRequestBody';
|
|
356
|
+
export type { ExecutionLimitResponseBody } from './schemas/ExecutionLimitResponseBody';
|
|
347
357
|
export type { ExecutionType } from './schemas/ExecutionType';
|
|
348
358
|
export type { ExemptionDurationDto } from './schemas/ExemptionDurationDto';
|
|
349
359
|
export type { ExemptionInitiatorDto } from './schemas/ExemptionInitiatorDto';
|
|
@@ -362,9 +372,13 @@ export type { HarnessPipelineIntegrationResponse } from './schemas/HarnessPipeli
|
|
|
362
372
|
export type { HarnessPipelineSettings } from './schemas/HarnessPipelineSettings';
|
|
363
373
|
export type { HarnessRunner } from './schemas/HarnessRunner';
|
|
364
374
|
export type { HarnessRunnerDetail } from './schemas/HarnessRunnerDetail';
|
|
375
|
+
export type { ImageSpec } from './schemas/ImageSpec';
|
|
365
376
|
export type { Integration } from './schemas/Integration';
|
|
366
377
|
export type { IntegrationConfig } from './schemas/IntegrationConfig';
|
|
367
378
|
export type { IntegrationType } from './schemas/IntegrationType';
|
|
379
|
+
export type { IntegrityVerification } from './schemas/IntegrityVerification';
|
|
380
|
+
export type { IntegrityVerificationActivity } from './schemas/IntegrityVerificationActivity';
|
|
381
|
+
export type { IntegrityVerificationModelPipeline } from './schemas/IntegrityVerificationModelPipeline';
|
|
368
382
|
export type { LayerType } from './schemas/LayerType';
|
|
369
383
|
export type { LicenseDrift } from './schemas/LicenseDrift';
|
|
370
384
|
export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
|
|
@@ -385,12 +399,14 @@ export type { PipelineConfigUpdateRequest } from './schemas/PipelineConfigUpdate
|
|
|
385
399
|
export type { PipelineDetails } from './schemas/PipelineDetails';
|
|
386
400
|
export type { PipelineInfo } from './schemas/PipelineInfo';
|
|
387
401
|
export type { PluginDto } from './schemas/PluginDto';
|
|
402
|
+
export type { PluginResponseBody } from './schemas/PluginResponseBody';
|
|
388
403
|
export type { PolicyViolation } from './schemas/PolicyViolation';
|
|
389
404
|
export type { PolicyViolationRequestBody } from './schemas/PolicyViolationRequestBody';
|
|
390
405
|
export type { ProvenanceActivity } from './schemas/ProvenanceActivity';
|
|
391
406
|
export type { ProvenanceRequestBody } from './schemas/ProvenanceRequestBody';
|
|
392
407
|
export type { ProvenanceRequestBodyV2 } from './schemas/ProvenanceRequestBodyV2';
|
|
393
408
|
export type { ProvenanceResponseBody } from './schemas/ProvenanceResponseBody';
|
|
409
|
+
export type { RekorLog } from './schemas/RekorLog';
|
|
394
410
|
export type { RemediationArtifactDeploymentsListingRequestBody } from './schemas/RemediationArtifactDeploymentsListingRequestBody';
|
|
395
411
|
export type { RemediationArtifactDeploymentsListingResponse } from './schemas/RemediationArtifactDeploymentsListingResponse';
|
|
396
412
|
export type { RemediationArtifactDetailsResponse } from './schemas/RemediationArtifactDetailsResponse';
|
|
@@ -411,12 +427,15 @@ export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
|
|
|
411
427
|
export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
|
|
412
428
|
export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
|
|
413
429
|
export type { RepositoryPlatform } from './schemas/RepositoryPlatform';
|
|
430
|
+
export type { RepositorySpec } from './schemas/RepositorySpec';
|
|
414
431
|
export type { RiskAndCompliance } from './schemas/RiskAndCompliance';
|
|
415
432
|
export type { RunnerDetail } from './schemas/RunnerDetail';
|
|
433
|
+
export type { SaveIntegrityVerificationRequestBody } from './schemas/SaveIntegrityVerificationRequestBody';
|
|
416
434
|
export type { SaveOrchestrationRequest } from './schemas/SaveOrchestrationRequest';
|
|
417
435
|
export type { SaveOrchestrationRequestV2 } from './schemas/SaveOrchestrationRequestV2';
|
|
418
436
|
export type { SaveOrchestrationResponseBody } from './schemas/SaveOrchestrationResponseBody';
|
|
419
437
|
export type { SaveResponse } from './schemas/SaveResponse';
|
|
438
|
+
export type { SaveSignatureRequestBody } from './schemas/SaveSignatureRequestBody';
|
|
420
439
|
export type { SbomComponentRequestDto } from './schemas/SbomComponentRequestDto';
|
|
421
440
|
export type { SbomDetails } from './schemas/SbomDetails';
|
|
422
441
|
export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard';
|
|
@@ -431,6 +450,7 @@ export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseB
|
|
|
431
450
|
export type { Scorecard } from './schemas/Scorecard';
|
|
432
451
|
export type { ScorecardInfo } from './schemas/ScorecardInfo';
|
|
433
452
|
export type { SeverityComplianceMetrics } from './schemas/SeverityComplianceMetrics';
|
|
453
|
+
export type { SigningActivity } from './schemas/SigningActivity';
|
|
434
454
|
export type { Slsa } from './schemas/Slsa';
|
|
435
455
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
436
456
|
export type { SlsaModelPipeline } from './schemas/SlsaModelPipeline';
|
|
@@ -442,6 +462,7 @@ export type { TicketInfo } from './schemas/TicketInfo';
|
|
|
442
462
|
export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
|
|
443
463
|
export type { TokenIssueTokenResponseBody } from './schemas/TokenIssueTokenResponseBody';
|
|
444
464
|
export type { VerificationActivity } from './schemas/VerificationActivity';
|
|
465
|
+
export type { VerificationStatus } from './schemas/VerificationStatus';
|
|
445
466
|
export type { VersionInfo } from './schemas/VersionInfo';
|
|
446
467
|
export type { Violations } from './schemas/Violations';
|
|
447
468
|
export type { VulnerabilityActivity } from './schemas/VulnerabilityActivity';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export interface ActivityDetails {
|
|
2
|
-
type: 'deployment' | 'enforcement' | 'orchestration' | 'provenance' | 'verification' | 'vulnerability';
|
|
2
|
+
type: 'deployment' | 'enforcement' | 'integrity_verification' | 'orchestration' | 'provenance' | 'signing' | 'verification' | 'vulnerability';
|
|
3
3
|
}
|
|
@@ -2,6 +2,7 @@ import type { ArtifactModelPipeline } from '../schemas/ArtifactModelPipeline';
|
|
|
2
2
|
import type { EnforcementModelPipeline } from '../schemas/EnforcementModelPipeline';
|
|
3
3
|
import type { OrchestrationModelPipeline } from '../schemas/OrchestrationModelPipeline';
|
|
4
4
|
import type { SlsaModelPipeline } from '../schemas/SlsaModelPipeline';
|
|
5
|
+
import type { IntegrityVerificationModelPipeline } from '../schemas/IntegrityVerificationModelPipeline';
|
|
5
6
|
export interface ArtifactListingPipelineResponse {
|
|
6
7
|
artifact?: ArtifactModelPipeline;
|
|
7
8
|
enforcement?: EnforcementModelPipeline;
|
|
@@ -11,4 +12,5 @@ export interface ArtifactListingPipelineResponse {
|
|
|
11
12
|
pipeline_id?: string;
|
|
12
13
|
project_id?: string;
|
|
13
14
|
slsa?: SlsaModelPipeline;
|
|
15
|
+
verification?: IntegrityVerificationModelPipeline;
|
|
14
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IntegrityVerification } from '../schemas/IntegrityVerification';
|
|
1
2
|
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
2
3
|
export interface ArtifactV2ListingResponse {
|
|
3
4
|
/**
|
|
@@ -67,6 +68,7 @@ export interface ArtifactV2ListingResponse {
|
|
|
67
68
|
*/
|
|
68
69
|
max_score?: string;
|
|
69
70
|
};
|
|
71
|
+
signing?: IntegrityVerification;
|
|
70
72
|
sto_issue_count?: StoIssueCount;
|
|
71
73
|
tags?: string[];
|
|
72
74
|
/**
|
|
@@ -2,6 +2,7 @@ import type { Deployments } from '../schemas/Deployments';
|
|
|
2
2
|
import type { PipelineDetails } from '../schemas/PipelineDetails';
|
|
3
3
|
import type { SbomInfo } from '../schemas/SbomInfo';
|
|
4
4
|
import type { Scorecard } from '../schemas/Scorecard';
|
|
5
|
+
import type { IntegrityVerification } from '../schemas/IntegrityVerification';
|
|
5
6
|
import type { SlsaDetails } from '../schemas/SlsaDetails';
|
|
6
7
|
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
7
8
|
import type { Violations } from '../schemas/Violations';
|
|
@@ -25,6 +26,7 @@ export interface ArtifactV2Overview {
|
|
|
25
26
|
pipeline_details?: PipelineDetails;
|
|
26
27
|
sbom_details?: SbomInfo;
|
|
27
28
|
scorecard?: Scorecard;
|
|
29
|
+
signing?: IntegrityVerification;
|
|
28
30
|
slsa_details?: SlsaDetails;
|
|
29
31
|
source_id?: string;
|
|
30
32
|
sto_issue_count?: StoIssueCount;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { PluginResponseBody } from '../schemas/PluginResponseBody';
|
|
1
2
|
export interface EnforceSbomResponseBody {
|
|
2
3
|
/**
|
|
3
4
|
* ID of the enforcement of the SBOM
|
|
4
5
|
*/
|
|
5
|
-
enforcement_id
|
|
6
|
+
enforcement_id?: string;
|
|
7
|
+
response?: PluginResponseBody;
|
|
6
8
|
/**
|
|
7
9
|
* Status of the enforcement
|
|
8
10
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ArtifactSpec } from '../schemas/ArtifactSpec';
|
|
2
|
+
export interface ImageSpec extends ArtifactSpec {
|
|
3
|
+
/**
|
|
4
|
+
* Digest of the artifact.
|
|
5
|
+
*/
|
|
6
|
+
digest?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The FQN (fully-qualified name) Image name. This includes image Url and shouldn't include tag.
|
|
9
|
+
* For example: us.gcr.io/playground/quickstart-image.
|
|
10
|
+
* Incase digest and tag both are absent, the latest orchestrated image will be considered.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
image_name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Image Tag
|
|
16
|
+
*/
|
|
17
|
+
image_tag?: string;
|
|
18
|
+
type: 'IMAGE';
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RekorLog } from '../schemas/RekorLog';
|
|
2
|
+
import type { VerificationStatus } from '../schemas/VerificationStatus';
|
|
3
|
+
export interface IntegrityVerification {
|
|
4
|
+
error_message?: string;
|
|
5
|
+
pipeline_execution_id?: string;
|
|
6
|
+
pipeline_id?: string;
|
|
7
|
+
rekor?: RekorLog;
|
|
8
|
+
status?: VerificationStatus;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IntegrityVerification } from '../schemas/IntegrityVerification';
|
|
2
|
+
import type { ActivityDetails } from '../schemas/ActivityDetails';
|
|
3
|
+
export interface IntegrityVerificationActivity extends ActivityDetails {
|
|
4
|
+
signing?: IntegrityVerification;
|
|
5
|
+
/**
|
|
6
|
+
* This specifies the type of activity
|
|
7
|
+
*/
|
|
8
|
+
type: 'integrity_verification';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IntegrityVerification } from '../schemas/IntegrityVerification';
|
|
2
|
+
export interface IntegrityVerificationModelPipeline {
|
|
3
|
+
integrity_verification?: IntegrityVerification;
|
|
4
|
+
stage_execution_identifier?: string;
|
|
5
|
+
stage_identifier?: string;
|
|
6
|
+
stage_name?: string;
|
|
7
|
+
step_execution_identifier?: string;
|
|
8
|
+
step_identifier?: string;
|
|
9
|
+
step_name?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ArtifactSpec } from '../schemas/ArtifactSpec';
|
|
2
|
+
export interface RepositorySpec extends ArtifactSpec {
|
|
3
|
+
/**
|
|
4
|
+
* Branch Name
|
|
5
|
+
*/
|
|
6
|
+
branch?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Fully Qualified Repo Url without the branch
|
|
9
|
+
*/
|
|
10
|
+
repo_url: string;
|
|
11
|
+
type: 'REPOSITORY';
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ArtifactModelPipeline } from '../schemas/ArtifactModelPipeline';
|
|
2
|
+
import type { ExecutionDetail } from '../schemas/ExecutionDetail';
|
|
3
|
+
import type { RekorLog } from '../schemas/RekorLog';
|
|
4
|
+
import type { VerificationStatus } from '../schemas/VerificationStatus';
|
|
5
|
+
export interface SaveIntegrityVerificationRequestBody {
|
|
6
|
+
artifact?: ArtifactModelPipeline;
|
|
7
|
+
error_message?: string;
|
|
8
|
+
execution_context?: ExecutionDetail;
|
|
9
|
+
rekor?: RekorLog;
|
|
10
|
+
verification_status?: VerificationStatus;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ArtifactModelPipeline } from '../schemas/ArtifactModelPipeline';
|
|
2
|
+
import type { ExecutionDetail } from '../schemas/ExecutionDetail';
|
|
3
|
+
import type { RekorLog } from '../schemas/RekorLog';
|
|
4
|
+
export interface SaveSignatureRequestBody {
|
|
5
|
+
artifact?: ArtifactModelPipeline;
|
|
6
|
+
execution_context?: ExecutionDetail;
|
|
7
|
+
rekor?: RekorLog;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IntegrityVerification } from '../schemas/IntegrityVerification';
|
|
2
|
+
import type { ActivityDetails } from '../schemas/ActivityDetails';
|
|
3
|
+
export interface SigningActivity extends ActivityDetails {
|
|
4
|
+
signing?: IntegrityVerification;
|
|
5
|
+
/**
|
|
6
|
+
* This specifies the type of activity
|
|
7
|
+
*/
|
|
8
|
+
type: 'signing';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type VerificationStatus = 'FAILED' | 'PASSED';
|