@harnessio/react-sto-core-client 0.7.1 → 0.7.2
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/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/useFrontendAllIssuesCountsV2Query.d.ts +89 -0
- package/dist/sto-core/src/services/hooks/useFrontendAllIssuesCountsV2Query.js +14 -0
- package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListV2Query.d.ts +103 -0
- package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListV2Query.js +14 -0
- 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 +5 -5
- 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 +9 -0
- package/dist/sto-core/src/services/index.js +2 -0
- package/dist/sto-core/src/services/schemas/AllBaselineIssueSummary.d.ts +82 -0
- package/dist/sto-core/src/services/schemas/AllBaselineIssueSummary.js +1 -0
- package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/AllIssuesCountsV2Result.d.ts +20 -0
- package/dist/sto-core/src/services/schemas/AllIssuesCountsV2Result.js +1 -0
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +7 -7
- package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesListV2Result.d.ts +13 -0
- package/dist/sto-core/src/services/schemas/AllIssuesListV2Result.js +1 -0
- 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 +1 -1
- package/dist/sto-core/src/services/schemas/ExemptionsFiltersResult.d.ts +6 -6
- 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/FrontendAllIssuesCountsV2ResponseBody.d.ts +2 -0
- package/dist/sto-core/src/services/schemas/FrontendAllIssuesCountsV2ResponseBody.js +1 -0
- package/dist/sto-core/src/services/schemas/FrontendAllIssuesListV2ResponseBody.d.ts +2 -0
- package/dist/sto-core/src/services/schemas/FrontendAllIssuesListV2ResponseBody.js +1 -0
- package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +6 -5
- package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +0 -1
- package/dist/sto-core/src/services/schemas/ImpactedTarget.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 +4 -4
- package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +7 -7
- 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/PipelineSecurityCounts.d.ts +13 -13
- 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/TestTargetResult.d.ts +2 -2
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ export interface ExemptionsApproveExemptionMutationQueryParams {
|
|
|
36
36
|
export interface ExemptionsApproveExemptionMutationHeaderParams {
|
|
37
37
|
/**
|
|
38
38
|
* Harness personal or service access token
|
|
39
|
-
* @example "
|
|
39
|
+
* @example "Ducimus expedita."
|
|
40
40
|
*/
|
|
41
41
|
'X-Api-Key'?: string;
|
|
42
42
|
}
|
|
@@ -24,7 +24,7 @@ export interface ExemptionsCreateExemptionMutationQueryParams {
|
|
|
24
24
|
export interface ExemptionsCreateExemptionMutationHeaderParams {
|
|
25
25
|
/**
|
|
26
26
|
* Harness personal or service access token
|
|
27
|
-
* @example "
|
|
27
|
+
* @example "Nulla et enim labore dolorem pariatur et."
|
|
28
28
|
*/
|
|
29
29
|
'X-Api-Key'?: string;
|
|
30
30
|
}
|
|
@@ -33,13 +33,14 @@ export interface ExemptionsFindExemptionByIdQueryQueryParams {
|
|
|
33
33
|
executionId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* Ignore scope
|
|
36
|
+
* @example true
|
|
36
37
|
*/
|
|
37
38
|
ignoreScope?: boolean;
|
|
38
39
|
}
|
|
39
40
|
export interface ExemptionsFindExemptionByIdQueryHeaderParams {
|
|
40
41
|
/**
|
|
41
42
|
* Harness personal or service access token
|
|
42
|
-
* @example "
|
|
43
|
+
* @example "Ut perspiciatis voluptatibus."
|
|
43
44
|
*/
|
|
44
45
|
'X-Api-Key'?: string;
|
|
45
46
|
}
|
|
@@ -37,7 +37,7 @@ export interface ExemptionsListExemptionsQueryQueryParams {
|
|
|
37
37
|
export interface ExemptionsListExemptionsQueryHeaderParams {
|
|
38
38
|
/**
|
|
39
39
|
* Harness personal or service access token
|
|
40
|
-
* @example "
|
|
40
|
+
* @example "Porro enim voluptatum."
|
|
41
41
|
*/
|
|
42
42
|
'X-Api-Key'?: string;
|
|
43
43
|
}
|
|
@@ -31,7 +31,7 @@ export interface ExemptionsPromoteExemptionMutationQueryParams {
|
|
|
31
31
|
export interface ExemptionsPromoteExemptionMutationHeaderParams {
|
|
32
32
|
/**
|
|
33
33
|
* Harness personal or service access token
|
|
34
|
-
* @example "
|
|
34
|
+
* @example "Eveniet atque."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -31,7 +31,7 @@ export interface ExemptionsUpdateExemptionMutationQueryParams {
|
|
|
31
31
|
export interface ExemptionsUpdateExemptionMutationHeaderParams {
|
|
32
32
|
/**
|
|
33
33
|
* Harness personal or service access token
|
|
34
|
-
* @example "
|
|
34
|
+
* @example "Qui tenetur est placeat vel."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FrontendAllIssuesCountsV2ResponseBody } from '../schemas/FrontendAllIssuesCountsV2ResponseBody';
|
|
3
|
+
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface FrontendAllIssuesCountsV2QueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* Harness Account ID
|
|
9
|
+
* @example "abcdef1234567890ghijkl"
|
|
10
|
+
*/
|
|
11
|
+
accountId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Harness Organization ID
|
|
14
|
+
* @example "example_org"
|
|
15
|
+
*/
|
|
16
|
+
orgId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Harness Project ID
|
|
19
|
+
* @example "example_project"
|
|
20
|
+
*/
|
|
21
|
+
projectId: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example "target1111111111111111,abcdef1234567890abcdef"
|
|
24
|
+
*/
|
|
25
|
+
targetIds?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example "repository,container"
|
|
28
|
+
*/
|
|
29
|
+
targetTypes?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example "pipeline1,pipeline2"
|
|
32
|
+
*/
|
|
33
|
+
pipelineIds?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example "owasp,zap"
|
|
36
|
+
*/
|
|
37
|
+
scanTools?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example "Critical,High,Medium"
|
|
40
|
+
*/
|
|
41
|
+
severityCodes?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example "None,Pending,Rejected,Expired"
|
|
44
|
+
*/
|
|
45
|
+
exemptionStatuses?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
|
|
48
|
+
* @default "Yes,No"
|
|
49
|
+
* @example "Yes"
|
|
50
|
+
*/
|
|
51
|
+
severityOverriden?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example "CWE-123"
|
|
54
|
+
*/
|
|
55
|
+
search?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example "SAST"
|
|
58
|
+
*/
|
|
59
|
+
issueTypes?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example "Active,Exempted,Remediated"
|
|
62
|
+
*/
|
|
63
|
+
statuses?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.
|
|
66
|
+
* @example "reachable"
|
|
67
|
+
*/
|
|
68
|
+
reachability?: string;
|
|
69
|
+
/**
|
|
70
|
+
* EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
|
|
71
|
+
* @example "gte_15"
|
|
72
|
+
*/
|
|
73
|
+
epss?: string;
|
|
74
|
+
/**
|
|
75
|
+
* EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
|
|
76
|
+
* @example "gte_99"
|
|
77
|
+
*/
|
|
78
|
+
epssPercentile?: string;
|
|
79
|
+
}
|
|
80
|
+
export type FrontendAllIssuesCountsV2OkResponse = ResponseWithPagination<FrontendAllIssuesCountsV2ResponseBody>;
|
|
81
|
+
export type FrontendAllIssuesCountsV2ErrorResponse = NotFound;
|
|
82
|
+
export interface FrontendAllIssuesCountsV2Props extends Omit<FetcherOptions<FrontendAllIssuesCountsV2QueryQueryParams, unknown>, 'url'> {
|
|
83
|
+
queryParams: FrontendAllIssuesCountsV2QueryQueryParams;
|
|
84
|
+
}
|
|
85
|
+
export declare function frontendAllIssuesCountsV2(props: FrontendAllIssuesCountsV2Props): Promise<FrontendAllIssuesCountsV2OkResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table
|
|
88
|
+
*/
|
|
89
|
+
export declare function useFrontendAllIssuesCountsV2Query(props: FrontendAllIssuesCountsV2Props, options?: Omit<UseQueryOptions<FrontendAllIssuesCountsV2OkResponse, FrontendAllIssuesCountsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendAllIssuesCountsV2OkResponse, NotFound>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function frontendAllIssuesCountsV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v2/frontend/all-issues/v2/counts`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table
|
|
11
|
+
*/
|
|
12
|
+
export function useFrontendAllIssuesCountsV2Query(props, options) {
|
|
13
|
+
return useQuery(['Frontend#AllIssuesCountsV2', props.queryParams], ({ signal }) => frontendAllIssuesCountsV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FrontendAllIssuesListV2ResponseBody } from '../schemas/FrontendAllIssuesListV2ResponseBody';
|
|
3
|
+
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface FrontendAllIssuesListV2QueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* Harness Account ID
|
|
9
|
+
* @example "abcdef1234567890ghijkl"
|
|
10
|
+
*/
|
|
11
|
+
accountId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Harness Organization ID
|
|
14
|
+
* @example "example_org"
|
|
15
|
+
*/
|
|
16
|
+
orgId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Harness Project ID
|
|
19
|
+
* @example "example_project"
|
|
20
|
+
*/
|
|
21
|
+
projectId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Page number to fetch (starting from 0)
|
|
24
|
+
* @format int64
|
|
25
|
+
* @default 0
|
|
26
|
+
* @example 4
|
|
27
|
+
*/
|
|
28
|
+
page?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Number of results per page
|
|
31
|
+
* @format int64
|
|
32
|
+
* @default 30
|
|
33
|
+
* @example 50
|
|
34
|
+
*/
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example "target1111111111111111,abcdef1234567890abcdef"
|
|
38
|
+
*/
|
|
39
|
+
targetIds?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example "repository,container"
|
|
42
|
+
*/
|
|
43
|
+
targetTypes?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example "pipeline1,pipeline2"
|
|
46
|
+
*/
|
|
47
|
+
pipelineIds?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @example "owasp,zap"
|
|
50
|
+
*/
|
|
51
|
+
scanTools?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example "Critical,High,Medium"
|
|
54
|
+
*/
|
|
55
|
+
severityCodes?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example "None,Pending,Rejected,Expired"
|
|
58
|
+
*/
|
|
59
|
+
exemptionStatuses?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
|
|
62
|
+
* @default "Yes,No"
|
|
63
|
+
* @example "Yes"
|
|
64
|
+
*/
|
|
65
|
+
severityOverriden?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example "CWE-123"
|
|
68
|
+
*/
|
|
69
|
+
search?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example "SAST"
|
|
72
|
+
*/
|
|
73
|
+
issueTypes?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example "Active,Exempted,Remediated"
|
|
76
|
+
*/
|
|
77
|
+
statuses?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.
|
|
80
|
+
* @example "reachable"
|
|
81
|
+
*/
|
|
82
|
+
reachability?: string;
|
|
83
|
+
/**
|
|
84
|
+
* EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
|
|
85
|
+
* @example "gte_15"
|
|
86
|
+
*/
|
|
87
|
+
epss?: string;
|
|
88
|
+
/**
|
|
89
|
+
* EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
|
|
90
|
+
* @example "gte_99"
|
|
91
|
+
*/
|
|
92
|
+
epssPercentile?: string;
|
|
93
|
+
}
|
|
94
|
+
export type FrontendAllIssuesListV2OkResponse = ResponseWithPagination<FrontendAllIssuesListV2ResponseBody>;
|
|
95
|
+
export type FrontendAllIssuesListV2ErrorResponse = NotFound;
|
|
96
|
+
export interface FrontendAllIssuesListV2Props extends Omit<FetcherOptions<FrontendAllIssuesListV2QueryQueryParams, unknown>, 'url'> {
|
|
97
|
+
queryParams: FrontendAllIssuesListV2QueryQueryParams;
|
|
98
|
+
}
|
|
99
|
+
export declare function frontendAllIssuesListV2(props: FrontendAllIssuesListV2Props): Promise<FrontendAllIssuesListV2OkResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Provides a paginated list of issues for a project using the pre-aggregated summary table
|
|
102
|
+
*/
|
|
103
|
+
export declare function useFrontendAllIssuesListV2Query(props: FrontendAllIssuesListV2Props, options?: Omit<UseQueryOptions<FrontendAllIssuesListV2OkResponse, FrontendAllIssuesListV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendAllIssuesListV2OkResponse, NotFound>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function frontendAllIssuesListV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v2/frontend/all-issues/v2/issues`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Provides a paginated list of issues for a project using the pre-aggregated summary table
|
|
11
|
+
*/
|
|
12
|
+
export function useFrontendAllIssuesListV2Query(props, options) {
|
|
13
|
+
return useQuery(['Frontend#AllIssuesListV2', props.queryParams], ({ signal }) => frontendAllIssuesListV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -24,7 +24,7 @@ export interface FrontendExemptionsFiltersQueryQueryParams {
|
|
|
24
24
|
export interface FrontendExemptionsFiltersQueryHeaderParams {
|
|
25
25
|
/**
|
|
26
26
|
* Harness personal or service access token
|
|
27
|
-
* @example "
|
|
27
|
+
* @example "Ab aspernatur distinctio."
|
|
28
28
|
*/
|
|
29
29
|
'X-Api-Key'?: string;
|
|
30
30
|
}
|
|
@@ -58,7 +58,7 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
|
58
58
|
export interface FrontendGlobalExemptionsQueryHeaderParams {
|
|
59
59
|
/**
|
|
60
60
|
* Harness personal or service access token
|
|
61
|
-
* @example "
|
|
61
|
+
* @example "Dolores ab occaecati debitis."
|
|
62
62
|
*/
|
|
63
63
|
'X-Api-Key'?: string;
|
|
64
64
|
}
|
|
@@ -35,7 +35,7 @@ export interface IssuesFindIssueByIdQueryQueryParams {
|
|
|
35
35
|
export interface IssuesFindIssueByIdQueryHeaderParams {
|
|
36
36
|
/**
|
|
37
37
|
* Harness personal or service access token
|
|
38
|
-
* @example "
|
|
38
|
+
* @example "Quos sit et distinctio saepe doloribus et."
|
|
39
39
|
*/
|
|
40
40
|
'X-Api-Key'?: string;
|
|
41
41
|
}
|
|
@@ -31,7 +31,7 @@ export interface IssuesIssuesAugmentRemediationMutationQueryParams {
|
|
|
31
31
|
export interface IssuesIssuesAugmentRemediationMutationHeaderParams {
|
|
32
32
|
/**
|
|
33
33
|
* Harness personal or service access token
|
|
34
|
-
* @example "
|
|
34
|
+
* @example "Quia hic."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -24,7 +24,7 @@ export interface OverridesCreateOverrideMutationQueryParams {
|
|
|
24
24
|
export interface OverridesCreateOverrideMutationHeaderParams {
|
|
25
25
|
/**
|
|
26
26
|
* Harness personal or service access token
|
|
27
|
-
* @example "
|
|
27
|
+
* @example "Architecto dolorem et iusto in."
|
|
28
28
|
*/
|
|
29
29
|
'X-Api-Key'?: string;
|
|
30
30
|
}
|
|
@@ -37,7 +37,7 @@ export interface OverridesListOverridesQueryQueryParams {
|
|
|
37
37
|
export interface OverridesListOverridesQueryHeaderParams {
|
|
38
38
|
/**
|
|
39
39
|
* Harness personal or service access token
|
|
40
|
-
* @example "
|
|
40
|
+
* @example "Quam quia est aut."
|
|
41
41
|
*/
|
|
42
42
|
'X-Api-Key'?: string;
|
|
43
43
|
}
|
|
@@ -25,14 +25,14 @@ export interface PullRequestsCreatePullRequestMutationQueryParams {
|
|
|
25
25
|
*/
|
|
26
26
|
provider: string;
|
|
27
27
|
/**
|
|
28
|
-
* @example "
|
|
28
|
+
* @example "Culpa accusantium consequuntur voluptate eum voluptate possimus."
|
|
29
29
|
*/
|
|
30
30
|
repositoryPath: string;
|
|
31
31
|
}
|
|
32
32
|
export interface PullRequestsCreatePullRequestMutationHeaderParams {
|
|
33
33
|
/**
|
|
34
34
|
* Harness personal or service access token
|
|
35
|
-
* @example "
|
|
35
|
+
* @example "Ab itaque repellat."
|
|
36
36
|
*/
|
|
37
37
|
'X-Api-Key'?: string;
|
|
38
38
|
}
|
|
@@ -24,7 +24,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
|
|
|
24
24
|
*/
|
|
25
25
|
provider: string;
|
|
26
26
|
/**
|
|
27
|
-
* @example "
|
|
27
|
+
* @example "Repudiandae et laboriosam eum ut incidunt et."
|
|
28
28
|
*/
|
|
29
29
|
repositoryPath: string;
|
|
30
30
|
/**
|
|
@@ -40,7 +40,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
|
|
|
40
40
|
export interface PullRequestsGetPullRequestCorrelationQueryHeaderParams {
|
|
41
41
|
/**
|
|
42
42
|
* Harness personal or service access token
|
|
43
|
-
* @example "
|
|
43
|
+
* @example "In consequatur ut."
|
|
44
44
|
*/
|
|
45
45
|
'X-Api-Key'?: string;
|
|
46
46
|
}
|
|
@@ -25,14 +25,14 @@ export interface PullRequestsUpdatePullRequestMutationQueryParams {
|
|
|
25
25
|
*/
|
|
26
26
|
provider: string;
|
|
27
27
|
/**
|
|
28
|
-
* @example "Quia
|
|
28
|
+
* @example "Quia voluptas soluta nulla praesentium possimus unde."
|
|
29
29
|
*/
|
|
30
30
|
repositoryPath: string;
|
|
31
31
|
}
|
|
32
32
|
export interface PullRequestsUpdatePullRequestMutationHeaderParams {
|
|
33
33
|
/**
|
|
34
34
|
* Harness personal or service access token
|
|
35
|
-
* @example "
|
|
35
|
+
* @example "Occaecati aspernatur qui."
|
|
36
36
|
*/
|
|
37
37
|
'X-Api-Key'?: string;
|
|
38
38
|
}
|
|
@@ -6,12 +6,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
6
6
|
export interface ScansScanIssueOccurrencesQueryPathParams {
|
|
7
7
|
/**
|
|
8
8
|
* The ID of the Security Test Scan
|
|
9
|
-
* @example "
|
|
9
|
+
* @example "A sapiente et voluptas."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Quibusdam exercitationem et est sunt repudiandae cum."
|
|
15
15
|
*/
|
|
16
16
|
issueId: string;
|
|
17
17
|
}
|
|
@@ -55,7 +55,7 @@ export interface ScansScanIssueOccurrencesQueryQueryParams {
|
|
|
55
55
|
exemptionStatus?: string;
|
|
56
56
|
/**
|
|
57
57
|
* The field to sort by
|
|
58
|
-
* @example "
|
|
58
|
+
* @example "Quae mollitia ad sed odio."
|
|
59
59
|
*/
|
|
60
60
|
sort?: string;
|
|
61
61
|
/**
|
|
@@ -72,7 +72,7 @@ export interface ScansScanIssueOccurrencesQueryQueryParams {
|
|
|
72
72
|
export interface ScansScanIssueOccurrencesQueryHeaderParams {
|
|
73
73
|
/**
|
|
74
74
|
* Harness personal or service access token
|
|
75
|
-
* @example "
|
|
75
|
+
* @example "Repudiandae dolorem."
|
|
76
76
|
*/
|
|
77
77
|
'X-Api-Key'?: string;
|
|
78
78
|
}
|
|
@@ -6,12 +6,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
6
6
|
export interface ScansScanIssueQueryPathParams {
|
|
7
7
|
/**
|
|
8
8
|
* The ID of the Security Test Scan
|
|
9
|
-
* @example "
|
|
9
|
+
* @example "Inventore doloribus."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Esse provident ut."
|
|
15
15
|
*/
|
|
16
16
|
issueId: string;
|
|
17
17
|
}
|
|
@@ -47,19 +47,19 @@ export interface ScansScanIssueQueryQueryParams {
|
|
|
47
47
|
pageSize?: number;
|
|
48
48
|
/**
|
|
49
49
|
* The field to sort by
|
|
50
|
-
* @example "
|
|
50
|
+
* @example "Reiciendis architecto quam accusamus voluptate blanditiis."
|
|
51
51
|
*/
|
|
52
52
|
sort?: string;
|
|
53
53
|
/**
|
|
54
54
|
* The order to sort by
|
|
55
|
-
* @example "
|
|
55
|
+
* @example "DESC"
|
|
56
56
|
*/
|
|
57
57
|
order?: 'ASC' | 'DESC';
|
|
58
58
|
}
|
|
59
59
|
export interface ScansScanIssueQueryHeaderParams {
|
|
60
60
|
/**
|
|
61
61
|
* Harness personal or service access token
|
|
62
|
-
* @example "
|
|
62
|
+
* @example "Ipsum impedit et qui adipisci sint quaerat."
|
|
63
63
|
*/
|
|
64
64
|
'X-Api-Key'?: string;
|
|
65
65
|
}
|
|
@@ -30,7 +30,7 @@ export interface TargetsFindTargetByIdQueryQueryParams {
|
|
|
30
30
|
export interface TargetsFindTargetByIdQueryHeaderParams {
|
|
31
31
|
/**
|
|
32
32
|
* Harness personal or service access token
|
|
33
|
-
* @example "Et
|
|
33
|
+
* @example "Et laboriosam aspernatur voluptatem voluptas."
|
|
34
34
|
*/
|
|
35
35
|
'X-Api-Key'?: string;
|
|
36
36
|
}
|
|
@@ -31,7 +31,7 @@ export interface TargetsPatchTargetMutationQueryParams {
|
|
|
31
31
|
export interface TargetsPatchTargetMutationHeaderParams {
|
|
32
32
|
/**
|
|
33
33
|
* Harness personal or service access token
|
|
34
|
-
* @example "
|
|
34
|
+
* @example "Dolor delectus beatae sint."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -13,12 +13,16 @@ export type { ExemptionsPromoteExemptionErrorResponse, ExemptionsPromoteExemptio
|
|
|
13
13
|
export { exemptionsPromoteExemption, useExemptionsPromoteExemptionMutation, } from './hooks/useExemptionsPromoteExemptionMutation';
|
|
14
14
|
export type { ExemptionsUpdateExemptionErrorResponse, ExemptionsUpdateExemptionMutationPathParams, ExemptionsUpdateExemptionMutationQueryParams, ExemptionsUpdateExemptionOkResponse, ExemptionsUpdateExemptionProps, ExemptionsUpdateExemptionRequestBody, } from './hooks/useExemptionsUpdateExemptionMutation';
|
|
15
15
|
export { exemptionsUpdateExemption, useExemptionsUpdateExemptionMutation, } from './hooks/useExemptionsUpdateExemptionMutation';
|
|
16
|
+
export type { FrontendAllIssuesCountsV2ErrorResponse, FrontendAllIssuesCountsV2OkResponse, FrontendAllIssuesCountsV2Props, FrontendAllIssuesCountsV2QueryQueryParams, } from './hooks/useFrontendAllIssuesCountsV2Query';
|
|
17
|
+
export { frontendAllIssuesCountsV2, useFrontendAllIssuesCountsV2Query, } from './hooks/useFrontendAllIssuesCountsV2Query';
|
|
16
18
|
export type { FrontendAllIssuesDetailsErrorResponse, FrontendAllIssuesDetailsOkResponse, FrontendAllIssuesDetailsProps, FrontendAllIssuesDetailsQueryPathParams, FrontendAllIssuesDetailsQueryQueryParams, } from './hooks/useFrontendAllIssuesDetailsQuery';
|
|
17
19
|
export { frontendAllIssuesDetails, useFrontendAllIssuesDetailsQuery, } from './hooks/useFrontendAllIssuesDetailsQuery';
|
|
18
20
|
export type { FrontendAllIssuesFiltersErrorResponse, FrontendAllIssuesFiltersOkResponse, FrontendAllIssuesFiltersProps, FrontendAllIssuesFiltersQueryQueryParams, } from './hooks/useFrontendAllIssuesFiltersQuery';
|
|
19
21
|
export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './hooks/useFrontendAllIssuesFiltersQuery';
|
|
20
22
|
export type { FrontendAllIssuesListErrorResponse, FrontendAllIssuesListOkResponse, FrontendAllIssuesListProps, FrontendAllIssuesListQueryQueryParams, } from './hooks/useFrontendAllIssuesListQuery';
|
|
21
23
|
export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
|
|
24
|
+
export type { FrontendAllIssuesListV2ErrorResponse, FrontendAllIssuesListV2OkResponse, FrontendAllIssuesListV2Props, FrontendAllIssuesListV2QueryQueryParams, } from './hooks/useFrontendAllIssuesListV2Query';
|
|
25
|
+
export { frontendAllIssuesListV2, useFrontendAllIssuesListV2Query, } from './hooks/useFrontendAllIssuesListV2Query';
|
|
22
26
|
export type { FrontendAllIssuesOccurrenceDetailsErrorResponse, FrontendAllIssuesOccurrenceDetailsOkResponse, FrontendAllIssuesOccurrenceDetailsProps, FrontendAllIssuesOccurrenceDetailsQueryPathParams, FrontendAllIssuesOccurrenceDetailsQueryQueryParams, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
23
27
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
24
28
|
export type { FrontendExemptionsFiltersErrorResponse, FrontendExemptionsFiltersOkResponse, FrontendExemptionsFiltersProps, FrontendExemptionsFiltersQueryQueryParams, FrontendExemptionsFiltersRequestBody, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
@@ -79,10 +83,13 @@ export type { TargetsFindTargetByIdErrorResponse, TargetsFindTargetByIdOkRespons
|
|
|
79
83
|
export { targetsFindTargetById, useTargetsFindTargetByIdQuery, } from './hooks/useTargetsFindTargetByIdQuery';
|
|
80
84
|
export type { TargetsPatchTargetErrorResponse, TargetsPatchTargetMutationPathParams, TargetsPatchTargetMutationQueryParams, TargetsPatchTargetOkResponse, TargetsPatchTargetProps, TargetsPatchTargetRequestBody, } from './hooks/useTargetsPatchTargetMutation';
|
|
81
85
|
export { targetsPatchTarget, useTargetsPatchTargetMutation, } from './hooks/useTargetsPatchTargetMutation';
|
|
86
|
+
export type { AllBaselineIssueSummary } from './schemas/AllBaselineIssueSummary';
|
|
82
87
|
export type { AllIssueSummary } from './schemas/AllIssueSummary';
|
|
88
|
+
export type { AllIssuesCountsV2Result } from './schemas/AllIssuesCountsV2Result';
|
|
83
89
|
export type { AllIssuesDetailsResult } from './schemas/AllIssuesDetailsResult';
|
|
84
90
|
export type { AllIssuesFiltersResult } from './schemas/AllIssuesFiltersResult';
|
|
85
91
|
export type { AllIssuesListResult } from './schemas/AllIssuesListResult';
|
|
92
|
+
export type { AllIssuesListV2Result } from './schemas/AllIssuesListV2Result';
|
|
86
93
|
export type { AllIssuesOccurrenceDetailsResult } from './schemas/AllIssuesOccurrenceDetailsResult';
|
|
87
94
|
export type { ApproveExemptionRequestBody } from './schemas/ApproveExemptionRequestBody';
|
|
88
95
|
export type { AugmentRemediationMetadata } from './schemas/AugmentRemediationMetadata';
|
|
@@ -102,9 +109,11 @@ export type { ExemptionsFiltersRequestBody } from './schemas/ExemptionsFiltersRe
|
|
|
102
109
|
export type { ExemptionsFiltersResult } from './schemas/ExemptionsFiltersResult';
|
|
103
110
|
export type { ExemptionsListExemptionsResponseBody } from './schemas/ExemptionsListExemptionsResponseBody';
|
|
104
111
|
export type { ExportPipelineSecurityIssuesCsvResponseBody } from './schemas/ExportPipelineSecurityIssuesCsvResponseBody';
|
|
112
|
+
export type { FrontendAllIssuesCountsV2ResponseBody } from './schemas/FrontendAllIssuesCountsV2ResponseBody';
|
|
105
113
|
export type { FrontendAllIssuesDetailsResponseBody } from './schemas/FrontendAllIssuesDetailsResponseBody';
|
|
106
114
|
export type { FrontendAllIssuesFiltersResponseBody } from './schemas/FrontendAllIssuesFiltersResponseBody';
|
|
107
115
|
export type { FrontendAllIssuesListResponseBody } from './schemas/FrontendAllIssuesListResponseBody';
|
|
116
|
+
export type { FrontendAllIssuesListV2ResponseBody } from './schemas/FrontendAllIssuesListV2ResponseBody';
|
|
108
117
|
export type { FrontendAllIssuesOccurrenceDetailsResponseBody } from './schemas/FrontendAllIssuesOccurrenceDetailsResponseBody';
|
|
109
118
|
export type { FrontendExemption } from './schemas/FrontendExemption';
|
|
110
119
|
export type { FrontendExemptionCounts } from './schemas/FrontendExemptionCounts';
|
|
@@ -5,9 +5,11 @@ export { exemptionsFindExemptionById, useExemptionsFindExemptionByIdQuery, } fro
|
|
|
5
5
|
export { exemptionsListExemptions, useExemptionsListExemptionsQuery, } from './hooks/useExemptionsListExemptionsQuery';
|
|
6
6
|
export { exemptionsPromoteExemption, useExemptionsPromoteExemptionMutation, } from './hooks/useExemptionsPromoteExemptionMutation';
|
|
7
7
|
export { exemptionsUpdateExemption, useExemptionsUpdateExemptionMutation, } from './hooks/useExemptionsUpdateExemptionMutation';
|
|
8
|
+
export { frontendAllIssuesCountsV2, useFrontendAllIssuesCountsV2Query, } from './hooks/useFrontendAllIssuesCountsV2Query';
|
|
8
9
|
export { frontendAllIssuesDetails, useFrontendAllIssuesDetailsQuery, } from './hooks/useFrontendAllIssuesDetailsQuery';
|
|
9
10
|
export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './hooks/useFrontendAllIssuesFiltersQuery';
|
|
10
11
|
export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
|
|
12
|
+
export { frontendAllIssuesListV2, useFrontendAllIssuesListV2Query, } from './hooks/useFrontendAllIssuesListV2Query';
|
|
11
13
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
12
14
|
export { frontendExemptionsFilters, useFrontendExemptionsFiltersQuery, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
13
15
|
export { frontendExpiringExemptions, useFrontendExpiringExemptionsQuery, } from './hooks/useFrontendExpiringExemptionsQuery';
|