@harnessio/react-sto-core-client 0.3.13 → 0.3.15

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 (56) 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 -1
  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 +1 -1
  9. package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
  10. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.d.ts +3 -2
  11. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.js +1 -1
  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/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
  15. package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
  16. package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
  17. package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +4 -4
  18. package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +5 -5
  19. package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
  20. package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
  21. package/dist/sto-core/src/services/index.d.ts +1 -0
  22. package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +2 -2
  23. package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +6 -6
  24. package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +1 -1
  25. package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
  26. package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -7
  27. package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
  28. package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
  29. package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
  30. package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
  31. package/dist/sto-core/src/services/schemas/Exemption.d.ts +3 -3
  32. package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +2 -2
  33. package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +2 -2
  34. package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
  35. package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -6
  36. package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
  37. package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +1 -1
  38. package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +4 -4
  39. package/dist/sto-core/src/services/schemas/Issue.d.ts +3 -3
  40. package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +4 -4
  41. package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +3 -3
  42. package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
  43. package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +6 -6
  44. package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
  45. package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
  46. package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +7 -7
  47. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesCsvResponseBody.d.ts +31 -0
  48. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesCsvResponseBody.js +4 -0
  49. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
  50. package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +2 -2
  51. package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
  52. package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
  53. package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
  54. package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
  55. package/dist/sto-core/src/services/schemas/TestTargetResult.d.ts +1 -1
  56. package/package.json +1 -1
@@ -2,12 +2,12 @@ import type { FrontendExemptionTargets } from '../schemas/FrontendExemptionTarge
2
2
  import type { Pagination } from '../schemas/Pagination';
3
3
  /**
4
4
  * List of targets for an exemption
5
- * @example {"impactedTargets":[{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
5
+ * @example {"impactedTargets":[{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
6
6
  */
