@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.
@@ -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 same artifact listing payload with pagination metadata in response headers. Does not change the behavior of the existing v1 /artifacts endpoint.
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 same artifact listing payload with pagination metadata in response headers. Does not change the behavior of the existing v1 /artifacts endpoint.
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 { ArtifactListingPipelineResponse } from '../schemas/ArtifactListingPipelineResponse';
2
- export type ArtifactListingResponsePipelinePaginatedBodyResponse = ArtifactListingPipelineResponse[];
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,5 @@
1
+ /**
2
+ * SCM source type for connector-/installation-based fetch-repos
3
+ */
4
+ export interface FetchReposType {
5
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.86.7",
3
+ "version": "0.86.9",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",