@harnessio/react-ssca-manager-client 0.86.19 → 0.86.20
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.
- package/dist/ssca-manager/src/services/index.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewRequestBody.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/LicenseConditionFilter.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/LicenseConditionFilter.js +4 -0
- package/package.json +1 -1
|
@@ -701,6 +701,7 @@ export type { JenkinsRunnerDetail } from './schemas/JenkinsRunnerDetail';
|
|
|
701
701
|
export type { JenkinsScmRepo } from './schemas/JenkinsScmRepo';
|
|
702
702
|
export type { LayerType } from './schemas/LayerType';
|
|
703
703
|
export type { LicenseCondition } from './schemas/LicenseCondition';
|
|
704
|
+
export type { LicenseConditionFilter } from './schemas/LicenseConditionFilter';
|
|
704
705
|
export type { LicenseConditionsResponse } from './schemas/LicenseConditionsResponse';
|
|
705
706
|
export type { LicenseDrift } from './schemas/LicenseDrift';
|
|
706
707
|
export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
|
|
@@ -2,6 +2,7 @@ import type { ComponentExemptionStatusFilter } from '../schemas/ComponentExempti
|
|
|
2
2
|
import type { ComponentFilter } from '../schemas/ComponentFilter';
|
|
3
3
|
import type { DependencyType } from '../schemas/DependencyType';
|
|
4
4
|
import type { LayerType } from '../schemas/LayerType';
|
|
5
|
+
import type { LicenseConditionFilter } from '../schemas/LicenseConditionFilter';
|
|
5
6
|
import type { LicenseFilter } from '../schemas/LicenseFilter';
|
|
6
7
|
import type { OssRiskFilter } from '../schemas/OssRiskFilter';
|
|
7
8
|
import type { OwaspFilter } from '../schemas/OwaspFilter';
|
|
@@ -13,6 +14,10 @@ export interface ArtifactComponentViewRequestBody {
|
|
|
13
14
|
component_filter?: ComponentFilter[];
|
|
14
15
|
dependency_type_filter?: DependencyType[];
|
|
15
16
|
image_layer?: LayerType;
|
|
17
|
+
/**
|
|
18
|
+
* Multi-select OR filter by canonical license condition. Ignored unless SCS_LICENSE_CONDITIONS is on.
|
|
19
|
+
*/
|
|
20
|
+
license_condition_filter?: LicenseConditionFilter[];
|
|
16
21
|
license_filter?: LicenseFilter;
|
|
17
22
|
/**
|
|
18
23
|
* Filter components by OSS risk category. Returns only components matching at least one of the specified risk types.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical license condition key used to filter SBOM components
|
|
3
|
+
*/
|
|
4
|
+
export type LicenseConditionFilter = 'commerical_use' | 'distribution' | 'linking_exception' | 'modification' | 'must_attribute' | 'must_distribute_license' | 'must_share_source_code' | 'need_to_state_changes' | 'no_liability' | 'no_trademark' | 'patent_grant' | 'private_use' | 'sub_license';
|