@harnessio/react-ssca-manager-client 0.86.2 → 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.
@@ -358,6 +358,7 @@ export type { OrchestrationSummaryResponseBodyResponse } from './responses/Orche
358
358
  export type { OssScoringCapConfigResponseBodyResponse } from './responses/OssScoringCapConfigResponseBodyResponse';
359
359
  export type { PluginResponseBodyResponse } from './responses/PluginResponseBodyResponse';
360
360
  export type { PolicyViolationResponseResponse } from './responses/PolicyViolationResponseResponse';
361
+ export type { PresignedDownloadResponseBodyResponse } from './responses/PresignedDownloadResponseBodyResponse';
361
362
  export type { ProvenanceResponseBodyResponse } from './responses/ProvenanceResponseBodyResponse';
362
363
  export type { RemediationArtifactDeploymentsListingResponseBodyResponse } from './responses/RemediationArtifactDeploymentsListingResponseBodyResponse';
363
364
  export type { RemediationArtifactDetailResponseBodyResponse } from './responses/RemediationArtifactDetailResponseBodyResponse';
@@ -699,6 +700,7 @@ export type { PluginDto } from './schemas/PluginDto';
699
700
  export type { PluginResponseBody } from './schemas/PluginResponseBody';
700
701
  export type { PolicyViolation } from './schemas/PolicyViolation';
701
702
  export type { PolicyViolationRequestBody } from './schemas/PolicyViolationRequestBody';
703
+ export type { PresignedDownloadResponse } from './schemas/PresignedDownloadResponse';
702
704
  export type { ProjectOssRisksSummary } from './schemas/ProjectOssRisksSummary';
703
705
  export type { ProjectSecurityOverview } from './schemas/ProjectSecurityOverview';
704
706
  export type { ProvenanceActivity } from './schemas/ProvenanceActivity';
@@ -729,6 +731,7 @@ export type { RemediationTrackerUpdateResponseBody } from './schemas/Remediation
729
731
  export type { RemediationTrackersOverallSummaryResponseBody } from './schemas/RemediationTrackersOverallSummaryResponseBody';
730
732
  export type { RemediationWarning } from './schemas/RemediationWarning';
731
733
  export type { RepoDetailsDto } from './schemas/RepoDetailsDto';
734
+ export type { ReportSbomAttestationVerificationRequestBody } from './schemas/ReportSbomAttestationVerificationRequestBody';
732
735
  export type { Repositories } from './schemas/Repositories';
733
736
  export type { RepositoriesSummary } from './schemas/RepositoriesSummary';
734
737
  export type { RepositoryArtifactMetadata } from './schemas/RepositoryArtifactMetadata';
@@ -0,0 +1,2 @@
1
+ import type { PresignedDownloadResponse } from '../schemas/PresignedDownloadResponse';
2
+ export type PresignedDownloadResponseBodyResponse = PresignedDownloadResponse;
@@ -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
  /**
@@ -3,7 +3,7 @@ import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
3
3
  import type { AiWorkflowExecutionStatusEnum } from '../schemas/AiWorkflowExecutionStatusEnum';
4
4
  import type { VulnerabilityFindingSummary } from '../schemas/VulnerabilityFindingSummary';
5
5
  /**
6
- * Execution summary with type-discriminated nested payload. Branch on ai_workflow_type: VULNERABILITY/ZERO_DAY -> vulnerability_finding; FP_TRIAGE/SAST_REMEDIATION -> agent_execution.
6
+ * Execution summary with type-discriminated nested payload. Branch on ai_workflow_type: VULNERABILITY/ZERO_DAY -> vulnerability_finding; FP_TRIAGE/REMEDIATION -> agent_execution.
7
7
  */
8
8
  export interface AiWorkflowExecutionSummary {
9
9
  agent_execution?: AgentExecutionSummary;
@@ -2,4 +2,4 @@
2
2
  * Type of AI workflow
3
3
  * @example "vulnerability"
4
4
  */
5
- export type AiWorkflowTypeEnum = 'fp_triage' | 'sast_remediation' | 'vulnerability' | 'zero_day';
5
+ export type AiWorkflowTypeEnum = 'fp_triage' | 'remediation' | 'vulnerability' | 'zero_day';
@@ -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,11 @@
1
+ export interface PresignedDownloadResponse {
2
+ /**
3
+ * Time-limited pre-signed URL for downloading the object from object storage.
4
+ */
5
+ download_url: string;
6
+ /**
7
+ * Expiration time of the download URL (epoch ms).
8
+ * @format int64
9
+ */
10
+ expires_at: number;
11
+ }
@@ -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 {};
@@ -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.2",
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",