@harnessio/react-ssca-manager-client 0.25.0 → 0.27.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.
- package/dist/ssca-manager/src/services/index.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactDetailResponse.d.ts +6 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactDetailResponse.js +0 -3
- package/dist/ssca-manager/src/services/schemas/ArtifactListingResponse.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactListingResponse.js +0 -3
- package/dist/ssca-manager/src/services/schemas/ArtifactListingResponseV2.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/RemediationDetailsResponse.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/StoIssueCount.d.ts +57 -0
- package/dist/ssca-manager/src/services/schemas/StoIssueCount.js +4 -0
- package/package.json +1 -1
|
@@ -145,6 +145,7 @@ export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard'
|
|
|
145
145
|
export type { SbomScorecardResponseBody } from './schemas/SbomScorecardResponseBody';
|
|
146
146
|
export type { ScorecardInfo } from './schemas/ScorecardInfo';
|
|
147
147
|
export type { Slsa } from './schemas/Slsa';
|
|
148
|
+
export type { StoIssueCount } from './schemas/StoIssueCount';
|
|
148
149
|
export type { TicketInfo } from './schemas/TicketInfo';
|
|
149
150
|
export type { VulnerabilityInfo } from './schemas/VulnerabilityInfo';
|
|
150
151
|
export type { VulnerabilitySeverity } from './schemas/VulnerabilitySeverity';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
1
2
|
export interface ArtifactDetailResponse {
|
|
2
3
|
/**
|
|
3
4
|
* Pipeline execution id of build pipeline used to orchestrate the artifact
|
|
@@ -35,6 +36,11 @@ export interface ArtifactDetailResponse {
|
|
|
35
36
|
* Count of production env in which artifact is deployed
|
|
36
37
|
*/
|
|
37
38
|
prod_env_count?: number;
|
|
39
|
+
scorecard?: {
|
|
40
|
+
avg_score?: string;
|
|
41
|
+
max_score?: string;
|
|
42
|
+
};
|
|
43
|
+
sto_issue_count?: StoIssueCount;
|
|
38
44
|
/**
|
|
39
45
|
* Version of the artifact
|
|
40
46
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
1
2
|
export interface ArtifactListingResponse {
|
|
2
3
|
activity?: 'DEPLOYED' | 'GENERATED';
|
|
3
4
|
allow_list_violation_count?: string;
|
|
@@ -16,6 +17,7 @@ export interface ArtifactListingResponse {
|
|
|
16
17
|
avg_score?: string;
|
|
17
18
|
max_score?: string;
|
|
18
19
|
};
|
|
20
|
+
sto_issue_count?: StoIssueCount;
|
|
19
21
|
tag: string;
|
|
20
22
|
updated?: string;
|
|
21
23
|
url?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StoIssueCount } from '../schemas/StoIssueCount';
|
|
1
2
|
import type { ArtifactVariant } from '../schemas/ArtifactVariant';
|
|
2
3
|
export interface ArtifactListingResponseV2 {
|
|
3
4
|
/**
|
|
@@ -68,6 +69,7 @@ export interface ArtifactListingResponseV2 {
|
|
|
68
69
|
*/
|
|
69
70
|
max_score?: string;
|
|
70
71
|
};
|
|
72
|
+
sto_issue_count?: StoIssueCount;
|
|
71
73
|
/**
|
|
72
74
|
* artifact type
|
|
73
75
|
*/
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info
|
|
3
|
+
*/
|
|
4
|
+
export interface StoIssueCount {
|
|
5
|
+
/**
|
|
6
|
+
* The number of Critical-severity Issues
|
|
7
|
+
*/
|
|
8
|
+
critical?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Harness Execution ID
|
|
11
|
+
*/
|
|
12
|
+
execution_id?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The number of High-severity Issues
|
|
15
|
+
*/
|
|
16
|
+
high?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The number of Issues ignored due to Exemptions, and therefore not included in other counts
|
|
19
|
+
*/
|
|
20
|
+
ignored?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The number of Informational Issues
|
|
23
|
+
*/
|
|
24
|
+
info?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp at which the target variant was last scanned
|
|
27
|
+
*/
|
|
28
|
+
last_scanned?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The number of Low-severity Issues
|
|
31
|
+
*/
|
|
32
|
+
low?: number;
|
|
33
|
+
/**
|
|
34
|
+
* The number of Medium-severity Issues
|
|
35
|
+
*/
|
|
36
|
+
medium?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Associated Target ID
|
|
39
|
+
*/
|
|
40
|
+
target_id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Name of the Scan Target
|
|
43
|
+
*/
|
|
44
|
+
target_name?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Associated Target Variant ID
|
|
47
|
+
*/
|
|
48
|
+
target_variant_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Name of the Scan Target
|
|
51
|
+
*/
|
|
52
|
+
target_variant_name?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Scan Target's type
|
|
55
|
+
*/
|
|
56
|
+
type?: {};
|
|
57
|
+
}
|