@harnessio/react-ssca-manager-client 0.35.0 → 0.37.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.
@@ -22,6 +22,7 @@ export interface GetPolicyViolationsQueryQueryParams {
22
22
  page?: number;
23
23
  sort?: {};
24
24
  search_text?: string;
25
+ image_layer?: 'APP' | 'BASE' | 'DISTRO';
25
26
  }
26
27
  export interface GetPolicyViolationsQueryHeaderParams {
27
28
  'Harness-Account': string;
@@ -133,6 +133,7 @@ export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
133
133
  export type { EnvironmentType } from './schemas/EnvironmentType';
134
134
  export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
135
135
  export type { ExcludeArtifactRequest } from './schemas/ExcludeArtifactRequest';
136
+ export type { LayerType } from './schemas/LayerType';
136
137
  export type { LicenseDrift } from './schemas/LicenseDrift';
137
138
  export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
138
139
  export type { LicenseFilter } from './schemas/LicenseFilter';
@@ -1,7 +1,9 @@
1
1
  import type { ComponentFilter } from '../schemas/ComponentFilter';
2
+ import type { LayerType } from '../schemas/LayerType';
2
3
  import type { LicenseFilter } from '../schemas/LicenseFilter';
3
4
  export interface ArtifactComponentViewRequestBody {
4
5
  component_filter?: ComponentFilter[];
6
+ image_layer?: LayerType;
5
7
  license_filter?: LicenseFilter;
6
8
  package_manager?: string;
7
9
  package_supplier?: string;
@@ -1,4 +1,6 @@
1
+ import type { LayerType } from '../schemas/LayerType';
1
2
  export interface ArtifactComponentViewResponse {
3
+ filter_tags?: LayerType[];
2
4
  package_license?: string;
3
5
  package_manager?: string;
4
6
  package_name?: string;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,7 +1,9 @@
1
+ import type { LayerType } from '../schemas/LayerType';
1
2
  /**
2
3
  * Provides component summary
3
4
  */
4
5
  export interface ComponentSummary {
6
+ filter_tags?: LayerType[];
5
7
  /**
6
8
  * Licenses of component
7
9
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,2 @@
1
+ export interface LayerType {
2
+ }
@@ -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 {};
@@ -1,10 +1,13 @@
1
+ import type { LayerType } from '../schemas/LayerType';
1
2
  export interface PolicyViolation {
2
3
  account?: string;
3
4
  artifact_id?: string;
4
5
  enforcement_id?: string;
5
6
  exemption_id?: string;
7
+ filter_tags?: LayerType[];
6
8
  image_name?: string;
7
9
  is_exempted?: boolean;
10
+ language?: string;
8
11
  license?: string[];
9
12
  name?: string;
10
13
  orchestration_id?: string;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",