@harnessio/react-sto-core-client 0.7.10 → 0.7.11
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/useFrontendProvisionQwietTrialMutation.d.ts +22 -0
- package/dist/sto-core/src/services/hooks/useFrontendProvisionQwietTrialMutation.js +14 -0
- package/dist/sto-core/src/services/index.d.ts +4 -4
- package/dist/sto-core/src/services/index.js +1 -1
- package/dist/sto-core/src/services/schemas/AllIssuesCountsV2Result.d.ts +8 -2
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +7 -7
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsV2Result.d.ts +3 -3
- 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 +2 -2
- package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/Exemption.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +2 -2
- 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/FrontendProvisionQwietTrialResponseBody.d.ts +2 -0
- package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +6 -6
- 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/PipelineSecurityIssuesResult.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/ProvisionQwietTrialResult.d.ts +11 -0
- package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
- package/package.json +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendAllIssuesTotalsV2Query.d.ts +0 -32
- package/dist/sto-core/src/services/hooks/useFrontendAllIssuesTotalsV2Query.js +0 -14
- package/dist/sto-core/src/services/schemas/AllIssuesTotalsV2Result.d.ts +0 -17
- package/dist/sto-core/src/services/schemas/FrontendAllIssuesTotalsV2ResponseBody.d.ts +0 -2
- /package/dist/sto-core/src/services/schemas/{FrontendAllIssuesTotalsV2ResponseBody.js → FrontendProvisionQwietTrialResponseBody.js} +0 -0
- /package/dist/sto-core/src/services/schemas/{AllIssuesTotalsV2Result.js → ProvisionQwietTrialResult.js} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FrontendProvisionQwietTrialResponseBody } from '../schemas/FrontendProvisionQwietTrialResponseBody';
|
|
3
|
+
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface FrontendProvisionQwietTrialMutationQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* Harness Account ID
|
|
9
|
+
* @example "abcdef1234567890ghijkl"
|
|
10
|
+
*/
|
|
11
|
+
accountId: string;
|
|
12
|
+
}
|
|
13
|
+
export type FrontendProvisionQwietTrialOkResponse = ResponseWithPagination<FrontendProvisionQwietTrialResponseBody>;
|
|
14
|
+
export type FrontendProvisionQwietTrialErrorResponse = NotFound;
|
|
15
|
+
export interface FrontendProvisionQwietTrialProps extends Omit<FetcherOptions<FrontendProvisionQwietTrialMutationQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: FrontendProvisionQwietTrialMutationQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function frontendProvisionQwietTrial(props: FrontendProvisionQwietTrialProps): Promise<FrontendProvisionQwietTrialOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Provisions a Qwiet trial license for the account. Calls Qwiet first, then updates the STO license in ng-manager.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useFrontendProvisionQwietTrialMutation(options?: Omit<UseMutationOptions<FrontendProvisionQwietTrialOkResponse, FrontendProvisionQwietTrialErrorResponse, FrontendProvisionQwietTrialProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<FrontendProvisionQwietTrialOkResponse, NotFound, FrontendProvisionQwietTrialProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function frontendProvisionQwietTrial(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v2/frontend/licenses/qwiet/trial`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Provisions a Qwiet trial license for the account. Calls Qwiet first, then updates the STO license in ng-manager.
|
|
11
|
+
*/
|
|
12
|
+
export function useFrontendProvisionQwietTrialMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => frontendProvisionQwietTrial(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -29,8 +29,6 @@ export type { FrontendAllIssuesListV2ErrorResponse, FrontendAllIssuesListV2OkRes
|
|
|
29
29
|
export { frontendAllIssuesListV2, useFrontendAllIssuesListV2Query, } from './hooks/useFrontendAllIssuesListV2Query';
|
|
30
30
|
export type { FrontendAllIssuesOccurrenceDetailsErrorResponse, FrontendAllIssuesOccurrenceDetailsOkResponse, FrontendAllIssuesOccurrenceDetailsProps, FrontendAllIssuesOccurrenceDetailsQueryPathParams, FrontendAllIssuesOccurrenceDetailsQueryQueryParams, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
31
31
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
32
|
-
export type { FrontendAllIssuesTotalsV2ErrorResponse, FrontendAllIssuesTotalsV2OkResponse, FrontendAllIssuesTotalsV2Props, FrontendAllIssuesTotalsV2QueryQueryParams, } from './hooks/useFrontendAllIssuesTotalsV2Query';
|
|
33
|
-
export { frontendAllIssuesTotalsV2, useFrontendAllIssuesTotalsV2Query, } from './hooks/useFrontendAllIssuesTotalsV2Query';
|
|
34
32
|
export type { FrontendAllIssuesTrendV2ErrorResponse, FrontendAllIssuesTrendV2OkResponse, FrontendAllIssuesTrendV2Props, FrontendAllIssuesTrendV2QueryQueryParams, } from './hooks/useFrontendAllIssuesTrendV2Query';
|
|
35
33
|
export { frontendAllIssuesTrendV2, useFrontendAllIssuesTrendV2Query, } from './hooks/useFrontendAllIssuesTrendV2Query';
|
|
36
34
|
export type { FrontendExemptionsFiltersErrorResponse, FrontendExemptionsFiltersOkResponse, FrontendExemptionsFiltersProps, FrontendExemptionsFiltersQueryQueryParams, FrontendExemptionsFiltersRequestBody, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
@@ -57,6 +55,8 @@ export type { FrontendPipelineSecurityIssuesErrorResponse, FrontendPipelineSecur
|
|
|
57
55
|
export { frontendPipelineSecurityIssues, useFrontendPipelineSecurityIssuesQuery, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
|
|
58
56
|
export type { FrontendPipelineSecurityStepsErrorResponse, FrontendPipelineSecurityStepsOkResponse, FrontendPipelineSecurityStepsProps, FrontendPipelineSecurityStepsQueryQueryParams, } from './hooks/useFrontendPipelineSecurityStepsQuery';
|
|
59
57
|
export { frontendPipelineSecuritySteps, useFrontendPipelineSecurityStepsQuery, } from './hooks/useFrontendPipelineSecurityStepsQuery';
|
|
58
|
+
export type { FrontendProvisionQwietTrialErrorResponse, FrontendProvisionQwietTrialMutationQueryParams, FrontendProvisionQwietTrialOkResponse, FrontendProvisionQwietTrialProps, } from './hooks/useFrontendProvisionQwietTrialMutation';
|
|
59
|
+
export { frontendProvisionQwietTrial, useFrontendProvisionQwietTrialMutation, } from './hooks/useFrontendProvisionQwietTrialMutation';
|
|
60
60
|
export type { FrontendQwietLicenseUsageErrorResponse, FrontendQwietLicenseUsageOkResponse, FrontendQwietLicenseUsageProps, FrontendQwietLicenseUsageQueryQueryParams, } from './hooks/useFrontendQwietLicenseUsageQuery';
|
|
61
61
|
export { frontendQwietLicenseUsage, useFrontendQwietLicenseUsageQuery, } from './hooks/useFrontendQwietLicenseUsageQuery';
|
|
62
62
|
export type { FrontendSecurityReviewErrorResponse, FrontendSecurityReviewOkResponse, FrontendSecurityReviewProps, FrontendSecurityReviewQueryQueryParams, } from './hooks/useFrontendSecurityReviewQuery';
|
|
@@ -100,7 +100,6 @@ export type { AllIssuesFiltersResult } from './schemas/AllIssuesFiltersResult';
|
|
|
100
100
|
export type { AllIssuesListResult } from './schemas/AllIssuesListResult';
|
|
101
101
|
export type { AllIssuesListV2Result } from './schemas/AllIssuesListV2Result';
|
|
102
102
|
export type { AllIssuesOccurrenceDetailsResult } from './schemas/AllIssuesOccurrenceDetailsResult';
|
|
103
|
-
export type { AllIssuesTotalsV2Result } from './schemas/AllIssuesTotalsV2Result';
|
|
104
103
|
export type { AllIssuesTrendV2Result } from './schemas/AllIssuesTrendV2Result';
|
|
105
104
|
export type { ApproveExemptionRequestBody } from './schemas/ApproveExemptionRequestBody';
|
|
106
105
|
export type { AugmentRemediationMetadata } from './schemas/AugmentRemediationMetadata';
|
|
@@ -128,7 +127,6 @@ export type { FrontendAllIssuesFiltersResponseBody } from './schemas/FrontendAll
|
|
|
128
127
|
export type { FrontendAllIssuesListResponseBody } from './schemas/FrontendAllIssuesListResponseBody';
|
|
129
128
|
export type { FrontendAllIssuesListV2ResponseBody } from './schemas/FrontendAllIssuesListV2ResponseBody';
|
|
130
129
|
export type { FrontendAllIssuesOccurrenceDetailsResponseBody } from './schemas/FrontendAllIssuesOccurrenceDetailsResponseBody';
|
|
131
|
-
export type { FrontendAllIssuesTotalsV2ResponseBody } from './schemas/FrontendAllIssuesTotalsV2ResponseBody';
|
|
132
130
|
export type { FrontendAllIssuesTrendV2ResponseBody } from './schemas/FrontendAllIssuesTrendV2ResponseBody';
|
|
133
131
|
export type { FrontendExemption } from './schemas/FrontendExemption';
|
|
134
132
|
export type { FrontendExemptionCounts } from './schemas/FrontendExemptionCounts';
|
|
@@ -144,6 +142,7 @@ export type { FrontendOverviewBaselinesResponseBody } from './schemas/FrontendOv
|
|
|
144
142
|
export type { FrontendOverviewHistoricalCountsResponseBody } from './schemas/FrontendOverviewHistoricalCountsResponseBody';
|
|
145
143
|
export type { FrontendPipelineSecurityIssuesResponseBody } from './schemas/FrontendPipelineSecurityIssuesResponseBody';
|
|
146
144
|
export type { FrontendPipelineSecurityStepsResponseBody } from './schemas/FrontendPipelineSecurityStepsResponseBody';
|
|
145
|
+
export type { FrontendProvisionQwietTrialResponseBody } from './schemas/FrontendProvisionQwietTrialResponseBody';
|
|
147
146
|
export type { FrontendQwietLicenseUsageResponseBody } from './schemas/FrontendQwietLicenseUsageResponseBody';
|
|
148
147
|
export type { FrontendSecurityReviewResponseBody } from './schemas/FrontendSecurityReviewResponseBody';
|
|
149
148
|
export type { FrontendTestTargetsResponseBody } from './schemas/FrontendTestTargetsResponseBody';
|
|
@@ -180,6 +179,7 @@ export type { PipelineSecurityStepsResult } from './schemas/PipelineSecurityStep
|
|
|
180
179
|
export type { Product } from './schemas/Product';
|
|
181
180
|
export type { ProductsListProductsResponseBody } from './schemas/ProductsListProductsResponseBody';
|
|
182
181
|
export type { PromoteExemptionRequestBody } from './schemas/PromoteExemptionRequestBody';
|
|
182
|
+
export type { ProvisionQwietTrialResult } from './schemas/ProvisionQwietTrialResult';
|
|
183
183
|
export type { PullRequestCorrelationResult } from './schemas/PullRequestCorrelationResult';
|
|
184
184
|
export type { PullRequestResult } from './schemas/PullRequestResult';
|
|
185
185
|
export type { PullRequestsGetPullRequestCorrelationResponseBody } from './schemas/PullRequestsGetPullRequestCorrelationResponseBody';
|
|
@@ -13,7 +13,6 @@ export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './h
|
|
|
13
13
|
export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
|
|
14
14
|
export { frontendAllIssuesListV2, useFrontendAllIssuesListV2Query, } from './hooks/useFrontendAllIssuesListV2Query';
|
|
15
15
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
16
|
-
export { frontendAllIssuesTotalsV2, useFrontendAllIssuesTotalsV2Query, } from './hooks/useFrontendAllIssuesTotalsV2Query';
|
|
17
16
|
export { frontendAllIssuesTrendV2, useFrontendAllIssuesTrendV2Query, } from './hooks/useFrontendAllIssuesTrendV2Query';
|
|
18
17
|
export { frontendExemptionsFilters, useFrontendExemptionsFiltersQuery, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
19
18
|
export { frontendExpiringExemptions, useFrontendExpiringExemptionsQuery, } from './hooks/useFrontendExpiringExemptionsQuery';
|
|
@@ -27,6 +26,7 @@ export { frontendOverviewHistoricalCounts, useFrontendOverviewHistoricalCountsQu
|
|
|
27
26
|
export { frontendPipelineSecurityIssuesCsv, useFrontendPipelineSecurityIssuesCsvQuery, } from './hooks/useFrontendPipelineSecurityIssuesCsvQuery';
|
|
28
27
|
export { frontendPipelineSecurityIssues, useFrontendPipelineSecurityIssuesQuery, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
|
|
29
28
|
export { frontendPipelineSecuritySteps, useFrontendPipelineSecurityStepsQuery, } from './hooks/useFrontendPipelineSecurityStepsQuery';
|
|
29
|
+
export { frontendProvisionQwietTrial, useFrontendProvisionQwietTrialMutation, } from './hooks/useFrontendProvisionQwietTrialMutation';
|
|
30
30
|
export { frontendQwietLicenseUsage, useFrontendQwietLicenseUsageQuery, } from './hooks/useFrontendQwietLicenseUsageQuery';
|
|
31
31
|
export { frontendSecurityReview, useFrontendSecurityReviewQuery, } from './hooks/useFrontendSecurityReviewQuery';
|
|
32
32
|
export { frontendTestTargets, useFrontendTestTargetsQuery, } from './hooks/useFrontendTestTargetsQuery';
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import type { MinimalIssueCounts } from '../schemas/MinimalIssueCounts';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"issueTypeCounts":{"
|
|
3
|
+
* @example {"issueTypeCounts":{"Dolores eos.":8052071739309807000,"Nostrum fugiat repellendus qui.":6307495101957347000,"Ut suscipit et voluptatem.":2135664871634650600},"severityCounts":{"critical":1,"high":3,"ignored":1,"info":11,"low":39,"medium":17},"totalOccurrences":8398541727720173000}
|
|
4
4
|
*/
|
|
5
5
|
export interface AllIssuesCountsV2Result {
|
|
6
6
|
/**
|
|
7
|
-
* Issue counts grouped by issue type (e.g. SAST, SCA, DAST
|
|
7
|
+
* Issue counts grouped by issue type (e.g. SAST, SCA, DAST)
|
|
8
8
|
* @example {"Dolorem minus.":6368787799989217000,"Nesciunt ratione a voluptatem ex natus.":2493746063696959000}
|
|
9
9
|
*/
|
|
10
10
|
issueTypeCounts: {
|
|
11
11
|
[key: string]: number;
|
|
12
12
|
};
|
|
13
13
|
severityCounts: MinimalIssueCounts;
|
|
14
|
+
/**
|
|
15
|
+
* Total number of occurrences across all filtered issues
|
|
16
|
+
* @format int64
|
|
17
|
+
* @example 7800771131525463000
|
|
18
|
+
*/
|
|
19
|
+
totalOccurrences: number;
|
|
14
20
|
}
|
|
@@ -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":"Eos ut officiis.","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exploitability":"yes","impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"
|
|
6
|
+
* @example {"description":"Eos ut officiis.","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exploitability":"yes","impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"Ut quia.","userName":"firstname lastname","variantName":"Ipsa nostrum et occaecati."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"Ut quia.","userName":"firstname lastname","variantName":"Ipsa nostrum et occaecati."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"Ut quia.","userName":"firstname lastname","variantName":"Ipsa nostrum et occaecati."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"Ut quia.","userName":"firstname lastname","variantName":"Ipsa nostrum et occaecati."}],"issueType":"Quia dolore cumque repudiandae officia libero dolor.","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"},{"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":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."}],"scanTool":"owasp","severityCode":"High","targetType":"Et sit.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
7
7
|
*/
|
|
8
8
|
export interface AllIssuesDetailsResult {
|
|
9
9
|
/**
|
|
10
10
|
* Issue description
|
|
11
|
-
* @example "
|
|
11
|
+
* @example "Unde labore."
|
|
12
12
|
*/
|
|
13
13
|
description: string;
|
|
14
14
|
/**
|
|
@@ -35,12 +35,12 @@ export interface AllIssuesDetailsResult {
|
|
|
35
35
|
exploitability?: string;
|
|
36
36
|
/**
|
|
37
37
|
* List of Impacted Targets
|
|
38
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"
|
|
38
|
+
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"Ut quia.","userName":"firstname lastname","variantName":"Ipsa nostrum et occaecati."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","userEmail":"user@gmail.com","userId":"Ut quia.","userName":"firstname lastname","variantName":"Ipsa nostrum et occaecati."}]
|
|
39
39
|
*/
|
|
40
40
|
impactedTargets: ImpactedTarget[];
|
|
41
41
|
/**
|
|
42
42
|
* Issue Type
|
|
43
|
-
* @example "
|
|
43
|
+
* @example "Rerum occaecati atque omnis quis."
|
|
44
44
|
*/
|
|
45
45
|
issueType?: string;
|
|
46
46
|
/**
|
|
@@ -51,7 +51,7 @@ export interface AllIssuesDetailsResult {
|
|
|
51
51
|
lastDetected: number;
|
|
52
52
|
/**
|
|
53
53
|
* List of issue overrides
|
|
54
|
-
* @example [{"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"}
|
|
54
|
+
* @example [{"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"}]
|
|
55
55
|
*/
|
|
56
56
|
overrides?: OverrideResult[];
|
|
57
57
|
pagination: Pagination;
|
|
@@ -62,7 +62,7 @@ export interface AllIssuesDetailsResult {
|
|
|
62
62
|
reachability?: string;
|
|
63
63
|
/**
|
|
64
64
|
* Reference Identifiers
|
|
65
|
-
* @example [{"id":"
|
|
65
|
+
* @example [{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."}]
|
|
66
66
|
*/
|
|
67
67
|
referenceIdentifiers: RefIds[];
|
|
68
68
|
/**
|
|
@@ -77,7 +77,7 @@ export interface AllIssuesDetailsResult {
|
|
|
77
77
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
78
78
|
/**
|
|
79
79
|
* Target Type
|
|
80
|
-
* @example "
|
|
80
|
+
* @example "Quo sapiente ut voluptatem quibusdam odit nihil."
|
|
81
81
|
*/
|
|
82
82
|
targetType: string;
|
|
83
83
|
/**
|
|
@@ -3,7 +3,7 @@ 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":"Amet laborum mollitia.","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"
|
|
6
|
+
* @example {"description":"Amet laborum mollitia.","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","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":"Culpa quidem dicta cumque ipsam consectetur.","userName":"firstname lastname","variantName":"Rerum molestias."},{"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":"Culpa quidem dicta cumque ipsam consectetur.","userName":"firstname lastname","variantName":"Rerum molestias."},{"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":"Culpa quidem dicta cumque ipsam consectetur.","userName":"firstname lastname","variantName":"Rerum molestias."},{"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":"Culpa quidem dicta cumque ipsam consectetur.","userName":"firstname lastname","variantName":"Rerum molestias."}],"issueType":"Quia animi id.","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"},{"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":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."}],"scanTool":"owasp","severityCode":"High","status":"Exempted","targetType":"Assumenda voluptatem aperiam aut.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
7
7
|
*/
|
|
8
8
|
export interface AllIssuesDetailsV2Result {
|
|
9
9
|
/**
|
|
@@ -35,7 +35,7 @@ export interface AllIssuesDetailsV2Result {
|
|
|
35
35
|
exemptionStatus?: string;
|
|
36
36
|
/**
|
|
37
37
|
* List of Impacted Targets
|
|
38
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","reachability":"reachable","status":"
|
|
38
|
+
* @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":"Culpa quidem dicta cumque ipsam consectetur.","userName":"firstname lastname","variantName":"Rerum molestias."},{"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":"Culpa quidem dicta cumque ipsam consectetur.","userName":"firstname lastname","variantName":"Rerum molestias."}]
|
|
39
39
|
*/
|
|
40
40
|
impactedTargets: ImpactedTargetV2[];
|
|
41
41
|
/**
|
|
@@ -62,7 +62,7 @@ export interface AllIssuesDetailsV2Result {
|
|
|
62
62
|
reachability?: string;
|
|
63
63
|
/**
|
|
64
64
|
* Reference Identifiers
|
|
65
|
-
* @example [{"id":"
|
|
65
|
+
* @example [{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."}]
|
|
66
66
|
*/
|
|
67
67
|
referenceIdentifiers: RefIds[];
|
|
68
68
|
/**
|
|
@@ -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","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"
|
|
4
|
+
* @example {"issues":[{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"Aspernatur officia qui voluptas illum aut et.","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":"Exempted","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","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"Aspernatur officia qui voluptas illum aut et.","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":"Exempted","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","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"
|
|
9
|
+
* @example [{"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"Aspernatur officia qui voluptas illum aut et.","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":"Exempted","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","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"Aspernatur officia qui voluptas illum aut et.","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":"Exempted","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","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"Aspernatur officia qui voluptas illum aut et.","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":"Exempted","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","exploitability":"yes","id":"abcdef1234567890ghijkl","issueType":"Aspernatur officia qui voluptas illum aut et.","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":"Exempted","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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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":"Pariatur quod atque quisquam occaecati in quam.","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"}],"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,7 +1,7 @@
|
|
|
1
1
|
import type { Pagination } from '../schemas/Pagination';
|
|
2
2
|
import type { RefIds } from '../schemas/RefIds';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"description":"Autem et occaecati voluptas asperiores neque.","exemptionId":"abcdef1234567890ghijkl","exploitability":"yes","issueType":"Sit nulla sint quo.","lastDetected":1634836529,"occurrences":[{"Ex corrupti ea ullam.":"Aliquid culpa.","Ipsam velit eligendi sit consequatur excepturi error.":"Fugit ab iusto nihil."},{"Et doloribus tempora tempore quam numquam.":"Suscipit nesciunt unde at consequatur eius.","Minus et amet et nostrum est.":"Enim doloremque."}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"reachability":"reachable","referenceIdentifiers":[{"id":"
|
|
4
|
+
* @example {"description":"Autem et occaecati voluptas asperiores neque.","exemptionId":"abcdef1234567890ghijkl","exploitability":"yes","issueType":"Sit nulla sint quo.","lastDetected":1634836529,"occurrences":[{"Ex corrupti ea ullam.":"Aliquid culpa.","Ipsam velit eligendi sit consequatur excepturi error.":"Fugit ab iusto nihil."},{"Et doloribus tempora tempore quam numquam.":"Suscipit nesciunt unde at consequatur eius.","Minus et amet et nostrum est.":"Enim doloremque."}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"reachability":"reachable","referenceIdentifiers":[{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."}],"severityCode":"High","targetName":"The Target","targetType":"Dicta ratione incidunt.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","variantName":"Suscipit quia velit ipsam sed nihil eaque."}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesOccurrenceDetailsResult {
|
|
7
7
|
/**
|
|
@@ -45,7 +45,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
45
45
|
reachability?: string;
|
|
46
46
|
/**
|
|
47
47
|
* Reference Identifiers
|
|
48
|
-
* @example [{"id":"
|
|
48
|
+
* @example [{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."},{"id":"Voluptas facilis tempore facere.","type":"Quos reiciendis tenetur."}]
|
|
49
49
|
*/
|
|
50
50
|
referenceIdentifiers?: RefIds[];
|
|
51
51
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AugmentRemediationWarning } from '../schemas/AugmentRemediationWarning';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"warnings":[{"message":"
|
|
3
|
+
* @example {"warnings":[{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."}]}
|
|
4
4
|
*/
|
|
5
5
|
export interface AugmentRemediationMetadata {
|
|
6
6
|
/**
|
|
7
|
-
* @example [{"message":"
|
|
7
|
+
* @example [{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."}]
|
|
8
8
|
*/
|
|
9
9
|
warnings: AugmentRemediationWarning[];
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AugmentRemediationMetadata } from '../schemas/AugmentRemediationMetadata';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"metadata":{"warnings":[{"message":"
|
|
3
|
+
* @example {"metadata":{"warnings":[{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."},{"message":"Repellendus non.","source":"Dolores qui velit animi incidunt placeat."}]},"remediationCode":"Dolore voluptatibus expedita dignissimos reprehenderit.","remediationContext":"Adipisci ea modi harum dignissimos explicabo amet.","repoContent":"Sint sunt iusto."}
|
|
4
4
|
*/
|
|
5
5
|
export interface AugmentRemediationResult {
|
|
6
6
|
metadata: AugmentRemediationMetadata;
|
|
@@ -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":"
|
|
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":"Canceled","targetId":"abcdef1234567890ghijkl","type":"Other"}
|
|
5
5
|
*/
|
|
6
6
|
export interface Exemption {
|
|
7
7
|
/**
|
|
@@ -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"},{"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"},{"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;
|