@harnessio/react-ssca-manager-client 0.83.3 → 0.83.5

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.
@@ -165,6 +165,7 @@ export type { RemediationTrackerUpdateRequestBodyRequestBody } from './requestBo
165
165
  export type { SaveOrchestrationRequestBodyRequestBody } from './requestBodies/SaveOrchestrationRequestBodyRequestBody';
166
166
  export type { SaveOrchestrationRequestBodyV2RequestBody } from './requestBodies/SaveOrchestrationRequestBodyV2RequestBody';
167
167
  export type { SbomProcessRequestBodyRequestBody } from './requestBodies/SbomProcessRequestBodyRequestBody';
168
+ export type { SbomScoreRequestBodyRequestBody } from './requestBodies/SbomScoreRequestBodyRequestBody';
168
169
  export type { SbomScorecardRequestBodyRequestBody } from './requestBodies/SbomScorecardRequestBodyRequestBody';
169
170
  export type { SlsaVerificationRequestBodyRequestBody } from './requestBodies/SlsaVerificationRequestBodyRequestBody';
170
171
  export type { SlsaVerificationRequestBodyV2RequestBody } from './requestBodies/SlsaVerificationRequestBodyV2RequestBody';
@@ -445,6 +446,7 @@ export type { SbomMetadataV2 } from './schemas/SbomMetadataV2';
445
446
  export type { SbomProcess } from './schemas/SbomProcess';
446
447
  export type { SbomProcessRequestBody } from './schemas/SbomProcessRequestBody';
447
448
  export type { SbomProcessResponseBody } from './schemas/SbomProcessResponseBody';
449
+ export type { SbomScoreRequest } from './schemas/SbomScoreRequest';
448
450
  export type { SbomScorecardRequestBody } from './schemas/SbomScorecardRequestBody';
449
451
  export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseBody';
450
452
  export type { Scorecard } from './schemas/Scorecard';
@@ -0,0 +1,2 @@
1
+ import type { SbomScoreRequest } from '../schemas/SbomScoreRequest';
2
+ export type SbomScoreRequestBodyRequestBody = SbomScoreRequest;
@@ -36,7 +36,9 @@ export interface Artifact {
36
36
  * @default "image"
37
37
  * @example "image"
38
38
  */
39
- type: 'image' | 'repository';
39
+ type: 'image' | 'non_container' | 'repository';
40
40
  url?: string;
41
41
  variant?: ArtifactVariant;
42
+ version?: string;
43
+ workspace?: string;
42
44
  }
@@ -6,7 +6,7 @@ export interface ArtifactComponentViewRequestBody {
6
6
  component_filter?: ComponentFilter[];
7
7
  image_layer?: LayerType;
8
8
  license_filter?: LicenseFilter;
9
- owasp_filter?: OwaspFilter;
9
+ owasp_filter?: OwaspFilter[];
10
10
  package_manager?: string;
11
11
  package_supplier?: string;
12
12
  }
@@ -1,11 +1,22 @@
1
1
  import type { LayerType } from '../schemas/LayerType';
2
2
  import type { StoIssueCount } from '../schemas/StoIssueCount';
3
- import type { TicketInfo } from '../schemas/TicketInfo';
4
3
  export interface ArtifactComponentViewResponse {
5
4
  /**
6
5
  * details of the component
7
6
  */
8
7
  description?: string;
8
+ /**
9
+ * Key findings regarding components health
10
+ */
11
+ eol_findings?: string[];
12
+ /**
13
+ * score out of 100 denoting the component health status
14
+ */
15
+ eol_score?: number;
16
+ /**
17
+ * Status denoting whether a component is end of life or close to end of life.
18
+ */
19
+ eol_status?: 'CLOSE_TO_EOL' | 'EOL';
9
20
  exemption_status?: 'FULLY_EXEMPTED' | 'NOT_EXEMPTED' | 'PARTIALLY_EXEMPTED';
10
21
  filter_tags?: LayerType[];
11
22
  /**
@@ -27,5 +38,4 @@ export interface ArtifactComponentViewResponse {
27
38
  package_supplier?: string;
28
39
  package_version?: string;
29
40
  purl?: string;
30
- ticket?: TicketInfo;
31
41
  }
@@ -5,8 +5,10 @@ import type { VerificationStatus } from '../schemas/VerificationStatus';
5
5
  export interface ArtifactListingRequestBody {
6
6
  artifact_type?: ArtifactType[];
7
7
  component_filter?: ComponentFilter[];
8
+ component_filter_list?: ComponentFilter[];
8
9
  environment_type?: 'All' | 'NonProd' | 'None' | 'Prod';
9
10
  license_filter?: LicenseFilter;
11
+ license_filter_list?: LicenseFilter[];
10
12
  policy_violation?: 'ALLOW' | 'ANY' | 'DENY' | 'NONE';
11
13
  search_term?: string;
12
14
  verification_status?: VerificationStatus;
@@ -81,4 +81,5 @@ export interface ArtifactV2ListingResponse {
81
81
  * Artifact Origin URL
82
82
  */
83
83
  url?: string;
84
+ version?: string;
84
85
  }
@@ -41,5 +41,6 @@ export interface ArtifactV2Overview {
41
41
  * Artifact URL
42
42
  */
43
43
  url: string;
44
+ version?: string;
44
45
  violations?: Violations;
45
46
  }
@@ -2,6 +2,8 @@ import type { ComponentFilter } from '../schemas/ComponentFilter';
2
2
  import type { LicenseFilter } from '../schemas/LicenseFilter';
3
3
  export interface CodeRepositoryListingRequest {
4
4
  dependency_filter?: ComponentFilter[];
5
+ dependency_filter_list?: ComponentFilter[];
5
6
  license_filter?: LicenseFilter;
7
+ license_filter_list?: LicenseFilter[];
6
8
  search_term?: string;
7
9
  }
@@ -8,5 +8,4 @@ export interface IntegrityVerification {
8
8
  project_id?: string;
9
9
  rekor?: RekorLog;
10
10
  status?: VerificationStatus;
11
- version?: string;
12
11
  }
@@ -1 +1 @@
1
- export type OwaspFilter = 'OUTDATED_COMPONENT' | 'UNMAINTAINED_COMPONENT' | 'VULNERABLE_COMPONENT';
1
+ export type OwaspFilter = 'CLOSE_TO_EOL_COMPONENT' | 'EOL_COMPONENT' | 'OUTDATED_COMPONENT' | 'UNMAINTAINED_COMPONENT' | 'VULNERABLE_COMPONENT';
@@ -1,5 +1,9 @@
1
1
  export interface SbomMetadataV2 {
2
2
  created?: number;
3
+ /**
4
+ * @format double
5
+ */
6
+ file_size?: number;
3
7
  /**
4
8
  * @example "spdx-json"
5
9
  */
@@ -0,0 +1,4 @@
1
+ import type { ArtifactSpec } from '../schemas/ArtifactSpec';
2
+ export interface SbomScoreRequest<T0 extends ArtifactSpec = ArtifactSpec> {
3
+ spec: T0;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.83.3",
3
+ "version": "0.83.5",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",