@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.
- package/dist/ssca-manager/src/services/index.d.ts +3 -0
- package/dist/ssca-manager/src/services/responses/PresignedDownloadResponseBodyResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/PresignedDownloadResponseBodyResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AffectedArtifactInfo.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionSummary.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/AiWorkflowTypeEnum.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/InternalAffectedArtifact.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/PresignedDownloadResponse.d.ts +11 -0
- package/dist/ssca-manager/src/services/schemas/PresignedDownloadResponse.js +4 -0
- package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.d.ts +16 -0
- package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SaveSignatureRequestBody.d.ts +8 -0
- package/package.json +1 -1
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
|
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/
|
|
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,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
|
|
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
|
+
}
|
package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.d.ts
ADDED
|
@@ -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
|
+
}
|
package/dist/ssca-manager/src/services/schemas/ReportSbomAttestationVerificationRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
}
|