@harnessio/react-sto-core-client 0.4.1 → 0.4.3

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.
Files changed (74) hide show
  1. package/dist/sto-core/src/services/hooks/useExemptionsApproveExemptionMutation.d.ts +1 -1
  2. package/dist/sto-core/src/services/hooks/useExemptionsCreateExemptionMutation.d.ts +1 -1
  3. package/dist/sto-core/src/services/hooks/useExemptionsFindExemptionByIdQuery.d.ts +1 -2
  4. package/dist/sto-core/src/services/hooks/useExemptionsListExemptionsQuery.d.ts +1 -1
  5. package/dist/sto-core/src/services/hooks/useExemptionsPromoteExemptionMutation.d.ts +1 -1
  6. package/dist/sto-core/src/services/hooks/useExemptionsUpdateExemptionMutation.d.ts +1 -1
  7. package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListQuery.d.ts +0 -6
  8. package/dist/sto-core/src/services/hooks/useFrontendExpiringExemptionsQuery.d.ts +1 -1
  9. package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +1 -1
  10. package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
  11. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.d.ts +4 -0
  12. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesQuery.d.ts +4 -0
  13. package/dist/sto-core/src/services/hooks/useIssuesFindIssueByIdQuery.d.ts +1 -1
  14. package/dist/sto-core/src/services/hooks/useIssuesIssuesAugmentRemediationMutation.d.ts +1 -1
  15. package/dist/sto-core/src/services/hooks/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
  16. package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
  17. package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
  18. package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +4 -4
  19. package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +4 -4
  20. package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
  21. package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
  22. package/dist/sto-core/src/services/index.d.ts +0 -10
  23. package/dist/sto-core/src/services/index.js +0 -3
  24. package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +8 -7
  25. package/dist/sto-core/src/services/schemas/AllIssueSummary.js +3 -0
  26. package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +11 -10
  27. package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
  28. package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -13
  29. package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
  30. package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
  31. package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
  32. package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
  33. package/dist/sto-core/src/services/schemas/Exemption.d.ts +3 -3
  34. package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +2 -2
  35. package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +2 -2
  36. package/dist/sto-core/src/services/schemas/ExportPipelineSecurityIssuesCsvResponseBody.d.ts +6 -6
  37. package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +11 -1
  38. package/dist/sto-core/src/services/schemas/FrontendExemptionTargets.d.ts +11 -1
  39. package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -6
  40. package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
  41. package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +1 -0
  42. package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +3 -3
  43. package/dist/sto-core/src/services/schemas/Issue.d.ts +4 -4
  44. package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +3 -3
  45. package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +3 -3
  46. package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
  47. package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +27 -9
  48. package/dist/sto-core/src/services/schemas/IssueSummary.js +3 -0
  49. package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
  50. package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
  51. package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +13 -13
  52. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
  53. package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +2 -2
  54. package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +1 -1
  55. package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
  56. package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
  57. package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
  58. package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
  59. package/dist/sto-core/src/services/schemas/TestTargetResult.d.ts +2 -2
  60. package/package.json +1 -1
  61. package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.d.ts +0 -42
  62. package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.js +0 -14
  63. package/dist/sto-core/src/services/hooks/useOverridesDeleteOverrideMutation.d.ts +0 -38
  64. package/dist/sto-core/src/services/hooks/useOverridesDeleteOverrideMutation.js +0 -14
  65. package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.d.ts +0 -53
  66. package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.js +0 -14
  67. package/dist/sto-core/src/services/schemas/CreateOverrideRequestBody.d.ts +0 -65
  68. package/dist/sto-core/src/services/schemas/CreateOverrideRequestBody.js +0 -4
  69. package/dist/sto-core/src/services/schemas/Override.d.ts +0 -109
  70. package/dist/sto-core/src/services/schemas/Override.js +0 -4
  71. package/dist/sto-core/src/services/schemas/OverrideResult.d.ts +0 -46
  72. package/dist/sto-core/src/services/schemas/OverrideResult.js +0 -4
  73. package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.d.ts +0 -12
  74. package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.js +0 -1
