@harnessio/react-ssca-manager-client 0.86.3 → 0.86.4

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.
@@ -731,6 +731,7 @@ export type { RemediationTrackerUpdateResponseBody } from './schemas/Remediation
731
731
  export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
732
732
  export type { RemediationWarning } from './schemas/RemediationWarning';
733
733
  export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
734
+ export type { ReportSbomAttestationVerificationRequestBody } from './schemas/ReportSbomAttestationVerificationRequestBody';
734
735
  export type { Repositories } from './schemas/Repositories';
735
736
  export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
736
737
  export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
@@ -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 a container image
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 a container image
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;
@@ -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
+ }
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.86.3",
3
+ "version": "0.86.4",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",