@harnessio/react-ssca-manager-client 0.26.0 → 0.28.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.
@@ -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
@@ -39,6 +40,7 @@ export interface ArtifactDetailResponse {
39
40
  avg_score?: string;
40
41
  max_score?: string;
41
42
  };
43
+ sto_issue_count?: StoIssueCount;
42
44
  /**
43
45
  * Version of the artifact
44
46
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -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
  */
@@ -61,6 +61,10 @@ export interface RemediationDetailsResponse {
61
61
  */
62
62
  start_time_milli: number;
63
63
  status: RemediationStatus;
64
+ /**
65
+ * End date set by the user.
66
+ */
67
+ target_date?: string;
64
68
  ticket?: TicketInfo;
65
69
  /**
66
70
  * Details of the vulnerability.
@@ -0,0 +1,61 @@
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
+ * Harness Pipeline Id
39
+ */
40
+ pipeline_id?: string;
41
+ /**
42
+ * Associated Target ID
43
+ */
44
+ target_id?: string;
45
+ /**
46
+ * Name of the Scan Target
47
+ */
48
+ target_name?: string;
49
+ /**
50
+ * Associated Target Variant ID
51
+ */
52
+ target_variant_id?: string;
53
+ /**
54
+ * Name of the Scan Target
55
+ */
56
+ target_variant_name?: string;
57
+ /**
58
+ * Scan Target's type
59
+ */
60
+ type?: 'image' | 'repository';
61
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",