7
7
  export interface ExemptionImpactedTargetsResult {
8
8
  /**
9
9
  * Impacted target details
10
- * @example [{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}]
10
+ * @example [{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}]
11
11
  */
12
12
  impactedTargets: FrontendExemptionTargets[];
13
13
  pagination: Pagination;
@@ -1,12 +1,12 @@
1
1
  import type { Pagination } from '../schemas/Pagination';
2
2
  import type { Exemption } from '../schemas/Exemption';
3
3
  /**
4
- * @example {"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"results":[{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Expired","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Expired","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"}]}
4
+ * @example {"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"results":[{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Approved","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Approved","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Approved","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Approved","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"}]}
5
5
  */
6
6
  export interface ExemptionsListExemptionsResponseBody {
7
7
  pagination: Pagination;
8
8
  /**
9
- * @example [{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Expired","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Expired","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Expired","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Expired","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"}]
9
+ * @example [{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Approved","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"comment":"This exemption was reviewed by the security team.","created":1651578240,"exemptionStatusAtScan":"Approved","expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueId":"abcdef1234567890ghijkl","lastModified":1651578240,"link":"https://example.com/ABC-1234","numOccurrences":10,"occurrences":[42,666],"orgId":"your_project","orgName":"Organization Name","pendingChanges":{"durationDays":7},"pipelineId":"your_pipeline","projectId":"your_project","projectName":"Project Name","reason":"Waiting on upstream bug fix","requesterId":"user111111111111111111","scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"}]
10
10
  */
11
11
  results: Exemption[];
12
12
  }
@@ -2,7 +2,7 @@ import type { IssueSummary } from '../schemas/IssueSummary';
2
2
  import type { PendingChanges } from '../schemas/PendingChanges';
3
3
  /**
4
4
  * Exemption summary for frontend use
5
- * @example {"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueSummary":{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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"}
5
+ * @example {"approverId":"user111111111111111111","canApproveFor":["ACCOUNT","ORG","PROJECT","PIPELINE"],"canCancel":true,"canCreate":true,"canReApprove":true,"canReject":true,"created":1651578240,"expiration":1651578240,"id":"abcdef1234567890ghijkl","isDeleted":true,"issueSummary":{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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"}
6
6
  */
7
7
  export interface FrontendExemption {
8
8
  /**
@@ -1,26 +1,25 @@
1
1
  /**
2
2
  * Git Metadata associated with the Scan
3
- * @example {"detectedName":"Sint magni recusandae nihil nisi magni quidem.","detectedVariant":"Ea quisquam.","droneCorrelated":true,"provider":"Vel hic provident.","pullRequestNumber":11,"repositoryHttp":"https://github.com/harness/drone-cli.git","repositoryPath":["Doloribus facere nulla nihil similique magni sit.","Expedita ducimus."],"repositorySsh":"git@github.com:harness/drone-cli.git","sourceBranch":"feat/shiny-object","targetBranch":"develop","workspace":"/harness"}
3
+ * @example {"detectedName":"Aliquam in est possimus non.","detectedVariant":"Ea quia sunt assumenda sit similique.","droneCorrelated":true,"provider":"Aliquid quasi aut occaecati commodi.","pullRequestNumber":11,"repositoryHttp":"https://github.com/harness/drone-cli.git","repositoryPath":["Provident voluptatum sit et qui molestias amet.","Quasi ex quia minus quia soluta.","Et eveniet nostrum maiores."],"repositorySsh":"git@github.com:harness/drone-cli.git","sourceBranch":"feat/shiny-object","targetBranch":"develop","workspace":"/harness"}
4
4
  */
5
5
  export interface GitMetadata {
6
6
  /**
7
7
  * Detected Name
8
- * @example "Adipisci ut."
8
+ * @example "Quo natus."
9
9
  */
10
10
  detectedName?: string;
11
11
  /**
12
12
  * Detected Variant
13
- * @example "Expedita repellendus esse saepe soluta blanditiis."
13
+ * @example "Placeat excepturi est tempora quis eligendi."
14
14
  */
15
15
  detectedVariant?: string;
16
16
  /**
17
17
  * Drone Correlated
18
- * @example true
19
18
  */
20
19
  droneCorrelated?: boolean;
21
20
  /**
22
21
  * Git Provider
23
- * @example "Quidem quia consectetur quis omnis quaerat."
22
+ * @example "Sunt eos quam cum porro."
24
23
  */
25
24
  provider?: string;
26
25
  /**
@@ -36,7 +35,7 @@ export interface GitMetadata {
36
35
  repositoryHttp?: string;
37
36
  /**
38
37
  * Git Repository Path
39
- * @example ["Dolor minima fugit et.","Modi culpa et et.","Provident ut quia minus.","Rerum quos."]
38
+ * @example ["Cupiditate velit ipsum.","Eum est.","Dolor aut quia illo repellendus ducimus.","Assumenda veniam ea voluptatem tenetur nihil."]
40
39
  */
41
40
  repositoryPath?: string[];
42
41
  /**
@@ -1,11 +1,11 @@
1
1
  import type { HistoricalIssueCounts } from '../schemas/HistoricalIssueCounts';
2
2
  /**
3
- * @example {"counts":[{"active":true,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":true,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":true,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}}]}
3
+ * @example {"counts":[{"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}}]}
4
4
  */
5
5
  export interface HistoricalCounts {
6
6
  /**
7
7
  * Counts of active issues on baselines for each of the past several days
8
- * @example [{"active":true,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":true,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}}]
8
+ * @example [{"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}},{"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}}]
9
9
  */
10
10
  counts: HistoricalIssueCounts[];
11
11
  }
@@ -1,6 +1,6 @@
1
1
  import type { MinimalIssueCounts } from '../schemas/MinimalIssueCounts';
2
2
  /**
3
- * @example {"active":false,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}}
3
+ * @example {"active":true,"counts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"date":1651578240,"detections":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"remediations":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17}}
4
4
  */
5
5
  export interface HistoricalIssueCounts {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @example {"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Aut nobis nostrum enim id omnis.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Inventore voluptatum eos dolores.","variantName":"Quo omnis similique quod perspiciatis."}
2
+ * @example {"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Libero velit quo laborum architecto.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Quod iste accusamus aut.","variantName":"Rem quos."}
3
3
  */
4
4
  export interface ImpactedTarget {
5
5
  /**
@@ -9,7 +9,7 @@ export interface ImpactedTarget {
9
9
  exemptionId?: string;
10
10
  /**
11
11
  * Exemption Status
12
- * @example "Et iusto praesentium eum maxime."
12
+ * @example "Hic earum incidunt nemo et."
13
13
  */
14
14
  exemptionStatus?: string;
15
15
  /**
@@ -36,12 +36,12 @@ export interface ImpactedTarget {
36
36
  numOccurrences: number;
37
37
  /**
38
38
  * The user id associated with the last scan run
39
- * @example "Provident ut quam aliquid."
39
+ * @example "Ad voluptas autem."
40
40
  */
41
41
  userId?: string;
42
42
  /**
43
43
  * Variant name
44
- * @example "Neque ut laudantium qui eligendi esse exercitationem."
44
+ * @example "Non quia aut est."
45
45
  */
46
46
  variantName: string;
47
47
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Information about a Security Issue
3
- * @example {"baseImageName":"baseImageName","baselineVariantId":"abcdef1234567890ghijkl","created":1651578240,"currentStatus":"Pending","details":{"package":"json-schema","version":"v0.2.3"},"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","harnessAugmentation":{"Consequuntur minus asperiores facere.":"Voluptas nobis voluptas.","Laboriosam dolores.":"Voluptatem dolor ea ut doloremque deserunt."},"id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numOccurrences":10,"occurrenceId":12345,"occurrences":[{"line":"42"},{"line":"666"}],"originStatus":"approved","origins":["app","base"],"productId":"product1234567890abcde","severity":8.5,"severityCode":"High","status":"Remediated","subproduct":"product","targetId":"abcdef1234567890ghijkl","targetName":"abcdef1234567890ghijkl","targetType":"repository","targetVariantId":"abcdef1234567890ghijkl","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}
3
+ * @example {"baseImageName":"baseImageName","baselineVariantId":"abcdef1234567890ghijkl","created":1651578240,"currentStatus":"Rejected","details":{"package":"json-schema","version":"v0.2.3"},"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","harnessAugmentation":{"Nisi deserunt.":"Qui consequuntur velit."},"id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numOccurrences":10,"occurrenceId":12345,"occurrences":[{"line":"42"},{"line":"666"}],"originStatus":"approved","origins":["app","base"],"productId":"product1234567890abcde","severity":8.5,"severityCode":"High","status":"Remediated","subproduct":"product","targetId":"abcdef1234567890ghijkl","targetName":"abcdef1234567890ghijkl","targetType":"repository","targetVariantId":"abcdef1234567890ghijkl","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}
4
4
  */
5
5
  export interface Issue {
6
6
  /**
@@ -21,7 +21,7 @@ export interface Issue {
21
21
  created: number;
22
22
  /**
23
23
  * Current status of the Exemption
24
- * @example "Expired"
24
+ * @example "Rejected"
25
25
  */
26
26
  currentStatus?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
27
27
  /**
@@ -48,7 +48,7 @@ export interface Issue {
48
48
  exemptionStatusAtScan?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
49
49
  /**
50
50
  * Harness Augmentation details
51
- * @example {"Omnis laudantium dolores et accusamus.":"Cupiditate quasi quo.","Praesentium assumenda magni.":"Dolores nihil ab.","Qui itaque est maxime.":"Est et rerum."}
51
+ * @example {"Enim sint labore modi at.":"Error eum occaecati eum aut quia.","Iure omnis et.":"Nemo quas eos nam molestiae quisquam modi."}
52
52
  */
53
53
  harnessAugmentation?: {
54
54
  [key: string]: any;
@@ -1,6 +1,6 @@
1
1
  import type { Pagination } from '../schemas/Pagination';
2
2
  /**
3
- * @example {"baseImageName":"baseImageName","baselineVariantId":"abcdef1234567890ghijkl","created":1651578240,"currentStatus":"Expired","details":{"package":"json-schema","version":"v0.2.3"},"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","harnessAugmentation":{"Ipsum rerum itaque.":"Voluptatibus quis aut dolorem aut velit.","Perferendis dolor est.":"Aut repellendus voluptatibus saepe voluptatem."},"id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numOccurrences":10,"occurrenceId":12345,"occurrences":[{"line":"42"},{"line":"666"}],"occurrencesPagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"originStatus":"approved","origins":["app","base"],"productId":"product1234567890abcde","severity":8.5,"severityCode":"High","status":"Remediated","subproduct":"product","targetId":"abcdef1234567890ghijkl","targetName":"abcdef1234567890ghijkl","targetType":"repository","targetVariantId":"abcdef1234567890ghijkl","targetVariantName":"nodegoat:master","targets":[{"targetId":"target2222222222222222","targetName":"Target 1"}],"title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}
3
+ * @example {"baseImageName":"baseImageName","baselineVariantId":"abcdef1234567890ghijkl","created":1651578240,"currentStatus":"Pending","details":{"package":"json-schema","version":"v0.2.3"},"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","harnessAugmentation":{"Sint magni recusandae nihil nisi magni quidem.":"Corporis sit.","Sit velit expedita ducimus.":"Ea quisquam."},"id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numOccurrences":10,"occurrenceId":12345,"occurrences":[{"line":"42"},{"line":"666"}],"occurrencesPagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"originStatus":"approved","origins":["app","base"],"productId":"product1234567890abcde","severity":8.5,"severityCode":"High","status":"Remediated","subproduct":"product","targetId":"abcdef1234567890ghijkl","targetName":"abcdef1234567890ghijkl","targetType":"repository","targetVariantId":"abcdef1234567890ghijkl","targetVariantName":"nodegoat:master","targets":[{"targetId":"target2222222222222222","targetName":"Target 1"}],"title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}
4
4
  */
5
5
  export interface IssueForExemptionResult {
6
6
  /**
@@ -21,7 +21,7 @@ export interface IssueForExemptionResult {
21
21
  created: number;
22
22
  /**
23
23
  * Current status of the Exemption
24
- * @example "Approved"
24
+ * @example "Expired"
25
25
  */
26
26
  currentStatus?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
27
27
  /**
@@ -43,12 +43,12 @@ export interface IssueForExemptionResult {
43
43
  exemptionId?: string;
44
44
  /**
45
45
  * Exemption's status at the Security Scan created time
46
- * @example "Pending"
46
+ * @example "Approved"
47
47
  */
48
48
  exemptionStatusAtScan?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
49
49
  /**
50
50
  * Harness Augmentation details
51
- * @example {"Ad recusandae unde tempore deserunt voluptatem.":"Et qui assumenda ipsa sit soluta sit.","Harum a minima sunt qui.":"Unde quisquam officia tempore voluptatem."}
51
+ * @example {"Saepe soluta blanditiis et adipisci ut.":"Vel hic provident."}
52
52
  */
53
53
  harnessAugmentation?: {
54
54
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  import type { GitMetadata } from '../schemas/GitMetadata';
2
2
  import type { Pagination } from '../schemas/Pagination';
3
3
  /**
4
- * @example {"baseImageName":"baseImageName","baselineVariantId":"abcdef1234567890ghijkl","created":1651578240,"currentStatus":"Pending","details":{"package":"json-schema","version":"v0.2.3"},"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","gitMetadata":{"detectedName":"Praesentium dolores tenetur voluptatem quae.","detectedVariant":"At accusantium.","droneCorrelated":false,"provider":"Occaecati corporis fugit.","pullRequestNumber":11,"repositoryHttp":"https://github.com/harness/drone-cli.git","repositoryPath":["Repellat placeat dolore est rem sit optio.","Beatae harum aliquam."],"repositorySsh":"git@github.com:harness/drone-cli.git","sourceBranch":"feat/shiny-object","targetBranch":"develop","workspace":"/harness"},"harnessAugmentation":{"Autem voluptate.":"Quia aut.","Laboriosam et nihil illum.":"Voluptates ad.","Minima hic.":"Incidunt nemo."},"id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNonExemptedOccurrences":10,"numOccurrences":10,"occurrenceId":12345,"occurrences":[{"line":"42"},{"line":"666"}],"occurrencesPagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"originStatus":"approved","origins":["app","base"],"primaryOccurrenceId":12345,"productId":"product1234567890abcde","severity":8.5,"severityCode":"High","status":"Remediated","subproduct":"product","targetId":"abcdef1234567890ghijkl","targetName":"abcdef1234567890ghijkl","targetType":"repository","targetVariantId":"abcdef1234567890ghijkl","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}
4
+ * @example {"baseImageName":"baseImageName","baselineVariantId":"abcdef1234567890ghijkl","created":1651578240,"currentStatus":"Expired","details":{"package":"json-schema","version":"v0.2.3"},"exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","gitMetadata":{"detectedName":"Quia beatae consequatur qui veniam ea.","detectedVariant":"Quidem dolor officia voluptas soluta qui.","droneCorrelated":false,"provider":"Saepe atque est molestias.","pullRequestNumber":11,"repositoryHttp":"https://github.com/harness/drone-cli.git","repositoryPath":["Reiciendis tenetur quia fuga facilis minima ea.","Sed ab aut omnis.","Ex atque atque hic voluptatibus placeat aut.","Voluptas beatae totam autem labore veritatis."],"repositorySsh":"git@github.com:harness/drone-cli.git","sourceBranch":"feat/shiny-object","targetBranch":"develop","workspace":"/harness"},"harnessAugmentation":{"Beatae facere maiores maiores.":"Totam aut sit omnis.","Distinctio aut blanditiis debitis.":"Expedita expedita ad dolorem nesciunt.","Fugiat eum eligendi consequatur asperiores ipsam corporis.":"Excepturi temporibus vel odio neque."},"id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNonExemptedOccurrences":10,"numOccurrences":10,"occurrenceId":12345,"occurrences":[{"line":"42"},{"line":"666"}],"occurrencesPagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"originStatus":"approved","origins":["app","base"],"primaryOccurrenceId":12345,"productId":"product1234567890abcde","severity":8.5,"severityCode":"High","status":"Remediated","subproduct":"product","targetId":"abcdef1234567890ghijkl","targetName":"abcdef1234567890ghijkl","targetType":"repository","targetVariantId":"abcdef1234567890ghijkl","targetVariantName":"nodegoat:master","title":"json-schema@0.2.3 is vulnerable to Prototype Pollution","type":"SAST"}
5
5
  */
6
6
  export interface IssueInScan {
7
7
  /**
@@ -22,7 +22,7 @@ export interface IssueInScan {
22
22
  created: number;
23
23
  /**
24
24
  * Current status of the Exemption
25
- * @example "Rejected"
25
+ * @example "Approved"
26
26
  */
27
27
  currentStatus?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
28
28
  /**
@@ -50,7 +50,7 @@ export interface IssueInScan {
50
50
  gitMetadata?: GitMetadata;
51
51
  /**
52
52
  * Harness Augmentation details
53
- * @example {"Et exercitationem est omnis.":"Est earum quia quia optio."}
53
+ * @example {"Assumenda quibusdam deleniti dolore ut repellat praesentium.":"Id quo."}
54
54
  */
55
55
  harnessAugmentation?: {
56
56
  [key: string]: any;
@@ -1,12 +1,12 @@
1
1
  import type { IssueSummary } from '../schemas/IssueSummary';
2
2
  /**
3
3
  * List of issue summaries
4
- * @example {"issues":[{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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"}]}
4
+ * @example {"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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"}]}
5
5
  */
6
6
  export interface IssueSummaries {
7
7
  /**
8
8
  * Short summary of an Issue
9
- * @example [{"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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"}]
9
+ * @example [{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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"}]
10
10
  */
11
11
  issues: IssueSummary[];
12
12
  }
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * Short summary of an Issue
3
- * @example {"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Approved","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":8244446731934175000,"numOccurrences":3695904896771600400,"numRemediatedOccurrences":1265968847371014400,"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"}
3
+ * @example {"currentStatus":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Rejected","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6179712514285555000,"numOccurrences":6154005211321197000,"numRemediatedOccurrences":3864580385606073000,"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"}
4
4
  */
5
5
  export interface IssueSummary {
6
6
  /**
7
7
  * Current status of the Exemption
8
- * @example "Approved"
8
+ * @example "Expired"
9
9
  */
10
10
  currentStatus?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
11
11
  /**
@@ -20,7 +20,7 @@ export interface IssueSummary {
20
20
  exemptionId?: string;
21
21
  /**
22
22
  * Exemption's status at the Security Scan created time
23
- * @example "Rejected"
23
+ * @example "Approved"
24
24
  */
25
25
  exemptionStatusAtScan?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
26
26
  /**
@@ -35,17 +35,17 @@ export interface IssueSummary {
35
35
  key: string;
36
36
  /**
37
37
  * @format int64
38
- * @example 8587952676925200000
38
+ * @example 6223809602034879000
39
39
  */
40
40
  numNewOccurrences?: number;
41
41
  /**
42
42
  * @format int64
43
- * @example 4109001131171339300
43
+ * @example 4012534359231330300
44
44
  */
45
45
  numOccurrences?: number;
46
46
  /**
47
47
  * @format int64
48
- * @example 2910084573369015000
48
+ * @example 519143980911867300
49
49
  */
50
50
  numRemediatedOccurrences?: number;
51
51
  /**
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @example {"connectorId":"Voluptates minima adipisci aspernatur inventore.","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 "Ab omnis sed aspernatur."
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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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}}
4
+ * @example {"issues":[{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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}}
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":"Approved","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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":"Pending","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":6933871780201318000,"numOccurrences":65291977269091816,"numRemediatedOccurrences":342520660303603500,"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"}]
9
+ * @example [{"currentStatus":"Rejected","exemptionCoverage":"Partially Exempted","exemptionId":"abcdef1234567890ghijkl","exemptionStatusAtScan":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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":"Expired","id":"abcdef1234567890ghijkl","key":"json-schema@0.2.3","numNewOccurrences":2019812330390510600,"numOccurrences":5581965460253194000,"numRemediatedOccurrences":2053581348963572500,"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"}]
10
10
  */
11
11
  issues: IssueSummary[];
12
12
  pagination: Pagination;
@@ -1,6 +1,6 @@
1
1
  import type { FrontendIssueCounts } from '../schemas/FrontendIssueCounts';
2
2
  /**
3
- * @example {"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":3339270424235992600,"totalExempted":3380753203104111600,"totalPartiallyExempted":3582318896054644000,"totalPending":6822175341264865000,"totalRejected":7010777827822289000,"totalRemediated":3605459878789912600}
3
+ * @example {"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":962971230100010500,"totalExempted":3616255727125724700,"totalPartiallyExempted":4425422573112119000,"totalPending":4172890318531995000,"totalRejected":4819210573735142000,"totalRemediated":8653629717773296000}
4
4
  */
5
5
  export interface PipelineSecurityCounts {
6
6
  existing: FrontendIssueCounts;
@@ -8,32 +8,32 @@ export interface PipelineSecurityCounts {
8
8
  remediated: FrontendIssueCounts;
9
9
  /**
10
10
  * @format int64
11
- * @example 8608774777527503000
11
+ * @example 4231372632529950000
12
12
  */
13
13
  totalActive: number;
14
14
  /**
15
15
  * @format int64
16
- * @example 3075660110790723000
16
+ * @example 4104376259023055400
17
17
  */
18
18
  totalExempted?: number;
19
19
  /**
20
20
  * @format int64
21
- * @example 6945423213628662000
21
+ * @example 5073451705646606000
22
22
  */
23
23
  totalPartiallyExempted?: number;
24
24
  /**
25
25
  * @format int64
26
- * @example 8146787195864058000
26
+ * @example 6866542162108822000
27
27
  */
28
28
  totalPending?: number;
29
29
  /**
30
30
  * @format int64
31
- * @example 7973374610011235000
31
+ * @example 1189514139981086200
32
32
  */
33
33
  totalRejected?: number;
34
34
  /**
35
35
  * @format int64
36
- * @example 7885784870394732000
36
+ * @example 2611625993592986000
37
37
  */
38
38
  totalRemediated?: number;
39
39
  }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @example {"data":[["Corrupti voluptatem.","Ea ut doloremque deserunt.","Consequuntur minus asperiores facere.","Voluptas nobis voluptas."],["Impedit dolore.","Minima sed sunt.","Aut optio rerum distinctio consectetur molestiae laboriosam."]],"executionId":"Ex iure architecto a.","filename":"Sint amet.","headers":["Cupiditate quasi quo.","Iste quos.","Cupiditate modi."],"totalRows":6926581969770107000}
3
+ */
4
+ export interface PipelineSecurityIssuesCsvResponseBody {
5
+ /**
6
+ * CSV data rows
7
+ * @example [["Reiciendis voluptatem.","Aut omnis quo delectus.","Labore fugiat quos temporibus et.","Suscipit nemo ipsa et voluptate."],["Quod illum occaecati cumque voluptas quam tempora.","Ducimus ullam nobis.","Qui nostrum.","Autem molestiae aliquid minima."],["Corporis occaecati maiores dolor totam quasi.","Nostrum dolor ut aut qui itaque.","Maxime voluptates est et rerum.","Praesentium assumenda magni."]]
8
+ */
9
+ data: Array<string[]>;
10
+ /**
11
+ * Execution ID for this export
12
+ * @example "Laudantium dolores et."
13
+ */
14
+ executionId: string;
15
+ /**
16
+ * Suggested filename for download
17
+ * @example "Dolores nihil ab."
18
+ */
19
+ filename: string;
20
+ /**
21
+ * CSV column headers
22
+ * @example ["Accusantium voluptas facere autem tenetur et.","Quia tempora nobis minima."]
23
+ */
24
+ headers: string[];
25
+ /**
26
+ * Total number of data rows
27
+ * @format int64
28
+ * @example 2563825604125970000
29
+ */
30
+ totalRows: number;
31
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};