@harnessio/react-sto-core-client 0.3.20 → 0.3.22

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 (59) 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/useFrontendExpiringExemptionsQuery.d.ts +1 -1
  8. package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +5 -7
  9. package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.js +2 -2
  10. package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
  11. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.d.ts +2 -2
  12. package/dist/sto-core/src/services/hooks/useIssuesFindIssueByIdQuery.d.ts +1 -1
  13. package/dist/sto-core/src/services/hooks/useIssuesIssuesAugmentRemediationMutation.d.ts +1 -1
  14. package/dist/sto-core/src/services/hooks/useProductsListProductsQuery.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 +5 -5
  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 +3 -2
  23. package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +2 -2
  24. package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +6 -6
  25. package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +2 -2
  26. package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
  27. package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -7
  28. package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
  29. package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
  30. package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
  31. package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
  32. package/dist/sto-core/src/services/schemas/Exemption.d.ts +2 -2
  33. package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +1 -1
  34. package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +1 -1
  35. package/dist/sto-core/src/services/schemas/ExportPipelineSecurityIssuesCsvResponseBody.d.ts +31 -0
  36. package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
  37. package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -6
  38. package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.d.ts +10 -0
  39. package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.js +4 -0
  40. package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +1 -1
  41. package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +4 -4
  42. package/dist/sto-core/src/services/schemas/Issue.d.ts +2 -2
  43. package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +4 -4
  44. package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +20 -4
  45. package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
  46. package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +5 -5
  47. package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
  48. package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
  49. package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +8 -8
  50. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
  51. package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +1 -1
  52. package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +2 -2
  53. package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
  54. package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
  55. package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
  56. package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
  57. package/package.json +1 -1
  58. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesCsvResponseBody.d.ts +0 -31
  59. /package/dist/sto-core/src/services/schemas/{PipelineSecurityIssuesCsvResponseBody.js → ExportPipelineSecurityIssuesCsvResponseBody.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import type { FrontendIssueCounts } from '../schemas/FrontendIssueCounts';
2
2
  /**
3
- * @example {"activeIssueCount":2344557201370338000,"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":260849439495877600,"totalExempted":4984714033235968000,"totalPartiallyExempted":7840935479666007000,"totalPending":7967123190539857000,"totalRejected":3983249765262226400,"totalRemediated":3485633204900766000}
3
+ * @example {"activeIssueCount":2749163520049833000,"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":5969267483256804000,"totalExempted":1468138987127278300,"totalPartiallyExempted":7148362681217948000,"totalPending":3683170817248509400,"totalRejected":5813829712283789000,"totalRemediated":5354073740982412000}
4
4
  */
5
5
  export interface PipelineSecurityCounts {
6
6
  /**
7
7
  * @format int64
8
- * @example 8520523217749773000
8
+ * @example 8814918616811923000
9
9
  */
10
10
  activeIssueCount?: number;
11
11
  existing: FrontendIssueCounts;
@@ -13,32 +13,32 @@ export interface PipelineSecurityCounts {
13
13
  remediated: FrontendIssueCounts;
14
14
  /**
15
15
  * @format int64
16
- * @example 5064835082016050000
16
+ * @example 4174408716360811500
17
17
  */
18
18
  totalActive: number;
19
19
  /**
20
20
  * @format int64
21
- * @example 466372599867849800
21
+ * @example 2690252751091109400
22
22
  */
23
23
  totalExempted?: number;
24
24
  /**
25
25
  * @format int64
26
- * @example 4774423217572675000
26
+ * @example 4717141874144822000
27
27
  */
28
28
  totalPartiallyExempted?: number;
29
29
  /**
30
30
  * @format int64
31
- * @example 7289593299896932000
31
+ * @example 8536907245556977000
32
32
  */
33
33
  totalPending?: number;
34
34
  /**
35
35
  * @format int64
36
- * @example 137535712392868350
36
+ * @example 7466612573261470000
37
37
  */
38
38
  totalRejected?: number;
39
39
  /**
40
40
  * @format int64
41
- * @example 1233671009252183800
41
+ * @example 3055086777042075000
42
42
  */
43
43
  totalRemediated?: number;
44
44
  }
@@ -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":4337818527492898000,"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":4336844610389611500,"totalExempted":1372711795703637200,"totalPartiallyExempted":864262751792666400,"totalPending":8174780927780218000,"totalRejected":2851642884837486000,"totalRemediated":5312237939097340000},"existing":{"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","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"},{"stageId":"stage_id","stepId":"step_id"}],"new":{"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}}
6
+ * @example {"counts":{"activeIssueCount":3593631542766208000,"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":5979640242978740000,"totalExempted":7848279619852903000,"totalPartiallyExempted":6907794749356894000,"totalPending":2496066930430671000,"totalRejected":8823214097880095000,"totalRemediated":8649405337302839000},"existing":{"issues":[{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","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"},{"stageId":"stage_id","stepId":"step_id"}]
12
+ * @example [{"stageId":"stage_id","stepId":"step_id"},{"stageId":"stage_id","stepId":"step_id"}]
13
13
  */
14
14
  matchingSteps: StageStepId[];
15
15
  new: PaginatedIssueSummaries;
@@ -1,6 +1,6 @@
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"}]}
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
  /**
@@ -1,12 +1,12 @@
1
1
  import type { Pagination } from '../schemas/Pagination';
2
2
  import type { Product } from '../schemas/Product';
3
3
  /**
4
- * @example {"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"results":[{"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"}]}
4
+ * @example {"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"results":[{"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"}]}
5
5
  */
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"}]
10
10
  */
11
11
  results: Product[];
12
12
  }
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @example {"pullRequestNumber":6655085455932514000,"pullRequestUrl":"Voluptate at corrupti.","sourceBranch":"feat/shiny-object"}
2
+ * @example {"pullRequestNumber":146694109661871040,"pullRequestUrl":"Blanditiis porro sapiente est.","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 2445392942734963000
8
+ * @example 2210439284757212000
9
9
  */
10
10
  pullRequestNumber: number;
11
11
  /**
12
12
  * The URL of the Pull Request
13
- * @example "Quibusdam quia adipisci."
13
+ * @example "Earum quia."
14
14
  */
15
15
  pullRequestUrl: string;
16
16
  /**
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @example {"id":"Omnis quo delectus minima labore.","type":"Voluptatem hic."}
2
+ * @example {"id":"Ut dicta.","type":"Voluptatibus ut non autem."}
3
3
  */
4
4
  export interface RefIds {
5
5
  /**
6
- * @example "Quae autem reiciendis."
6
+ * @example "Odio omnis facere."
7
7
  */
8
8
  id?: string;
9
9
  /**
10
- * @example "Omnis et et voluptatem ipsam accusamus."
10
+ * @example "Non tempore asperiores eius impedit earum."
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":[{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","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":[{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","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 [{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2785641523106466000,"numOccurrences":5692647999434546000,"numRemediatedOccurrences":8427872419696036000,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"}]
12
+ * @example [{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","scope":"PROJECT","status":"Approved","targetId":"target2222222222222222","totalOccurrences":10,"type":"Other"},{"approverId":"user111111111111111111","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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":812048132075922800,"numOccurrences":8757500271532859000,"numRemediatedOccurrences":3189092715788122600,"originStatus":"approved","origins":["app","base"],"override":{"originalSeverity":"medium","reason":"snyk"},"scanId":"scan111111111111111111","severity":8.5,"severityCode":"High","status":"Remediated","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"},"lastModified":1651578240,"link":"Upstream bug","numOccurrences":10,"orgId":"STO","pendingChanges":{"durationDays":7},"pipelineId":"pipeline_1","projectId":"STO","reason":"Upstream bug","requesterId":"user111111111111111111","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"}]}
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"}]
63
63
  */
64
64
  variants: TestTargetVariant[];
65
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sto-core-client",
3
- "version": "0.3.20",
3
+ "version": "0.3.22",
4
4
  "description": "Harness STO service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,31 +0,0 @@
1
- /**
2
- * @example {"data":[["Voluptatum eos dolores molestias.","Omnis similique.","Perspiciatis quaerat aut.","Nostrum enim id omnis."],["Eius placeat possimus.","Ipsa fugiat sunt quia."],["Temporibus excepturi temporibus non atque adipisci a.","Aut eos."]],"executionId":"Laboriosam dicta.","filename":"Blanditiis laboriosam voluptatibus quis.","headers":["Fuga neque ut laudantium qui.","Esse exercitationem reiciendis.","Iusto praesentium eum."],"totalRows":226081762416884540}
3
- */
4
- export interface PipelineSecurityIssuesCsvResponseBody {
5
- /**
6
- * CSV data rows
7
- * @example [["Dolor est tenetur aut repellendus.","Saepe voluptatem sit ipsum rerum itaque.","Voluptatibus quis aut dolorem aut velit.","Impedit debitis quam dolores."],["Optio sint ipsa et facere et sed.","Eum nostrum possimus exercitationem aut nulla possimus."],["Porro qui dicta rerum aut pariatur rerum.","Nihil non omnis excepturi et quia repellat.","Porro rerum dolore et doloribus quis.","Recusandae esse."]]
8
- */
9
- data: Array<string[]>;
10
- /**
11
- * Execution ID for this export
12
- * @example "Reprehenderit doloremque reprehenderit consectetur provident ut."
13
- */
14
- executionId: string;
15
- /**
16
- * Suggested filename for download
17
- * @example "Iure ut unde voluptatem rem."
18
- */
19
- filename: string;
20
- /**
21
- * CSV column headers
22
- * @example ["Sequi eaque cupiditate quia praesentium.","Id ut corporis sunt quos et.","Ad recusandae unde tempore deserunt voluptatem.","Et qui assumenda ipsa sit soluta sit."]
23
- */
24
- headers: string[];
25
- /**
26
- * Total number of data rows
27
- * @format int64
28
- * @example 3159692106068579300
29
- */
30
- totalRows: number;
31
- }