@harnessio/react-sto-core-client 0.3.20 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1 -2
- 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/useFrontendExpiringExemptionsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +5 -7
- package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.js +2 -2
- package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.d.ts +2 -2
- 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/useProductsListProductsQuery.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 +5 -5
- package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
- package/dist/sto-core/src/services/index.d.ts +3 -2
- package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +6 -6
- package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/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 +2 -2
- package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ExportPipelineSecurityIssuesCsvResponseBody.d.ts +31 -0
- package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -6
- package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.d.ts +10 -0
- package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.js +4 -0
- package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/Issue.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +20 -4
- package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +8 -8
- package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
- 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/PullRequestResult.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
- package/package.json +1 -1
- package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesCsvResponseBody.d.ts +0 -31
- /package/dist/sto-core/src/services/schemas/{PipelineSecurityIssuesCsvResponseBody.js → ExportPipelineSecurityIssuesCsvResponseBody.js} +0 -0
|
@@ -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 "Autem vel."
|
|
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 "Quae accusamus nihil velit culpa quas perspiciatis."
|
|
28
28
|
*/
|
|
29
29
|
'X-Api-Key'?: string;
|
|
30
30
|
}
|
|
@@ -33,14 +33,13 @@ export interface ExemptionsFindExemptionByIdQueryQueryParams {
|
|
|
33
33
|
executionId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* Ignore scope
|
|
36
|
-
* @example true
|
|
37
36
|
*/
|
|
38
37
|
ignoreScope?: boolean;
|
|
39
38
|
}
|
|
40
39
|
export interface ExemptionsFindExemptionByIdQueryHeaderParams {
|
|
41
40
|
/**
|
|
42
41
|
* Harness personal or service access token
|
|
43
|
-
* @example "
|
|
42
|
+
* @example "Dolores libero delectus culpa et."
|
|
44
43
|
*/
|
|
45
44
|
'X-Api-Key'?: string;
|
|
46
45
|
}
|
|
@@ -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 "Consequatur quibusdam qui omnis."
|
|
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 "At ducimus nobis nobis qui voluptas maxime."
|
|
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 "Vel sit."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { FrontendSecurityReviewResponseBody } from '../schemas/FrontendSecurityReviewResponseBody';
|
|
3
3
|
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { GlobalExemptionsRequestBody } from '../schemas/GlobalExemptionsRequestBody';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
7
|
export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
@@ -33,11 +34,6 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
|
33
34
|
* @example 50
|
|
34
35
|
*/
|
|
35
36
|
pageSize?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Comma-separated list of organization:project pairs
|
|
38
|
-
* @example "org1:project1,org1:project2"
|
|
39
|
-
*/
|
|
40
|
-
matchesProject?: string;
|
|
41
37
|
/**
|
|
42
38
|
* Exemption status
|
|
43
39
|
* @example "Approved"
|
|
@@ -52,14 +48,16 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
|
52
48
|
export interface FrontendGlobalExemptionsQueryHeaderParams {
|
|
53
49
|
/**
|
|
54
50
|
* Harness personal or service access token
|
|
55
|
-
* @example "
|
|
51
|
+
* @example "Est cumque non sunt."
|
|
56
52
|
*/
|
|
57
53
|
'X-Api-Key'?: string;
|
|
58
54
|
}
|
|
55
|
+
export type FrontendGlobalExemptionsRequestBody = GlobalExemptionsRequestBody;
|
|
59
56
|
export type FrontendGlobalExemptionsOkResponse = ResponseWithPagination<FrontendSecurityReviewResponseBody>;
|
|
60
57
|
export type FrontendGlobalExemptionsErrorResponse = NotFound;
|
|
61
|
-
export interface FrontendGlobalExemptionsProps extends Omit<FetcherOptions<FrontendGlobalExemptionsQueryQueryParams,
|
|
58
|
+
export interface FrontendGlobalExemptionsProps extends Omit<FetcherOptions<FrontendGlobalExemptionsQueryQueryParams, FrontendGlobalExemptionsRequestBody, FrontendGlobalExemptionsQueryHeaderParams>, 'url'> {
|
|
62
59
|
queryParams: FrontendGlobalExemptionsQueryQueryParams;
|
|
60
|
+
body: FrontendGlobalExemptionsRequestBody;
|
|
63
61
|
}
|
|
64
62
|
export declare function frontendGlobalExemptions(props: FrontendGlobalExemptionsProps): Promise<FrontendGlobalExemptionsOkResponse>;
|
|
65
63
|
/**
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function frontendGlobalExemptions(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/api/v2/frontend/exemptions`, method: '
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v2/frontend/exemptions`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Provides data needed by the Global Exemptions Security Review page
|
|
11
11
|
*/
|
|
12
12
|
export function useFrontendGlobalExemptionsQuery(props, options) {
|
|
13
|
-
return useQuery(['Frontend#GlobalExemptions', props.queryParams], ({ signal }) => frontendGlobalExemptions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['Frontend#GlobalExemptions', props.queryParams, props.body], ({ signal }) => frontendGlobalExemptions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ExportPipelineSecurityIssuesCsvResponseBody } from '../schemas/ExportPipelineSecurityIssuesCsvResponseBody';
|
|
3
3
|
import type { NotFound } from '../schemas/NotFound';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -102,7 +102,7 @@ export interface FrontendPipelineSecurityIssuesCsvQueryQueryParams {
|
|
|
102
102
|
*/
|
|
103
103
|
originStatuses?: string;
|
|
104
104
|
}
|
|
105
|
-
export type FrontendPipelineSecurityIssuesCsvOkResponse = ResponseWithPagination<
|
|
105
|
+
export type FrontendPipelineSecurityIssuesCsvOkResponse = ResponseWithPagination<ExportPipelineSecurityIssuesCsvResponseBody>;
|
|
106
106
|
export type FrontendPipelineSecurityIssuesCsvErrorResponse = NotFound;
|
|
107
107
|
export interface FrontendPipelineSecurityIssuesCsvProps extends Omit<FetcherOptions<FrontendPipelineSecurityIssuesCsvQueryQueryParams, unknown>, 'url'> {
|
|
108
108
|
queryParams: FrontendPipelineSecurityIssuesCsvQueryQueryParams;
|
|
@@ -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 "Voluptates adipisci quod sit et voluptatibus nihil."
|
|
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 "Sunt amet dolor sit nesciunt."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -32,7 +32,7 @@ export interface ProductsListProductsQueryQueryParams {
|
|
|
32
32
|
export interface ProductsListProductsQueryHeaderParams {
|
|
33
33
|
/**
|
|
34
34
|
* Harness personal or service access token
|
|
35
|
-
* @example "
|
|
35
|
+
* @example "Architecto vitae."
|
|
36
36
|
*/
|
|
37
37
|
'X-Api-Key'?: string;
|
|
38
38
|
}
|
|
@@ -29,14 +29,14 @@ export interface PullRequestsCreatePullRequestMutationQueryParams {
|
|
|
29
29
|
*/
|
|
30
30
|
connectorId?: string;
|
|
31
31
|
/**
|
|
32
|
-
* @example "
|
|
32
|
+
* @example "Aliquid culpa."
|
|
33
33
|
*/
|
|
34
34
|
repositoryPath: string;
|
|
35
35
|
}
|
|
36
36
|
export interface PullRequestsCreatePullRequestMutationHeaderParams {
|
|
37
37
|
/**
|
|
38
38
|
* Harness personal or service access token
|
|
39
|
-
* @example "
|
|
39
|
+
* @example "Tempore quam numquam pariatur."
|
|
40
40
|
*/
|
|
41
41
|
'X-Api-Key'?: string;
|
|
42
42
|
}
|
|
@@ -28,7 +28,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
|
|
|
28
28
|
*/
|
|
29
29
|
connectorId?: string;
|
|
30
30
|
/**
|
|
31
|
-
* @example "
|
|
31
|
+
* @example "Qui esse odit."
|
|
32
32
|
*/
|
|
33
33
|
repositoryPath: string;
|
|
34
34
|
/**
|
|
@@ -44,7 +44,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
|
|
|
44
44
|
export interface PullRequestsGetPullRequestCorrelationQueryHeaderParams {
|
|
45
45
|
/**
|
|
46
46
|
* Harness personal or service access token
|
|
47
|
-
* @example "
|
|
47
|
+
* @example "Laborum fugit ab iusto."
|
|
48
48
|
*/
|
|
49
49
|
'X-Api-Key'?: string;
|
|
50
50
|
}
|
|
@@ -29,14 +29,14 @@ export interface PullRequestsUpdatePullRequestMutationQueryParams {
|
|
|
29
29
|
*/
|
|
30
30
|
connectorId?: string;
|
|
31
31
|
/**
|
|
32
|
-
* @example "
|
|
32
|
+
* @example "Amet et nostrum est rerum enim doloremque."
|
|
33
33
|
*/
|
|
34
34
|
repositoryPath: string;
|
|
35
35
|
}
|
|
36
36
|
export interface PullRequestsUpdatePullRequestMutationHeaderParams {
|
|
37
37
|
/**
|
|
38
38
|
* Harness personal or service access token
|
|
39
|
-
* @example "
|
|
39
|
+
* @example "Vel ea distinctio."
|
|
40
40
|
*/
|
|
41
41
|
'X-Api-Key'?: string;
|
|
42
42
|
}
|
|
@@ -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 "Quia eaque."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Dicta vel quia dolor rem quidem."
|
|
15
15
|
*/
|
|
16
16
|
issueId: string;
|
|
17
17
|
}
|
|
@@ -55,12 +55,12 @@ export interface ScansScanIssueOccurrencesQueryQueryParams {
|
|
|
55
55
|
exemptionStatus?: string;
|
|
56
56
|
/**
|
|
57
57
|
* The field to sort by
|
|
58
|
-
* @example "
|
|
58
|
+
* @example "Occaecati nulla pariatur nisi."
|
|
59
59
|
*/
|
|
60
60
|
sort?: string;
|
|
61
61
|
/**
|
|
62
62
|
* The order to sort by
|
|
63
|
-
* @example "
|
|
63
|
+
* @example "DESC"
|
|
64
64
|
*/
|
|
65
65
|
order?: 'ASC' | 'DESC';
|
|
66
66
|
/**
|
|
@@ -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 "Officia quidem aut."
|
|
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 "Sunt aperiam."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Ea modi."
|
|
15
15
|
*/
|
|
16
16
|
issueId: string;
|
|
17
17
|
}
|
|
@@ -47,7 +47,7 @@ export interface ScansScanIssueQueryQueryParams {
|
|
|
47
47
|
pageSize?: number;
|
|
48
48
|
/**
|
|
49
49
|
* The field to sort by
|
|
50
|
-
* @example "
|
|
50
|
+
* @example "Quia est nihil voluptatem voluptate."
|
|
51
51
|
*/
|
|
52
52
|
sort?: string;
|
|
53
53
|
/**
|
|
@@ -59,7 +59,7 @@ export interface ScansScanIssueQueryQueryParams {
|
|
|
59
59
|
export interface ScansScanIssueQueryHeaderParams {
|
|
60
60
|
/**
|
|
61
61
|
* Harness personal or service access token
|
|
62
|
-
* @example "
|
|
62
|
+
* @example "Dignissimos reprehenderit sunt sint sunt iusto."
|
|
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 "
|
|
33
|
+
* @example "Aut eum consectetur odio in."
|
|
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 "Rerum ut perspiciatis voluptatibus."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -23,7 +23,7 @@ export type { FrontendAllIssuesOccurrenceDetailsErrorResponse, FrontendAllIssues
|
|
|
23
23
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
24
24
|
export type { FrontendExpiringExemptionsErrorResponse, FrontendExpiringExemptionsOkResponse, FrontendExpiringExemptionsProps, FrontendExpiringExemptionsQueryPathParams, FrontendExpiringExemptionsQueryQueryParams, } from './hooks/useFrontendExpiringExemptionsQuery';
|
|
25
25
|
export { frontendExpiringExemptions, useFrontendExpiringExemptionsQuery, } from './hooks/useFrontendExpiringExemptionsQuery';
|
|
26
|
-
export type { FrontendGlobalExemptionsErrorResponse, FrontendGlobalExemptionsOkResponse, FrontendGlobalExemptionsProps, FrontendGlobalExemptionsQueryQueryParams, } from './hooks/useFrontendGlobalExemptionsQuery';
|
|
26
|
+
export type { FrontendGlobalExemptionsErrorResponse, FrontendGlobalExemptionsOkResponse, FrontendGlobalExemptionsProps, FrontendGlobalExemptionsQueryQueryParams, FrontendGlobalExemptionsRequestBody, } from './hooks/useFrontendGlobalExemptionsQuery';
|
|
27
27
|
export { frontendGlobalExemptions, useFrontendGlobalExemptionsQuery, } from './hooks/useFrontendGlobalExemptionsQuery';
|
|
28
28
|
export type { FrontendImpactedTargetsForExemptionErrorResponse, FrontendImpactedTargetsForExemptionOkResponse, FrontendImpactedTargetsForExemptionProps, FrontendImpactedTargetsForExemptionQueryPathParams, FrontendImpactedTargetsForExemptionQueryQueryParams, } from './hooks/useFrontendImpactedTargetsForExemptionQuery';
|
|
29
29
|
export { frontendImpactedTargetsForExemption, useFrontendImpactedTargetsForExemptionQuery, } from './hooks/useFrontendImpactedTargetsForExemptionQuery';
|
|
@@ -83,6 +83,7 @@ export type { Exemption } from './schemas/Exemption';
|
|
|
83
83
|
export type { ExemptionImpactedTargetsResult } from './schemas/ExemptionImpactedTargetsResult';
|
|
84
84
|
export type { ExemptionsCreateExemptionResponseBody } from './schemas/ExemptionsCreateExemptionResponseBody';
|
|
85
85
|
export type { ExemptionsListExemptionsResponseBody } from './schemas/ExemptionsListExemptionsResponseBody';
|
|
86
|
+
export type { ExportPipelineSecurityIssuesCsvResponseBody } from './schemas/ExportPipelineSecurityIssuesCsvResponseBody';
|
|
86
87
|
export type { FrontendAllIssuesDetailsResponseBody } from './schemas/FrontendAllIssuesDetailsResponseBody';
|
|
87
88
|
export type { FrontendAllIssuesFiltersResponseBody } from './schemas/FrontendAllIssuesFiltersResponseBody';
|
|
88
89
|
export type { FrontendAllIssuesListResponseBody } from './schemas/FrontendAllIssuesListResponseBody';
|
|
@@ -102,6 +103,7 @@ export type { FrontendPipelineSecurityStepsResponseBody } from './schemas/Fronte
|
|
|
102
103
|
export type { FrontendSecurityReviewResponseBody } from './schemas/FrontendSecurityReviewResponseBody';
|
|
103
104
|
export type { FrontendTestTargetsResponseBody } from './schemas/FrontendTestTargetsResponseBody';
|
|
104
105
|
export type { GitMetadata } from './schemas/GitMetadata';
|
|
106
|
+
export type { GlobalExemptionsRequestBody } from './schemas/GlobalExemptionsRequestBody';
|
|
105
107
|
export type { HistoricalCounts } from './schemas/HistoricalCounts';
|
|
106
108
|
export type { HistoricalIssueCounts } from './schemas/HistoricalIssueCounts';
|
|
107
109
|
export type { IdResult } from './schemas/IdResult';
|
|
@@ -122,7 +124,6 @@ export type { Pagination } from './schemas/Pagination';
|
|
|
122
124
|
export type { PatchTargetRequestBody } from './schemas/PatchTargetRequestBody';
|
|
123
125
|
export type { PendingChanges } from './schemas/PendingChanges';
|
|
124
126
|
export type { PipelineSecurityCounts } from './schemas/PipelineSecurityCounts';
|
|
125
|
-
export type { PipelineSecurityIssuesCsvResponseBody } from './schemas/PipelineSecurityIssuesCsvResponseBody';
|
|
126
127
|
export type { PipelineSecurityIssuesResult } from './schemas/PipelineSecurityIssuesResult';
|
|
127
128
|
export type { PipelineSecurityStepsResult } from './schemas/PipelineSecurityStepsResult';
|
|
128
129
|
export type { Product } from './schemas/Product';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* All issue summary
|
|
3
|
-
* @example {"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
3
|
+
* @example {"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Fugit nesciunt corrupti repudiandae omnis.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
4
4
|
*/
|
|
5
5
|
export interface AllIssueSummary {
|
|
6
6
|
/**
|
|
@@ -26,7 +26,7 @@ export interface AllIssueSummary {
|
|
|
26
26
|
id: string;
|
|
27
27
|
/**
|
|
28
28
|
* Issue Type
|
|
29
|
-
* @example "
|
|
29
|
+
* @example "Reiciendis facere."
|
|
30
30
|
*/
|
|
31
31
|
issueType?: string;
|
|
32
32
|
/**
|
|
@@ -2,22 +2,22 @@ import type { ImpactedTarget } from '../schemas/ImpactedTarget';
|
|
|
2
2
|
import type { Pagination } from '../schemas/Pagination';
|
|
3
3
|
import type { RefIds } from '../schemas/RefIds';
|
|
4
4
|
/**
|
|
5
|
-
* @example {"description":"
|
|
5
|
+
* @example {"description":"Eum aut quia porro iure.","impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Quia beatae consequatur qui veniam ea.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userId":"Totam autem labore veritatis voluptatum quidem.","variantName":"Officia voluptas soluta qui."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Quia beatae consequatur qui veniam ea.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userId":"Totam autem labore veritatis voluptatum quidem.","variantName":"Officia voluptas soluta qui."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Quia beatae consequatur qui veniam ea.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userId":"Totam autem labore veritatis voluptatum quidem.","variantName":"Officia voluptas soluta qui."}],"issueType":"Modi architecto ut possimus.","lastDetected":1634836529,"override":{"originalSeverity":"medium","reason":"snyk"},"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."}],"scanTool":"owasp","severityCode":"High","targetType":"Et minus nemo quas eos nam molestiae.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
6
6
|
*/
|
|
7
7
|
export interface AllIssuesDetailsResult {
|
|
8
8
|
/**
|
|
9
9
|
* Issue description
|
|
10
|
-
* @example "
|
|
10
|
+
* @example "Doloribus qui ut dolor voluptatem."
|
|
11
11
|
*/
|
|
12
12
|
description: string;
|
|
13
13
|
/**
|
|
14
14
|
* List of Impacted Targets
|
|
15
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"
|
|
15
|
+
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Quia beatae consequatur qui veniam ea.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userId":"Totam autem labore veritatis voluptatum quidem.","variantName":"Officia voluptas soluta qui."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Quia beatae consequatur qui veniam ea.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userId":"Totam autem labore veritatis voluptatum quidem.","variantName":"Officia voluptas soluta qui."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Quia beatae consequatur qui veniam ea.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userId":"Totam autem labore veritatis voluptatum quidem.","variantName":"Officia voluptas soluta qui."}]
|
|
16
16
|
*/
|
|
17
17
|
impactedTargets: ImpactedTarget[];
|
|
18
18
|
/**
|
|
19
19
|
* Issue Type
|
|
20
|
-
* @example "
|
|
20
|
+
* @example "Sunt odit sit aut."
|
|
21
21
|
*/
|
|
22
22
|
issueType?: string;
|
|
23
23
|
/**
|
|
@@ -36,7 +36,7 @@ export interface AllIssuesDetailsResult {
|
|
|
36
36
|
pagination: Pagination;
|
|
37
37
|
/**
|
|
38
38
|
* Reference Identifiers
|
|
39
|
-
* @example [{"id":"
|
|
39
|
+
* @example [{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."}]
|
|
40
40
|
*/
|
|
41
41
|
referenceIdentifiers: RefIds[];
|
|
42
42
|
/**
|
|
@@ -51,7 +51,7 @@ export interface AllIssuesDetailsResult {
|
|
|
51
51
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
52
52
|
/**
|
|
53
53
|
* Target Type
|
|
54
|
-
* @example "
|
|
54
|
+
* @example "Alias fugit et ducimus."
|
|
55
55
|
*/
|
|
56
56
|
targetType: string;
|
|
57
57
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { LatestBaselineScanInfo } from '../schemas/LatestBaselineScanInfo';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"latestBaselineScans":[{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}]}
|
|
3
|
+
* @example {"latestBaselineScans":[{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}]}
|
|
4
4
|
*/
|
|
5
5
|
export interface AllIssuesFiltersResult {
|
|
6
6
|
/**
|
|
7
|
-
* @example [{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}
|
|
7
|
+
* @example [{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","scanToolName":"OWASP","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}]
|
|
8
8
|
*/
|
|
9
9
|
latestBaselineScans: LatestBaselineScanInfo[];
|
|
10
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AllIssueSummary } from '../schemas/AllIssueSummary';
|
|
2
2
|
import type { Pagination } from '../schemas/Pagination';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"issues":[{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
4
|
+
* @example {"issues":[{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Molestiae delectus libero.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Molestiae delectus libero.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","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 [{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
9
|
+
* @example [{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Molestiae delectus libero.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Molestiae delectus libero.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","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 { Pagination } from '../schemas/Pagination';
|
|
2
2
|
import type { RefIds } from '../schemas/RefIds';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"description":"
|
|
4
|
+
* @example {"description":"Voluptatem illo.","exemptionId":"abcdef1234567890ghijkl","issueType":"Necessitatibus eos odio qui quia officiis.","occurrences":[{"Esse sit consequuntur.":"Doloremque velit possimus.","Est quos veniam eius totam.":"Consectetur omnis sapiente repellendus ipsum."},{"Neque consequatur odit et.":"Sunt eos quam cum porro."},{"Dolores totam voluptatem ut laborum.":"Non cupiditate velit."},{"Assumenda veniam ea voluptatem tenetur nihil.":"Placeat excepturi est tempora quis eligendi.","Eum est.":"Dolor aut quia illo repellendus ducimus."}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."}],"severityCode":"High","targetName":"The Target","targetType":"Beatae voluptatum inventore quis at est.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","variantName":"Quae laboriosam blanditiis voluptates sint ducimus numquam."}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesOccurrenceDetailsResult {
|
|
7
7
|
/**
|
|
8
8
|
* Issue description
|
|
9
|
-
* @example "
|
|
9
|
+
* @example "Doloribus sunt commodi dolor atque veniam."
|
|
10
10
|
*/
|
|
11
11
|
description: string;
|
|
12
12
|
/**
|
|
@@ -16,12 +16,12 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
16
16
|
exemptionId?: string;
|
|
17
17
|
/**
|
|
18
18
|
* Issue Type
|
|
19
|
-
* @example "
|
|
19
|
+
* @example "Velit corrupti a tenetur unde aut."
|
|
20
20
|
*/
|
|
21
21
|
issueType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* List of occurrences
|
|
24
|
-
* @example [{"
|
|
24
|
+
* @example [{"Molestiae eos.":"Et inventore illo illum ipsum quia magni."},{"Iste labore dignissimos tenetur modi.":"Qui eaque ipsam.","Modi odit voluptatem facere aut et sed.":"Praesentium amet aliquid cum est et doloribus."}]
|
|
25
25
|
*/
|
|
26
26
|
occurrences: Array<{
|
|
27
27
|
[key: string]: any;
|
|
@@ -29,7 +29,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
29
29
|
pagination?: Pagination;
|
|
30
30
|
/**
|
|
31
31
|
* Reference Identifiers
|
|
32
|
-
* @example [{"id":"
|
|
32
|
+
* @example [{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."},{"id":"Placeat aut ut.","type":"Atque hic."}]
|
|
33
33
|
*/
|
|
34
34
|
referenceIdentifiers?: RefIds[];
|
|
35
35
|
/**
|
|
@@ -44,7 +44,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
44
44
|
targetName: string;
|
|
45
45
|
/**
|
|
46
46
|
* Target Type
|
|
47
|
-
* @example "
|
|
47
|
+
* @example "Eligendi qui."
|
|
48
48
|
*/
|
|
49
49
|
targetType: string;
|
|
50
50
|
/**
|
|
@@ -54,7 +54,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
54
54
|
title: string;
|
|
55
55
|
/**
|
|
56
56
|
* Variant name
|
|
57
|
-
* @example "
|
|
57
|
+
* @example "Commodi odit harum velit nisi."
|
|
58
58
|
*/
|
|
59
59
|
variantName: string;
|
|
60
60
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AugmentRemediationWarning } from '../schemas/AugmentRemediationWarning';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"warnings":[{"message":"
|
|
3
|
+
* @example {"warnings":[{"message":"Et veritatis est quis.","source":"Vero laborum est necessitatibus repellendus asperiores."},{"message":"Et veritatis est quis.","source":"Vero laborum est necessitatibus repellendus asperiores."}]}
|
|
4
4
|
*/
|
|
5
5
|
export interface AugmentRemediationMetadata {
|
|
6
6
|
/**
|
|
7
|
-
* @example [{"message":"
|
|
7
|
+
* @example [{"message":"Et veritatis est quis.","source":"Vero laborum est necessitatibus repellendus asperiores."},{"message":"Et veritatis est quis.","source":"Vero laborum est necessitatibus repellendus asperiores."}]
|
|
8
8
|
*/
|
|
9
9
|
warnings: AugmentRemediationWarning[];
|
|
10
10
|
}
|