@harnessio/react-ssca-manager-client 0.72.0 → 0.74.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 +16 -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/Artifact.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponse.d.ts +2 -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/CodeRepositoryListingResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/CodeRepositoryOverview.d.ts +2 -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/HarnessExecutionDetail.d.ts +1 -1
- 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/RepositoryPlatform.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/RepositoryPlatform.js +4 -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 +8 -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>;
|
|
@@ -153,6 +153,7 @@ export type { CreateTicketRequestBodyRequestBody } from './requestBodies/CreateT
|
|
|
153
153
|
export type { EnforceSbomRequestBodyRequestBody } from './requestBodies/EnforceSbomRequestBodyRequestBody';
|
|
154
154
|
export type { EnforceSbomRequestBodyV2RequestBody } from './requestBodies/EnforceSbomRequestBodyV2RequestBody';
|
|
155
155
|
export type { ExcludeArtifactRequestBodyRequestBody } from './requestBodies/ExcludeArtifactRequestBodyRequestBody';
|
|
156
|
+
export type { ExecutionLimitRequestBodyRequestBody } from './requestBodies/ExecutionLimitRequestBodyRequestBody';
|
|
156
157
|
export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './requestBodies/FetchComplianceResultByArtifactRequestBodyRequestBody';
|
|
157
158
|
export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
|
|
158
159
|
export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
|
|
@@ -206,6 +207,7 @@ export type { CreateIntegrationResponseBodyResponse } from './responses/CreateIn
|
|
|
206
207
|
export type { CreateTicketResponseBodyResponse } from './responses/CreateTicketResponseBodyResponse';
|
|
207
208
|
export type { EnforceSbomResponseBodyResponse } from './responses/EnforceSbomResponseBodyResponse';
|
|
208
209
|
export type { EnforcementSummaryResponseBodyResponse } from './responses/EnforcementSummaryResponseBodyResponse';
|
|
210
|
+
export type { ExecutionLimitResponseBodyResponse } from './responses/ExecutionLimitResponseBodyResponse';
|
|
209
211
|
export type { ExemptionListResponseDtoResponse } from './responses/ExemptionListResponseDtoResponse';
|
|
210
212
|
export type { FetchArtifactByComplianceIdResponseResponse } from './responses/FetchArtifactByComplianceIdResponseResponse';
|
|
211
213
|
export type { FetchArtifactsByComplianceIdResponseBodyResponse } from './responses/FetchArtifactsByComplianceIdResponseBodyResponse';
|
|
@@ -220,6 +222,7 @@ export type { ListIntegrationReposResponseBodyResponse } from './responses/ListI
|
|
|
220
222
|
export type { NormaliseSbomResponseBodyResponse } from './responses/NormaliseSbomResponseBodyResponse';
|
|
221
223
|
export type { OrchestrationStepDriftResponseBodyResponse } from './responses/OrchestrationStepDriftResponseBodyResponse';
|
|
222
224
|
export type { OrchestrationSummaryResponseBodyResponse } from './responses/OrchestrationSummaryResponseBodyResponse';
|
|
225
|
+
export type { PluginResponseBodyResponse } from './responses/PluginResponseBodyResponse';
|
|
223
226
|
export type { PolicyViolationResponseResponse } from './responses/PolicyViolationResponseResponse';
|
|
224
227
|
export type { ProvenanceResponseBodyResponse } from './responses/ProvenanceResponseBodyResponse';
|
|
225
228
|
export type { RemediationArtifactDeploymentsListingResponseBodyResponse } from './responses/RemediationArtifactDeploymentsListingResponseBodyResponse';
|
|
@@ -340,10 +343,13 @@ export type { EnforcementSummaryResponse } from './schemas/EnforcementSummaryRes
|
|
|
340
343
|
export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
|
|
341
344
|
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
342
345
|
export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
|
|
346
|
+
export type { Error } from './schemas/Error';
|
|
343
347
|
export type { ExcludeArtifactRequest } from './schemas/ExcludeArtifactRequest';
|
|
344
348
|
export type { ExecutionContext } from './schemas/ExecutionContext';
|
|
345
349
|
export type { ExecutionContextV2 } from './schemas/ExecutionContextV2';
|
|
346
350
|
export type { ExecutionDetail } from './schemas/ExecutionDetail';
|
|
351
|
+
export type { ExecutionLimitRequestBody } from './schemas/ExecutionLimitRequestBody';
|
|
352
|
+
export type { ExecutionLimitResponseBody } from './schemas/ExecutionLimitResponseBody';
|
|
347
353
|
export type { ExecutionType } from './schemas/ExecutionType';
|
|
348
354
|
export type { ExemptionDurationDto } from './schemas/ExemptionDurationDto';
|
|
349
355
|
export type { ExemptionInitiatorDto } from './schemas/ExemptionInitiatorDto';
|
|
@@ -365,6 +371,9 @@ export type { HarnessRunnerDetail } from './schemas/HarnessRunnerDetail';
|
|
|
365
371
|
export type { Integration } from './schemas/Integration';
|
|
366
372
|
export type { IntegrationConfig } from './schemas/IntegrationConfig';
|
|
367
373
|
export type { IntegrationType } from './schemas/IntegrationType';
|
|
374
|
+
export type { IntegrityVerification } from './schemas/IntegrityVerification';
|
|
375
|
+
export type { IntegrityVerificationActivity } from './schemas/IntegrityVerificationActivity';
|
|
376
|
+
export type { IntegrityVerificationModelPipeline } from './schemas/IntegrityVerificationModelPipeline';
|
|
368
377
|
export type { LayerType } from './schemas/LayerType';
|
|
369
378
|
export type { LicenseDrift } from './schemas/LicenseDrift';
|
|
370
379
|
export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
|
|
@@ -385,12 +394,14 @@ export type { PipelineConfigUpdateRequest } from './schemas/PipelineConfigUpdate
|
|
|
385
394
|
export type { PipelineDetails } from './schemas/PipelineDetails';
|
|
386
395
|
export type { PipelineInfo } from './schemas/PipelineInfo';
|
|
387
396
|
export type { PluginDto } from './schemas/PluginDto';
|
|
397
|
+
export type { PluginResponseBody } from './schemas/PluginResponseBody';
|
|
388
398
|
export type { PolicyViolation } from './schemas/PolicyViolation';
|
|
389
399
|
export type { PolicyViolationRequestBody } from './schemas/PolicyViolationRequestBody';
|
|
390
400
|
export type { ProvenanceActivity } from './schemas/ProvenanceActivity';
|
|
391
401
|
export type { ProvenanceRequestBody } from './schemas/ProvenanceRequestBody';
|
|
392
402
|
export type { ProvenanceRequestBodyV2 } from './schemas/ProvenanceRequestBodyV2';
|
|
393
403
|
export type { ProvenanceResponseBody } from './schemas/ProvenanceResponseBody';
|
|
404
|
+
export type { RekorLog } from './schemas/RekorLog';
|
|
394
405
|
export type { RemediationArtifactDeploymentsListingRequestBody } from './schemas/RemediationArtifactDeploymentsListingRequestBody';
|
|
395
406
|
export type { RemediationArtifactDeploymentsListingResponse } from './schemas/RemediationArtifactDeploymentsListingResponse';
|
|
396
407
|
export type { RemediationArtifactDetailsResponse } from './schemas/RemediationArtifactDetailsResponse';
|
|
@@ -410,12 +421,15 @@ export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/Re
|
|
|
410
421
|
export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
|
|
411
422
|
export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
|
|
412
423
|
export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
|
|
424
|
+
export type { RepositoryPlatform } from './schemas/RepositoryPlatform';
|
|
413
425
|
export type { RiskAndCompliance } from './schemas/RiskAndCompliance';
|
|
414
426
|
export type { RunnerDetail } from './schemas/RunnerDetail';
|
|
427
|
+
export type { SaveIntegrityVerificationRequestBody } from './schemas/SaveIntegrityVerificationRequestBody';
|
|
415
428
|
export type { SaveOrchestrationRequest } from './schemas/SaveOrchestrationRequest';
|
|
416
429
|
export type { SaveOrchestrationRequestV2 } from './schemas/SaveOrchestrationRequestV2';
|
|
417
430
|
export type { SaveOrchestrationResponseBody } from './schemas/SaveOrchestrationResponseBody';
|
|
418
431
|
export type { SaveResponse } from './schemas/SaveResponse';
|
|
432
|
+
export type { SaveSignatureRequestBody } from './schemas/SaveSignatureRequestBody';
|
|
419
433
|
export type { SbomComponentRequestDto } from './schemas/SbomComponentRequestDto';
|
|
420
434
|
export type { SbomDetails } from './schemas/SbomDetails';
|
|
421
435
|
export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard';
|
|
@@ -430,6 +444,7 @@ export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseB
|
|
|
430
444
|
export type { Scorecard } from './schemas/Scorecard';
|
|
431
445
|
export type { ScorecardInfo } from './schemas/ScorecardInfo';
|
|
432
446
|
export type { SeverityComplianceMetrics } from './schemas/SeverityComplianceMetrics';
|
|
447
|
+
export type { SigningActivity } from './schemas/SigningActivity';
|
|
433
448
|
export type { Slsa } from './schemas/Slsa';
|
|
434
449
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
435
450
|
export type { SlsaModelPipeline } from './schemas/SlsaModelPipeline';
|
|
@@ -441,6 +456,7 @@ export type { TicketInfo } from './schemas/TicketInfo';
|
|
|
441
456
|
export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
|
|
442
457
|
export type { TokenIssueTokenResponseBody } from './schemas/TokenIssueTokenResponseBody';
|
|
443
458
|
export type { VerificationActivity } from './schemas/VerificationActivity';
|
|
459
|
+
export type { VerificationStatus } from './schemas/VerificationStatus';
|
|
444
460
|
export type { VersionInfo } from './schemas/VersionInfo';
|
|
445
461
|
export type { Violations } from './schemas/Violations';
|
|
446
462
|
export type { VulnerabilityActivity } from './schemas/VulnerabilityActivity';
|
|
@@ -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
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RepositoryPlatform } from '../schemas/RepositoryPlatform';
|
|
1
2
|
import type { ArtifactVariant } from '../schemas/ArtifactVariant';
|
|
2
3
|
export interface Artifact {
|
|
3
4
|
/**
|
|
@@ -23,6 +24,7 @@ export interface Artifact {
|
|
|
23
24
|
* @example "https://console.cloud.google.com/gcr/images/imageName"
|
|
24
25
|
*/
|
|
25
26
|
registry_url: string;
|
|
27
|
+
repository_platform?: RepositoryPlatform;
|
|
26
28
|
/**
|
|
27
29
|
* tag of the artifact
|
|
28
30
|
* @default "latest"
|
|
@@ -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;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PipelineDetails } from '../schemas/PipelineDetails';
|
|
2
|
+
import type { RepositoryPlatform } from '../schemas/RepositoryPlatform';
|
|
2
3
|
import type { RiskAndCompliance } from '../schemas/RiskAndCompliance';
|
|
3
4
|
import type { Scorecard } from '../schemas/Scorecard';
|
|
4
5
|
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
@@ -18,6 +19,7 @@ export interface CodeRepositoryListingResponse {
|
|
|
18
19
|
*/
|
|
19
20
|
name?: string;
|
|
20
21
|
orchestration_id?: string;
|
|
22
|
+
repository_platform?: RepositoryPlatform;
|
|
21
23
|
risk_and_compliance?: RiskAndCompliance;
|
|
22
24
|
scorecard?: Scorecard;
|
|
23
25
|
sto_issue_count?: StoIssueCount;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ComplianceEvaluationSummary } from '../schemas/ComplianceEvaluationSummary';
|
|
2
2
|
import type { DriftDetailsDto } from '../schemas/DriftDetailsDto';
|
|
3
|
+
import type { RepositoryPlatform } from '../schemas/RepositoryPlatform';
|
|
3
4
|
import type { SbomInfo } from '../schemas/SbomInfo';
|
|
4
5
|
import type { Scorecard } from '../schemas/Scorecard';
|
|
5
6
|
import type { ArtifactVariant } from '../schemas/ArtifactVariant';
|
|
@@ -14,6 +15,7 @@ export interface CodeRepositoryOverview {
|
|
|
14
15
|
last_evaluation?: number;
|
|
15
16
|
name: string;
|
|
16
17
|
repo_identifier: string;
|
|
18
|
+
repository_platform?: RepositoryPlatform;
|
|
17
19
|
sbom_details?: SbomInfo;
|
|
18
20
|
scorecard?: Scorecard;
|
|
19
21
|
url: string;
|
|
@@ -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,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 @@
|
|
|
1
|
+
export type RepositoryPlatform = 'AZURE' | 'BITBUCKET' | 'GIT' | 'GITHUB' | 'GITLAB' | 'HARNESS';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type VerificationStatus = 'FAILED' | 'PASSED';
|