@@ -1,14 +1,30 @@
1
- import type { OverrideResult } from '../schemas/OverrideResult';
2
1
  /**
3
2
  * Short summary of an Issue
4
- * @example {"currentStatus":"Pending","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":262954364825889400,"numOccurrences":5952803745509143000,"numRemediatedOccurrences":5206915816251061000,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}
3
+ * @example {"currentStatus":"Approved","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":8771291791955878000,"numOccurrences":7052966227639316000,"numRemediatedOccurrences":1905901361682667300,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}
5
4
  */
6
5
  export interface IssueSummary {
7
6
  /**
8
7
  * Current status of the Exemption
9
- * @example "Rejected"
8
+ * @example "Expired"
10
9
  */
11
10
  currentStatus?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
11
+ /**
12
+ * Last date the issue EPSS data was last modified
13
+ * @example "2025-05-01"
14
+ */
15
+ epssLastModified?: string;
16
+ /**
17
+ * EPSS percentile of the issue CVE identifier
18
+ * @format double
19
+ * @example 0.15
20
+ */
21
+ epssPercentile?: number;
22
+ /**
23
+ * EPSS score of the issue CVE identifier
24
+ * @format double
25
+ * @example 0.035
26
+ */
27
+ epssScore?: number;
12
28
  /**
13
29
  * Indicates if the Security Issue was found to be Exempted, Partially Exempted.
14
30
  * @example "Partially Exempted"
@@ -36,17 +52,17 @@ export interface IssueSummary {
36
52
  key: string;
37
53
  /**
38
54
  * @format int64
39
- * @example 1739925389205317600
55
+ * @example 2625278317411147300
40
56
  */
41
57
  numNewOccurrences?: number;
42
58
  /**
43
59
  * @format int64
44
- * @example 6485542125244160000
60
+ * @example 6030358759859240000
45
61
  */
46
62
  numOccurrences?: number;
47
63
  /**
48
64
  * @format int64
49
- * @example 7034020434844336000
65
+ * @example 72407648513445660
50
66
  */
51
67
  numRemediatedOccurrences?: number;
52
68
  /**
@@ -60,10 +76,12 @@ export interface IssueSummary {
60
76
  */
61
77
  origins?: string[];
62
78
  /**
63
- * List of issue overrides
64
- * @example [{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}]
79
+ * Indicates the issue has been overridden
80
+ * @example {"originalSeverity":"medium","reason":"snyk"}
65
81
  */
66
- overrides?: OverrideResult[];
82
+ override?: {
83
+ [key: string]: any;
84
+ };
67
85
  /**
68
86
  * The ID of the Scan that detected this Security Issue
69
87
  * @example "scan111111111111111111"
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @example {"connectorId":"Dignissimos reprehenderit accusamus ducimus.","occurrenceId":12345,"referenceId":"CWE-123","scanId":"abcdefghijkl1234567890","userSnippet":"func example() int {\n return 0\n}"}
2
+ * @example {"connectorId":"Modi odit voluptatem facere aut et sed.","occurrenceId":12345,"referenceId":"CWE-123","scanId":"abcdefghijkl1234567890","userSnippet":"func example() int {\n return 0\n}"}
3
3
  */
4
4
  export interface IssuesAugmentRemediationRequestBody {
5
5
  /**
6
- * @example "Qui necessitatibus quidem iste ut iste."
6
+ * @example "Qui eaque ipsam."
7
7
  */
8
8
  connectorId?: string;
9
9
  /**
@@ -1,12 +1,12 @@
1
1
  import type { IssueSummary } from '../schemas/IssueSummary';
2
2
  import type { Pagination } from '../schemas/Pagination';
3
3
  /**
4
- * @example {"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
4
+ * @example {"issues":[{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
5
5
  */
6
6
  export interface PaginatedIssueSummaries {
7
7
  /**
8
8
  * Diff-ed Issues related to this scan step, resulting from a diff between a scan and its target's latest baseline scan (previous scan if no baseline)
9
- * @example [{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}]
9
+ * @example [{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}]
10
10
  */
11
11
  issues: IssueSummary[];
12
12
  pagination: Pagination;
@@ -1,11 +1,11 @@
1
1
  import type { FrontendIssueCounts } from '../schemas/FrontendIssueCounts';
2
2
  /**
3
- * @example {"activeIssueCount":756661471053962900,"existing":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"new":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediated":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"totalActive":445603271564123900,"totalApp":5344260065127476000,"totalBase":2208574546737547800,"totalDeduplicationRate":0.6608877,"totalExempted":1527676160546189000,"totalNoLayer":8868970004989240000,"totalNumOccurrence":1966980579282087200,"totalPartiallyExempted":1939368271598587000,"totalPending":2280769079854872000,"totalRejected":7739760244143764000,"totalRemediated":3478857516793876500}
3
+ * @example {"activeIssueCount":3825544097826905000,"existing":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"new":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediated":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"totalActive":4857260108522220000,"totalApp":3054452752060655600,"totalBase":7485259615627228000,"totalDeduplicationRate":0.16992895,"totalExempted":1598010569510087000,"totalNoLayer":544552267151166140,"totalNumOccurrence":6443234224370042000,"totalPartiallyExempted":807541581385397500,"totalPending":2194377632769923000,"totalRejected":1110913446844303700,"totalRemediated":9036956601418704000}
4
4
  */
5
5
  export interface PipelineSecurityCounts {
6
6
  /**
7
7
  * @format int64
8
- * @example 1110643573839595900
8
+ * @example 1740991240406098000
9
9
  */
10
10
  activeIssueCount?: number;
11
11
  existing: FrontendIssueCounts;
@@ -13,57 +13,57 @@ export interface PipelineSecurityCounts {
13
13
  remediated: FrontendIssueCounts;
14
14
  /**
15
15
  * @format int64
16
- * @example 3807035350479628000
16
+ * @example 5370507771747171000
17
17
  */
18
18
  totalActive: number;
19
19
  /**
20
20
  * @format int64
21
- * @example 8721436163331880000
21
+ * @example 9022116620442121000
22
22
  */
23
23
  totalApp?: number;
24
24
  /**
25
25
  * @format int64
26
- * @example 4372184654222800000
26
+ * @example 4173332357520073000
27
27
  */
28
28
  totalBase?: number;
29
29
  /**
30
30
  * @format float
31
- * @example 0.82830656
31
+ * @example 0.0127793765
32
32
  */
33
33
  totalDeduplicationRate?: number;
34
34
  /**
35
35
  * @format int64
36
- * @example 801021253470518300
36
+ * @example 3784622981543537700
37
37
  */
38
38
  totalExempted?: number;
39
39
  /**
40
40
  * @format int64
41
- * @example 217246466376206850
41
+ * @example 5111332249156282000
42
42
  */
43
43
  totalNoLayer?: number;
44
44
  /**
45
45
  * @format int64
46
- * @example 6908281859761064000
46
+ * @example 3482378439114558500
47
47
  */
48
48
  totalNumOccurrence?: number;
49
49
  /**
50
50
  * @format int64
51
- * @example 3862363375613520000
51
+ * @example 5913401338234349000
52
52
  */
53
53
  totalPartiallyExempted?: number;
54
54
  /**
55
55
  * @format int64
56
- * @example 2531680882433563000
56
+ * @example 5330776871031116000
57
57
  */
58
58
  totalPending?: number;
59
59
  /**
60
60
  * @format int64
61
- * @example 4708873850810065000
61
+ * @example 8955895399356402000
62
62
  */
63
63
  totalRejected?: number;
64
64
  /**
65
65
  * @format int64
66
- * @example 8662514022761520000
66
+ * @example 9032876234339027000
67
67
  */
68
68
  totalRemediated?: number;
69
69
  }
@@ -3,13 +3,13 @@ import type { PaginatedIssueSummaries } from '../schemas/PaginatedIssueSummaries
3
3
  import type { StageStepId } from '../schemas/StageStepId';
4
4
  /**
5
5
  * Data needed by the PipelineSecurityView
6
- * @example {"counts":{"activeIssueCount":7995619580748100000,"existing":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"new":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediated":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"totalActive":3633215139362169300,"totalApp":5088348532090930000,"totalBase":3346332119766099000,"totalDeduplicationRate":0.33556744,"totalExempted":7418809899316363000,"totalNoLayer":2465880822450954000,"totalNumOccurrence":6304560990183537000,"totalPartiallyExempted":3751699554608646000,"totalPending":8236038446712186000,"totalRejected":3248310568394591000,"totalRemediated":5178459983836421000},"existing":{"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}},"matchingSteps":[{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"}],"new":{"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}}
6
+ * @example {"counts":{"activeIssueCount":6626345891690196000,"existing":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"new":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediated":{"active":150,"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"totalActive":5608136193110864000,"totalApp":4314725901187726300,"totalBase":5232228435046065000,"totalDeduplicationRate":0.46164584,"totalExempted":8689609928768105000,"totalNoLayer":5912878222818902000,"totalNumOccurrence":3433482842044725000,"totalPartiallyExempted":4719987705336579000,"totalPending":4131462459290609700,"totalRejected":8025740138207055000,"totalRemediated":3816182181436607000},"existing":{"issues":[{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}},"matchingSteps":[{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"}],"new":{"issues":[{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}}
7
7
  */
8
8
  export interface PipelineSecurityIssuesResult {
9
9
  counts: PipelineSecurityCounts;
10
10
  existing: PaginatedIssueSummaries;
11
11
  /**
12
- * @example [{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"}]
12
+ * @example [{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"}]
13
13
  */
14
14
  matchingSteps: StageStepId[];
15
15
  new: PaginatedIssueSummaries;
@@ -1,10 +1,10 @@
1
1
  import type { StepInfo } from '../schemas/StepInfo';
2
2
  /**
3
- * @example {"steps":[{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"}]}
3
+ * @example {"steps":[{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"}]}
4
4
  */
5
5
  export interface PipelineSecurityStepsResult {
6
6
  /**
7
- * @example [{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"}]
7
+ * @example [{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"},{"baselineVariant":"branch: main","scanId":"scan111111111111111111","scanTool":"owasp","scanToolName":"OWASP","stageId":"stage_id","stepId":"step_id","subproduct":"product","targetId":"target1111111111111111","targetName":"The Target","targetType":"repository","targetVariant":"branch: feature"}]
8
8
  */
9
9
  steps: StepInfo[];
10
10
  }
@@ -6,7 +6,7 @@ import type { Product } from '../schemas/Product';
6
6
  export interface ProductsListProductsResponseBody {
7
7
  pagination: Pagination;
8
8
  /**
9
- * @example [{"created":1651578240,"description":"OWASP 5.x SCA scanner","id":"abcdef1234567890ghijkl","isEnabled":true,"lastModified":1651578240,"name":"owasp","prettyName":"owasp"},{"created":1651578240,"description":"OWASP 5.x SCA scanner","id":"abcdef1234567890ghijkl","isEnabled":true,"lastModified":1651578240,"name":"owasp","prettyName":"owasp"}]
9
+ * @example [{"created":1651578240,"description":"OWASP 5.x SCA scanner","id":"abcdef1234567890ghijkl","isEnabled":true,"lastModified":1651578240,"name":"owasp","prettyName":"owasp"},{"created":1651578240,"description":"OWASP 5.x SCA scanner","id":"abcdef1234567890ghijkl","isEnabled":true,"lastModified":1651578240,"name":"owasp","prettyName":"owasp"},{"created":1651578240,"description":"OWASP 5.x SCA scanner","id":"abcdef1234567890ghijkl","isEnabled":true,"lastModified":1651578240,"name":"owasp","prettyName":"owasp"},{"created":1651578240,"description":"OWASP 5.x SCA scanner","id":"abcdef1234567890ghijkl","isEnabled":true,"lastModified":1651578240,"name":"owasp","prettyName":"owasp"}]
10
10
  */
11
11
  results: Product[];
12
12
  }
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @example {"pullRequestNumber":7307291201495218000,"pullRequestUrl":"Ut ipsa eum et tempora.","sourceBranch":"feat/shiny-object"}
2
+ * @example {"pullRequestNumber":1810634873026598400,"pullRequestUrl":"Nobis sit laboriosam quas vero officiis atque.","sourceBranch":"feat/shiny-object"}
3
3
  */
4
4
  export interface PullRequestResult {
5
5
  /**
6
6
  * The number of the Pull Request
7
7
  * @format int64
8
- * @example 2976038274350844000
8
+ * @example 6492739034179596000
9
9
  */
10
10
  pullRequestNumber: number;
11
11
  /**
12
12
  * The URL of the Pull Request
13
- * @example "Rerum non sapiente neque sequi non vero."
13
+ * @example "Adipisci aspernatur inventore aut rerum."
14
14
  */
15
15
  pullRequestUrl: string;
16
16
  /**
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @example {"id":"Beatae voluptatum inventore quis at est.","type":"Ducimus numquam."}
2
+ * @example {"id":"Rerum voluptas eum omnis voluptas.","type":"Aut vero."}
3
3
  */
4
4
  export interface RefIds {
5
5
  /**
6
- * @example "Sed quae laboriosam blanditiis voluptates."
6
+ * @example "Laboriosam magni maiores cupiditate fuga magni veniam."
7
7
  */
8
8
  id?: string;
9
9
  /**
10
- * @example "Est et."
10
+ * @example "Voluptatem officia hic."
11
11
  */
12
12
  type?: string;
13
13
  }
@@ -3,13 +3,13 @@ import type { FrontendExemption } from '../schemas/FrontendExemption';
3
3
  import type { Pagination } from '../schemas/Pagination';
4
4
  /**
5
5
  * Data needed by the Security Review page
6
- * @example {"counts":{"Approved":150,"Expired":150,"Pending":150,"Rejected":150},"exemptions":[{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
6
+ * @example {"counts":{"Approved":150,"Expired":150,"Pending":150,"Rejected":150},"exemptions":[{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
7
7
  */
8
8
  export interface SecurityReviewResult {
9
9
  counts: FrontendExemptionCounts;
10
10
  /**
11
11
  * Security Review data
12
- * @example [{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6192510272610744000,"numOccurrences":8402656011423937000,"numRemediatedOccurrences":4102397309311158300,"originStatus":"approved","origins":["app","base"],"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Critical","overriderId":"override1234","reason":"Snyk","requesterId":"user111111111111111111"}],"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"}]
12
+ * @example [{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"isOccurrenceLevelExemption":true,"issueSummary":{"currentStatus":"Expired","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":3377424198788989400,"numOccurrences":1899859185254683600,"numRemediatedOccurrences":1967706377109304800,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","projectName":"Project Name","reason":"Upstream bug","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"}]
13
13
  */
14
14
  exemptions: FrontendExemption[];
15
15
  pagination: Pagination;
@@ -1,7 +1,7 @@
1
1
  import type { TestTargetVariant } from '../schemas/TestTargetVariant';
2
2
  /**
3
3
  * Individual TestTarget
4
- * @example {"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]}
4
+ * @example {"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]}
5
5
  */
6
6
  export interface TestTarget {
7
7
  /**
@@ -59,7 +59,7 @@ export interface TestTarget {
59
59
  */
60
60
  url?: string;
61
61
  /**
62
- * @example [{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]
62
+ * @example [{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]
63
63
  */
64
64
  variants: TestTargetVariant[];
65
65
  }
@@ -2,12 +2,12 @@ import type { TestTarget } from '../schemas/TestTarget';
2
2
  import type { Pagination } from '../schemas/Pagination';
3
3
  /**
4
4
  * Data needed by the Test Targets page
5
- * @example {"targets":[{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]},{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]},{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]}],"targetsPagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
5
+ * @example {"targets":[{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]},{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]}],"targetsPagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
6
6
  */
7
7
  export interface TestTargetResult {
8
8
  /**
9
9
  * Test Targets data
10
- * @example [{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]},{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]}]
10
+ * @example [{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]},{"approvedVariantsCount":1,"baseline":{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},"baselineRegEx":"release_.*","directory":"/","id":"target1111111111111111","lastScanned":1634836529,"name":"target 1","status":"approved","totalVariantsCount":10,"type":"repository","url":"github.com/harness/sto-core","variants":[{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"},{"id":"variant111111111111111","name":"Branch: feature-1","status":"approved"}]}]
11
11
  */
12
12
  targets: TestTarget[];
13
13
  targetsPagination: Pagination;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sto-core-client",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Harness STO service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",