@harnessio/react-sto-core-client 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sto-core/src/services/hooks/useExemptionsApproveExemptionMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useExemptionsCreateExemptionMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useExemptionsFindExemptionByIdQuery.d.ts +2 -1
- package/dist/sto-core/src/services/hooks/useExemptionsGetExemptionForIssueQuery.d.ts +46 -0
- package/dist/sto-core/src/services/hooks/useExemptionsGetExemptionForIssueQuery.js +14 -0
- package/dist/sto-core/src/services/hooks/useExemptionsListExemptionsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useExemptionsPromoteExemptionMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useExemptionsUpdateExemptionMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendExemptionsFiltersQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendExpiringExemptionsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useIssuesFindIssueByIdQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useIssuesIssuesAugmentRemediationMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
- package/dist/sto-core/src/services/index.d.ts +2 -0
- package/dist/sto-core/src/services/index.js +1 -0
- package/dist/sto-core/src/services/schemas/AllBaselineIssueSummary.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/AllIssuesCountsV2Result.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +7 -7
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsV2Result.d.ts +7 -7
- package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesListV2Result.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -7
- package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/Exemption.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/ExemptionsFiltersResult.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ExportPipelineSecurityIssuesCsvResponseBody.d.ts +6 -6
- package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/ImpactedTargetV2.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/Issue.d.ts +6 -6
- package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +8 -8
- package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/OccurrenceDataflowResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/Override.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +13 -13
- package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/TestTargetResult.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ import type { OverrideResult } from '../schemas/OverrideResult';
|
|
|
3
3
|
import type { Pagination } from '../schemas/Pagination';
|
|
4
4
|
import type { RefIds } from '../schemas/RefIds';
|
|
5
5
|
/**
|
|
6
|
-
* @example {"description":"
|
|
6
|
+
* @example {"description":"Optio et.","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"Distinctio laborum.","userName":"firstname lastname","variantName":"Impedit ratione iure voluptate."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"Distinctio laborum.","userName":"firstname lastname","variantName":"Impedit ratione iure voluptate."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"Distinctio laborum.","userName":"firstname lastname","variantName":"Impedit ratione iure voluptate."}],"issueType":"Aut qui dolorem expedita qui repudiandae perferendis.","lastDetected":1634836529,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"reachability":"reachable","referenceIdentifiers":[{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."}],"scanTool":"owasp","severityCode":"High","status":"Active","targetType":"Voluptates quas minus eum impedit.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
7
7
|
*/
|
|
8
8
|
export interface AllIssuesDetailsV2Result {
|
|
9
9
|
/**
|
|
10
10
|
* Issue description
|
|
11
|
-
* @example "
|
|
11
|
+
* @example "Dolor ipsum."
|
|
12
12
|
*/
|
|
13
13
|
description: string;
|
|
14
14
|
/**
|
|
@@ -30,12 +30,12 @@ export interface AllIssuesDetailsV2Result {
|
|
|
30
30
|
epssScore?: number;
|
|
31
31
|
/**
|
|
32
32
|
* List of Impacted Targets
|
|
33
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"
|
|
33
|
+
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"Distinctio laborum.","userName":"firstname lastname","variantName":"Impedit ratione iure voluptate."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"Distinctio laborum.","userName":"firstname lastname","variantName":"Impedit ratione iure voluptate."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"Remediated","userEmail":"user@gmail.com","userId":"Distinctio laborum.","userName":"firstname lastname","variantName":"Impedit ratione iure voluptate."}]
|
|
34
34
|
*/
|
|
35
35
|
impactedTargets: ImpactedTargetV2[];
|
|
36
36
|
/**
|
|
37
37
|
* Issue Type
|
|
38
|
-
* @example "
|
|
38
|
+
* @example "Cum hic."
|
|
39
39
|
*/
|
|
40
40
|
issueType?: string;
|
|
41
41
|
/**
|
|
@@ -57,7 +57,7 @@ export interface AllIssuesDetailsV2Result {
|
|
|
57
57
|
reachability?: string;
|
|
58
58
|
/**
|
|
59
59
|
* Reference Identifiers
|
|
60
|
-
* @example [{"id":"
|
|
60
|
+
* @example [{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."}]
|
|
61
61
|
*/
|
|
62
62
|
referenceIdentifiers: RefIds[];
|
|
63
63
|
/**
|
|
@@ -72,12 +72,12 @@ export interface AllIssuesDetailsV2Result {
|
|
|
72
72
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
73
73
|
/**
|
|
74
74
|
* Issue Status
|
|
75
|
-
* @example "
|
|
75
|
+
* @example "Remediated"
|
|
76
76
|
*/
|
|
77
77
|
status: 'Active' | 'Exempted' | 'Remediated';
|
|
78
78
|
/**
|
|
79
79
|
* Target Type
|
|
80
|
-
* @example "
|
|
80
|
+
* @example "Ut similique consequatur sed consequuntur."
|
|
81
81
|
*/
|
|
82
82
|
targetType: string;
|
|
83
83
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { LatestBaselineScanInfo } from '../schemas/LatestBaselineScanInfo';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"latestBaselineScans":[{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}
|
|
3
|
+
* @example {"latestBaselineScans":[{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}],"reachabilityFlag":true}
|
|
4
4
|
*/
|
|
5
5
|
export interface AllIssuesFiltersResult {
|
|
6
6
|
/**
|
|
7
|
-
* @example [{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}
|
|
7
|
+
* @example [{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}]
|
|
8
8
|
*/
|
|
9
9
|
latestBaselineScans: LatestBaselineScanInfo[];
|
|
10
10
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AllIssueSummary } from '../schemas/AllIssueSummary';
|
|
2
2
|
import type { Pagination } from '../schemas/Pagination';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"issues":[{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
4
|
+
* @example {"issues":[{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesListResult {
|
|
7
7
|
/**
|
|
8
8
|
* Issues related to the latest scans of a baseline in a specific project
|
|
9
|
-
* @example [{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
9
|
+
* @example [{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Deleniti sunt amet quasi.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}]
|
|
10
10
|
*/
|
|
11
11
|
issues: AllIssueSummary[];
|
|
12
12
|
pagination: Pagination;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AllBaselineIssueSummary } from '../schemas/AllBaselineIssueSummary';
|
|
2
2
|
import type { Pagination } from '../schemas/Pagination';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"issues":[{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
4
|
+
* @example {"issues":[{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesListV2Result {
|
|
7
7
|
/**
|
|
8
8
|
* Issues from the pre-aggregated summary table for the latest baseline scans in a project
|
|
9
|
-
* @example [{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
9
|
+
* @example [{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Accusantium assumenda possimus rerum nihil modi sed.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}]
|
|
10
10
|
*/
|
|
11
11
|
issues: AllBaselineIssueSummary[];
|
|
12
12
|
pagination: Pagination;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Pagination } from '../schemas/Pagination';
|
|
2
2
|
import type { RefIds } from '../schemas/RefIds';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"description":"
|
|
4
|
+
* @example {"description":"Fuga at tempora vero id autem id.","exemptionId":"abcdef1234567890ghijkl","issueType":"Et ut.","lastDetected":1634836529,"occurrences":[{"Necessitatibus sed rerum enim veritatis.":"Ea quis ratione voluptates amet cum.","Saepe eos quam exercitationem.":"Vel quasi aut impedit eius."},{"Voluptate aut.":"Laborum mollitia facilis."}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"reachability":"reachable","referenceIdentifiers":[{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."}],"severityCode":"High","targetName":"The Target","targetType":"Officia libero dolor enim.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","variantName":"Perspiciatis et sit molestiae quia dolore cumque."}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesOccurrenceDetailsResult {
|
|
7
7
|
/**
|
|
8
8
|
* Issue description
|
|
9
|
-
* @example "
|
|
9
|
+
* @example "Aut nostrum fugiat."
|
|
10
10
|
*/
|
|
11
11
|
description: string;
|
|
12
12
|
/**
|
|
@@ -16,7 +16,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
16
16
|
exemptionId?: string;
|
|
17
17
|
/**
|
|
18
18
|
* Issue Type
|
|
19
|
-
* @example "Alias
|
|
19
|
+
* @example "Alias dolorem minus porro aspernatur."
|
|
20
20
|
*/
|
|
21
21
|
issueType?: string;
|
|
22
22
|
/**
|
|
@@ -27,7 +27,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
27
27
|
lastDetected: number;
|
|
28
28
|
/**
|
|
29
29
|
* List of occurrences
|
|
30
|
-
* @example [{"
|
|
30
|
+
* @example [{"Nulla earum sit odit odit recusandae rerum.":"Labore vitae maxime quo sapiente ut.","Quibusdam odit nihil sit rerum occaecati.":"Omnis quis."},{"Maiores fuga neque exercitationem nemo sit accusantium.":"Voluptatem omnis mollitia quis ea consequatur et."},{"Illum excepturi maxime nihil et nobis.":"Omnis aut accusantium nesciunt et asperiores eum."},{"At dignissimos aut.":"Eos ut officiis.","Iusto nobis fugit corrupti explicabo omnis temporibus.":"Voluptatem quis officiis."}]
|
|
31
31
|
*/
|
|
32
32
|
occurrences: Array<{
|
|
33
33
|
[key: string]: any;
|
|
@@ -40,7 +40,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
40
40
|
reachability?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Reference Identifiers
|
|
43
|
-
* @example [{"id":"
|
|
43
|
+
* @example [{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."},{"id":"Earum voluptatibus quam qui ea.","type":"Dicta vel."}]
|
|
44
44
|
*/
|
|
45
45
|
referenceIdentifiers?: RefIds[];
|
|
46
46
|
/**
|
|
@@ -55,7 +55,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
55
55
|
targetName: string;
|
|
56
56
|
/**
|
|
57
57
|
* Target Type
|
|
58
|
-
* @example "
|
|
58
|
+
* @example "Nesciunt ratione a voluptatem ex natus."
|
|
59
59
|
*/
|
|
60
60
|
targetType: string;
|
|
61
61
|
/**
|
|
@@ -65,7 +65,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
65
65
|
title: string;
|
|
66
66
|
/**
|
|
67
67
|
* Variant name
|
|
68
|
-
* @example "
|
|
68
|
+
* @example "Repellendus autem sit."
|
|
69
69
|
*/
|
|
70
70
|
variantName: string;
|
|
71
71
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AugmentRemediationWarning } from '../schemas/AugmentRemediationWarning';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"warnings":[{"message":"
|
|
3
|
+
* @example {"warnings":[{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."}]}
|
|
4
4
|
*/
|
|
5
5
|
export interface AugmentRemediationMetadata {
|
|
6
6
|
/**
|
|
7
|
-
* @example [{"message":"
|
|
7
|
+
* @example [{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."}]
|
|
8
8
|
*/
|
|
9
9
|
warnings: AugmentRemediationWarning[];
|
|
10
10
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { AugmentRemediationMetadata } from '../schemas/AugmentRemediationMetadata';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"metadata":{"warnings":[{"message":"
|
|
3
|
+
* @example {"metadata":{"warnings":[{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."},{"message":"Dolores commodi dolorem sed qui harum.","source":"Nemo in nobis."}]},"remediationCode":"Minus et amet et nostrum est.","remediationContext":"At consequatur eius.","repoContent":"Enim doloremque."}
|
|
4
4
|
*/
|
|
5
5
|
export interface AugmentRemediationResult {
|
|
6
6
|
metadata: AugmentRemediationMetadata;
|
|
7
7
|
/**
|
|
8
|
-
* @example "
|
|
8
|
+
* @example "Odit ipsam velit eligendi sit consequatur."
|
|
9
9
|
*/
|
|
10
10
|
remediationCode?: string;
|
|
11
11
|
/**
|
|
12
|
-
* @example "
|
|
12
|
+
* @example "Voluptas asperiores neque sit qui."
|
|
13
13
|
*/
|
|
14
14
|
remediationContext: string;
|
|
15
15
|
/**
|
|
16
|
-
* @example "
|
|
16
|
+
* @example "Error laborum fugit ab iusto nihil."
|
|
17
17
|
*/
|
|
18
18
|
repoContent?: string;
|
|
19
19
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @example {"message":"
|
|
2
|
+
* @example {"message":"Tempore quam numquam pariatur.","source":"Porro et doloribus."}
|
|
3
3
|
*/
|
|
4
4
|
export interface AugmentRemediationWarning {
|
|
5
5
|
/**
|
|
6
|
-
* @example "
|
|
6
|
+
* @example "Aliquid culpa."
|
|
7
7
|
*/
|
|
8
8
|
message: string;
|
|
9
9
|
/**
|
|
10
|
-
* @example "
|
|
10
|
+
* @example "Ex corrupti ea ullam."
|
|
11
11
|
*/
|
|
12
12
|
source: string;
|
|
13
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @example {"executionIds":["
|
|
2
|
+
* @example {"executionIds":["Rerum quis quasi praesentium eum.","Qui voluptatem ea vel."]}
|
|
3
3
|
*/
|
|
4
4
|
export interface BaselineExecutions {
|
|
5
5
|
/**
|
|
6
6
|
* Harness Execution IDs of the most recent baseline scans
|
|
7
|
-
* @example ["
|
|
7
|
+
* @example ["Qui nihil.","Et recusandae quas ipsum sunt."]
|
|
8
8
|
*/
|
|
9
9
|
executionIds: string[];
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PendingChanges } from '../schemas/PendingChanges';
|
|
2
2
|
/**
|
|
3
3
|
* Information about an Exemption
|
|
4
|
-
* @example {"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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":"Pending","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"
|
|
4
|
+
* @example {"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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":"Pending","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Pending","targetId":"abcdef1234567890ghijkl","type":"Other"}
|
|
5
5
|
*/
|
|
6
6
|
export interface Exemption {
|
|
7
7
|
/**
|
|
@@ -57,7 +57,7 @@ export interface Exemption {
|
|
|
57
57
|
created: number;
|
|
58
58
|
/**
|
|
59
59
|
* Exemption's status at the Security Scan created time
|
|
60
|
-
* @example "
|
|
60
|
+
* @example "Expired"
|
|
61
61
|
*/
|
|
62
62
|
exemptionStatusAtScan?: 'Approved' | 'Expired' | 'Pending' | 'Rejected';
|
|
63
63
|
/**
|
|
@@ -174,7 +174,7 @@ export interface Exemption {
|
|
|
174
174
|
/**
|
|
175
175
|
* Approval status of Exemption
|
|
176
176
|
* @default "Pending"
|
|
177
|
-
* @example "
|
|
177
|
+
* @example "Expired"
|
|
178
178
|
*/
|
|
179
179
|
status: 'Approved' | 'Canceled' | 'Expired' | 'Pending' | 'Rejected';
|
|
180
180
|
/**
|
|
@@ -2,7 +2,7 @@ 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 {"baselineTargetsExist":true,"impactedTargets":[{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
|
|
5
|
+
* @example {"baselineTargetsExist":true,"impactedTargets":[{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","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
|
/**
|
|
@@ -12,7 +12,7 @@ export interface ExemptionImpactedTargetsResult {
|
|
|
12
12
|
baselineTargetsExist: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Impacted target details
|
|
15
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}
|
|
15
|
+
* @example [{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"},{"executionId":"abcdef1234567890ghijkl","hash":"d1998db4b4651a4b9be9ecf320a2dfb8b4710e35","lastScanned":1634836529,"name":"NodeGoat","numExemptedOccurrences":150,"numOccurrences":150,"orgId":"example_org","orgName":"Organization Name","parameters":{"branch":"main"},"pipelineId":"pipeline_1","projectId":"example_project","projectName":"Project Name","scanId":"abcdef1234567890ghijkl","targetId":"abcdef1234567890ghijkl","type":"repository"}]
|
|
16
16
|
*/
|
|
17
17
|
impactedTargets: FrontendExemptionTargets[];
|
|
18
18
|
pagination: Pagination;
|
|
@@ -3,17 +3,17 @@ import type { ExemptionFilterTarget } from '../schemas/ExemptionFilterTarget';
|
|
|
3
3
|
import type { ExemptionFilterUser } from '../schemas/ExemptionFilterUser';
|
|
4
4
|
/**
|
|
5
5
|
* Available filters for exemptions
|
|
6
|
-
* @example {"pipelines":["
|
|
6
|
+
* @example {"pipelines":["Vel est rerum temporibus repellendus facilis.","Cum ab.","Sit quae doloremque recusandae qui nostrum."],"reasons":["Qui commodi ea id et iste.","Occaecati laboriosam.","Nihil sed."],"scanners":[{"scannerId":"snyk","scannerName":"Snyk"},{"scannerId":"snyk","scannerName":"Snyk"},{"scannerId":"snyk","scannerName":"Snyk"},{"scannerId":"snyk","scannerName":"Snyk"}],"targets":[{"targetId":"target1111111111111111","targetName":"my-repo","targetType":"repository"},{"targetId":"target1111111111111111","targetName":"my-repo","targetType":"repository"},{"targetId":"target1111111111111111","targetName":"my-repo","targetType":"repository"}],"users":[{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"},{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"}]}
|
|
7
7
|
*/
|
|
8
8
|
export interface ExemptionsFiltersResult {
|
|
9
9
|
/**
|
|
10
10
|
* List of pipeline IDs with exemptions
|
|
11
|
-
* @example ["
|
|
11
|
+
* @example ["Eum nemo velit voluptatem ut.","Voluptates expedita.","Non eligendi est fugit id et."]
|
|
12
12
|
*/
|
|
13
13
|
pipelines: string[];
|
|
14
14
|
/**
|
|
15
15
|
* List of exemption reasons
|
|
16
|
-
* @example ["
|
|
16
|
+
* @example ["Id voluptates qui necessitatibus quidem iste.","Iste magnam dignissimos reprehenderit accusamus ducimus quis."]
|
|
17
17
|
*/
|
|
18
18
|
reasons: string[];
|
|
19
19
|
/**
|
|
@@ -28,7 +28,7 @@ export interface ExemptionsFiltersResult {
|
|
|
28
28
|
targets: ExemptionFilterTarget[];
|
|
29
29
|
/**
|
|
30
30
|
* List of all users in the account/scope
|
|
31
|
-
* @example [{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"},{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"}]
|
|
31
|
+
* @example [{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"},{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"},{"email":"john.doe@example.com","name":"John Doe","userId":"user1111111111111111"}]
|
|
32
32
|
*/
|
|
33
33
|
users: ExemptionFilterUser[];
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ import type { Exemption } from '../schemas/Exemption';
|
|
|
6
6
|
export interface ExemptionsListExemptionsResponseBody {
|
|
7
7
|
pagination: Pagination;
|
|
8
8
|
/**
|
|
9
|
-
* @example [{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Approved","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Approved","targetId":"abcdef1234567890ghijkl","type":"Other"}]
|
|
9
|
+
* @example [{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Approved","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Approved","targetId":"abcdef1234567890ghijkl","type":"Other"},{"approverEmail":"user@harness.io","approverId":"user111111111111111111","approverName":"firstname lastname","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","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname","reviewedOn":1651578240,"scanId":"abcdef1234567890ghijkl","scope":"PROJECT","search":"CWE-123,5","status":"Approved","targetId":"abcdef1234567890ghijkl","type":"Other"}]
|
|
10
10
|
*/
|
|
11
11
|
results: Exemption[];
|
|
12
12
|
}
|