@harnessio/react-ssca-manager-client 0.83.4 → 0.83.6

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.
@@ -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' | 'DERIVED_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
  }
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.83.4",
3
+ "version": "0.83.6",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",