@harnessio/react-sto-core-client 0.4.8 → 0.4.10
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/useFrontendExemptionsFiltersQuery.d.ts +42 -0
- package/dist/sto-core/src/services/hooks/useFrontendExemptionsFiltersQuery.js +14 -0
- package/dist/sto-core/src/services/hooks/useFrontendExpiringExemptionsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +11 -1
- package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useFrontendQwietLicenseUsageQuery.d.ts +22 -0
- package/dist/sto-core/src/services/hooks/useFrontendQwietLicenseUsageQuery.js +14 -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/useOverridesCreateOverrideMutation.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
- package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +4 -4
- package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
- package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
- package/dist/sto-core/src/services/index.d.ts +13 -0
- package/dist/sto-core/src/services/index.js +2 -0
- package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +4 -4
- package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +12 -6
- 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 +3 -3
- package/dist/sto-core/src/services/schemas/ExemptionFilterScanner.d.ts +16 -0
- package/dist/sto-core/src/services/schemas/ExemptionFilterScanner.js +4 -0
- package/dist/sto-core/src/services/schemas/ExemptionFilterTarget.d.ts +21 -0
- package/dist/sto-core/src/services/schemas/ExemptionFilterTarget.js +4 -0
- package/dist/sto-core/src/services/schemas/ExemptionFilterUser.d.ts +21 -0
- package/dist/sto-core/src/services/schemas/ExemptionFilterUser.js +4 -0
- package/dist/sto-core/src/services/schemas/ExemptionsFiltersRequestBody.d.ts +10 -0
- package/dist/sto-core/src/services/schemas/ExemptionsFiltersRequestBody.js +4 -0
- package/dist/sto-core/src/services/schemas/ExemptionsFiltersResult.d.ts +34 -0
- package/dist/sto-core/src/services/schemas/ExemptionsFiltersResult.js +1 -0
- package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/ExportPipelineSecurityIssuesCsvResponseBody.d.ts +6 -6
- package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/FrontendExemptionsFiltersResponseBody.d.ts +2 -0
- package/dist/sto-core/src/services/schemas/FrontendExemptionsFiltersResponseBody.js +1 -0
- package/dist/sto-core/src/services/schemas/FrontendQwietLicenseUsageResponseBody.d.ts +2 -0
- package/dist/sto-core/src/services/schemas/FrontendQwietLicenseUsageResponseBody.js +1 -0
- package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +6 -5
- package/dist/sto-core/src/services/schemas/GlobalExemptionsRequestBody.d.ts +45 -1
- package/dist/sto-core/src/services/schemas/HarnessSastScaUsage.d.ts +12 -0
- package/dist/sto-core/src/services/schemas/HarnessSastScaUsage.js +4 -0
- package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +2 -1
- package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/Issue.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +5 -5
- package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +7 -7
- package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/Override.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +13 -13
- package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +2 -2
- package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +1 -1
- package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
- package/dist/sto-core/src/services/schemas/QwietLicenseUsageResult.d.ts +13 -0
- package/dist/sto-core/src/services/schemas/QwietLicenseUsageResult.js +1 -0
- 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
|
@@ -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 "Repellendus molestiae necessitatibus."
|
|
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 "Numquam hic."
|
|
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 "Tempora sapiente optio sit accusantium quidem sint."
|
|
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 "Officia quidem aut."
|
|
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 "Ipsum eaque quae."
|
|
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 "Nihil magni rerum."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FrontendExemptionsFiltersResponseBody } from '../schemas/FrontendExemptionsFiltersResponseBody';
|
|
3
|
+
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { ExemptionsFiltersRequestBody } from '../schemas/ExemptionsFiltersRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface FrontendExemptionsFiltersQueryQueryParams {
|
|
8
|
+
/**
|
|
9
|
+
* Harness Account ID
|
|
10
|
+
* @example "abcdef1234567890ghijkl"
|
|
11
|
+
*/
|
|
12
|
+
accountId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Harness Organization ID
|
|
15
|
+
* @example "example_org"
|
|
16
|
+
*/
|
|
17
|
+
orgId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Harness Project ID
|
|
20
|
+
* @example "example_project"
|
|
21
|
+
*/
|
|
22
|
+
projectId?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface FrontendExemptionsFiltersQueryHeaderParams {
|
|
25
|
+
/**
|
|
26
|
+
* Harness personal or service access token
|
|
27
|
+
* @example "Possimus unde."
|
|
28
|
+
*/
|
|
29
|
+
'X-Api-Key'?: string;
|
|
30
|
+
}
|
|
31
|
+
export type FrontendExemptionsFiltersRequestBody = ExemptionsFiltersRequestBody;
|
|
32
|
+
export type FrontendExemptionsFiltersOkResponse = ResponseWithPagination<FrontendExemptionsFiltersResponseBody>;
|
|
33
|
+
export type FrontendExemptionsFiltersErrorResponse = NotFound;
|
|
34
|
+
export interface FrontendExemptionsFiltersProps extends Omit<FetcherOptions<FrontendExemptionsFiltersQueryQueryParams, FrontendExemptionsFiltersRequestBody, FrontendExemptionsFiltersQueryHeaderParams>, 'url'> {
|
|
35
|
+
queryParams: FrontendExemptionsFiltersQueryQueryParams;
|
|
36
|
+
body: FrontendExemptionsFiltersRequestBody;
|
|
37
|
+
}
|
|
38
|
+
export declare function frontendExemptionsFilters(props: FrontendExemptionsFiltersProps): Promise<FrontendExemptionsFiltersOkResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Provide list of filters for exemptions
|
|
41
|
+
*/
|
|
42
|
+
export declare function useFrontendExemptionsFiltersQuery(props: FrontendExemptionsFiltersProps, options?: Omit<UseQueryOptions<FrontendExemptionsFiltersOkResponse, FrontendExemptionsFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendExemptionsFiltersOkResponse, 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 frontendExemptionsFilters(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v2/frontend/exemptions/filters`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Provide list of filters for exemptions
|
|
11
|
+
*/
|
|
12
|
+
export function useFrontendExemptionsFiltersQuery(props, options) {
|
|
13
|
+
return useQuery(['Frontend#ExemptionsFilters', props.queryParams, props.body], ({ signal }) => frontendExemptionsFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -44,11 +44,21 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
|
|
|
44
44
|
* @example "Keyword search. Searches Title, Reason & Type"
|
|
45
45
|
*/
|
|
46
46
|
search?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Column to sort by (default: requestedOn)
|
|
49
|
+
* @example "requestedOn"
|
|
50
|
+
*/
|
|
51
|
+
sortBy?: 'approvedBy' | 'exemptionDuration' | 'expiredOn' | 'rejectedBy' | 'requestedBy' | 'requestedOn' | 'severity';
|
|
52
|
+
/**
|
|
53
|
+
* Sort order: ascending or descending (default: desc)
|
|
54
|
+
* @example "desc"
|
|
55
|
+
*/
|
|
56
|
+
sortOrder?: 'asc' | 'desc';
|
|
47
57
|
}
|
|
48
58
|
export interface FrontendGlobalExemptionsQueryHeaderParams {
|
|
49
59
|
/**
|
|
50
60
|
* Harness personal or service access token
|
|
51
|
-
* @example "
|
|
61
|
+
* @example "Occaecati aspernatur qui."
|
|
52
62
|
*/
|
|
53
63
|
'X-Api-Key'?: string;
|
|
54
64
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FrontendQwietLicenseUsageResponseBody } from '../schemas/FrontendQwietLicenseUsageResponseBody';
|
|
3
|
+
import type { NotFound } from '../schemas/NotFound';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface FrontendQwietLicenseUsageQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* Harness Account ID
|
|
9
|
+
* @example "abcdef1234567890ghijkl"
|
|
10
|
+
*/
|
|
11
|
+
accountId: string;
|
|
12
|
+
}
|
|
13
|
+
export type FrontendQwietLicenseUsageOkResponse = ResponseWithPagination<FrontendQwietLicenseUsageResponseBody>;
|
|
14
|
+
export type FrontendQwietLicenseUsageErrorResponse = NotFound;
|
|
15
|
+
export interface FrontendQwietLicenseUsageProps extends Omit<FetcherOptions<FrontendQwietLicenseUsageQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: FrontendQwietLicenseUsageQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function frontendQwietLicenseUsage(props: FrontendQwietLicenseUsageProps): Promise<FrontendQwietLicenseUsageOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Returns Qwiet license usage metrics
|
|
21
|
+
*/
|
|
22
|
+
export declare function useFrontendQwietLicenseUsageQuery(props: FrontendQwietLicenseUsageProps, options?: Omit<UseQueryOptions<FrontendQwietLicenseUsageOkResponse, FrontendQwietLicenseUsageErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendQwietLicenseUsageOkResponse, 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 frontendQwietLicenseUsage(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v2/frontend/metrics/licenseUsage`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns Qwiet license usage metrics
|
|
11
|
+
*/
|
|
12
|
+
export function useFrontendQwietLicenseUsageQuery(props, options) {
|
|
13
|
+
return useQuery(['Frontend#QwietLicenseUsage', props.queryParams], ({ signal }) => frontendQwietLicenseUsage(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -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 "Facere sed modi consequuntur mollitia minima."
|
|
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 "Fuga enim quas."
|
|
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 "Porro enim voluptatum."
|
|
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 "Consectetur odio in facere."
|
|
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 "Architecto dolorem et iusto in."
|
|
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 "Quasi eaque."
|
|
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 "Quam quia est aut."
|
|
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 "Maxime cum dolore quibusdam officiis deserunt rerum."
|
|
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 "Expedita ratione aliquam tempora totam."
|
|
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 "Cumque voluptatum doloremque."
|
|
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 "Sint voluptas in voluptas aut."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Unde quia sed magni facilis odio."
|
|
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 "Temporibus adipisci omnis provident adipisci."
|
|
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 "Reiciendis architecto quam accusamus voluptate blanditiis."
|
|
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 "Harum tempore."
|
|
10
10
|
*/
|
|
11
11
|
id: string;
|
|
12
12
|
/**
|
|
13
13
|
* The ID of the Security Test Issue
|
|
14
|
-
* @example "
|
|
14
|
+
* @example "Molestias ipsam et."
|
|
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 "Consequatur ipsam ut voluptas voluptatem omnis."
|
|
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 "Ipsum nihil provident rerum veniam ad sed."
|
|
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 "Fugiat non maxime."
|
|
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 "Et et in ipsa fugiat."
|
|
35
35
|
*/
|
|
36
36
|
'X-Api-Key'?: string;
|
|
37
37
|
}
|
|
@@ -21,6 +21,8 @@ export type { FrontendAllIssuesListErrorResponse, FrontendAllIssuesListOkRespons
|
|
|
21
21
|
export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
|
|
22
22
|
export type { FrontendAllIssuesOccurrenceDetailsErrorResponse, FrontendAllIssuesOccurrenceDetailsOkResponse, FrontendAllIssuesOccurrenceDetailsProps, FrontendAllIssuesOccurrenceDetailsQueryPathParams, FrontendAllIssuesOccurrenceDetailsQueryQueryParams, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
23
23
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
24
|
+
export type { FrontendExemptionsFiltersErrorResponse, FrontendExemptionsFiltersOkResponse, FrontendExemptionsFiltersProps, FrontendExemptionsFiltersQueryQueryParams, FrontendExemptionsFiltersRequestBody, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
25
|
+
export { frontendExemptionsFilters, useFrontendExemptionsFiltersQuery, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
24
26
|
export type { FrontendExpiringExemptionsErrorResponse, FrontendExpiringExemptionsOkResponse, FrontendExpiringExemptionsProps, FrontendExpiringExemptionsQueryPathParams, FrontendExpiringExemptionsQueryQueryParams, } from './hooks/useFrontendExpiringExemptionsQuery';
|
|
25
27
|
export { frontendExpiringExemptions, useFrontendExpiringExemptionsQuery, } from './hooks/useFrontendExpiringExemptionsQuery';
|
|
26
28
|
export type { FrontendGlobalExemptionsErrorResponse, FrontendGlobalExemptionsOkResponse, FrontendGlobalExemptionsProps, FrontendGlobalExemptionsQueryQueryParams, FrontendGlobalExemptionsRequestBody, } from './hooks/useFrontendGlobalExemptionsQuery';
|
|
@@ -41,6 +43,8 @@ export type { FrontendPipelineSecurityIssuesErrorResponse, FrontendPipelineSecur
|
|
|
41
43
|
export { frontendPipelineSecurityIssues, useFrontendPipelineSecurityIssuesQuery, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
|
|
42
44
|
export type { FrontendPipelineSecurityStepsErrorResponse, FrontendPipelineSecurityStepsOkResponse, FrontendPipelineSecurityStepsProps, FrontendPipelineSecurityStepsQueryQueryParams, } from './hooks/useFrontendPipelineSecurityStepsQuery';
|
|
43
45
|
export { frontendPipelineSecuritySteps, useFrontendPipelineSecurityStepsQuery, } from './hooks/useFrontendPipelineSecurityStepsQuery';
|
|
46
|
+
export type { FrontendQwietLicenseUsageErrorResponse, FrontendQwietLicenseUsageOkResponse, FrontendQwietLicenseUsageProps, FrontendQwietLicenseUsageQueryQueryParams, } from './hooks/useFrontendQwietLicenseUsageQuery';
|
|
47
|
+
export { frontendQwietLicenseUsage, useFrontendQwietLicenseUsageQuery, } from './hooks/useFrontendQwietLicenseUsageQuery';
|
|
44
48
|
export type { FrontendSecurityReviewErrorResponse, FrontendSecurityReviewOkResponse, FrontendSecurityReviewProps, FrontendSecurityReviewQueryQueryParams, } from './hooks/useFrontendSecurityReviewQuery';
|
|
45
49
|
export { frontendSecurityReview, useFrontendSecurityReviewQuery, } from './hooks/useFrontendSecurityReviewQuery';
|
|
46
50
|
export type { FrontendTestTargetsErrorResponse, FrontendTestTargetsOkResponse, FrontendTestTargetsProps, FrontendTestTargetsQueryQueryParams, } from './hooks/useFrontendTestTargetsQuery';
|
|
@@ -87,8 +91,13 @@ export type { CreateExemptionRequestBody } from './schemas/CreateExemptionReques
|
|
|
87
91
|
export type { CreateOverrideRequestBody } from './schemas/CreateOverrideRequestBody';
|
|
88
92
|
export type { CreatePullRequestRequestBody } from './schemas/CreatePullRequestRequestBody';
|
|
89
93
|
export type { Exemption } from './schemas/Exemption';
|
|
94
|
+
export type { ExemptionFilterScanner } from './schemas/ExemptionFilterScanner';
|
|
95
|
+
export type { ExemptionFilterTarget } from './schemas/ExemptionFilterTarget';
|
|
96
|
+
export type { ExemptionFilterUser } from './schemas/ExemptionFilterUser';
|
|
90
97
|
export type { ExemptionImpactedTargetsResult } from './schemas/ExemptionImpactedTargetsResult';
|
|
91
98
|
export type { ExemptionsCreateExemptionResponseBody } from './schemas/ExemptionsCreateExemptionResponseBody';
|
|
99
|
+
export type { ExemptionsFiltersRequestBody } from './schemas/ExemptionsFiltersRequestBody';
|
|
100
|
+
export type { ExemptionsFiltersResult } from './schemas/ExemptionsFiltersResult';
|
|
92
101
|
export type { ExemptionsListExemptionsResponseBody } from './schemas/ExemptionsListExemptionsResponseBody';
|
|
93
102
|
export type { ExportPipelineSecurityIssuesCsvResponseBody } from './schemas/ExportPipelineSecurityIssuesCsvResponseBody';
|
|
94
103
|
export type { FrontendAllIssuesDetailsResponseBody } from './schemas/FrontendAllIssuesDetailsResponseBody';
|
|
@@ -98,6 +107,7 @@ export type { FrontendAllIssuesOccurrenceDetailsResponseBody } from './schemas/F
|
|
|
98
107
|
export type { FrontendExemption } from './schemas/FrontendExemption';
|
|
99
108
|
export type { FrontendExemptionCounts } from './schemas/FrontendExemptionCounts';
|
|
100
109
|
export type { FrontendExemptionTargets } from './schemas/FrontendExemptionTargets';
|
|
110
|
+
export type { FrontendExemptionsFiltersResponseBody } from './schemas/FrontendExemptionsFiltersResponseBody';
|
|
101
111
|
export type { FrontendExpiringExemptionsResponseBody } from './schemas/FrontendExpiringExemptionsResponseBody';
|
|
102
112
|
export type { FrontendImpactedTargetsForExemptionResponseBody } from './schemas/FrontendImpactedTargetsForExemptionResponseBody';
|
|
103
113
|
export type { FrontendIssueCounts } from './schemas/FrontendIssueCounts';
|
|
@@ -107,10 +117,12 @@ export type { FrontendOverviewBaselinesResponseBody } from './schemas/FrontendOv
|
|
|
107
117
|
export type { FrontendOverviewHistoricalCountsResponseBody } from './schemas/FrontendOverviewHistoricalCountsResponseBody';
|
|
108
118
|
export type { FrontendPipelineSecurityIssuesResponseBody } from './schemas/FrontendPipelineSecurityIssuesResponseBody';
|
|
109
119
|
export type { FrontendPipelineSecurityStepsResponseBody } from './schemas/FrontendPipelineSecurityStepsResponseBody';
|
|
120
|
+
export type { FrontendQwietLicenseUsageResponseBody } from './schemas/FrontendQwietLicenseUsageResponseBody';
|
|
110
121
|
export type { FrontendSecurityReviewResponseBody } from './schemas/FrontendSecurityReviewResponseBody';
|
|
111
122
|
export type { FrontendTestTargetsResponseBody } from './schemas/FrontendTestTargetsResponseBody';
|
|
112
123
|
export type { GitMetadata } from './schemas/GitMetadata';
|
|
113
124
|
export type { GlobalExemptionsRequestBody } from './schemas/GlobalExemptionsRequestBody';
|
|
125
|
+
export type { HarnessSastScaUsage } from './schemas/HarnessSastScaUsage';
|
|
114
126
|
export type { HistoricalCounts } from './schemas/HistoricalCounts';
|
|
115
127
|
export type { HistoricalIssueCounts } from './schemas/HistoricalIssueCounts';
|
|
116
128
|
export type { IdResult } from './schemas/IdResult';
|
|
@@ -142,6 +154,7 @@ export type { PromoteExemptionRequestBody } from './schemas/PromoteExemptionRequ
|
|
|
142
154
|
export type { PullRequestCorrelationResult } from './schemas/PullRequestCorrelationResult';
|
|
143
155
|
export type { PullRequestResult } from './schemas/PullRequestResult';
|
|
144
156
|
export type { PullRequestsGetPullRequestCorrelationResponseBody } from './schemas/PullRequestsGetPullRequestCorrelationResponseBody';
|
|
157
|
+
export type { QwietLicenseUsageResult } from './schemas/QwietLicenseUsageResult';
|
|
145
158
|
export type { RefIds } from './schemas/RefIds';
|
|
146
159
|
export type { ScansScanIssueResponseBody } from './schemas/ScansScanIssueResponseBody';
|
|
147
160
|
export type { SecurityReviewResult } from './schemas/SecurityReviewResult';
|
|
@@ -9,6 +9,7 @@ export { frontendAllIssuesDetails, useFrontendAllIssuesDetailsQuery, } from './h
|
|
|
9
9
|
export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './hooks/useFrontendAllIssuesFiltersQuery';
|
|
10
10
|
export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
|
|
11
11
|
export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
|
|
12
|
+
export { frontendExemptionsFilters, useFrontendExemptionsFiltersQuery, } from './hooks/useFrontendExemptionsFiltersQuery';
|
|
12
13
|
export { frontendExpiringExemptions, useFrontendExpiringExemptionsQuery, } from './hooks/useFrontendExpiringExemptionsQuery';
|
|
13
14
|
export { frontendGlobalExemptions, useFrontendGlobalExemptionsQuery, } from './hooks/useFrontendGlobalExemptionsQuery';
|
|
14
15
|
export { frontendImpactedTargetsForExemption, useFrontendImpactedTargetsForExemptionQuery, } from './hooks/useFrontendImpactedTargetsForExemptionQuery';
|
|
@@ -19,6 +20,7 @@ export { frontendOverviewHistoricalCounts, useFrontendOverviewHistoricalCountsQu
|
|
|
19
20
|
export { frontendPipelineSecurityIssuesCsv, useFrontendPipelineSecurityIssuesCsvQuery, } from './hooks/useFrontendPipelineSecurityIssuesCsvQuery';
|
|
20
21
|
export { frontendPipelineSecurityIssues, useFrontendPipelineSecurityIssuesQuery, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
|
|
21
22
|
export { frontendPipelineSecuritySteps, useFrontendPipelineSecurityStepsQuery, } from './hooks/useFrontendPipelineSecurityStepsQuery';
|
|
23
|
+
export { frontendQwietLicenseUsage, useFrontendQwietLicenseUsageQuery, } from './hooks/useFrontendQwietLicenseUsageQuery';
|
|
22
24
|
export { frontendSecurityReview, useFrontendSecurityReviewQuery, } from './hooks/useFrontendSecurityReviewQuery';
|
|
23
25
|
export { frontendTestTargets, useFrontendTestTargetsQuery, } from './hooks/useFrontendTestTargetsQuery';
|
|
24
26
|
export { frontendUpdateTestTargetVariants, useFrontendUpdateTestTargetVariantsMutation, } from './hooks/useFrontendUpdateTestTargetVariantsMutation';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OverrideResult } from '../schemas/OverrideResult';
|
|
2
2
|
/**
|
|
3
3
|
* All issue list summary
|
|
4
|
-
* @example {"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"
|
|
4
|
+
* @example {"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Neque unde et.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
5
5
|
*/
|
|
6
6
|
export interface AllIssueSummary {
|
|
7
7
|
/**
|
|
@@ -44,7 +44,7 @@ export interface AllIssueSummary {
|
|
|
44
44
|
id: string;
|
|
45
45
|
/**
|
|
46
46
|
* Issue Type
|
|
47
|
-
* @example "
|
|
47
|
+
* @example "Eligendi consequatur asperiores ipsam corporis non excepturi."
|
|
48
48
|
*/
|
|
49
49
|
issueType?: string;
|
|
50
50
|
/**
|
|
@@ -67,7 +67,7 @@ export interface AllIssueSummary {
|
|
|
67
67
|
numTargetsImpacted: number;
|
|
68
68
|
/**
|
|
69
69
|
* List of issue overrides
|
|
70
|
-
* @example [{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}
|
|
70
|
+
* @example [{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}]
|
|
71
71
|
*/
|
|
72
72
|
overrides?: OverrideResult[];
|
|
73
73
|
/**
|
|
@@ -77,7 +77,7 @@ export interface AllIssueSummary {
|
|
|
77
77
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
78
78
|
/**
|
|
79
79
|
* Issue Status
|
|
80
|
-
* @example "
|
|
80
|
+
* @example "Active"
|
|
81
81
|
*/
|
|
82
82
|
status?: 'Active' | 'Exempted';
|
|
83
83
|
/**
|
|
@@ -3,12 +3,18 @@ import type { OverrideResult } from '../schemas/OverrideResult';
|
|
|
3
3
|
import type { Pagination } from '../schemas/Pagination';
|
|
4
4
|
import type { RefIds } from '../schemas/RefIds';
|
|
5
5
|
/**
|
|
6
|
-
* @example {"
|
|
6
|
+
* @example {"dataflow":"Labore rerum quibusdam eius nihil sed.","description":"Autem doloribus.","epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"impactedTargets":[{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Tenetur mollitia.","userName":"firstname lastname","variantName":"Vitae tenetur harum impedit voluptatum non."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Tenetur mollitia.","userName":"firstname lastname","variantName":"Vitae tenetur harum impedit voluptatum non."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Tenetur mollitia.","userName":"firstname lastname","variantName":"Vitae tenetur harum impedit voluptatum non."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Tenetur mollitia.","userName":"firstname lastname","variantName":"Vitae tenetur harum impedit voluptatum non."}],"issueType":"Consequuntur a repellat perspiciatis autem sed corporis.","lastDetected":1634836529,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Perferendis minima rerum.","type":"Sunt doloremque corporis facere aut quasi fugit."},{"id":"Perferendis minima rerum.","type":"Sunt doloremque corporis facere aut quasi fugit."}],"scanTool":"owasp","severityCode":"High","targetType":"Quaerat voluptas ut.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
|
|
7
7
|
*/
|
|
8
8
|
export interface AllIssuesDetailsResult {
|
|
9
|
+
/**
|
|
10
|
+
* Data flow information for SAST issues
|
|
11
|
+
* @format binary
|
|
12
|
+
* @example "Aut qui voluptatem ea vel facere sed."
|
|
13
|
+
*/
|
|
14
|
+
dataflow?: string;
|
|
9
15
|
/**
|
|
10
16
|
* Issue description
|
|
11
|
-
* @example "
|
|
17
|
+
* @example "Voluptas ut distinctio."
|
|
12
18
|
*/
|
|
13
19
|
description: string;
|
|
14
20
|
/**
|
|
@@ -30,12 +36,12 @@ export interface AllIssuesDetailsResult {
|
|
|
30
36
|
epssScore?: number;
|
|
31
37
|
/**
|
|
32
38
|
* List of Impacted Targets
|
|
33
|
-
* @example [{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"
|
|
39
|
+
* @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":"Tenetur mollitia.","userName":"firstname lastname","variantName":"Vitae tenetur harum impedit voluptatum non."},{"executionId":"abcdef1234567890ghijkl","exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"pipelineId":"example_pipeline","userEmail":"user@gmail.com","userId":"Tenetur mollitia.","userName":"firstname lastname","variantName":"Vitae tenetur harum impedit voluptatum non."}]
|
|
34
40
|
*/
|
|
35
41
|
impactedTargets: ImpactedTarget[];
|
|
36
42
|
/**
|
|
37
43
|
* Issue Type
|
|
38
|
-
* @example "
|
|
44
|
+
* @example "Fugit rem beatae dolor voluptas est modi."
|
|
39
45
|
*/
|
|
40
46
|
issueType?: string;
|
|
41
47
|
/**
|
|
@@ -52,7 +58,7 @@ export interface AllIssuesDetailsResult {
|
|
|
52
58
|
pagination: Pagination;
|
|
53
59
|
/**
|
|
54
60
|
* Reference Identifiers
|
|
55
|
-
* @example [{"id":"
|
|
61
|
+
* @example [{"id":"Perferendis minima rerum.","type":"Sunt doloremque corporis facere aut quasi fugit."},{"id":"Perferendis minima rerum.","type":"Sunt doloremque corporis facere aut quasi fugit."}]
|
|
56
62
|
*/
|
|
57
63
|
referenceIdentifiers: RefIds[];
|
|
58
64
|
/**
|
|
@@ -67,7 +73,7 @@ export interface AllIssuesDetailsResult {
|
|
|
67
73
|
severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
|
|
68
74
|
/**
|
|
69
75
|
* Target Type
|
|
70
|
-
* @example "
|
|
76
|
+
* @example "Dolorum nisi ad illum recusandae modi."
|
|
71
77
|
*/
|
|
72
78
|
targetType: string;
|
|
73
79
|
/**
|