@harnessio/react-sto-core-client 0.6.3 → 0.7.0

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.
Files changed (47) hide show
  1. package/dist/sto-core/src/services/hooks/useExemptionsApproveExemptionMutation.d.ts +1 -1
  2. package/dist/sto-core/src/services/hooks/useExemptionsCreateExemptionMutation.d.ts +1 -1
  3. package/dist/sto-core/src/services/hooks/useExemptionsFindExemptionByIdQuery.d.ts +1 -2
  4. package/dist/sto-core/src/services/hooks/useExemptionsListExemptionsQuery.d.ts +1 -1
  5. package/dist/sto-core/src/services/hooks/useExemptionsPromoteExemptionMutation.d.ts +1 -1
  6. package/dist/sto-core/src/services/hooks/useExemptionsUpdateExemptionMutation.d.ts +1 -1
  7. package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListQuery.d.ts +1 -1
  8. package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListV2Query.d.ts +103 -0
  9. package/dist/sto-core/src/services/hooks/useFrontendAllIssuesListV2Query.js +14 -0
  10. package/dist/sto-core/src/services/hooks/useFrontendExemptionsFiltersQuery.d.ts +1 -1
  11. package/dist/sto-core/src/services/hooks/useFrontendExpiringExemptionsQuery.d.ts +1 -1
  12. package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +1 -1
  13. package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
  14. package/dist/sto-core/src/services/hooks/useIssuesFindIssueByIdQuery.d.ts +1 -1
  15. package/dist/sto-core/src/services/hooks/useIssuesIssuesAugmentRemediationMutation.d.ts +1 -1
  16. package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.d.ts +1 -1
  17. package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.d.ts +1 -1
  18. package/dist/sto-core/src/services/hooks/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
  19. package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
  20. package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
  21. package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +5 -5
  22. package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +5 -5
  23. package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
  24. package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
  25. package/dist/sto-core/src/services/index.d.ts +5 -0
  26. package/dist/sto-core/src/services/index.js +1 -0
  27. package/dist/sto-core/src/services/schemas/AllBaselineIssueSummary.d.ts +82 -0
  28. package/dist/sto-core/src/services/schemas/AllBaselineIssueSummary.js +1 -0
  29. package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +2 -2
  30. package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +7 -7
  31. package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
  32. package/dist/sto-core/src/services/schemas/AllIssuesListV2Result.d.ts +13 -0
  33. package/dist/sto-core/src/services/schemas/AllIssuesListV2Result.js +1 -0
  34. package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -7
  35. package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
  36. package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
  37. package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
  38. package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +1 -1
  39. package/dist/sto-core/src/services/schemas/FrontendAllIssuesListV2ResponseBody.d.ts +2 -0
  40. package/dist/sto-core/src/services/schemas/FrontendAllIssuesListV2ResponseBody.js +1 -0
  41. package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +5 -6
  42. package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +3 -3
  43. package/dist/sto-core/src/services/schemas/Issue.d.ts +5 -5
  44. package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +6 -6
  45. package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
  46. package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
  47. 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 "Velit sint deserunt quia est nihil."
