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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) 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 +2 -1
  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/useFrontendAllIssuesCountsV2Query.d.ts +89 -0
  8. package/dist/sto-core/src/services/hooks/useFrontendAllIssuesCountsV2Query.js +14 -0
  9. package/dist/sto-core/src/services/hooks/useFrontendExemptionsFiltersQuery.d.ts +1 -1
  10. package/dist/sto-core/src/services/hooks/useFrontendExpiringExemptionsQuery.d.ts +1 -1
  11. package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +1 -1
  12. package/dist/sto-core/src/services/hooks/useFrontendOccurrenceDataflowQuery.d.ts +45 -0
  13. package/dist/sto-core/src/services/hooks/useFrontendOccurrenceDataflowQuery.js +14 -0
  14. package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
  15. package/dist/sto-core/src/services/hooks/useIssuesFindIssueByIdQuery.d.ts +1 -1
  16. package/dist/sto-core/src/services/hooks/useIssuesIssuesAugmentRemediationMutation.d.ts +1 -1
  17. package/dist/sto-core/src/services/hooks/useOverridesCreateOverrideMutation.d.ts +1 -1
  18. package/dist/sto-core/src/services/hooks/useOverridesListOverridesQuery.d.ts +1 -1
  19. package/dist/sto-core/src/services/hooks/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
  20. package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
  21. package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
  22. package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +5 -5
  23. package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +4 -4
  24. package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
  25. package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
  26. package/dist/sto-core/src/services/index.d.ts +8 -0
  27. package/dist/sto-core/src/services/index.js +2 -0
  28. package/dist/sto-core/src/services/schemas/AllBaselineIssueSummary.d.ts +4 -4
  29. package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +2 -2
  30. package/dist/sto-core/src/services/schemas/AllIssuesCountsV2Result.d.ts +20 -0
  31. package/dist/sto-core/src/services/schemas/AllIssuesCountsV2Result.js +1 -0
  32. package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +7 -7
  33. package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +1 -1
  34. package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
  35. package/dist/sto-core/src/services/schemas/AllIssuesListV2Result.d.ts +2 -2
  36. package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -7
  37. package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
  38. package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
  39. package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
  40. package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
  41. package/dist/sto-core/src/services/schemas/Exemption.d.ts +3 -3
  42. package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +1 -1
  43. package/dist/sto-core/src/services/schemas/ExemptionsFiltersResult.d.ts +6 -6
  44. package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +2 -2
  45. package/dist/sto-core/src/services/schemas/ExportPipelineSecurityIssuesCsvResponseBody.d.ts +6 -6
  46. package/dist/sto-core/src/services/schemas/FrontendAllIssuesCountsV2ResponseBody.d.ts +2 -0
  47. package/dist/sto-core/src/services/schemas/FrontendAllIssuesCountsV2ResponseBody.js +1 -0
  48. package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
  49. package/dist/sto-core/src/services/schemas/FrontendOccurrenceDataflowResponseBody.d.ts +2 -0
  50. package/dist/sto-core/src/services/schemas/FrontendOccurrenceDataflowResponseBody.js +1 -0
  51. package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +6 -5
  52. package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +1 -1
  53. package/dist/sto-core/src/services/schemas/HistoricalIssueCounts.d.ts +0 -1
  54. package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +3 -3
  55. package/dist/sto-core/src/services/schemas/Issue.d.ts +5 -5
  56. package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +4 -4
  57. package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +4 -4
  58. package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
  59. package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +13 -7
  60. package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
  61. package/dist/sto-core/src/services/schemas/OccurrenceDataflowResult.d.ts +24 -0
  62. package/dist/sto-core/src/services/schemas/OccurrenceDataflowResult.js +4 -0
  63. package/dist/sto-core/src/services/schemas/Override.d.ts +2 -2
  64. package/dist/sto-core/src/services/schemas/OverridesListOverridesResponseBody.d.ts +2 -2
  65. package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
  66. package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +13 -13
  67. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +1 -1
  68. package/dist/sto-core/src/services/schemas/ProductsListProductsResponseBody.d.ts +2 -2
  69. package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
  70. package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
  71. package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
  72. package/dist/sto-core/src/services/schemas/TestTargetResult.d.ts +2 -2
  73. 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 "Voluptate error modi consequatur."
