@harnessio/react-ssca-manager-client 0.84.13 → 0.84.14
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/hooks/useCodeRepositoriesListQuery.d.ts +1 -1
- package/dist/ssca-manager/src/services/index.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewResponse.d.ts +5 -4
- package/dist/ssca-manager/src/services/schemas/Integration.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/MaliciousDetail.d.ts +25 -0
- package/dist/ssca-manager/src/services/schemas/MaliciousDetail.js +4 -0
- package/dist/ssca-manager/src/services/schemas/OrchestrationOssRisksSummary.d.ts +8 -0
- package/package.json +1 -1
|
@@ -495,6 +495,7 @@ export type { LicenseFamilyResponse } from './schemas/LicenseFamilyResponse';
|
|
|
495
495
|
export type { LicenseFilter } from './schemas/LicenseFilter';
|
|
496
496
|
export type { LicenseUsageResponse } from './schemas/LicenseUsageResponse';
|
|
497
497
|
export type { ListIntegrationReposResponse } from './schemas/ListIntegrationReposResponse';
|
|
498
|
+
export type { MaliciousDetail } from './schemas/MaliciousDetail';
|
|
498
499
|
export type { NameOperator } from './schemas/NameOperator';
|
|
499
500
|
export type { NormalisedSbomComponentRequestBody } from './schemas/NormalisedSbomComponentRequestBody';
|
|
500
501
|
export type { NormalizedSbomComponentDto } from './schemas/NormalizedSbomComponentDto';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DependencyType } from '../schemas/DependencyType';
|
|
2
2
|
import type { LayerType } from '../schemas/LayerType';
|
|
3
3
|
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
4
|
+
import type { MaliciousDetail } from '../schemas/MaliciousDetail';
|
|
4
5
|
import type { ComponentParent } from '../schemas/ComponentParent';
|
|
5
6
|
import type { VulnerabilitySource } from '../schemas/VulnerabilitySource';
|
|
6
7
|
export interface ArtifactComponentViewResponse {
|
|
@@ -49,13 +50,13 @@ export interface ArtifactComponentViewResponse {
|
|
|
49
50
|
*/
|
|
50
51
|
license_family?: string;
|
|
51
52
|
/**
|
|
52
|
-
*
|
|
53
|
+
* Malicious package intelligence reports for the component (CVE identifiers are not included)
|
|
53
54
|
*/
|
|
54
|
-
|
|
55
|
+
malicious_details?: MaliciousDetail[];
|
|
55
56
|
/**
|
|
56
|
-
*
|
|
57
|
+
* Source of the malicious package
|
|
57
58
|
*/
|
|
58
|
-
|
|
59
|
+
malicious_source?: string;
|
|
59
60
|
package_license?: string;
|
|
60
61
|
package_manager?: string;
|
|
61
62
|
package_name?: string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single malicious package report without CVE identifiers
|
|
3
|
+
*/
|
|
4
|
+
export interface MaliciousDetail {
|
|
5
|
+
/**
|
|
6
|
+
* Identifier of the malicious report
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Publication time of the report if available
|
|
11
|
+
*/
|
|
12
|
+
published_at?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Summary text for the malicious report
|
|
15
|
+
*/
|
|
16
|
+
summary?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Title of the malicious report
|
|
19
|
+
*/
|
|
20
|
+
title?: string;
|
|
21
|
+
/**
|
|
22
|
+
* URL for more information about the report
|
|
23
|
+
*/
|
|
24
|
+
url?: string;
|
|
25
|
+
}
|
|
@@ -2,7 +2,15 @@ export interface OrchestrationOssRisksSummary {
|
|
|
2
2
|
close_to_eol_component_count?: number;
|
|
3
3
|
definite_eol_component_count?: number;
|
|
4
4
|
derived_eol_component_count?: number;
|
|
5
|
+
/**
|
|
6
|
+
* Count of components identified as malicious packages
|
|
7
|
+
*/
|
|
8
|
+
malicious_component_count?: number;
|
|
5
9
|
outdated_component_count?: number;
|
|
6
10
|
total_eol_component_count?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Count of components identified as typosquatted packages
|
|
13
|
+
*/
|
|
14
|
+
typosquatted_component_count?: number;
|
|
7
15
|
unmaintained_component_count?: number;
|
|
8
16
|
}
|