@harnessio/react-ssca-manager-client 0.85.0 → 0.86.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.
@@ -613,6 +613,7 @@ export type { ExemptionReviewRequestBody } from './schemas/ExemptionReviewReques
613
613
  export type { ExemptionScopeDto } from './schemas/ExemptionScopeDto';
614
614
  export type { ExemptionStatusCounts } from './schemas/ExemptionStatusCounts';
615
615
  export type { ExemptionStatusDto } from './schemas/ExemptionStatusDto';
616
+ export type { ExemptionVersionFilter } from './schemas/ExemptionVersionFilter';
616
617
  export type { FetchComplianceResultByArtifactResponseBody } from './schemas/FetchComplianceResultByArtifactResponseBody';
617
618
  export type { GetIntegrationSummaryResponse } from './schemas/GetIntegrationSummaryResponse';
618
619
  export type { GithubExecutionContext } from './schemas/GithubExecutionContext';
@@ -8,7 +8,7 @@ export interface AiBomComponentViewRequestBody {
8
8
  */
9
9
  ai_component_type?: string;
10
10
  /**
11
- * Filter by SPDX license identifier (e.g. proprietary, apache-2.0)
11
+ * Filter by SPDX license identifier (e.g. proprietary, MIT). Matches plugin or enrichment licenses.
12
12
  */
13
13
  license_filter?: AiBomStringFilter;
14
14
  name_filter?: AiBomStringFilter;
@@ -39,6 +39,10 @@ export interface AiBomComponentViewResponse {
39
39
  * Programming language (e.g. python)
40
40
  */
41
41
  language?: string;
42
+ /**
43
+ * Comma-separated license family classifications for all licenses of the component
44
+ */
45
+ license_family?: string;
42
46
  /**
43
47
  * Total number of source code occurrences
44
48
  */
@@ -85,6 +85,11 @@ export interface ArtifactComponentViewResponse {
85
85
  * List of parent components for the current component
86
86
  */
87
87
  parents?: ComponentParent[];
88
+ /**
89
+ * Publish date (epoch millis) of the current version of the component
90
+ * @format int64
91
+ */
92
+ publish_date?: number;
88
93
  purl?: string;
89
94
  /**
90
95
  * Name of the package being squatted, if this is a typosquat
@@ -1,3 +1,5 @@
1
+ import type { NameOperator } from '../schemas/NameOperator';
2
+ import type { ExemptionVersionFilter } from '../schemas/ExemptionVersionFilter';
1
3
  import type { ExemptionReasonDto } from '../schemas/ExemptionReasonDto';
2
4
  import type { ExemptionScopeDto } from '../schemas/ExemptionScopeDto';
3
5
  /**
@@ -5,13 +7,13 @@ import type { ExemptionScopeDto } from '../schemas/ExemptionScopeDto';
5
7
  */
6
8
  export interface ExemptionListingRequestBody {
7
9
  /**
8
- * Case-insensitive prefix match on component name.
10
+ * Case-insensitive match on component name. Same operator set as dependency / remediation name filters.
9
11
  */
10
- component_name?: string;
11
- /**
12
- * Exact component version match.
13
- */
14
- component_version?: string;
12
+ component_name_filter?: {
13
+ operator: NameOperator;
14
+ value: string;
15
+ };
16
+ component_version_filter?: ExemptionVersionFilter;
15
17
  /**
16
18
  * Multi-select reason filter.
17
19
  */
@@ -0,0 +1,18 @@
1
+ import type { NameOperator } from '../schemas/NameOperator';
2
+ /**
3
+ * Version filter for exemptions listing. ALL matches exemptions with null componentVersion (applies to all versions). SPECIFIC applies operator+value to the filed componentVersion string — it does not include ALL-version (null) exemptions even when those would cover the queried version at enforcement time.
4
+ */
5
+ export interface ExemptionVersionFilter {
6
+ /**
7
+ * ALL = exemptions filed for all versions (componentVersion is null). SPECIFIC = filter a concrete version with operator and value.
8
+ */
9
+ mode: 'ALL' | 'SPECIFIC';
10
+ /**
11
+ * Required when mode is SPECIFIC. Ignored when mode is ALL.
12
+ */
13
+ operator?: NameOperator;
14
+ /**
15
+ * Required when mode is SPECIFIC. Ignored when mode is ALL.
16
+ */
17
+ value?: string;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.85.0",
3
+ "version": "0.86.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",