@harnessio/react-ssca-manager-client 0.74.0 → 0.76.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.
@@ -16,6 +16,7 @@ export interface FetchReposInIntegrationQueryQueryParams {
16
16
  * @default 0
17
17
  */
18
18
  page?: number;
19
+ search_term?: string;
19
20
  }
20
21
  export interface FetchReposInIntegrationQueryHeaderParams {
21
22
  'Harness-Account': string;
@@ -150,6 +150,7 @@ 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';
@@ -264,6 +265,7 @@ export type { ArtifactSbomDriftRequestBody } from './schemas/ArtifactSbomDriftRe
264
265
  export type { ArtifactSbomDriftResponse } from './schemas/ArtifactSbomDriftResponse';
265
266
  export type { ArtifactSbomResponseBody } from './schemas/ArtifactSbomResponseBody';
266
267
  export type { ArtifactSourcesListingResponse } from './schemas/ArtifactSourcesListingResponse';
268
+ export type { ArtifactSpec } from './schemas/ArtifactSpec';
267
269
  export type { ArtifactV2Details } from './schemas/ArtifactV2Details';
268
270
  export type { ArtifactV2ListingResponse } from './schemas/ArtifactV2ListingResponse';
269
271
  export type { ArtifactV2Overview } from './schemas/ArtifactV2Overview';
@@ -331,6 +333,8 @@ export type { DefaultVulnerability } from './schemas/DefaultVulnerability';
331
333
  export type { DeploymentActivity } from './schemas/DeploymentActivity';
332
334
  export type { Deployments } from './schemas/Deployments';
333
335
  export type { DeploymentsCount } from './schemas/DeploymentsCount';
336
+ export type { DownloadSbomRequest } from './schemas/DownloadSbomRequest';
337
+ export type { DownloadSignatureResponseBody } from './schemas/DownloadSignatureResponseBody';
334
338
  export type { DriftDetailsDto } from './schemas/DriftDetailsDto';
335
339
  export type { EnforceSbomRequestBody } from './schemas/EnforceSbomRequestBody';
336
340
  export type { EnforceSbomRequestBodyV2 } from './schemas/EnforceSbomRequestBodyV2';
@@ -368,6 +372,7 @@ export type { HarnessPipelineIntegrationResponse } from './schemas/HarnessPipeli
368
372
  export type { HarnessPipelineSettings } from './schemas/HarnessPipelineSettings';
369
373
  export type { HarnessRunner } from './schemas/HarnessRunner';
370
374
  export type { HarnessRunnerDetail } from './schemas/HarnessRunnerDetail';
375
+ export type { ImageSpec } from './schemas/ImageSpec';
371
376
  export type { Integration } from './schemas/Integration';
372
377
  export type { IntegrationConfig } from './schemas/IntegrationConfig';
373
378
  export type { IntegrationType } from './schemas/IntegrationType';
@@ -422,6 +427,7 @@ export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
422
427
  export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
423
428
  export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
424
429
  export type { RepositoryPlatform } from './schemas/RepositoryPlatform';
430
+ export type { RepositorySpec } from './schemas/RepositorySpec';
425
431
  export type { RiskAndCompliance } from './schemas/RiskAndCompliance';
426
432
  export type { RunnerDetail } from './schemas/RunnerDetail';
427
433
  export type { SaveIntegrityVerificationRequestBody } from './schemas/SaveIntegrityVerificationRequestBody';
@@ -0,0 +1,2 @@
1
+ import type { DownloadSbomRequest } from '../schemas/DownloadSbomRequest';
2
+ export type DownloadSbomRequestBodyRequestBody = DownloadSbomRequest;
@@ -0,0 +1,3 @@
1
+ export interface ArtifactSpec {
2
+ type: 'IMAGE' | 'REPOSITORY';
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,5 +1,6 @@
1
1
  import type { IntegrationType } from '../schemas/IntegrationType';
2
2
  export interface CreateIntegrationRequest {
3
+ connector_id?: string;
3
4
  installation_id?: string;
4
5
  type?: IntegrationType;
5
6
  }
@@ -0,0 +1,4 @@
1
+ import type { ArtifactSpec } from '../schemas/ArtifactSpec';
2
+ export interface DownloadSbomRequest<T0 extends ArtifactSpec = ArtifactSpec> {
3
+ spec: T0;
4
+ }
@@ -0,0 +1,6 @@
1
+ import type { RekorLog } from '../schemas/RekorLog';
2
+ export interface DownloadSignatureResponseBody {
3
+ payload?: string;
4
+ rekor?: RekorLog;
5
+ signature?: string;
6
+ }
@@ -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,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
+ }
@@ -6,7 +6,7 @@ import type { SbomMetadataV2 } from '../schemas/SbomMetadataV2';
6
6
  export interface SaveOrchestrationRequest {
7
7
  artifact: Artifact;
8
8
  attestation: Attestation;
9
- components: SbomComponentRequestDto[];
9
+ components?: SbomComponentRequestDto[];
10
10
  execution_context?: ExecutionContext;
11
11
  sbom_metadata: SbomMetadataV2;
12
12
  }
@@ -6,7 +6,7 @@ import type { SbomMetadataV2 } from '../schemas/SbomMetadataV2';
6
6
  export interface SaveOrchestrationRequestV2 {
7
7
  artifact: Artifact;
8
8
  attestation: Attestation;
9
- components: SbomComponentRequestDto[];
9
+ components?: SbomComponentRequestDto[];
10
10
  execution_context?: ExecutionDetail;
11
11
  sbom_metadata: SbomMetadataV2;
12
12
  }
@@ -1,6 +1,7 @@
1
+ import type { IntegrityVerification } from '../schemas/IntegrityVerification';
1
2
  import type { ActivityDetails } from '../schemas/ActivityDetails';
2
3
  export interface SigningActivity extends ActivityDetails {
3
- signed_by?: string;
4
+ signing?: IntegrityVerification;
4
5
  /**
5
6
  * This specifies the type of activity
6
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.74.0",
3
+ "version": "0.76.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",