@harnessio/react-ssca-manager-client 0.86.7 → 0.86.9
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/useGetPipelineArtifactListV2Query.d.ts +1 -1
- package/dist/ssca-manager/src/services/hooks/useGetPipelineArtifactListV2Query.js +1 -1
- package/dist/ssca-manager/src/services/index.d.ts +2 -0
- package/dist/ssca-manager/src/services/responses/ArtifactListingResponsePipelinePaginatedBodyResponse.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponseV2.d.ts +9 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponseV2.js +1 -0
- package/dist/ssca-manager/src/services/schemas/FetchReposType.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/FetchReposType.js +4 -0
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ export interface GetPipelineArtifactListV2Props extends GetPipelineArtifactListV
|
|
|
31
31
|
}
|
|
32
32
|
export declare function getPipelineArtifactListV2(props: GetPipelineArtifactListV2Props): Promise<GetPipelineArtifactListV2OkResponse>;
|
|
33
33
|
/**
|
|
34
|
-
* V2 paginated variant of getPipelineArtifactList. Returns the
|
|
34
|
+
* V2 paginated variant of getPipelineArtifactList. Returns the v1 artifact listing payload plus execution-scoped sto_issue_count, with pagination metadata in response headers. Does not change the behavior of the existing v1 /artifacts endpoint.
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
export declare function useGetPipelineArtifactListV2Query(props: GetPipelineArtifactListV2Props, options?: Omit<UseQueryOptions<GetPipelineArtifactListV2OkResponse, GetPipelineArtifactListV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPipelineArtifactListV2OkResponse, unknown>;
|
|
@@ -7,7 +7,7 @@ export function getPipelineArtifactListV2(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/pipelines/${props.pipeline}/executions/${props.execution}/artifacts`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* V2 paginated variant of getPipelineArtifactList. Returns the
|
|
10
|
+
* V2 paginated variant of getPipelineArtifactList. Returns the v1 artifact listing payload plus execution-scoped sto_issue_count, with pagination metadata in response headers. Does not change the behavior of the existing v1 /artifacts endpoint.
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
export function useGetPipelineArtifactListV2Query(props, options) {
|
|
@@ -448,6 +448,7 @@ export type { ArtifactDeploymentViewResponse } from './schemas/ArtifactDeploymen
|
|
|
448
448
|
export type { ArtifactDetailResponse } from './schemas/ArtifactDetailResponse';
|
|
449
449
|
export type { ArtifactListingPipelineRequestBody } from './schemas/ArtifactListingPipelineRequestBody';
|
|
450
450
|
export type { ArtifactListingPipelineResponse } from './schemas/ArtifactListingPipelineResponse';
|
|
451
|
+
export type { ArtifactListingPipelineResponseV2 } from './schemas/ArtifactListingPipelineResponseV2';
|
|
451
452
|
export type { ArtifactListingRequestBody } from './schemas/ArtifactListingRequestBody';
|
|
452
453
|
export type { ArtifactListingResponse } from './schemas/ArtifactListingResponse';
|
|
453
454
|
export type { ArtifactListingResponseV2 } from './schemas/ArtifactListingResponseV2';
|
|
@@ -641,6 +642,7 @@ export type { ExemptionStatusCounts } from './schemas/ExemptionStatusCounts';
|
|
|
641
642
|
export type { ExemptionStatusDto } from './schemas/ExemptionStatusDto';
|
|
642
643
|
export type { ExemptionVersionFilter } from './schemas/ExemptionVersionFilter';
|
|
643
644
|
export type { FetchComplianceResultByArtifactResponseBody } from './schemas/FetchComplianceResultByArtifactResponseBody';
|
|
645
|
+
export type { FetchReposType } from './schemas/FetchReposType';
|
|
644
646
|
export type { GetIntegrationSummaryResponse } from './schemas/GetIntegrationSummaryResponse';
|
|
645
647
|
export type { GithubExecutionContext } from './schemas/GithubExecutionContext';
|
|
646
648
|
export type { GithubExecutionDetail } from './schemas/GithubExecutionDetail';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type ArtifactListingResponsePipelinePaginatedBodyResponse =
|
|
1
|
+
import type { ArtifactListingPipelineResponseV2 } from '../schemas/ArtifactListingPipelineResponseV2';
|
|
2
|
+
export type ArtifactListingResponsePipelinePaginatedBodyResponse = ArtifactListingPipelineResponseV2[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
2
|
+
import type { ArtifactListingPipelineResponse } from '../schemas/ArtifactListingPipelineResponse';
|
|
3
|
+
export interface ArtifactListingPipelineResponseV2 extends ArtifactListingPipelineResponse {
|
|
4
|
+
/**
|
|
5
|
+
* Vulnerability counts for this artifact in this pipeline execution. STO source uses the VULNERABILITY_SCAN activity for this execution. INTERNAL source is computed from this execution's SBOM orchestration.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
sto_issue_count?: StoIssueCount;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|