39
+ * @example "Ducimus expedita."
40
40
  */
41
41
  'X-Api-Key'?: string;
42
42
  }
@@ -24,7 +24,7 @@ export interface ExemptionsCreateExemptionMutationQueryParams {
24
24
  export interface ExemptionsCreateExemptionMutationHeaderParams {
25
25
  /**
26
26
  * Harness personal or service access token
27
- * @example "Quasi in."
27
+ * @example "Nulla et enim labore dolorem pariatur et."
28
28
  */
29
29
  'X-Api-Key'?: string;
30
30
  }
@@ -33,13 +33,14 @@ export interface ExemptionsFindExemptionByIdQueryQueryParams {
33
33
  executionId?: string;
34
34
  /**
35
35
  * Ignore scope
36
+ * @example true
36
37
  */
37
38
  ignoreScope?: boolean;
38
39
  }
39
40
  export interface ExemptionsFindExemptionByIdQueryHeaderParams {
40
41
  /**
41
42
  * Harness personal or service access token
42
- * @example "Atque repudiandae."
43
+ * @example "Ut perspiciatis voluptatibus."
43
44
  */
44
45
  'X-Api-Key'?: string;
45
46
  }
@@ -37,7 +37,7 @@ export interface ExemptionsListExemptionsQueryQueryParams {
37
37
  export interface ExemptionsListExemptionsQueryHeaderParams {
38
38
  /**
39
39
  * Harness personal or service access token
40
- * @example "Numquam vel nihil ut."
40
+ * @example "Porro enim voluptatum."
41
41
  */
42
42
  'X-Api-Key'?: string;
43
43
  }
@@ -31,7 +31,7 @@ export interface ExemptionsPromoteExemptionMutationQueryParams {
31
31
  export interface ExemptionsPromoteExemptionMutationHeaderParams {
32
32
  /**
33
33
  * Harness personal or service access token
34
- * @example "Qui deserunt sunt aperiam."
34
+ * @example "Eveniet atque."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -31,7 +31,7 @@ export interface ExemptionsUpdateExemptionMutationQueryParams {
31
31
  export interface ExemptionsUpdateExemptionMutationHeaderParams {
32
32
  /**
33
33
  * Harness personal or service access token
34
- * @example "Eum maiores quis voluptas ducimus libero."
34
+ * @example "Qui tenetur est placeat vel."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -0,0 +1,89 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { FrontendAllIssuesCountsV2ResponseBody } from '../schemas/FrontendAllIssuesCountsV2ResponseBody';
3
+ import type { NotFound } from '../schemas/NotFound';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface FrontendAllIssuesCountsV2QueryQueryParams {
7
+ /**
8
+ * Harness Account ID
9
+ * @example "abcdef1234567890ghijkl"
10
+ */
11
+ accountId: string;
12
+ /**
13
+ * Harness Organization ID
14
+ * @example "example_org"
15
+ */
16
+ orgId: string;
17
+ /**
18
+ * Harness Project ID
19
+ * @example "example_project"
20
+ */
21
+ projectId: string;
22
+ /**
23
+ * @example "target1111111111111111,abcdef1234567890abcdef"
24
+ */
25
+ targetIds?: string;
26
+ /**
27
+ * @example "repository,container"
28
+ */
29
+ targetTypes?: string;
30
+ /**
31
+ * @example "pipeline1,pipeline2"
32
+ */
33
+ pipelineIds?: string;
34
+ /**
35
+ * @example "owasp,zap"
36
+ */
37
+ scanTools?: string;
38
+ /**
39
+ * @example "Critical,High,Medium"
40
+ */
41
+ severityCodes?: string;
42
+ /**
43
+ * @example "None,Pending,Rejected,Expired"
44
+ */
45
+ exemptionStatuses?: string;
46
+ /**
47
+ * Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
48
+ * @default "Yes,No"
49
+ * @example "Yes"
50
+ */
51
+ severityOverriden?: string;
52
+ /**
53
+ * @example "CWE-123"
54
+ */
55
+ search?: string;
56
+ /**
57
+ * @example "SAST"
58
+ */
59
+ issueTypes?: string;
60
+ /**
61
+ * @example "Active,Exempted,Remediated"
62
+ */
63
+ statuses?: string;
64
+ /**
65
+ * Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.
66
+ * @example "reachable"
67
+ */
68
+ reachability?: string;
69
+ /**
70
+ * EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
71
+ * @example "gte_15"
72
+ */
73
+ epss?: string;
74
+ /**
75
+ * EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
76
+ * @example "gte_99"
77
+ */
78
+ epssPercentile?: string;
79
+ }
80
+ export type FrontendAllIssuesCountsV2OkResponse = ResponseWithPagination<FrontendAllIssuesCountsV2ResponseBody>;
81
+ export type FrontendAllIssuesCountsV2ErrorResponse = NotFound;
82
+ export interface FrontendAllIssuesCountsV2Props extends Omit<FetcherOptions<FrontendAllIssuesCountsV2QueryQueryParams, unknown>, 'url'> {
83
+ queryParams: FrontendAllIssuesCountsV2QueryQueryParams;
84
+ }
85
+ export declare function frontendAllIssuesCountsV2(props: FrontendAllIssuesCountsV2Props): Promise<FrontendAllIssuesCountsV2OkResponse>;
86
+ /**
87
+ * Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table
88
+ */
89
+ export declare function useFrontendAllIssuesCountsV2Query(props: FrontendAllIssuesCountsV2Props, options?: Omit<UseQueryOptions<FrontendAllIssuesCountsV2OkResponse, FrontendAllIssuesCountsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendAllIssuesCountsV2OkResponse, NotFound>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function frontendAllIssuesCountsV2(props) {
7
+ return fetcher(Object.assign({ url: `/api/v2/frontend/all-issues/v2/counts`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table
11
+ */
12
+ export function useFrontendAllIssuesCountsV2Query(props, options) {
13
+ return useQuery(['Frontend#AllIssuesCountsV2', props.queryParams], ({ signal }) => frontendAllIssuesCountsV2(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -24,7 +24,7 @@ export interface FrontendExemptionsFiltersQueryQueryParams {
24
24
  export interface FrontendExemptionsFiltersQueryHeaderParams {
25
25
  /**
26
26
  * Harness personal or service access token
27
- * @example "Dolorem dicta iusto deleniti vitae."
27
+ * @example "Ab aspernatur distinctio."
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 3133
33
+ * @example 578
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 "Dolores totam quod dicta aut."
61
+ * @example "Dolores ab occaecati debitis."
62
62
  */
63
63
  'X-Api-Key'?: string;
64
64
  }
@@ -0,0 +1,45 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { FrontendOccurrenceDataflowResponseBody } from '../schemas/FrontendOccurrenceDataflowResponseBody';
3
+ import type { NotFound } from '../schemas/NotFound';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface FrontendOccurrenceDataflowQueryPathParams {
7
+ /**
8
+ * The ID of the Security Issue
9
+ * @example "abcdef1234567890ghijkl"
10
+ */
11
+ issueId: string;
12
+ /**
13
+ * Internal ID of the occurrence to fetch dataflow for
14
+ * @format int64
15
+ * @example 12345
16
+ */
17
+ occurrenceInternalId: number;
18
+ }
19
+ export interface FrontendOccurrenceDataflowQueryQueryParams {
20
+ /**
21
+ * Harness Account ID
22
+ * @example "abcdef1234567890ghijkl"
23
+ */
24
+ accountId: string;
25
+ /**
26
+ * Harness Organization ID
27
+ * @example "example_org"
28
+ */
29
+ orgId: string;
30
+ /**
31
+ * Harness Project ID
32
+ * @example "example_project"
33
+ */
34
+ projectId: string;
35
+ }
36
+ export type FrontendOccurrenceDataflowOkResponse = ResponseWithPagination<FrontendOccurrenceDataflowResponseBody>;
37
+ export type FrontendOccurrenceDataflowErrorResponse = NotFound;
38
+ export interface FrontendOccurrenceDataflowProps extends FrontendOccurrenceDataflowQueryPathParams, Omit<FetcherOptions<FrontendOccurrenceDataflowQueryQueryParams, unknown>, 'url'> {
39
+ queryParams: FrontendOccurrenceDataflowQueryQueryParams;
40
+ }
41
+ export declare function frontendOccurrenceDataflow(props: FrontendOccurrenceDataflowProps): Promise<FrontendOccurrenceDataflowOkResponse>;
42
+ /**
43
+ * Returns dataflow information for a specific occurrence. This endpoint is designed for async fetching of dataflow data separately from occurrence details.
44
+ */
45
+ export declare function useFrontendOccurrenceDataflowQuery(props: FrontendOccurrenceDataflowProps, options?: Omit<UseQueryOptions<FrontendOccurrenceDataflowOkResponse, FrontendOccurrenceDataflowErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendOccurrenceDataflowOkResponse, 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 frontendOccurrenceDataflow(props) {
7
+ return fetcher(Object.assign({ url: `/api/v2/frontend/issues/${props.issueId}/occurrence/${props.occurrenceInternalId}/dataflow`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns dataflow information for a specific occurrence. This endpoint is designed for async fetching of dataflow data separately from occurrence details.
11
+ */
12
+ export function useFrontendOccurrenceDataflowQuery(props, options) {
13
+ return useQuery(['Frontend#OccurrenceDataflow', props.issueId, props.occurrenceInternalId, props.queryParams], ({ signal }) => frontendOccurrenceDataflow(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -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 47
26
+ * @example 53
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 "Id vel quod deleniti."
38
+ * @example "Quos sit et distinctio saepe doloribus et."
39
39
  */
40
40
  'X-Api-Key'?: string;
41
41
  }
@@ -31,7 +31,7 @@ export interface IssuesIssuesAugmentRemediationMutationQueryParams {
31
31
  export interface IssuesIssuesAugmentRemediationMutationHeaderParams {
32
32
  /**
33
33
  * Harness personal or service access token
34
- * @example "Magni excepturi."
34
+ * @example "Quia hic."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -24,7 +24,7 @@ export interface OverridesCreateOverrideMutationQueryParams {
24
24
  export interface OverridesCreateOverrideMutationHeaderParams {
25
25
  /**
26
26
  * Harness personal or service access token
27
- * @example "Qui distinctio totam officia voluptates."
27
+ * @example "Architecto dolorem et iusto in."
28
28
  */
29
29
  'X-Api-Key'?: string;
30
30
  }
@@ -37,7 +37,7 @@ export interface OverridesListOverridesQueryQueryParams {
37
37
  export interface OverridesListOverridesQueryHeaderParams {
38
38
  /**
39
39
  * Harness personal or service access token
40
- * @example "Ea modi."
40
+ * @example "Quam quia est aut."
41
41
  */
42
42
  'X-Api-Key'?: string;
43
43
  }
@@ -25,14 +25,14 @@ export interface PullRequestsCreatePullRequestMutationQueryParams {
25
25
  */
26
26
  provider: string;
27
27
  /**
28
- * @example "Eum facere molestiae."
28
+ * @example "Culpa accusantium consequuntur voluptate eum voluptate possimus."
29
29
  */
30
30
  repositoryPath: string;
31
31
  }
32
32
  export interface PullRequestsCreatePullRequestMutationHeaderParams {
33
33
  /**
34
34
  * Harness personal or service access token
35
- * @example "Aliquid ea repellendus molestiae."
35
+ * @example "Ab itaque repellat."
36
36
  */
37
37
  'X-Api-Key'?: string;
38
38
  }
@@ -24,7 +24,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
24
24
  */
25
25
  provider: string;
26
26
  /**
27
- * @example "Sapiente optio sit accusantium."
27
+ * @example "Repudiandae et laboriosam eum ut incidunt et."
28
28
  */
29
29
  repositoryPath: string;
30
30
  /**
@@ -40,7 +40,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
40
40
  export interface PullRequestsGetPullRequestCorrelationQueryHeaderParams {
41
41
  /**
42
42
  * Harness personal or service access token
43
- * @example "Consequuntur ducimus numquam hic fugit."
43
+ * @example "In consequatur ut."
44
44
  */
45
45
  'X-Api-Key'?: string;
46
46
  }
@@ -25,14 +25,14 @@ export interface PullRequestsUpdatePullRequestMutationQueryParams {
25
25
  */
26
26
  provider: string;
27
27
  /**
28
- * @example "Aliquam voluptate velit et et aut eum."
28
+ * @example "Quia voluptas soluta nulla praesentium possimus unde."
29
29
  */
30
30
  repositoryPath: string;
31
31
  }
32
32
  export interface PullRequestsUpdatePullRequestMutationHeaderParams {
33
33
  /**
34
34
  * Harness personal or service access token
35
- * @example "Facere hic."
35
+ * @example "Occaecati aspernatur qui."
36
36
  */
37
37
  'X-Api-Key'?: string;
38
38
  }
@@ -6,12 +6,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface ScansScanIssueOccurrencesQueryPathParams {
7
7
  /**
8
8
  * The ID of the Security Test Scan
9
- * @example "Sit doloremque repellendus cum."
9
+ * @example "A sapiente et voluptas."
10
10
  */
11
11
  id: string;
12
12
  /**
13
13
  * The ID of the Security Test Issue
14
- * @example "Minima voluptas temporibus corporis suscipit deserunt."
14
+ * @example "Quibusdam exercitationem et est sunt repudiandae cum."
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 "Quod ea et eaque nisi."
58
+ * @example "Quae mollitia ad sed odio."
59
59
  */
60
60
  sort?: string;
61
61
  /**
62
62
  * The order to sort by
63
- * @example "DESC"
63
+ * @example "ASC"
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 "Sit et distinctio saepe doloribus et doloribus."
75
+ * @example "Repudiandae dolorem."
76
76
  */
77
77
  'X-Api-Key'?: string;
78
78
  }
@@ -6,12 +6,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface ScansScanIssueQueryPathParams {
7
7
  /**
8
8
  * The ID of the Security Test Scan
9
- * @example "Perspiciatis laudantium aut at."
9
+ * @example "Inventore doloribus."
10
10
  */
11
11
  id: string;
12
12
  /**
13
13
  * The ID of the Security Test Issue
14
- * @example "Magni vel."
14
+ * @example "Esse provident ut."
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 "Minima harum aut."
50
+ * @example "Reiciendis architecto quam accusamus voluptate blanditiis."
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 "Qui temporibus."
62
+ * @example "Ipsum impedit et qui adipisci sint quaerat."
63
63
  */
64
64
  'X-Api-Key'?: string;
65
65
  }
@@ -30,7 +30,7 @@ export interface TargetsFindTargetByIdQueryQueryParams {
30
30
  export interface TargetsFindTargetByIdQueryHeaderParams {
31
31
  /**
32
32
  * Harness personal or service access token
33
- * @example "Et qui adipisci sint."
33
+ * @example "Et laboriosam aspernatur voluptatem voluptas."
34
34
  */
35
35
  'X-Api-Key'?: string;
36
36
  }
@@ -31,7 +31,7 @@ export interface TargetsPatchTargetMutationQueryParams {
31
31
  export interface TargetsPatchTargetMutationHeaderParams {
32
32
  /**
33
33
  * Harness personal or service access token
34
- * @example "A sapiente et voluptas."
34
+ * @example "Dolor delectus beatae sint."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -13,6 +13,8 @@ export type { ExemptionsPromoteExemptionErrorResponse, ExemptionsPromoteExemptio
13
13
  export { exemptionsPromoteExemption, useExemptionsPromoteExemptionMutation, } from './hooks/useExemptionsPromoteExemptionMutation';
14
14
  export type { ExemptionsUpdateExemptionErrorResponse, ExemptionsUpdateExemptionMutationPathParams, ExemptionsUpdateExemptionMutationQueryParams, ExemptionsUpdateExemptionOkResponse, ExemptionsUpdateExemptionProps, ExemptionsUpdateExemptionRequestBody, } from './hooks/useExemptionsUpdateExemptionMutation';
15
15
  export { exemptionsUpdateExemption, useExemptionsUpdateExemptionMutation, } from './hooks/useExemptionsUpdateExemptionMutation';
16
+ export type { FrontendAllIssuesCountsV2ErrorResponse, FrontendAllIssuesCountsV2OkResponse, FrontendAllIssuesCountsV2Props, FrontendAllIssuesCountsV2QueryQueryParams, } from './hooks/useFrontendAllIssuesCountsV2Query';
17
+ export { frontendAllIssuesCountsV2, useFrontendAllIssuesCountsV2Query, } from './hooks/useFrontendAllIssuesCountsV2Query';
16
18
  export type { FrontendAllIssuesDetailsErrorResponse, FrontendAllIssuesDetailsOkResponse, FrontendAllIssuesDetailsProps, FrontendAllIssuesDetailsQueryPathParams, FrontendAllIssuesDetailsQueryQueryParams, } from './hooks/useFrontendAllIssuesDetailsQuery';
17
19
  export { frontendAllIssuesDetails, useFrontendAllIssuesDetailsQuery, } from './hooks/useFrontendAllIssuesDetailsQuery';
18
20
  export type { FrontendAllIssuesFiltersErrorResponse, FrontendAllIssuesFiltersOkResponse, FrontendAllIssuesFiltersProps, FrontendAllIssuesFiltersQueryQueryParams, } from './hooks/useFrontendAllIssuesFiltersQuery';
@@ -35,6 +37,8 @@ export type { FrontendIssueForExemptionErrorResponse, FrontendIssueForExemptionO
35
37
  export { frontendIssueForExemption, useFrontendIssueForExemptionQuery, } from './hooks/useFrontendIssueForExemptionQuery';
36
38
  export type { FrontendIssueSeverityChangeErrorResponse, FrontendIssueSeverityChangeOkResponse, FrontendIssueSeverityChangeProps, FrontendIssueSeverityChangeQueryPathParams, FrontendIssueSeverityChangeQueryQueryParams, } from './hooks/useFrontendIssueSeverityChangeQuery';
37
39
  export { frontendIssueSeverityChange, useFrontendIssueSeverityChangeQuery, } from './hooks/useFrontendIssueSeverityChangeQuery';
40
+ export type { FrontendOccurrenceDataflowErrorResponse, FrontendOccurrenceDataflowOkResponse, FrontendOccurrenceDataflowProps, FrontendOccurrenceDataflowQueryPathParams, FrontendOccurrenceDataflowQueryQueryParams, } from './hooks/useFrontendOccurrenceDataflowQuery';
41
+ export { frontendOccurrenceDataflow, useFrontendOccurrenceDataflowQuery, } from './hooks/useFrontendOccurrenceDataflowQuery';
38
42
  export type { FrontendOverviewBaselinesErrorResponse, FrontendOverviewBaselinesOkResponse, FrontendOverviewBaselinesProps, FrontendOverviewBaselinesQueryQueryParams, } from './hooks/useFrontendOverviewBaselinesQuery';
39
43
  export { frontendOverviewBaselines, useFrontendOverviewBaselinesQuery, } from './hooks/useFrontendOverviewBaselinesQuery';
40
44
  export type { FrontendOverviewHistoricalCountsErrorResponse, FrontendOverviewHistoricalCountsOkResponse, FrontendOverviewHistoricalCountsProps, FrontendOverviewHistoricalCountsQueryQueryParams, } from './hooks/useFrontendOverviewHistoricalCountsQuery';
@@ -81,6 +85,7 @@ export type { TargetsPatchTargetErrorResponse, TargetsPatchTargetMutationPathPar
81
85
  export { targetsPatchTarget, useTargetsPatchTargetMutation, } from './hooks/useTargetsPatchTargetMutation';
82
86
  export type { AllBaselineIssueSummary } from './schemas/AllBaselineIssueSummary';
83
87
  export type { AllIssueSummary } from './schemas/AllIssueSummary';
88
+ export type { AllIssuesCountsV2Result } from './schemas/AllIssuesCountsV2Result';
84
89
  export type { AllIssuesDetailsResult } from './schemas/AllIssuesDetailsResult';
85
90
  export type { AllIssuesFiltersResult } from './schemas/AllIssuesFiltersResult';
86
91
  export type { AllIssuesListResult } from './schemas/AllIssuesListResult';
@@ -104,6 +109,7 @@ export type { ExemptionsFiltersRequestBody } from './schemas/ExemptionsFiltersRe
104
109
  export type { ExemptionsFiltersResult } from './schemas/ExemptionsFiltersResult';
105
110
  export type { ExemptionsListExemptionsResponseBody } from './schemas/ExemptionsListExemptionsResponseBody';
106
111
  export type { ExportPipelineSecurityIssuesCsvResponseBody } from './schemas/ExportPipelineSecurityIssuesCsvResponseBody';
112
+ export type { FrontendAllIssuesCountsV2ResponseBody } from './schemas/FrontendAllIssuesCountsV2ResponseBody';
107
113
  export type { FrontendAllIssuesDetailsResponseBody } from './schemas/FrontendAllIssuesDetailsResponseBody';
108
114
  export type { FrontendAllIssuesFiltersResponseBody } from './schemas/FrontendAllIssuesFiltersResponseBody';
109
115
  export type { FrontendAllIssuesListResponseBody } from './schemas/FrontendAllIssuesListResponseBody';
@@ -118,6 +124,7 @@ export type { FrontendImpactedTargetsForExemptionResponseBody } from './schemas/
118
124
  export type { FrontendIssueCounts } from './schemas/FrontendIssueCounts';
119
125
  export type { FrontendIssueForExemptionResponseBody } from './schemas/FrontendIssueForExemptionResponseBody';
120
126
  export type { FrontendIssueSeverityChangeResponseBody } from './schemas/FrontendIssueSeverityChangeResponseBody';
127
+ export type { FrontendOccurrenceDataflowResponseBody } from './schemas/FrontendOccurrenceDataflowResponseBody';
121
128
  export type { FrontendOverviewBaselinesResponseBody } from './schemas/FrontendOverviewBaselinesResponseBody';
122
129
  export type { FrontendOverviewHistoricalCountsResponseBody } from './schemas/FrontendOverviewHistoricalCountsResponseBody';
123
130
  export type { FrontendPipelineSecurityIssuesResponseBody } from './schemas/FrontendPipelineSecurityIssuesResponseBody';
@@ -143,6 +150,7 @@ export type { IssuesIssuesAugmentRemediationResponseBody } from './schemas/Issue
143
150
  export type { LatestBaselineScanInfo } from './schemas/LatestBaselineScanInfo';
144
151
  export type { MinimalIssueCounts } from './schemas/MinimalIssueCounts';
145
152
  export type { NotFound } from './schemas/NotFound';
153
+ export type { OccurrenceDataflowResult } from './schemas/OccurrenceDataflowResult';
146
154
  export type { Override } from './schemas/Override';
147
155
  export type { OverrideResult } from './schemas/OverrideResult';
148
156
  export type { OverridesListOverridesResponseBody } from './schemas/OverridesListOverridesResponseBody';
@@ -5,6 +5,7 @@ export { exemptionsFindExemptionById, useExemptionsFindExemptionByIdQuery, } fro
5
5
  export { exemptionsListExemptions, useExemptionsListExemptionsQuery, } from './hooks/useExemptionsListExemptionsQuery';
6
6
  export { exemptionsPromoteExemption, useExemptionsPromoteExemptionMutation, } from './hooks/useExemptionsPromoteExemptionMutation';
7
7
  export { exemptionsUpdateExemption, useExemptionsUpdateExemptionMutation, } from './hooks/useExemptionsUpdateExemptionMutation';
8
+ export { frontendAllIssuesCountsV2, useFrontendAllIssuesCountsV2Query, } from './hooks/useFrontendAllIssuesCountsV2Query';
8
9
  export { frontendAllIssuesDetails, useFrontendAllIssuesDetailsQuery, } from './hooks/useFrontendAllIssuesDetailsQuery';
9
10
  export { frontendAllIssuesFilters, useFrontendAllIssuesFiltersQuery, } from './hooks/useFrontendAllIssuesFiltersQuery';
10
11
  export { frontendAllIssuesList, useFrontendAllIssuesListQuery, } from './hooks/useFrontendAllIssuesListQuery';
@@ -16,6 +17,7 @@ export { frontendGlobalExemptions, useFrontendGlobalExemptionsQuery, } from './h
16
17
  export { frontendImpactedTargetsForExemption, useFrontendImpactedTargetsForExemptionQuery, } from './hooks/useFrontendImpactedTargetsForExemptionQuery';
17
18
  export { frontendIssueForExemption, useFrontendIssueForExemptionQuery, } from './hooks/useFrontendIssueForExemptionQuery';
18
19
  export { frontendIssueSeverityChange, useFrontendIssueSeverityChangeQuery, } from './hooks/useFrontendIssueSeverityChangeQuery';
20
+ export { frontendOccurrenceDataflow, useFrontendOccurrenceDataflowQuery, } from './hooks/useFrontendOccurrenceDataflowQuery';
19
21
  export { frontendOverviewBaselines, useFrontendOverviewBaselinesQuery, } from './hooks/useFrontendOverviewBaselinesQuery';
20
22
  export { frontendOverviewHistoricalCounts, useFrontendOverviewHistoricalCountsQuery, } from './hooks/useFrontendOverviewHistoricalCountsQuery';
21
23
  export { frontendPipelineSecurityIssuesCsv, useFrontendPipelineSecurityIssuesCsvQuery, } from './hooks/useFrontendPipelineSecurityIssuesCsvQuery';
@@ -1,7 +1,7 @@
1
1
  import type { OverrideResult } from '../schemas/OverrideResult';
2
2
  /**
3
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"}
4
+ * @example {"epssLastModified":"2025-05-01","epssPercentile":0.15,"epssScore":0.035,"exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Magni natus vel est rerum temporibus.","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":"Remediated","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
5
5
  */
6
6
  export interface AllBaselineIssueSummary {
7
7
  /**
@@ -33,7 +33,7 @@ export interface AllBaselineIssueSummary {
33
33
  id: string;
34
34
  /**
35
35
  * Issue Type
36
- * @example "Deleniti quia."
36
+ * @example "Iste ut iste magnam dignissimos reprehenderit accusamus."
37
37
  */
38
38
  issueType?: string;
39
39
  /**
@@ -56,7 +56,7 @@ export interface AllBaselineIssueSummary {
56
56
  numTargetsImpacted: number;
57
57
  /**
58
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"}]
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"}]
60
60
  */
61
61
  overrides?: OverrideResult[];
62
62
  /**
@@ -71,7 +71,7 @@ export interface AllBaselineIssueSummary {
71
71
  severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
72
72
  /**
73
73
  * Issue Status
74
- * @example "Remediated"
74
+ * @example "Exempted"
75
75
  */
76
76
  status: 'Active' | 'Exempted' | 'Remediated';
77
77
  /**
@@ -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":"Exempted","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":"Qui in deserunt vel.","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"}],"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
  /**
@@ -44,7 +44,7 @@ export interface AllIssueSummary {
44
44
  id: string;
45
45
  /**
46
46
  * Issue Type
47
- * @example "Magni assumenda quibusdam deleniti."
47
+ * @example "Et illo."
48
48
  */
49
49
  issueType?: string;
50
50
  /**