39
+ * @example "Voluptate error modi consequatur."
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 "Commodi porro velit atque."
27
+ * @example "Quasi in."
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 "Autem voluptates at."
42
+ * @example "Atque 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 "Illo corrupti molestiae eos quibusdam nihil."
40
+ * @example "Numquam vel nihil ut."
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 "Sint distinctio eius recusandae."
34
+ * @example "Qui deserunt sunt aperiam."
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 "Aut non."
34
+ * @example "Eum maiores quis voluptas ducimus libero."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -72,7 +72,7 @@ export interface FrontendAllIssuesListQueryQueryParams {
72
72
  */
73
73
  issueTypes?: string;
74
74
  /**
75
- * @example "Active,Exempted"
75
+ * @example "Active,Exempted,Remediated"
76
76
  */
77
77
  statuses?: string;
78
78
  /**
@@ -0,0 +1,103 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { FrontendAllIssuesListV2ResponseBody } from '../schemas/FrontendAllIssuesListV2ResponseBody';
3
+ import type { NotFound } from '../schemas/NotFound';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface FrontendAllIssuesListV2QueryQueryParams {
7
+ /**
8
+ * Harness Account ID
9
+ * @example "abcdef1234567890ghijkl"
10
+ */
11
+ accountId: string;
12
+ /**
13
+ * Harness Organization ID
14
+ * @example "example_org"
15
+ */
16
+ orgId: string;
17
+ /**
18
+ * Harness Project ID
19
+ * @example "example_project"
20
+ */
21
+ projectId: string;
22
+ /**
23
+ * Page number to fetch (starting from 0)
24
+ * @format int64
25
+ * @default 0
26
+ * @example 4
27
+ */
28
+ page?: number;
29
+ /**
30
+ * Number of results per page
31
+ * @format int64
32
+ * @default 30
33
+ * @example 50
34
+ */
35
+ pageSize?: number;
36
+ /**
37
+ * @example "target1111111111111111,abcdef1234567890abcdef"
38
+ */
39
+ targetIds?: string;
40
+ /**
41
+ * @example "repository,container"
42
+ */
43
+ targetTypes?: string;
44
+ /**
45
+ * @example "pipeline1,pipeline2"
46
+ */
47
+ pipelineIds?: string;
48
+ /**
49
+ * @example "owasp,zap"
50
+ */
51
+ scanTools?: string;
52
+ /**
53
+ * @example "Critical,High,Medium"
54
+ */
55
+ severityCodes?: string;
56
+ /**
57
+ * @example "None,Pending,Rejected,Expired"
58
+ */
59
+ exemptionStatuses?: string;
60
+ /**
61
+ * Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
62
+ * @default "Yes,No"
63
+ * @example "Yes"
64
+ */
65
+ severityOverriden?: string;
66
+ /**
67
+ * @example "CWE-123"
68
+ */
69
+ search?: string;
70
+ /**
71
+ * @example "SAST"
72
+ */
73
+ issueTypes?: string;
74
+ /**
75
+ * @example "Active,Exempted,Remediated"
76
+ */
77
+ statuses?: string;
78
+ /**
79
+ * Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.
80
+ * @example "reachable"
81
+ */
82
+ reachability?: string;
83
+ /**
84
+ * EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
85
+ * @example "gte_15"
86
+ */
87
+ epss?: string;
88
+ /**
89
+ * EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
90
+ * @example "gte_99"
91
+ */
92
+ epssPercentile?: string;
93
+ }
94
+ export type FrontendAllIssuesListV2OkResponse = ResponseWithPagination<FrontendAllIssuesListV2ResponseBody>;
95
+ export type FrontendAllIssuesListV2ErrorResponse = NotFound;
96
+ export interface FrontendAllIssuesListV2Props extends Omit<FetcherOptions<FrontendAllIssuesListV2QueryQueryParams, unknown>, 'url'> {
97
+ queryParams: FrontendAllIssuesListV2QueryQueryParams;
98
+ }
99
+ export declare function frontendAllIssuesListV2(props: FrontendAllIssuesListV2Props): Promise<FrontendAllIssuesListV2OkResponse>;
100
+ /**
101
+ * Provides a paginated list of issues for a project using the pre-aggregated summary table
102
+ */
103
+ export declare function useFrontendAllIssuesListV2Query(props: FrontendAllIssuesListV2Props, options?: Omit<UseQueryOptions<FrontendAllIssuesListV2OkResponse, FrontendAllIssuesListV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendAllIssuesListV2OkResponse, NotFound>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function frontendAllIssuesListV2(props) {
7
+ return fetcher(Object.assign({ url: `/api/v2/frontend/all-issues/v2/issues`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Provides a paginated list of issues for a project using the pre-aggregated summary table
11
+ */
12
+ export function useFrontendAllIssuesListV2Query(props, options) {
13
+ return useQuery(['Frontend#AllIssuesListV2', props.queryParams], ({ signal }) => frontendAllIssuesListV2(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -24,7 +24,7 @@ export interface FrontendExemptionsFiltersQueryQueryParams {
24
24
  export interface FrontendExemptionsFiltersQueryHeaderParams {
25
25
  /**
26
26
  * Harness personal or service access token
27
- * @example "Eveniet atque."
27
+ * @example "Dolorem dicta iusto deleniti vitae."
28
28
  */
29
29
  'X-Api-Key'?: string;
30
30
  }
@@ -30,7 +30,7 @@ export interface FrontendExpiringExemptionsQueryQueryParams {
30
30
  * Number of days of Baseline Issue counts to return
31
31
  * @format int64
32
32
  * @default 7
33
- * @example 4481
33
+ * @example 3133
34
34
  */
35
35
  days?: number;
36
36
  }
@@ -58,7 +58,7 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
58
58
  export interface FrontendGlobalExemptionsQueryHeaderParams {
59
59
  /**
60
60
  * Harness personal or service access token
61
- * @example "Quam quia est aut."
61
+ * @example "Dolores totam quod dicta aut."
62
62
  */
63
63
  'X-Api-Key'?: string;
64
64
  }
@@ -23,7 +23,7 @@ export interface FrontendOverviewHistoricalCountsQueryQueryParams {
23
23
  * Number of days of Baseline Issue counts to return
24
24
  * @format int64
25
25
  * @default 30
26
- * @example 56
26
+ * @example 47
27
27
  */
28
28
  days?: number;
29
29
  }
@@ -35,7 +35,7 @@ export interface IssuesFindIssueByIdQueryQueryParams {
35
35
  export interface IssuesFindIssueByIdQueryHeaderParams {
36
36
  /**
37
37
  * Harness personal or service access token
38
- * @example "Ratione architecto."
38
+ * @example "Id vel quod deleniti."
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 "Aut laborum hic et excepturi repellat."
34
+ * @example "Magni excepturi."
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 "Magni deserunt."
27
+ * @example "Qui distinctio totam officia voluptates."
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 "Fugiat tempore."
40
+ * @example "Ea modi."
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 "Iure et corrupti nihil magni."
28
+ * @example "Eum facere molestiae."
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 "Quia omnis."
35
+ * @example "Aliquid ea repellendus molestiae."
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 "Corrupti odit."
27
+ * @example "Sapiente optio sit accusantium."
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 "Sint voluptatem deleniti porro."
43
+ * @example "Consequuntur ducimus numquam hic fugit."
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 "Sed maxime quae nam quo ipsum eaque."
28
+ * @example "Aliquam voluptate velit et et aut eum."
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 "Odio in facere quis in quaerat quas."
35
+ * @example "Facere hic."
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 "Commodi dolores voluptas molestias vel a."
9
+ * @example "Sit doloremque repellendus cum."
10
10
  */
11
11
  id: string;
12
12
  /**
13
13
  * The ID of the Security Test Issue
14
- * @example "Quod ea et eaque nisi."
14
+ * @example "Minima voluptas temporibus corporis suscipit deserunt."
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 "Qui temporibus."
58
+ * @example "Quod ea et eaque nisi."
59
59
  */
60
60
  sort?: string;
61
61
  /**
62
62
  * The order to sort by
63
- * @example "ASC"
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 "Totam eum sit doloremque repellendus cum alias."
75
+ * @example "Sit et distinctio saepe doloribus et doloribus."
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 "Est aut."
9
+ * @example "Perspiciatis laudantium aut at."
10
10
  */
11
11
  id: string;
12
12
  /**
13
13
  * The ID of the Security Test Issue
14
- * @example "Facere sed modi consequuntur mollitia minima."
14
+ * @example "Magni vel."
15
15
  */
16
16
  issueId: string;
17
17
  }
@@ -47,19 +47,19 @@ export interface ScansScanIssueQueryQueryParams {
47
47
  pageSize?: number;
48
48
  /**
49
49
  * The field to sort by
50
- * @example "Occaecati aspernatur qui."
50
+ * @example "Minima harum aut."
51
51
  */
52
52
  sort?: string;
53
53
  /**
54
54
  * The order to sort by
55
- * @example "ASC"
55
+ * @example "DESC"
56
56
  */
57
57
  order?: 'ASC' | 'DESC';
58
58
  }
59
59
  export interface ScansScanIssueQueryHeaderParams {
60
60
  /**
61
61
  * Harness personal or service access token
62
- * @example "Optio voluptatibus."
62
+ * @example "Qui temporibus."
63
63
  */
64
64
  'X-Api-Key'?: string;
65
65
  }
@@ -30,7 +30,7 @@ export interface TargetsFindTargetByIdQueryQueryParams {
30
30
  export interface TargetsFindTargetByIdQueryHeaderParams {
31
31
  /**
32
32
  * Harness personal or service access token
33
- * @example "Et aut."
33
+ * @example "Et qui adipisci sint."
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 "Quos ab tenetur voluptatem sed."
34
+ * @example "A sapiente et voluptas."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -19,6 +19,8 @@ export type { FrontendAllIssuesFiltersErrorResponse, FrontendAllIssuesFiltersOkR
19
19
  export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './hooks/useFrontendAllIssuesFiltersQuery';
20
20
  export type { FrontendAllIssuesListErrorResponse, FrontendAllIssuesListOkResponse, FrontendAllIssuesListProps, FrontendAllIssuesListQueryQueryParams, } from './hooks/useFrontendAllIssuesListQuery';
21
21
  export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
22
+ export type { FrontendAllIssuesListV2ErrorResponse, FrontendAllIssuesListV2OkResponse, FrontendAllIssuesListV2Props, FrontendAllIssuesListV2QueryQueryParams, } from './hooks/useFrontendAllIssuesListV2Query';
23
+ export { frontendAllIssuesListV2, useFrontendAllIssuesListV2Query, } from './hooks/useFrontendAllIssuesListV2Query';
22
24
  export type { FrontendAllIssuesOccurrenceDetailsErrorResponse, FrontendAllIssuesOccurrenceDetailsOkResponse, FrontendAllIssuesOccurrenceDetailsProps, FrontendAllIssuesOccurrenceDetailsQueryPathParams, FrontendAllIssuesOccurrenceDetailsQueryQueryParams, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
23
25
  export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
24
26
  export type { FrontendExemptionsFiltersErrorResponse, FrontendExemptionsFiltersOkResponse, FrontendExemptionsFiltersProps, FrontendExemptionsFiltersQueryQueryParams, FrontendExemptionsFiltersRequestBody, } from './hooks/useFrontendExemptionsFiltersQuery';
@@ -77,10 +79,12 @@ export type { TargetsFindTargetByIdErrorResponse, TargetsFindTargetByIdOkRespons
77
79
  export { targetsFindTargetById, useTargetsFindTargetByIdQuery, } from './hooks/useTargetsFindTargetByIdQuery';
78
80
  export type { TargetsPatchTargetErrorResponse, TargetsPatchTargetMutationPathParams, TargetsPatchTargetMutationQueryParams, TargetsPatchTargetOkResponse, TargetsPatchTargetProps, TargetsPatchTargetRequestBody, } from './hooks/useTargetsPatchTargetMutation';
79
81
  export { targetsPatchTarget, useTargetsPatchTargetMutation, } from './hooks/useTargetsPatchTargetMutation';
82
+ export type { AllBaselineIssueSummary } from './schemas/AllBaselineIssueSummary';
80
83
  export type { AllIssueSummary } from './schemas/AllIssueSummary';
81
84
  export type { AllIssuesDetailsResult } from './schemas/AllIssuesDetailsResult';
82
85
  export type { AllIssuesFiltersResult } from './schemas/AllIssuesFiltersResult';
83
86
  export type { AllIssuesListResult } from './schemas/AllIssuesListResult';
87
+ export type { AllIssuesListV2Result } from './schemas/AllIssuesListV2Result';
84
88
  export type { AllIssuesOccurrenceDetailsResult } from './schemas/AllIssuesOccurrenceDetailsResult';
85
89
  export type { ApproveExemptionRequestBody } from './schemas/ApproveExemptionRequestBody';
86
90
  export type { AugmentRemediationMetadata } from './schemas/AugmentRemediationMetadata';
@@ -103,6 +107,7 @@ export type { ExportPipelineSecurityIssuesCsvResponseBody } from './schemas/Expo
103
107
  export type { FrontendAllIssuesDetailsResponseBody } from './schemas/FrontendAllIssuesDetailsResponseBody';
104
108
  export type { FrontendAllIssuesFiltersResponseBody } from './schemas/FrontendAllIssuesFiltersResponseBody';
105
109
  export type { FrontendAllIssuesListResponseBody } from './schemas/FrontendAllIssuesListResponseBody';
110
+ export type { FrontendAllIssuesListV2ResponseBody } from './schemas/FrontendAllIssuesListV2ResponseBody';
106
111
  export type { FrontendAllIssuesOccurrenceDetailsResponseBody } from './schemas/FrontendAllIssuesOccurrenceDetailsResponseBody';
107
112
  export type { FrontendExemption } from './schemas/FrontendExemption';
108
113
  export type { FrontendExemptionCounts } from './schemas/FrontendExemptionCounts';
@@ -8,6 +8,7 @@ export { exemptionsUpdateExemption, useExemptionsUpdateExemptionMutation, } from
8
8
  export { frontendAllIssuesDetails, useFrontendAllIssuesDetailsQuery, } from './hooks/useFrontendAllIssuesDetailsQuery';
9
9
  export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './hooks/useFrontendAllIssuesFiltersQuery';
10
10
  export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
11
+ export { frontendAllIssuesListV2, useFrontendAllIssuesListV2Query, } from './hooks/useFrontendAllIssuesListV2Query';
11
12
  export { frontendAllIssuesOccurrenceDetails, useFrontendAllIssuesOccurrenceDetailsQuery, } from './hooks/useFrontendAllIssuesOccurrenceDetailsQuery';
12
13
  export { frontendExemptionsFilters, useFrontendExemptionsFiltersQuery, } from './hooks/useFrontendExemptionsFiltersQuery';
13
14
  export { frontendExpiringExemptions, useFrontendExpiringExemptionsQuery, } from './hooks/useFrontendExpiringExemptionsQuery';
@@ -0,0 +1,82 @@
1
+ import type { OverrideResult } from '../schemas/OverrideResult';
2
+ /**
3
+ * All issue list summary from pre-aggregated baseline issue summary table
4
+ * @example {"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Debitis beatae facere maiores maiores non totam.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Exempted","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
5
+ */
6
+ export interface AllBaselineIssueSummary {
7
+ /**
8
+ * Last date the issue EPSS data was last modified
9
+ * @example "2025-05-01"
10
+ */
11
+ epssLastModified?: string;
12
+ /**
13
+ * EPSS percentile of the issue CVE identifier
14
+ * @format double
15
+ * @example 0.15
16
+ */
17
+ epssPercentile?: number;
18
+ /**
19
+ * EPSS score of the issue CVE identifier
20
+ * @format double
21
+ * @example 0.035
22
+ */
23
+ epssScore?: number;
24
+ /**
25
+ * Status of project scoped exemption for this issue
26
+ * @example "Pending"
27
+ */
28
+ exemptionStatus?: string;
29
+ /**
30
+ * Resource identifier
31
+ * @example "abcdef1234567890ghijkl"
32
+ */
33
+ id: string;
34
+ /**
35
+ * Issue Type
36
+ * @example "Deleniti quia."
37
+ */
38
+ issueType?: string;
39
+ /**
40
+ * Timestamp of the last detection of this issue
41
+ * @format int64
42
+ * @example 1634836529
43
+ */
44
+ lastDetected: number;
45
+ /**
46
+ * Number of occurrences of this issue against the latest baseline scan
47
+ * @format float
48
+ * @example 12
49
+ */
50
+ numOccurrences: number;
51
+ /**
52
+ * Number of targets impacted where this issue was found against the latest baseline scan
53
+ * @format float
54
+ * @example 2
55
+ */
56
+ numTargetsImpacted: number;
57
+ /**
58
+ * List of issue overrides
59
+ * @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"}]
60
+ */
61
+ overrides?: OverrideResult[];
62
+ /**
63
+ * Aggregate reachability status of the issue across all scans. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable.
64
+ * @example "reachable"
65
+ */
66
+ reachability?: string;
67
+ /**
68
+ * Severity code
69
+ * @example "High"
70
+ */
71
+ severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
72
+ /**
73
+ * Issue Status
74
+ * @example "Remediated"
75
+ */
76
+ status: 'Active' | 'Exempted' | 'Remediated';
77
+ /**
78
+ * Title of the Security Issue
79
+ * @example "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
80
+ */
81
+ title: string;
82
+ }
@@ -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":"Praesentium dicta id quo.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Active","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
4
+ * @example {"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Praesentium dicta id quo.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"overrides":[{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"},{"created":1651578240,"fieldName":"severityCode","impactedTargetId":"target1111111111111111","originalFieldValue":"Low","overrideFieldValue":"Low","overrideId":"override1234","reason":"Waiting on upstream bug fix","requesterEmail":"user@harness.io","requesterId":"user111111111111111111","requesterName":"firstname lastname"}],"reachability":"reachable","severityCode":"High","status":"Exempted","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
5
5
  */
6
6
  export interface AllIssueSummary {
7
7
  /**
@@ -84,7 +84,7 @@ export interface AllIssueSummary {
84
84
  * Issue Status
85
85
  * @example "Exempted"
86
86
  */
87
- status?: 'Active' | 'Exempted';
87
+ status?: 'Active' | 'Exempted' | 'Remediated';
88
88
  /**
89
89
  * Title of the Security Issue
90
90
  * @example "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"