@harnessio/react-ssca-manager-client 0.86.15 → 0.86.16
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 +2 -0
- package/dist/ssca-manager/src/services/schemas/LicenseCondition.d.ts +21 -0
- package/dist/ssca-manager/src/services/schemas/LicenseCondition.js +4 -0
- package/dist/ssca-manager/src/services/schemas/LicenseConditionsResponse.d.ts +11 -0
- package/dist/ssca-manager/src/services/schemas/LicenseConditionsResponse.js +1 -0
- package/dist/ssca-manager/src/services/schemas/RspmScannerId.d.ts +1 -1
- package/package.json +1 -1
|
@@ -697,6 +697,8 @@ export type { JenkinsRunner } from './schemas/JenkinsRunner';
|
|
|
697
697
|
export type { JenkinsRunnerDetail } from './schemas/JenkinsRunnerDetail';
|
|
698
698
|
export type { JenkinsScmRepo } from './schemas/JenkinsScmRepo';
|
|
699
699
|
export type { LayerType } from './schemas/LayerType';
|
|
700
|
+
export type { LicenseCondition } from './schemas/LicenseCondition';
|
|
701
|
+
export type { LicenseConditionsResponse } from './schemas/LicenseConditionsResponse';
|
|
700
702
|
export type { LicenseDrift } from './schemas/LicenseDrift';
|
|
701
703
|
export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
|
|
702
704
|
export type { LicenseFamilyConfigResponse } from './schemas/LicenseFamilyConfigResponse';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single license condition (obligation, permission, or grant/limitation)
|
|
3
|
+
*/
|
|
4
|
+
export interface LicenseCondition {
|
|
5
|
+
/**
|
|
6
|
+
* Optional extra guidance for the condition
|
|
7
|
+
*/
|
|
8
|
+
additional_guidance?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* Short display label for the condition
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Longer explanation of what the condition means
|
|
15
|
+
*/
|
|
16
|
+
message?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Canonical condition key (for example must_attribute)
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LicenseCondition } from '../schemas/LicenseCondition';
|
|
2
|
+
export interface LicenseConditionsResponse {
|
|
3
|
+
/**
|
|
4
|
+
* Conditions for the license; empty when the SPDX id is unknown or has no mapping
|
|
5
|
+
*/
|
|
6
|
+
conditions?: LicenseCondition[];
|
|
7
|
+
/**
|
|
8
|
+
* SPDX license identifier that was looked up
|
|
9
|
+
*/
|
|
10
|
+
license_id?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Supported RSPM sequential scanner identifiers (STO scanners plus serial SCS steps)
|
|
3
3
|
*/
|
|
4
|
-
export type RspmScannerId = 'CHECKMARX_ONE' | 'CHECKOV' | 'GENERATE_SBOM' | 'SNYK' | 'SSCA_COMPLIANCE' | 'WIZ';
|
|
4
|
+
export type RspmScannerId = 'AQUA_TRIVY' | 'BANDIT' | 'BLACKDUCK' | 'BRAKEMAN' | 'CHECKMARX' | 'CHECKMARX_ONE' | 'CHECKOV' | 'GENERATE_SBOM' | 'GITHUB_ADVANCED_SECURITY' | 'GITLEAKS' | 'HARNESS_SAST' | 'MEND' | 'NEXUS_IQ' | 'OSV_SCANNER' | 'OWASP' | 'SEMGREP' | 'SNYK' | 'SONARQUBE' | 'SSCA_COMPLIANCE' | 'VERACODE' | 'WIZ';
|