@harnessio/react-sto-core-client 0.4.2 → 0.4.3
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/useFrontendAllIssuesListQuery.d.ts +0 -6
- 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/useFrontendPipelineSecurityIssuesCsvQuery.d.ts +4 -0
- package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesQuery.d.ts +4 -0
- 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/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
- package/dist/sto-core/src/services/index.d.ts +0 -10
- package/dist/sto-core/src/services/index.js +0 -3
- package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +8 -7
- package/dist/sto-core/src/services/schemas/AllIssueSummary.js +3 -0
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +11 -10
- package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -13
- package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/Exemption.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/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 +2 -2
- package/dist/sto-core/src/services/schemas/FrontendExemptionTargets.d.ts +11 -1
- package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -6
- package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +1 -0
- package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/Issue.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +27 -9
- package/dist/sto-core/src/services/schemas/IssueSummary.js +3 -0
- 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 +13 -13
- package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/TestTargetResult.d.ts +2 -2
- package/package.json +1 -1
- package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.d.ts +0 -42
- package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.js +0 -14
- package/dist/sto-core/src/services/hooks/useOverridesDeleteOverrideMutation.d.ts +0 -38
- package/dist/sto-core/src/services/hooks/useOverridesDeleteOverrideMutation.js +0 -14
- package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.d.ts +0 -53
- package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.js +0 -14
- package/dist/sto-core/src/services/schemas/CreateOverrideRequestBody.d.ts +0 -65
- package/dist/sto-core/src/services/schemas/CreateOverrideRequestBody.js +0 -4
- package/dist/sto-core/src/services/schemas/Override.d.ts +0 -109
- package/dist/sto-core/src/services/schemas/Override.js +0 -4
- package/dist/sto-core/src/services/schemas/OverrideResult.d.ts +0 -46
- package/dist/sto-core/src/services/schemas/OverrideResult.js +0 -4
- package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.d.ts +0 -12
- package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.js +0 -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 "Consequatur sed consequuntur velit cum."
|
|
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 "Fugit voluptas qui perferendis ipsum et."
|
|
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 "Sint repudiandae."
|
|
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 "Id recusandae iste dolor reiciendis voluptas labore."
|
|
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 "Natus molestiae et velit illo."
|
|
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 "Consequuntur omnis."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -57,12 +57,6 @@ export interface FrontendAllIssuesListQueryQueryParams {
|
|
|
57
57
|
* @example "None,Pending,Rejected,Expired"
|
|
58
58
|
*/
|
|
59
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
60
|
/**
|
|
67
61
|
* @example "CWE-123"
|
|
68
62
|
*/
|
|
@@ -48,7 +48,7 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
|
48
48
|
export interface FrontendGlobalExemptionsQueryHeaderParams {
|
|
49
49
|
/**
|
|
50
50
|
* Harness personal or service access token
|
|
51
|
-
* @example "
|
|
51
|
+
* @example "Rerum enim veritatis."
|
|
52
52
|
*/
|
|
53
53
|
'X-Api-Key'?: string;
|
|
54
54
|
}
|
|
@@ -101,6 +101,10 @@ export interface FrontendPipelineSecurityIssuesCsvQueryQueryParams {
|
|
|
101
101
|
* @example "approved"
|
|
102
102
|
*/
|
|
103
103
|
originStatuses?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @example "Critical,High,Medium"
|
|
106
|
+
*/
|
|
107
|
+
epss?: string;
|
|
104
108
|
}
|
|
105
109
|
export type FrontendPipelineSecurityIssuesCsvOkResponse = ResponseWithPagination<ExportPipelineSecurityIssuesCsvResponseBody>;
|
|
106
110
|
export type FrontendPipelineSecurityIssuesCsvErrorResponse = NotFound;
|
|
@@ -101,6 +101,10 @@ export interface FrontendPipelineSecurityIssuesQueryQueryParams {
|
|
|
101
101
|
* @example "approved"
|
|
102
102
|
*/
|
|
103
103
|
originStatuses?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @example "Critical,High,Medium"
|
|
106
|
+
*/
|
|
107
|
+
epss?: string;
|
|
104
108
|
}
|
|
105
109
|
export type FrontendPipelineSecurityIssuesOkResponse = ResponseWithPagination<FrontendPipelineSecurityIssuesResponseBody>;
|
|
106
110
|
export type FrontendPipelineSecurityIssuesErrorResponse = NotFound;
|
|
@@ -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 "Amet laborum mollitia."
|
|
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 "Sed eius et fugiat velit tenetur ut."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -25,14 +25,14 @@ export interface PullRequestsCreatePullRequestMutationQueryParams {
|
|
|
25
25
|
*/
|
|
26
26
|
provider: string;
|
|
27
27
|
/**
|
|
28
|
-
* @example "
|
|
28
|
+
* @example "Odit odit recusandae rerum unde labore."
|
|
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 "Sit rerum."
|
|
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 "Aut nostrum fugiat."
|
|
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 "Optio ut suscipit et voluptatem."
|
|
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 "
|
|
28
|
+
* @example "Fuga neque exercitationem nemo."
|
|
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 "Consequatur et eos quo."
|
|
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 "Corrupti ea ullam."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Porro et doloribus."
|
|
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 "Sit consequatur excepturi."
|
|
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 "Nesciunt unde at consequatur eius voluptates minus."
|
|
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 "Provident amet porro vero asperiores eligendi."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Molestias et eum nobis voluptas dicta nam."
|
|
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 "Ut voluptas."
|
|
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 "Dicta ratione incidunt."
|
|
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 "Adipisci quod sit et voluptatibus nihil."
|
|
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 "Illo ut consequatur repudiandae excepturi explicabo."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -51,12 +51,6 @@ export type { IssuesFindIssueByIdErrorResponse, IssuesFindIssueByIdOkResponse, I
|
|
|
51
51
|
export { issuesFindIssueById, useIssuesFindIssueByIdQuery, } from './hooks/useIssuesFindIssueByIdQuery';
|
|
52
52
|
export type { IssuesIssuesAugmentRemediationErrorResponse, IssuesIssuesAugmentRemediationMutationPathParams, IssuesIssuesAugmentRemediationMutationQueryParams, IssuesIssuesAugmentRemediationOkResponse, IssuesIssuesAugmentRemediationProps, IssuesIssuesAugmentRemediationRequestBody, } from './hooks/useIssuesIssuesAugmentRemediationMutation';
|
|
53
53
|
export { issuesIssuesAugmentRemediation, useIssuesIssuesAugmentRemediationMutation, } from './hooks/useIssuesIssuesAugmentRemediationMutation';
|
|
54
|
-
export type { OverridesCreateOverrideErrorResponse, OverridesCreateOverrideMutationQueryParams, OverridesCreateOverrideOkResponse, OverridesCreateOverrideProps, OverridesCreateOverrideRequestBody, } from './hooks/useOverridesCreateOverrideMutation';
|
|
55
|
-
export { overridesCreateOverride, useOverridesCreateOverrideMutation, } from './hooks/useOverridesCreateOverrideMutation';
|
|
56
|
-
export type { OverridesDeleteOverrideErrorResponse, OverridesDeleteOverrideMutationPathParams, OverridesDeleteOverrideMutationQueryParams, OverridesDeleteOverrideOkResponse, OverridesDeleteOverrideProps, } from './hooks/useOverridesDeleteOverrideMutation';
|
|
57
|
-
export { overridesDeleteOverride, useOverridesDeleteOverrideMutation, } from './hooks/useOverridesDeleteOverrideMutation';
|
|
58
|
-
export type { OverridesListOverridesErrorResponse, OverridesListOverridesOkResponse, OverridesListOverridesProps, OverridesListOverridesQueryQueryParams, } from './hooks/useOverridesListOverridesQuery';
|
|
59
|
-
export { overridesListOverrides, useOverridesListOverridesQuery, } from './hooks/useOverridesListOverridesQuery';
|
|
60
54
|
export type { ProductsListProductsErrorResponse, ProductsListProductsOkResponse, ProductsListProductsProps, ProductsListProductsQueryQueryParams, } from './hooks/useProductsListProductsQuery';
|
|
61
55
|
export { productsListProducts, useProductsListProductsQuery, } from './hooks/useProductsListProductsQuery';
|
|
62
56
|
export type { PullRequestsCreatePullRequestErrorResponse, PullRequestsCreatePullRequestMutationQueryParams, PullRequestsCreatePullRequestOkResponse, PullRequestsCreatePullRequestProps, PullRequestsCreatePullRequestRequestBody, } from './hooks/usePullRequestsCreatePullRequestMutation';
|
|
@@ -84,7 +78,6 @@ export type { AugmentRemediationResult } from './schemas/AugmentRemediationResul
|
|
|
84
78
|
export type { AugmentRemediationWarning } from './schemas/AugmentRemediationWarning';
|
|
85
79
|
export type { BaselineExecutions } from './schemas/BaselineExecutions';
|
|
86
80
|
export type { CreateExemptionRequestBody } from './schemas/CreateExemptionRequestBody';
|
|
87
|
-
export type { CreateOverrideRequestBody } from './schemas/CreateOverrideRequestBody';
|
|
88
81
|
export type { CreatePullRequestRequestBody } from './schemas/CreatePullRequestRequestBody';
|
|
89
82
|
export type { Exemption } from './schemas/Exemption';
|
|
90
83
|
export type { ExemptionImpactedTargetsResult } from './schemas/ExemptionImpactedTargetsResult';
|
|
@@ -126,9 +119,6 @@ export type { IssuesIssuesAugmentRemediationResponseBody } from './schemas/Issue
|
|
|
126
119
|
export type { LatestBaselineScanInfo } from './schemas/LatestBaselineScanInfo';
|
|
127
120
|
export type { MinimalIssueCounts } from './schemas/MinimalIssueCounts';
|
|
128
121
|
export type { NotFound } from './schemas/NotFound';
|
|
129
|
-
export type { Override } from './schemas/Override';
|
|
130
|
-
export type { OverrideResult } from './schemas/OverrideResult';
|
|
131
|
-
export type { OverridesListOverridesResponseBody } from './schemas/OverridesListOverridesResponseBody';
|
|
132
122
|
export type { PaginatedIssueSummaries } from './schemas/PaginatedIssueSummaries';
|
|
133
123
|
export type { Pagination } from './schemas/Pagination';
|
|
134
124
|
export type { PatchTargetRequestBody } from './schemas/PatchTargetRequestBody';
|
|
@@ -24,9 +24,6 @@ export { frontendTestTargets, useFrontendTestTargetsQuery, } from './hooks/useFr
|
|
|
24
24
|
export { frontendUpdateTestTargetVariants, useFrontendUpdateTestTargetVariantsMutation, } from './hooks/useFrontendUpdateTestTargetVariantsMutation';
|
|
25
25
|
export { issuesFindIssueById, useIssuesFindIssueByIdQuery, } from './hooks/useIssuesFindIssueByIdQuery';
|
|
26
26
|
export { issuesIssuesAugmentRemediation, useIssuesIssuesAugmentRemediationMutation, } from './hooks/useIssuesIssuesAugmentRemediationMutation';
|
|
27
|
-
export { overridesCreateOverride, useOverridesCreateOverrideMutation, } from './hooks/useOverridesCreateOverrideMutation';
|
|
28
|
-
export { overridesDeleteOverride, useOverridesDeleteOverrideMutation, } from './hooks/useOverridesDeleteOverrideMutation';
|
|
29
|
-
export { overridesListOverrides, useOverridesListOverridesQuery, } from './hooks/useOverridesListOverridesQuery';
|
|
30
27
|
export { productsListProducts, useProductsListProductsQuery, } from './hooks/useProductsListProductsQuery';
|
|
31
28
|
export { pullRequestsCreatePullRequest, usePullRequestsCreatePullRequestMutation, } from './hooks/usePullRequestsCreatePullRequestMutation';
|
|
32
29
|
export { pullRequestsGetPullRequestCorrelation, usePullRequestsGetPullRequestCorrelationQuery, } from './hooks/usePullRequestsGetPullRequestCorrelationQuery';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { OverrideResult } from '../schemas/OverrideResult';
|
|
2
1
|
/**
|
|
3
2
|
* All issue list summary
|
|
4
|
-
* @example {"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
3
|
+
* @example {"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Vitae animi est nesciunt quidem modi debitis.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","status":"Exempted","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
5
4
|
*/
|
|
6
5
|
export interface AllIssueSummary {
|
|
7
6
|
/**
|
|
@@ -27,7 +26,7 @@ export interface AllIssueSummary {
|
|
|
27
26
|
id: string;
|
|
28
27
|
/**
|
|
29
28
|
* Issue Type
|
|
30
|
-
* @example "
|
|
29
|
+
* @example "Consectetur non ipsa nostrum adipisci autem perspiciatis."
|
|
31
30
|
*/
|
|
32
31
|
issueType?: string;
|
|
33
32
|
/**
|
|
@@ -49,10 +48,12 @@ export interface AllIssueSummary {
|
|
|
49
48
|
*/
|
|
50
49
|
numTargetsImpacted: number;
|
|
51
50
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
51
|
+
* Indicates the issue has been overridden
|
|
52
|
+
* @example {"originalSeverity":"medium","reason":"snyk"}
|
|
54
53
|
*/
|
|
55
|
-
|
|
54
|
+
override?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
56
57
|
/**
|
|
57
58
|
* Severity code
|
|
58
59
|
* @example "High"
|
|
@@ -60,7 +61,7 @@ export interface AllIssueSummary {
|
|
|
60
61
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
61
62
|
/**
|
|
62
63
|
* Issue Status
|
|
63
|
-
* @example "
|
|
64
|
+
* @example "Exempted"
|
|
64
65
|
*/
|
|
65
66
|
status?: 'Active' | 'Exempted';
|
|
66
67
|
/**
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import type { ImpactedTarget } from '../schemas/ImpactedTarget';
|
|
2
|
-
import type { OverrideResult } from '../schemas/OverrideResult';
|
|
3
2
|
import type { Pagination } from '../schemas/Pagination';
|
|
4
3
|
import type { RefIds } from '../schemas/RefIds';
|
|
5
4
|
/**
|
|
6
|
-
* @example {"description":"
|
|
5
|
+
* @example {"description":"Vel sit.","impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Rerum aliquam iste.","userName":"firstname lastname","variantName":"Animi fuga quae ipsum exercitationem."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Rerum aliquam iste.","userName":"firstname lastname","variantName":"Animi fuga quae ipsum exercitationem."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Rerum aliquam iste.","userName":"firstname lastname","variantName":"Animi fuga quae ipsum exercitationem."}],"issueType":"Mollitia sit ex cumque harum quis.","lastDetected":1634836529,"override":{"originalSeverity":"medium","reason":"snyk"},"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."}],"scanTool":"owasp","severityCode":"High","targetType":"Reprehenderit iste.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
7
6
|
*/
|
|
8
7
|
export interface AllIssuesDetailsResult {
|
|
9
8
|
/**
|
|
10
9
|
* Issue description
|
|
11
|
-
* @example "
|
|
10
|
+
* @example "Voluptas velit qui."
|
|
12
11
|
*/
|
|
13
12
|
description: string;
|
|
14
13
|
/**
|
|
15
14
|
* List of Impacted Targets
|
|
16
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"
|
|
15
|
+
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Rerum aliquam iste.","userName":"firstname lastname","variantName":"Animi fuga quae ipsum exercitationem."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Rerum aliquam iste.","userName":"firstname lastname","variantName":"Animi fuga quae ipsum exercitationem."}]
|
|
17
16
|
*/
|
|
18
17
|
impactedTargets: ImpactedTarget[];
|
|
19
18
|
/**
|
|
20
19
|
* Issue Type
|
|
21
|
-
* @example "Quis
|
|
20
|
+
* @example "Quis adipisci atque accusantium tenetur velit ipsum."
|
|
22
21
|
*/
|
|
23
22
|
issueType?: string;
|
|
24
23
|
/**
|
|
@@ -28,14 +27,16 @@ export interface AllIssuesDetailsResult {
|
|
|
28
27
|
*/
|
|
29
28
|
lastDetected: number;
|
|
30
29
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
30
|
+
* Indicates the issue has been overridden
|
|
31
|
+
* @example {"originalSeverity":"medium","reason":"snyk"}
|
|
33
32
|
*/
|
|
34
|
-
|
|
33
|
+
override?: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
35
36
|
pagination: Pagination;
|
|
36
37
|
/**
|
|
37
38
|
* Reference Identifiers
|
|
38
|
-
* @example [{"id":"
|
|
39
|
+
* @example [{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."}]
|
|
39
40
|
*/
|
|
40
41
|
referenceIdentifiers: RefIds[];
|
|
41
42
|
/**
|
|
@@ -50,7 +51,7 @@ export interface AllIssuesDetailsResult {
|
|
|
50
51
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
51
52
|
/**
|
|
52
53
|
* Target Type
|
|
53
|
-
* @example "
|
|
54
|
+
* @example "Suscipit iusto rerum."
|
|
54
55
|
*/
|
|
55
56
|
targetType: string;
|
|
56
57
|
/**
|
|
@@ -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":"Et eveniet tenetur qui eaque maiores sunt.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Et eveniet tenetur qui eaque maiores sunt.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12}}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesListResult {
|
|
7
7
|
/**
|
|
8
8
|
* Issues related to the latest scans of a baseline in a specific project
|
|
9
|
-
* @example [{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
9
|
+
* @example [{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Et eveniet tenetur qui eaque maiores sunt.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"},{"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Et eveniet tenetur qui eaque maiores sunt.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}]
|
|
10
10
|
*/
|
|
11
11
|
issues: AllIssueSummary[];
|
|
12
12
|
pagination: Pagination;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Pagination } from '../schemas/Pagination';
|
|
2
2
|
import type { RefIds } from '../schemas/RefIds';
|
|
3
3
|
/**
|
|
4
|
-
* @example {"description":"
|
|
4
|
+
* @example {"description":"Non necessitatibus et culpa.","exemptionId":"abcdef1234567890ghijkl","issueType":"Nesciunt corrupti repudiandae.","occurrences":[{"Doloribus qui ut dolor voluptatem.":"Alias fugit et ducimus."},{"Explicabo voluptatibus ut.":"Autem architecto ut dicta et.","Odit sit aut reprehenderit non tempore.":"Eius impedit earum nisi odio omnis."}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."}],"severityCode":"High","targetName":"The Target","targetType":"Facere sint.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash","variantName":"Odio totam molestiae dolorem aut consequatur."}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssuesOccurrenceDetailsResult {
|
|
7
7
|
/**
|
|
8
8
|
* Issue description
|
|
9
|
-
* @example "
|
|
9
|
+
* @example "Eum et tempora asperiores sed beatae."
|
|
10
10
|
*/
|
|
11
11
|
description: string;
|
|
12
12
|
/**
|
|
@@ -16,18 +16,12 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
16
16
|
exemptionId?: string;
|
|
17
17
|
/**
|
|
18
18
|
* Issue Type
|
|
19
|
-
* @example "
|
|
19
|
+
* @example "Neque sequi non vero ea et ut."
|
|
20
20
|
*/
|
|
21
21
|
issueType?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Timestamp of the last detection of this issue
|
|
24
|
-
* @format int64
|
|
25
|
-
* @example 1634836529
|
|
26
|
-
*/
|
|
27
|
-
lastDetected: number;
|
|
28
22
|
/**
|
|
29
23
|
* List of occurrences
|
|
30
|
-
* @example [{"
|
|
24
|
+
* @example [{"Impedit ut omnis.":"Dolores aliquid distinctio aut molestias."},{"At esse non ut ut occaecati soluta.":"Velit velit necessitatibus laboriosam maxime explicabo est.","Illo perferendis vel laboriosam amet.":"Dicta a sint sequi nesciunt quam."},{"Adipisci dolore.":"Veritatis voluptas."},{"Aut eos voluptatem id dolor laudantium.":"Laudantium quidem similique."}]
|
|
31
25
|
*/
|
|
32
26
|
occurrences: Array<{
|
|
33
27
|
[key: string]: any;
|
|
@@ -35,7 +29,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
35
29
|
pagination?: Pagination;
|
|
36
30
|
/**
|
|
37
31
|
* Reference Identifiers
|
|
38
|
-
* @example [{"id":"
|
|
32
|
+
* @example [{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."},{"id":"Quia repellendus natus fugiat ducimus occaecati.","type":"Laborum quia ut inventore libero occaecati minus."}]
|
|
39
33
|
*/
|
|
40
34
|
referenceIdentifiers?: RefIds[];
|
|
41
35
|
/**
|
|
@@ -50,7 +44,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
50
44
|
targetName: string;
|
|
51
45
|
/**
|
|
52
46
|
* Target Type
|
|
53
|
-
* @example "
|
|
47
|
+
* @example "Aperiam possimus fuga rerum non."
|
|
54
48
|
*/
|
|
55
49
|
targetType: string;
|
|
56
50
|
/**
|
|
@@ -60,7 +54,7 @@ export interface AllIssuesOccurrenceDetailsResult {
|
|
|
60
54
|
title: string;
|
|
61
55
|
/**
|
|
62
56
|
* Variant name
|
|
63
|
-
* @example "
|
|
57
|
+
* @example "Sed exercitationem odit quasi eos quaerat."
|
|
64
58
|
*/
|
|
65
59
|
variantName: string;
|
|
66
60
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AugmentRemediationWarning } from '../schemas/AugmentRemediationWarning';
|
|
2
2
|
/**
|
|
3
|
-
* @example {"warnings":[{"message":"
|
|
3
|
+
* @example {"warnings":[{"message":"Et nostrum et eos omnis.","source":"Quod esse ut non qui."},{"message":"Et nostrum et eos omnis.","source":"Quod esse ut non qui."},{"message":"Et nostrum et eos omnis.","source":"Quod esse ut non qui."}]}
|
|
4
4
|
*/
|
|
5
5
|
export interface AugmentRemediationMetadata {
|
|
6
6
|
/**
|
|
7
|
-
* @example [{"message":"
|
|
7
|
+
* @example [{"message":"Et nostrum et eos omnis.","source":"Quod esse ut non qui."},{"message":"Et nostrum et eos omnis.","source":"Quod esse ut non qui."},{"message":"Et nostrum et eos omnis.","source":"Quod esse ut non qui."}]
|
|
8
8
|
*/
|
|
9
9
|
warnings: AugmentRemediationWarning[];
|
|
10
10
|
}
|