@harnessio/react-ssca-manager-client 0.29.0 → 0.31.0

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.
Files changed (27) hide show
  1. package/dist/ssca-manager/src/services/hooks/useGetArtifactDetailDeploymentViewQuery.d.ts +1 -1
  2. package/dist/ssca-manager/src/services/hooks/useGetPipelineArtifactListQuery.d.ts +22 -0
  3. package/dist/ssca-manager/src/services/hooks/useGetPipelineArtifactListQuery.js +14 -0
  4. package/dist/ssca-manager/src/services/hooks/useGetSscaSummaryQuery.d.ts +22 -0
  5. package/dist/ssca-manager/src/services/hooks/useGetSscaSummaryQuery.js +14 -0
  6. package/dist/ssca-manager/src/services/hooks/useListRemediationsQuery.d.ts +5 -5
  7. package/dist/ssca-manager/src/services/index.d.ts +11 -0
  8. package/dist/ssca-manager/src/services/index.js +2 -0
  9. package/dist/ssca-manager/src/services/responses/ArtifactListingResponsePipelineBodyResponse.d.ts +2 -0
  10. package/dist/ssca-manager/src/services/responses/ArtifactListingResponsePipelineBodyResponse.js +1 -0
  11. package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponse.d.ts +14 -0
  12. package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponse.js +1 -0
  13. package/dist/ssca-manager/src/services/schemas/ArtifactModelPipeline.d.ts +8 -0
  14. package/dist/ssca-manager/src/services/schemas/ArtifactModelPipeline.js +1 -0
  15. package/dist/ssca-manager/src/services/schemas/EnforcementModelPipeline.d.ts +13 -0
  16. package/dist/ssca-manager/src/services/schemas/EnforcementModelPipeline.js +4 -0
  17. package/dist/ssca-manager/src/services/schemas/EnvironmentInfo.d.ts +0 -3
  18. package/dist/ssca-manager/src/services/schemas/OrchestrationModelPipeline.d.ts +17 -0
  19. package/dist/ssca-manager/src/services/schemas/OrchestrationModelPipeline.js +4 -0
  20. package/dist/ssca-manager/src/services/schemas/RemediationArtifactListingResponse.d.ts +1 -1
  21. package/dist/ssca-manager/src/services/schemas/RemediationDetailsResponse.d.ts +9 -9
  22. package/dist/ssca-manager/src/services/schemas/RemediationTrackersOverallSummaryResponseBody.d.ts +0 -3
  23. package/dist/ssca-manager/src/services/schemas/SlsaModelPipeline.d.ts +15 -0
  24. package/dist/ssca-manager/src/services/schemas/SlsaModelPipeline.js +4 -0
  25. package/dist/ssca-manager/src/services/schemas/SscaSummary.d.ts +21 -0
  26. package/dist/ssca-manager/src/services/schemas/SscaSummary.js +4 -0
  27. package/package.json +1 -1
@@ -32,7 +32,7 @@ export interface GetArtifactDetailDeploymentViewQueryHeaderParams {
32
32
  }
33
33
  export type GetArtifactDetailDeploymentViewRequestBody = ArtifactDeploymentViewRequestBody;
34
34
  export type GetArtifactDetailDeploymentViewOkResponse = ResponseWithPagination<ArtifactDeploymentViewResponseBodyResponse>;
