@harnessio/react-ssca-manager-client 0.83.3 → 0.83.5
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/requestBodies/SbomScoreRequestBodyRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/requestBodies/SbomScoreRequestBodyRequestBody.js +1 -0
- package/dist/ssca-manager/src/services/schemas/Artifact.d.ts +3 -1
- package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewRequestBody.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewResponse.d.ts +12 -2
- package/dist/ssca-manager/src/services/schemas/ArtifactListingRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactV2ListingResponse.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactV2Overview.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/CodeRepositoryListingRequest.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/IntegrityVerification.d.ts +0 -1
- package/dist/ssca-manager/src/services/schemas/OwaspFilter.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/SbomMetadataV2.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/SbomScoreRequest.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/SbomScoreRequest.js +1 -0
- package/package.json +1 -1
|
@@ -165,6 +165,7 @@ export type { RemediationTrackerUpdateRequestBodyRequestBody } from './requestBo
|
|
|
165
165
|
export type { SaveOrchestrationRequestBodyRequestBody } from './requestBodies/SaveOrchestrationRequestBodyRequestBody';
|
|
166
166
|
export type { SaveOrchestrationRequestBodyV2RequestBody } from './requestBodies/SaveOrchestrationRequestBodyV2RequestBody';
|
|
167
167
|
export type { SbomProcessRequestBodyRequestBody } from './requestBodies/SbomProcessRequestBodyRequestBody';
|
|
168
|
+
export type { SbomScoreRequestBodyRequestBody } from './requestBodies/SbomScoreRequestBodyRequestBody';
|
|
168
169
|
export type { SbomScorecardRequestBodyRequestBody } from './requestBodies/SbomScorecardRequestBodyRequestBody';
|
|
169
170
|
export type { SlsaVerificationRequestBodyRequestBody } from './requestBodies/SlsaVerificationRequestBodyRequestBody';
|
|
170
171
|
export type { SlsaVerificationRequestBodyV2RequestBody } from './requestBodies/SlsaVerificationRequestBodyV2RequestBody';
|
|
@@ -445,6 +446,7 @@ export type { SbomMetadataV2 } from './schemas/SbomMetadataV2';
|
|
|
445
446
|
export type { SbomProcess } from './schemas/SbomProcess';
|
|
446
447
|
export type { SbomProcessRequestBody } from './schemas/SbomProcessRequestBody';
|
|
447
448
|
export type { SbomProcessResponseBody } from './schemas/SbomProcessResponseBody';
|
|
449
|
+
export type { SbomScoreRequest } from './schemas/SbomScoreRequest';
|
|
448
450
|
export type { SbomScorecardRequestBody } from './schemas/SbomScorecardRequestBody';
|
|
449
451
|
export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseBody';
|
|
450
452
|
export type { Scorecard } from './schemas/Scorecard';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -36,7 +36,9 @@ export interface Artifact {
|
|
|
36
36
|
* @default "image"
|
|
37
37
|
* @example "image"
|
|
38
38
|
*/
|
|
39
|
-
type: 'image' | 'repository';
|
|
39
|
+
type: 'image' | 'non_container' | 'repository';
|
|
40
40
|
url?: string;
|
|
41
41
|
variant?: ArtifactVariant;
|
|
42
|
+
version?: string;
|
|
43
|
+
workspace?: string;
|
|
42
44
|
}
|
|
@@ -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' | '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
|
}
|
|
@@ -5,8 +5,10 @@ import type { VerificationStatus } from '../schemas/VerificationStatus';
|
|
|
5
5
|
export interface ArtifactListingRequestBody {
|
|
6
6
|
artifact_type?: ArtifactType[];
|
|
7
7
|
component_filter?: ComponentFilter[];
|
|
8
|
+
component_filter_list?: ComponentFilter[];
|
|
8
9
|
environment_type?: 'All' | 'NonProd' | 'None' | 'Prod';
|
|
9
10
|
license_filter?: LicenseFilter;
|
|
11
|
+
license_filter_list?: LicenseFilter[];
|
|
10
12
|
policy_violation?: 'ALLOW' | 'ANY' | 'DENY' | 'NONE';
|
|
11
13
|
search_term?: string;
|
|
12
14
|
verification_status?: VerificationStatus;
|
|
@@ -2,6 +2,8 @@ import type { ComponentFilter } from '../schemas/ComponentFilter';
|
|
|
2
2
|
import type { LicenseFilter } from '../schemas/LicenseFilter';
|
|
3
3
|
export interface CodeRepositoryListingRequest {
|
|
4
4
|
dependency_filter?: ComponentFilter[];
|
|
5
|
+
dependency_filter_list?: ComponentFilter[];
|
|
5
6
|
license_filter?: LicenseFilter;
|
|
7
|
+
license_filter_list?: LicenseFilter[];
|
|
6
8
|
search_term?: string;
|
|
7
9
|
}
|
|
@@ -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';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|