35
- export type GetArtifactDetailDeploymentViewErrorResponse = unknown;
35
+ export type GetArtifactDetailDeploymentViewErrorResponse = unknown | ArtifactDeploymentViewResponseBodyResponse;
36
36
  export interface GetArtifactDetailDeploymentViewProps extends GetArtifactDetailDeploymentViewQueryPathParams, Omit<FetcherOptions<GetArtifactDetailDeploymentViewQueryQueryParams, GetArtifactDetailDeploymentViewRequestBody, GetArtifactDetailDeploymentViewQueryHeaderParams>, 'url'> {
37
37
  queryParams: GetArtifactDetailDeploymentViewQueryQueryParams;
38
38
  body: GetArtifactDetailDeploymentViewRequestBody;
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ArtifactListingResponsePipelineBodyResponse } from '../responses/ArtifactListingResponsePipelineBodyResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetPipelineArtifactListQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ pipeline: string;
9
+ execution: string;
10
+ }
11
+ export interface GetPipelineArtifactListQueryHeaderParams {
12
+ 'Harness-Account': string;
13
+ }
14
+ export type GetPipelineArtifactListOkResponse = ResponseWithPagination<ArtifactListingResponsePipelineBodyResponse>;
15
+ export type GetPipelineArtifactListErrorResponse = unknown;
16
+ export interface GetPipelineArtifactListProps extends GetPipelineArtifactListQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetPipelineArtifactListQueryHeaderParams>, 'url'> {
17
+ }
18
+ export declare function getPipelineArtifactList(props: GetPipelineArtifactListProps): Promise<GetPipelineArtifactListOkResponse>;
19
+ /**
20
+ * Get Artifact List for Pipeline View
21
+ */
22
+ export declare function useGetPipelineArtifactListQuery(props: GetPipelineArtifactListProps, options?: Omit<UseQueryOptions<GetPipelineArtifactListOkResponse, GetPipelineArtifactListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPipelineArtifactListOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getPipelineArtifactList(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/pipelines/${props.pipeline}/executions/${props.execution}/artifacts`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Artifact List for Pipeline View
11
+ */
12
+ export function useGetPipelineArtifactListQuery(props, options) {
13
+ return useQuery(['getPipelineArtifactList', props.org, props.project, props.pipeline, props.execution], ({ signal }) => getPipelineArtifactList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SscaSummary } from '../schemas/SscaSummary';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetSscaSummaryQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ pipeline: string;
9
+ execution: string;
10
+ }
11
+ export interface GetSscaSummaryQueryHeaderParams {
12
+ 'Harness-Account': string;
13
+ }
14
+ export type GetSscaSummaryOkResponse = ResponseWithPagination<SscaSummary>;
15
+ export type GetSscaSummaryErrorResponse = unknown;
16
+ export interface GetSscaSummaryProps extends GetSscaSummaryQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetSscaSummaryQueryHeaderParams>, 'url'> {
17
+ }
18
+ export declare function getSscaSummary(props: GetSscaSummaryProps): Promise<GetSscaSummaryOkResponse>;
19
+ /**
20
+ * Get Summary for SSCA Tab
21
+ */
22
+ export declare function useGetSscaSummaryQuery(props: GetSscaSummaryProps, options?: Omit<UseQueryOptions<GetSscaSummaryOkResponse, GetSscaSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSscaSummaryOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getSscaSummary(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/pipelines/${props.pipeline}/executions/${props.execution}/ssca-summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Summary for SSCA Tab
11
+ */
12
+ export function useGetSscaSummaryQuery(props, options) {
13
+ return useQuery(['getSSCASummary', props.org, props.project, props.pipeline, props.execution], ({ signal }) => getSscaSummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -12,18 +12,18 @@ export interface ListRemediationsQueryQueryParams {
12
12
  * @default 30
13
13
  */
14
14
  limit?: number;
15
- /**
16
- * @default "ASC"
17
- */
18
- order?: 'ASC' | 'DESC';
19
15
  /**
20
16
  * @default 0
21
17
  */
22
18
  page?: number;
23
19
  /**
24
- * @default "component"
20
+ * @default "startTimeMilli"
25
21
  */
26
22
  sort?: {};
23
+ /**
24
+ * @default "DESC"
25
+ */
26
+ order?: {};
27
27
  }
28
28
  export interface ListRemediationsQueryHeaderParams {
29
29
  'Harness-Account': string;
@@ -39,12 +39,16 @@ export type { GetLicenseDriftErrorResponse, GetLicenseDriftOkResponse, GetLicens
39
39
  export { getLicenseDrift, useGetLicenseDriftQuery } from './hooks/useGetLicenseDriftQuery';
40
40
  export type { GetOverallSummaryErrorResponse, GetOverallSummaryOkResponse, GetOverallSummaryProps, GetOverallSummaryQueryPathParams, } from './hooks/useGetOverallSummaryQuery';
41
41
  export { getOverallSummary, useGetOverallSummaryQuery } from './hooks/useGetOverallSummaryQuery';
42
+ export type { GetPipelineArtifactListErrorResponse, GetPipelineArtifactListOkResponse, GetPipelineArtifactListProps, GetPipelineArtifactListQueryPathParams, } from './hooks/useGetPipelineArtifactListQuery';
43
+ export { getPipelineArtifactList, useGetPipelineArtifactListQuery, } from './hooks/useGetPipelineArtifactListQuery';
42
44
  export type { GetPolicyViolationsErrorResponse, GetPolicyViolationsOkResponse, GetPolicyViolationsProps, GetPolicyViolationsQueryPathParams, GetPolicyViolationsQueryQueryParams, } from './hooks/useGetPolicyViolationsQuery';
43
45
  export { getPolicyViolations, useGetPolicyViolationsQuery, } from './hooks/useGetPolicyViolationsQuery';
44
46
  export type { GetRemediationDetailsErrorResponse, GetRemediationDetailsOkResponse, GetRemediationDetailsProps, GetRemediationDetailsQueryPathParams, } from './hooks/useGetRemediationDetailsQuery';
45
47
  export { getRemediationDetails, useGetRemediationDetailsQuery, } from './hooks/useGetRemediationDetailsQuery';
46
48
  export type { GetSbomScorecardErrorResponse, GetSbomScorecardOkResponse, GetSbomScorecardProps, GetSbomScorecardQueryPathParams, } from './hooks/useGetSbomScorecardQuery';
47
49
  export { getSbomScorecard, useGetSbomScorecardQuery } from './hooks/useGetSbomScorecardQuery';
50
+ export type { GetSscaSummaryErrorResponse, GetSscaSummaryOkResponse, GetSscaSummaryProps, GetSscaSummaryQueryPathParams, } from './hooks/useGetSscaSummaryQuery';
51
+ export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
48
52
  export type { ListArtifactsErrorResponse, ListArtifactsOkResponse, ListArtifactsProps, ListArtifactsQueryPathParams, ListArtifactsQueryQueryParams, ListArtifactsRequestBody, } from './hooks/useListArtifactsQuery';
49
53
  export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
50
54
  export type { ListLatestArtifactsErrorResponse, ListLatestArtifactsOkResponse, ListLatestArtifactsProps, ListLatestArtifactsQueryPathParams, ListLatestArtifactsQueryQueryParams, } from './hooks/useListLatestArtifactsQuery';
@@ -69,6 +73,7 @@ export type { ArtifactDeploymentViewResponseBodyResponse } from './responses/Art
69
73
  export type { ArtifactDetailResponseBodyResponse } from './responses/ArtifactDetailResponseBodyResponse';
70
74
  export type { ArtifactListingResponseBodyResponse } from './responses/ArtifactListingResponseBodyResponse';
71
75
  export type { ArtifactListingResponseBodyV2Response } from './responses/ArtifactListingResponseBodyV2Response';
76
+ export type { ArtifactListingResponsePipelineBodyResponse } from './responses/ArtifactListingResponsePipelineBodyResponse';
72
77
  export type { ArtifactSbomDriftResponseBodyResponse } from './responses/ArtifactSbomDriftResponseBodyResponse';
73
78
  export type { ArtifactSbomResponseBodyResponse } from './responses/ArtifactSbomResponseBodyResponse';
74
79
  export type { BaselineResponseBodyResponse } from './responses/BaselineResponseBodyResponse';
@@ -94,9 +99,11 @@ export type { ArtifactComponentViewResponse } from './schemas/ArtifactComponentV
94
99
  export type { ArtifactDeploymentViewRequestBody } from './schemas/ArtifactDeploymentViewRequestBody';
95
100
  export type { ArtifactDeploymentViewResponse } from './schemas/ArtifactDeploymentViewResponse';
96
101
  export type { ArtifactDetailResponse } from './schemas/ArtifactDetailResponse';
102
+ export type { ArtifactListingPipelineResponse } from './schemas/ArtifactListingPipelineResponse';
97
103
  export type { ArtifactListingRequestBody } from './schemas/ArtifactListingRequestBody';
98
104
  export type { ArtifactListingResponse } from './schemas/ArtifactListingResponse';
99
105
  export type { ArtifactListingResponseV2 } from './schemas/ArtifactListingResponseV2';
106
+ export type { ArtifactModelPipeline } from './schemas/ArtifactModelPipeline';
100
107
  export type { ArtifactSbomDriftRequestBody } from './schemas/ArtifactSbomDriftRequestBody';
101
108
  export type { ArtifactSbomDriftResponse } from './schemas/ArtifactSbomDriftResponse';
102
109
  export type { ArtifactSbomResponseBody } from './schemas/ArtifactSbomResponseBody';
@@ -113,6 +120,7 @@ export type { ContactInfo } from './schemas/ContactInfo';
113
120
  export type { CreateTicketRequest } from './schemas/CreateTicketRequest';
114
121
  export type { CreateTicketResponse } from './schemas/CreateTicketResponse';
115
122
  export type { DeploymentsCount } from './schemas/DeploymentsCount';
123
+ export type { EnforcementModelPipeline } from './schemas/EnforcementModelPipeline';
116
124
  export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
117
125
  export type { EnvironmentType } from './schemas/EnvironmentType';
118
126
  export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
@@ -122,6 +130,7 @@ export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
122
130
  export type { LicenseFilter } from './schemas/LicenseFilter';
123
131
  export type { NameOperator } from './schemas/NameOperator';
124
132
  export type { Operator } from './schemas/Operator';
133
+ export type { OrchestrationModelPipeline } from './schemas/OrchestrationModelPipeline';
125
134
  export type { PipelineInfo } from './schemas/PipelineInfo';
126
135
  export type { PolicyViolation } from './schemas/PolicyViolation';
127
136
  export type { RemediationArtifactDeploymentsListingRequestBody } from './schemas/RemediationArtifactDeploymentsListingRequestBody';
@@ -145,6 +154,8 @@ export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard'
145
154
  export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseBody';
146
155
  export type { ScorecardInfo } from './schemas/ScorecardInfo';
147
156
  export type { Slsa } from './schemas/Slsa';
157
+ export type { SlsaModelPipeline } from './schemas/SlsaModelPipeline';
158
+ export type { SscaSummary } from './schemas/SscaSummary';
148
159
  export type { StoIssueCount } from './schemas/StoIssueCount';
149
160
  export type { TicketInfo } from './schemas/TicketInfo';
150
161
  export type { VulnerabilityInfo } from './schemas/VulnerabilityInfo';
@@ -18,9 +18,11 @@ export { getDeploymentsListForArtifactInRemediation, useGetDeploymentsListForArt
18
18
  export { getEnvironmentListForRemediation, useGetEnvironmentListForRemediationQuery, } from './hooks/useGetEnvironmentListForRemediationQuery';
19
19
  export { getLicenseDrift, useGetLicenseDriftQuery } from './hooks/useGetLicenseDriftQuery';
20
20
  export { getOverallSummary, useGetOverallSummaryQuery } from './hooks/useGetOverallSummaryQuery';
21
+ export { getPipelineArtifactList, useGetPipelineArtifactListQuery, } from './hooks/useGetPipelineArtifactListQuery';
21
22
  export { getPolicyViolations, useGetPolicyViolationsQuery, } from './hooks/useGetPolicyViolationsQuery';
22
23
  export { getRemediationDetails, useGetRemediationDetailsQuery, } from './hooks/useGetRemediationDetailsQuery';
23
24
  export { getSbomScorecard, useGetSbomScorecardQuery } from './hooks/useGetSbomScorecardQuery';
25
+ export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
24
26
  export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
25
27
  export { listLatestArtifacts, useListLatestArtifactsQuery, } from './hooks/useListLatestArtifactsQuery';
26
28
  export { listRemediations, useListRemediationsQuery } from './hooks/useListRemediationsQuery';
@@ -0,0 +1,2 @@
1
+ import type { ArtifactListingPipelineResponse } from '../schemas/ArtifactListingPipelineResponse';
2
+ export type ArtifactListingResponsePipelineBodyResponse = ArtifactListingPipelineResponse[];
@@ -0,0 +1,14 @@
1
+ import type { ArtifactModelPipeline } from '../schemas/ArtifactModelPipeline';
2
+ import type { EnforcementModelPipeline } from '../schemas/EnforcementModelPipeline';
3
+ import type { OrchestrationModelPipeline } from '../schemas/OrchestrationModelPipeline';
4
+ import type { SlsaModelPipeline } from '../schemas/SlsaModelPipeline';
5
+ export interface ArtifactListingPipelineResponse {
6
+ artifact?: ArtifactModelPipeline;
7
+ enforcement?: EnforcementModelPipeline;
8
+ orchestration?: OrchestrationModelPipeline;
9
+ org_id?: string;
10
+ pipeline_execution_id?: string;
11
+ pipeline_id?: string;
12
+ project_id?: string;
13
+ slsa?: SlsaModelPipeline;
14
+ }
@@ -0,0 +1,8 @@
1
+ import type { ArtifactVariant } from '../schemas/ArtifactVariant';
2
+ export interface ArtifactModelPipeline {
3
+ id?: string;
4
+ name?: string;
5
+ registery_url?: string;
6
+ type?: 'image' | 'repository';
7
+ variant?: ArtifactVariant;
8
+ }
@@ -0,0 +1,13 @@
1
+ export interface EnforcementModelPipeline {
2
+ enforcement_id?: string;
3
+ stage_execution_identifier?: string;
4
+ stage_identifier?: string;
5
+ stage_name?: string;
6
+ step_execution_identifier?: string;
7
+ step_identifier?: string;
8
+ step_name?: string;
9
+ violations?: {
10
+ allow_list_violation_count?: number;
11
+ deny_list_violation_count?: number;
12
+ };
13
+ }
@@ -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 {};
@@ -8,8 +8,5 @@ export interface EnvironmentInfo {
8
8
  * Name of the Environment.
9
9
  */
10
10
  name: string;
11
- /**
12
- * Type of the Environment.
13
- */
14
11
  type: EnvironmentType;
15
12
  }
@@ -0,0 +1,17 @@
1
+ export interface OrchestrationModelPipeline {
2
+ drift?: {
3
+ components?: number;
4
+ licenses?: number;
5
+ };
6
+ orchestration_id?: string;
7
+ scorecard?: {
8
+ avg_score?: string;
9
+ max_score?: string;
10
+ };
11
+ stage_execution_identifier?: string;
12
+ stage_identifier?: string;
13
+ stage_name?: string;
14
+ step_execution_identifier?: string;
15
+ step_identifier?: string;
16
+ step_name?: string;
17
+ }
@@ -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 {};
@@ -9,7 +9,7 @@ export interface RemediationArtifactListingResponse {
9
9
  /**
10
10
  * Whether the artifact is excluded.
11
11
  */
12
- is_excluded?: boolean;
12
+ is_excluded: boolean;
13
13
  /**
14
14
  * Whether the artifact is new.
15
15
  */
@@ -15,11 +15,6 @@ export interface RemediationDetailsResponse {
15
15
  * @format int64
16
16
  */
17
17
  artifacts_excluded: number;
18
- /**
19
- * Total Number of New Artifacts.
20
- * @format int64
21
- */
22
- artifacts_new_count: number;
23
18
  /**
24
19
  * If Remediation Tracker was closed manually , name of the user who closed it.
25
20
  */
@@ -56,14 +51,19 @@ export interface RemediationDetailsResponse {
56
51
  */
57
52
  environments: number;
58
53
  /**
59
- * Total Number of New Environments.
54
+ * Remediation Id.
55
+ */
56
+ id: string;
57
+ /**
58
+ * Total Number of New Artifacts.
60
59
  * @format int64
61
60
  */
62
- environments_new_count: number;
61
+ new_artifacts_count: number;
63
62
  /**
64
- * Remediation Id.
63
+ * Total Number of New Environments.
64
+ * @format int64
65
65
  */
66
- id: string;
66
+ new_environments_count: number;
67
67
  remediation_condition: RemediationCondition;
68
68
  severity: VulnerabilitySeverity;
69
69
  /**
@@ -1,9 +1,6 @@
1
1
  import type { DeploymentsCount } from '../schemas/DeploymentsCount';
2
2
  import type { RemediationCount } from '../schemas/RemediationCount';
3
3
  export interface RemediationTrackersOverallSummaryResponseBody {
4
- /**
5
- * Total Deployments Count.
6
- */
7
4
  deployments_count?: DeploymentsCount;
8
5
  /**
9
6
  * Mean time to complete the Remediation in Hours.
@@ -0,0 +1,15 @@
1
+ /**
2
+ *
3
+ */
4
+ export interface SlsaModelPipeline {
5
+ stage_execution_identifier?: string;
6
+ stage_identifier?: string;
7
+ stage_name?: string;
8
+ step_execution_identifier?: string;
9
+ step_identifier?: string;
10
+ step_name?: string;
11
+ verification_details?: {
12
+ policy_enforcement_status?: string;
13
+ verification_status?: 'failed' | 'passed';
14
+ };
15
+ }
@@ -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,21 @@
1
+ /**
2
+ * Summary Information for SSCA Tab
3
+ */
4
+ export interface SscaSummary {
5
+ artifacts?: {
6
+ containers?: number;
7
+ repositories?: number;
8
+ };
9
+ drifts?: {
10
+ components?: number;
11
+ licenses?: number;
12
+ };
13
+ policy_violations?: {
14
+ allow_list?: number;
15
+ deny_list?: number;
16
+ };
17
+ slsa_verifications?: {
18
+ failures?: number;
19
+ successes?: number;
20
+ };
21
+ }
@@ -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.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",