@harnessio/react-sto-core-client 0.3.11 → 0.3.13

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 (62) 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 -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/useFrontendExpiringExemptionsQuery.d.ts +1 -1
  8. package/dist/sto-core/src/services/hooks/useFrontendGlobalExemptionsQuery.d.ts +8 -1
  9. package/dist/sto-core/src/services/hooks/useFrontendOverviewHistoricalCountsQuery.d.ts +1 -1
  10. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.d.ts +113 -0
  11. package/dist/sto-core/src/services/hooks/useFrontendPipelineSecurityIssuesCsvQuery.js +14 -0
  12. package/dist/sto-core/src/services/hooks/useFrontendUpdateTestTargetVariantsMutation.d.ts +42 -0
  13. package/dist/sto-core/src/services/hooks/useFrontendUpdateTestTargetVariantsMutation.js +14 -0
  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/usePullRequestsCreatePullRequestMutation.d.ts +2 -2
  17. package/dist/sto-core/src/services/hooks/usePullRequestsGetPullRequestCorrelationQuery.d.ts +2 -2
  18. package/dist/sto-core/src/services/hooks/usePullRequestsUpdatePullRequestMutation.d.ts +2 -2
  19. package/dist/sto-core/src/services/hooks/useScansScanIssueOccurrencesQuery.d.ts +5 -5
  20. package/dist/sto-core/src/services/hooks/useScansScanIssueQuery.d.ts +5 -5
  21. package/dist/sto-core/src/services/hooks/useTargetsFindTargetByIdQuery.d.ts +1 -1
  22. package/dist/sto-core/src/services/hooks/useTargetsPatchTargetMutation.d.ts +1 -1
  23. package/dist/sto-core/src/services/index.d.ts +7 -0
  24. package/dist/sto-core/src/services/index.js +2 -0
  25. package/dist/sto-core/src/services/schemas/AllIssueSummary.d.ts +2 -2
  26. package/dist/sto-core/src/services/schemas/AllIssuesDetailsResult.d.ts +6 -6
  27. package/dist/sto-core/src/services/schemas/AllIssuesFiltersResult.d.ts +1 -1
  28. package/dist/sto-core/src/services/schemas/AllIssuesListResult.d.ts +2 -2
  29. package/dist/sto-core/src/services/schemas/AllIssuesOccurrenceDetailsResult.d.ts +7 -7
  30. package/dist/sto-core/src/services/schemas/AugmentRemediationMetadata.d.ts +2 -2
  31. package/dist/sto-core/src/services/schemas/AugmentRemediationResult.d.ts +4 -4
  32. package/dist/sto-core/src/services/schemas/AugmentRemediationWarning.d.ts +3 -3
  33. package/dist/sto-core/src/services/schemas/BaselineExecutions.d.ts +2 -2
  34. package/dist/sto-core/src/services/schemas/Exemption.d.ts +12 -2
  35. package/dist/sto-core/src/services/schemas/ExemptionImpactedTargetsResult.d.ts +2 -2
  36. package/dist/sto-core/src/services/schemas/ExemptionsListExemptionsResponseBody.d.ts +2 -2
  37. package/dist/sto-core/src/services/schemas/FrontendExemption.d.ts +1 -1
  38. package/dist/sto-core/src/services/schemas/GitMetadata.d.ts +6 -5
  39. package/dist/sto-core/src/services/schemas/HistoricalCounts.d.ts +2 -2
  40. package/dist/sto-core/src/services/schemas/ImpactedTarget.d.ts +4 -4
  41. package/dist/sto-core/src/services/schemas/Issue.d.ts +18 -3
  42. package/dist/sto-core/src/services/schemas/IssueForExemptionResult.d.ts +18 -3
  43. package/dist/sto-core/src/services/schemas/IssueInScan.d.ts +9 -4
  44. package/dist/sto-core/src/services/schemas/IssueSummaries.d.ts +2 -2
  45. package/dist/sto-core/src/services/schemas/IssueSummary.d.ts +6 -6
  46. package/dist/sto-core/src/services/schemas/IssuesAugmentRemediationRequestBody.d.ts +2 -2
  47. package/dist/sto-core/src/services/schemas/PaginatedIssueSummaries.d.ts +2 -2
  48. package/dist/sto-core/src/services/schemas/PipelineSecurityCounts.d.ts +7 -7
  49. package/dist/sto-core/src/services/schemas/PipelineSecurityIssuesResult.d.ts +2 -2
  50. package/dist/sto-core/src/services/schemas/PipelineSecurityStepsResult.d.ts +2 -2
  51. package/dist/sto-core/src/services/schemas/PullRequestResult.d.ts +3 -3
  52. package/dist/sto-core/src/services/schemas/RefIds.d.ts +3 -3
  53. package/dist/sto-core/src/services/schemas/SecurityReviewResult.d.ts +2 -2
  54. package/dist/sto-core/src/services/schemas/Status.d.ts +10 -0
  55. package/dist/sto-core/src/services/schemas/Status.js +4 -0
  56. package/dist/sto-core/src/services/schemas/TargetVariantStatusInfo.d.ts +15 -0
  57. package/dist/sto-core/src/services/schemas/TargetVariantStatusInfo.js +4 -0
  58. package/dist/sto-core/src/services/schemas/TestTarget.d.ts +2 -2
  59. package/dist/sto-core/src/services/schemas/TestTargetResult.d.ts +2 -2
  60. package/dist/sto-core/src/services/schemas/UpdateTestTargetVariantsRequestBody.d.ts +11 -0
  61. package/dist/sto-core/src/services/schemas/UpdateTestTargetVariantsRequestBody.js +1 -0
  62. 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 "Non tempore asperiores eius impedit earum."
39
+ * @example "Voluptatem ut laborum sunt."
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 "Tempora quia."
27
+ * @example "Doloremque velit possimus."
28
28
  */
29
29
  'X-Api-Key'?: string;
30
30
  }
@@ -39,7 +39,7 @@ export interface ExemptionsFindExemptionByIdQueryQueryParams {
39
39
  export interface ExemptionsFindExemptionByIdQueryHeaderParams {
40
40
  /**
41
41
  * Harness personal or service access token
42
- * @example "Fugit nesciunt corrupti repudiandae omnis."
42
+ * @example "Omnis sapiente repellendus ipsum."
43
43
  */
44
44
  'X-Api-Key'?: string;
45
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 "Porro odio."
40
+ * @example "Voluptatem illo."
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 "Voluptatibus ut non autem."
34
+ * @example "Eum est."
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 "Dolor voluptatem omnis alias fugit et ducimus."
34
+ * @example "Sunt eos quam cum porro."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -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 9666
33
+ * @example 3450
34
34
  */
35
35
  days?: number;
36
36
  }
@@ -49,9 +49,16 @@ export interface FrontendGlobalExemptionsQueryQueryParams {
49
49
  */
50
50
  search?: string;
51
51
  }
52
+ export interface FrontendGlobalExemptionsQueryHeaderParams {
53
+ /**
54
+ * Harness personal or service access token
55
+ * @example "Et recusandae quas ipsum sunt."
56
+ */
57
+ 'X-Api-Key'?: string;
58
+ }
52
59
  export type FrontendGlobalExemptionsOkResponse = ResponseWithPagination<FrontendSecurityReviewResponseBody>;
53
60
  export type FrontendGlobalExemptionsErrorResponse = NotFound;
54
- export interface FrontendGlobalExemptionsProps extends Omit<FetcherOptions<FrontendGlobalExemptionsQueryQueryParams, unknown>, 'url'> {
61
+ export interface FrontendGlobalExemptionsProps extends Omit<FetcherOptions<FrontendGlobalExemptionsQueryQueryParams, unknown, FrontendGlobalExemptionsQueryHeaderParams>, 'url'> {
55
62
  queryParams: FrontendGlobalExemptionsQueryQueryParams;
56
63
  }
57
64
  export declare function frontendGlobalExemptions(props: FrontendGlobalExemptionsProps): Promise<FrontendGlobalExemptionsOkResponse>;
@@ -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 35
26
+ * @example 78
27
27
  */
28
28
  days?: number;
29
29
  }
@@ -0,0 +1,113 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { NotFound } from '../schemas/NotFound';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface FrontendPipelineSecurityIssuesCsvQueryQueryParams {
6
+ /**
7
+ * Harness Account ID
8
+ * @example "abcdef1234567890ghijkl"
9
+ */
10
+ accountId: string;
11
+ /**
12
+ * Harness Organization ID
13
+ * @example "example_org"
14
+ */
15
+ orgId: string;
16
+ /**
17
+ * Harness Project ID
18
+ * @example "example_project"
19
+ */
20
+ projectId: string;
21
+ /**
22
+ * Harness Execution ID
23
+ * @example "abcdef1234567890ghijkl"
24
+ */
25
+ executionId: string;
26
+ /**
27
+ * Page number to fetch (starting from 0)
28
+ * @format int64
29
+ * @default 0
30
+ * @example 4
31
+ */
32
+ pageExisting?: number;
33
+ /**
34
+ * Number of results per page
35
+ * @format int64
36
+ * @default 50
37
+ * @example 50
38
+ */
39
+ pageSizeExisting?: number;
40
+ /**
41
+ * Page number to fetch (starting from 0)
42
+ * @format int64
43
+ * @default 0
44
+ * @example 4
45
+ */
46
+ pageNew?: number;
47
+ /**
48
+ * Number of results per page
49
+ * @format int64
50
+ * @default 50
51
+ * @example 50
52
+ */
53
+ pageSizeNew?: number;
54
+ /**
55
+ * @example "stage1,stage2"
56
+ */
57
+ stages?: string;
58
+ /**
59
+ * @example "stageId.step1id,stageId.step2Id"
60
+ */
61
+ steps?: string;
62
+ /**
63
+ * @example "target1111111111111111,abcdef1234567890abcdef"
64
+ */
65
+ targetIds?: string;
66
+ /**
67
+ * @example "repository,container"
68
+ */
69
+ targetTypes?: string;
70
+ /**
71
+ * @example "owasp,zap"
72
+ */
73
+ productNames?: string;
74
+ /**
75
+ * @example "Critical,High,Medium"
76
+ */
77
+ severityCodes?: string;
78
+ /**
79
+ * @default true
80
+ * @example true
81
+ */
82
+ includeExempted?: boolean;
83
+ /**
84
+ * @example "CWE-123"
85
+ */
86
+ search?: string;
87
+ /**
88
+ * @example "SAST"
89
+ */
90
+ issueTypes?: string;
91
+ /**
92
+ * @example "active,remediated"
93
+ */
94
+ status?: string;
95
+ /**
96
+ * @example "app"
97
+ */
98
+ origins?: string;
99
+ /**
100
+ * @example "approved"
101
+ */
102
+ originStatuses?: string;
103
+ }
104
+ export type FrontendPipelineSecurityIssuesCsvOkResponse = ResponseWithPagination<unknown>;
105
+ export type FrontendPipelineSecurityIssuesCsvErrorResponse = NotFound;
106
+ export interface FrontendPipelineSecurityIssuesCsvProps extends Omit<FetcherOptions<FrontendPipelineSecurityIssuesCsvQueryQueryParams, unknown>, 'url'> {
107
+ queryParams: FrontendPipelineSecurityIssuesCsvQueryQueryParams;
108
+ }
109
+ export declare function frontendPipelineSecurityIssuesCsv(props: FrontendPipelineSecurityIssuesCsvProps): Promise<FrontendPipelineSecurityIssuesCsvOkResponse>;
110
+ /**
111
+ * Download pipeline security issues as CSV
112
+ */
113
+ export declare function useFrontendPipelineSecurityIssuesCsvQuery(props: FrontendPipelineSecurityIssuesCsvProps, options?: Omit<UseQueryOptions<FrontendPipelineSecurityIssuesCsvOkResponse, FrontendPipelineSecurityIssuesCsvErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FrontendPipelineSecurityIssuesCsvOkResponse, 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 frontendPipelineSecurityIssuesCsv(props) {
7
+ return fetcher(Object.assign({ url: `/api/v2/frontend/pipeline-security/issues/csv`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Download pipeline security issues as CSV
11
+ */
12
+ export function useFrontendPipelineSecurityIssuesCsvQuery(props, options) {
13
+ return useQuery(['Frontend#PipelineSecurityIssuesCSV', props.queryParams], ({ signal }) => frontendPipelineSecurityIssuesCsv(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,42 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Status } from '../schemas/Status';
3
+ import type { NotFound } from '../schemas/NotFound';
4
+ import type { UpdateTestTargetVariantsRequestBody } from '../schemas/UpdateTestTargetVariantsRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface FrontendUpdateTestTargetVariantsMutationPathParams {
8
+ /**
9
+ * Associated Target ID
10
+ * @example "abcdef1234567890ghijkl"
11
+ */
12
+ targetId: string;
13
+ }
14
+ export interface FrontendUpdateTestTargetVariantsMutationQueryParams {
15
+ /**
16
+ * Harness Account ID
17
+ * @example "abcdef1234567890ghijkl"
18
+ */
19
+ accountId: string;
20
+ /**
21
+ * Harness Organization ID
22
+ * @example "example_org"
23
+ */
24
+ orgId: string;
25
+ /**
26
+ * Harness Project ID
27
+ * @example "example_project"
28
+ */
29
+ projectId: string;
30
+ }
31
+ export type FrontendUpdateTestTargetVariantsRequestBody = UpdateTestTargetVariantsRequestBody;
32
+ export type FrontendUpdateTestTargetVariantsOkResponse = ResponseWithPagination<Status>;
33
+ export type FrontendUpdateTestTargetVariantsErrorResponse = NotFound;
34
+ export interface FrontendUpdateTestTargetVariantsProps extends FrontendUpdateTestTargetVariantsMutationPathParams, Omit<FetcherOptions<FrontendUpdateTestTargetVariantsMutationQueryParams, FrontendUpdateTestTargetVariantsRequestBody>, 'url'> {
35
+ queryParams: FrontendUpdateTestTargetVariantsMutationQueryParams;
36
+ body: FrontendUpdateTestTargetVariantsRequestBody;
37
+ }
38
+ export declare function frontendUpdateTestTargetVariants(props: FrontendUpdateTestTargetVariantsProps): Promise<FrontendUpdateTestTargetVariantsOkResponse>;
39
+ /**
40
+ * Updates statuses for a list of Test Target Variants
41
+ */
42
+ export declare function useFrontendUpdateTestTargetVariantsMutation(options?: Omit<UseMutationOptions<FrontendUpdateTestTargetVariantsOkResponse, FrontendUpdateTestTargetVariantsErrorResponse, FrontendUpdateTestTargetVariantsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<FrontendUpdateTestTargetVariantsOkResponse, NotFound, FrontendUpdateTestTargetVariantsProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function frontendUpdateTestTargetVariants(props) {
7
+ return fetcher(Object.assign({ url: `/api/v2/frontend/test-targets/${props.targetId}/variants/status`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Updates statuses for a list of Test Target Variants
11
+ */
12
+ export function useFrontendUpdateTestTargetVariantsMutation(options) {
13
+ return useMutation((mutateProps) => frontendUpdateTestTargetVariants(mutateProps), 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 "Sunt non cupiditate velit ipsum sint eum."
38
+ * @example "Voluptas ut debitis consequuntur a repellat."
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 "Qui molestias amet odio quasi ex."
34
+ * @example "Magnam aspernatur necessitatibus eaque possimus omnis."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -29,14 +29,14 @@ export interface PullRequestsCreatePullRequestMutationQueryParams {
29
29
  */
30
30
  connectorId?: string;
31
31
  /**
32
- * @example "Excepturi et soluta praesentium qui enim."
32
+ * @example "Suscipit voluptatem voluptatem doloribus deleniti quia."
33
33
  */
34
34
  repositoryPath: string;
35
35
  }
36
36
  export interface PullRequestsCreatePullRequestMutationHeaderParams {
37
37
  /**
38
38
  * Harness personal or service access token
39
- * @example "Quis nam ipsam at est provident."
39
+ * @example "Non totam aut sit."
40
40
  */
41
41
  'X-Api-Key'?: string;
42
42
  }
@@ -28,7 +28,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
28
28
  */
29
29
  connectorId?: string;
30
30
  /**
31
- * @example "A tenetur unde aut qui doloribus."
31
+ * @example "Et expedita vitae adipisci qui maiores est."
32
32
  */
33
33
  repositoryPath: string;
34
34
  /**
@@ -44,7 +44,7 @@ export interface PullRequestsGetPullRequestCorrelationQueryQueryParams {
44
44
  export interface PullRequestsGetPullRequestCorrelationQueryHeaderParams {
45
45
  /**
46
46
  * Harness personal or service access token
47
- * @example "Modi omnis architecto incidunt vitae nulla."
47
+ * @example "Quibusdam deleniti dolore ut."
48
48
  */
49
49
  'X-Api-Key'?: string;
50
50
  }
@@ -29,14 +29,14 @@ export interface PullRequestsUpdatePullRequestMutationQueryParams {
29
29
  */
30
30
  connectorId?: string;
31
31
  /**
32
- * @example "Et inventore illo illum ipsum quia magni."
32
+ * @example "Expedita expedita ad dolorem nesciunt."
33
33
  */
34
34
  repositoryPath: string;
35
35
  }
36
36
  export interface PullRequestsUpdatePullRequestMutationHeaderParams {
37
37
  /**
38
38
  * Harness personal or service access token
39
- * @example "Eaque ipsam."
39
+ * @example "Excepturi temporibus vel odio neque."
40
40
  */
41
41
  'X-Api-Key'?: string;
42
42
  }
@@ -6,12 +6,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface ScansScanIssueOccurrencesQueryPathParams {
7
7
  /**
8
8
  * The ID of the Security Test Scan
9
- * @example "Alias et."
9
+ * @example "Repellendus alias nihil rerum nulla aspernatur."
10
10
  */
11
11
  id: string;
12
12
  /**
13
13
  * The ID of the Security Test Issue
14
- * @example "Saepe et tenetur qui nihil."
14
+ * @example "Culpa reprehenderit officiis sit."
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 "Tempore quia sint quia."
58
+ * @example "Nostrum dignissimos."
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 "Et rerum quis quasi."
75
+ * @example "Quo nulla omnis in."
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 "Eligendi consequatur asperiores ipsam corporis non excepturi."
9
+ * @example "Repellendus facilis aspernatur cum ab vel."
10
10
  */
11
11
  id: string;
12
12
  /**
13
13
  * The ID of the Security Test Issue
14
- * @example "Rem earum dolores."
14
+ * @example "Eligendi eos qui commodi."
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 "Error distinctio aut blanditiis debitis."
50
+ * @example "Dignissimos reprehenderit accusamus ducimus."
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 "Unde dolorum."
62
+ * @example "Sed qui."
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 "Deleniti tempore quam autem ut consequatur aut."
33
+ * @example "Quae et non aut numquam aliquid in."
34
34
  */
35
35
  'X-Api-Key'?: string;
36
36
  }
@@ -31,7 +31,7 @@ export interface TargetsPatchTargetMutationQueryParams {
31
31
  export interface TargetsPatchTargetMutationHeaderParams {
32
32
  /**
33
33
  * Harness personal or service access token
34
- * @example "Unde magni."
34
+ * @example "Assumenda ipsum dolor ipsum expedita id ut."
35
35
  */
36
36
  'X-Api-Key'?: string;
37
37
  }
@@ -35,6 +35,8 @@ export type { FrontendOverviewBaselinesErrorResponse, FrontendOverviewBaselinesO
35
35
  export { frontendOverviewBaselines, useFrontendOverviewBaselinesQuery, } from './hooks/useFrontendOverviewBaselinesQuery';
36
36
  export type { FrontendOverviewHistoricalCountsErrorResponse, FrontendOverviewHistoricalCountsOkResponse, FrontendOverviewHistoricalCountsProps, FrontendOverviewHistoricalCountsQueryQueryParams, } from './hooks/useFrontendOverviewHistoricalCountsQuery';
37
37
  export { frontendOverviewHistoricalCounts, useFrontendOverviewHistoricalCountsQuery, } from './hooks/useFrontendOverviewHistoricalCountsQuery';
38
+ export type { FrontendPipelineSecurityIssuesCsvErrorResponse, FrontendPipelineSecurityIssuesCsvOkResponse, FrontendPipelineSecurityIssuesCsvProps, FrontendPipelineSecurityIssuesCsvQueryQueryParams, } from './hooks/useFrontendPipelineSecurityIssuesCsvQuery';
39
+ export { frontendPipelineSecurityIssuesCsv, useFrontendPipelineSecurityIssuesCsvQuery, } from './hooks/useFrontendPipelineSecurityIssuesCsvQuery';
38
40
  export type { FrontendPipelineSecurityIssuesErrorResponse, FrontendPipelineSecurityIssuesOkResponse, FrontendPipelineSecurityIssuesProps, FrontendPipelineSecurityIssuesQueryQueryParams, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
39
41
  export { frontendPipelineSecurityIssues, useFrontendPipelineSecurityIssuesQuery, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
40
42
  export type { FrontendPipelineSecurityStepsErrorResponse, FrontendPipelineSecurityStepsOkResponse, FrontendPipelineSecurityStepsProps, FrontendPipelineSecurityStepsQueryQueryParams, } from './hooks/useFrontendPipelineSecurityStepsQuery';
@@ -43,6 +45,8 @@ export type { FrontendSecurityReviewErrorResponse, FrontendSecurityReviewOkRespo
43
45
  export { frontendSecurityReview, useFrontendSecurityReviewQuery, } from './hooks/useFrontendSecurityReviewQuery';
44
46
  export type { FrontendTestTargetsErrorResponse, FrontendTestTargetsOkResponse, FrontendTestTargetsProps, FrontendTestTargetsQueryQueryParams, } from './hooks/useFrontendTestTargetsQuery';
45
47
  export { frontendTestTargets, useFrontendTestTargetsQuery, } from './hooks/useFrontendTestTargetsQuery';
48
+ export type { FrontendUpdateTestTargetVariantsErrorResponse, FrontendUpdateTestTargetVariantsMutationPathParams, FrontendUpdateTestTargetVariantsMutationQueryParams, FrontendUpdateTestTargetVariantsOkResponse, FrontendUpdateTestTargetVariantsProps, FrontendUpdateTestTargetVariantsRequestBody, } from './hooks/useFrontendUpdateTestTargetVariantsMutation';
49
+ export { frontendUpdateTestTargetVariants, useFrontendUpdateTestTargetVariantsMutation, } from './hooks/useFrontendUpdateTestTargetVariantsMutation';
46
50
  export type { IssuesFindIssueByIdErrorResponse, IssuesFindIssueByIdOkResponse, IssuesFindIssueByIdProps, IssuesFindIssueByIdQueryPathParams, IssuesFindIssueByIdQueryQueryParams, } from './hooks/useIssuesFindIssueByIdQuery';
47
51
  export { issuesFindIssueById, useIssuesFindIssueByIdQuery, } from './hooks/useIssuesFindIssueByIdQuery';
48
52
  export type { IssuesIssuesAugmentRemediationErrorResponse, IssuesIssuesAugmentRemediationMutationPathParams, IssuesIssuesAugmentRemediationMutationQueryParams, IssuesIssuesAugmentRemediationOkResponse, IssuesIssuesAugmentRemediationProps, IssuesIssuesAugmentRemediationRequestBody, } from './hooks/useIssuesIssuesAugmentRemediationMutation';
@@ -126,10 +130,13 @@ export type { RefIds } from './schemas/RefIds';
126
130
  export type { ScansScanIssueResponseBody } from './schemas/ScansScanIssueResponseBody';
127
131
  export type { SecurityReviewResult } from './schemas/SecurityReviewResult';
128
132
  export type { StageStepId } from './schemas/StageStepId';
133
+ export type { Status } from './schemas/Status';
129
134
  export type { StepInfo } from './schemas/StepInfo';
130
135
  export type { Target } from './schemas/Target';
136
+ export type { TargetVariantStatusInfo } from './schemas/TargetVariantStatusInfo';
131
137
  export type { TestTarget } from './schemas/TestTarget';
132
138
  export type { TestTargetResult } from './schemas/TestTargetResult';
133
139
  export type { TestTargetVariant } from './schemas/TestTargetVariant';
134
140
  export type { UpdateExemptionRequestBody } from './schemas/UpdateExemptionRequestBody';
135
141
  export type { UpdatePullRequestRequestBody } from './schemas/UpdatePullRequestRequestBody';
142
+ export type { UpdateTestTargetVariantsRequestBody } from './schemas/UpdateTestTargetVariantsRequestBody';
@@ -16,10 +16,12 @@ export { frontendIssueForExemption, useFrontendIssueForExemptionQuery, } from '.
16
16
  export { frontendIssueSeverityChange, useFrontendIssueSeverityChangeQuery, } from './hooks/useFrontendIssueSeverityChangeQuery';
17
17
  export { frontendOverviewBaselines, useFrontendOverviewBaselinesQuery, } from './hooks/useFrontendOverviewBaselinesQuery';
18
18
  export { frontendOverviewHistoricalCounts, useFrontendOverviewHistoricalCountsQuery, } from './hooks/useFrontendOverviewHistoricalCountsQuery';
19
+ export { frontendPipelineSecurityIssuesCsv, useFrontendPipelineSecurityIssuesCsvQuery, } from './hooks/useFrontendPipelineSecurityIssuesCsvQuery';
19
20
  export { frontendPipelineSecurityIssues, useFrontendPipelineSecurityIssuesQuery, } from './hooks/useFrontendPipelineSecurityIssuesQuery';
20
21
  export { frontendPipelineSecuritySteps, useFrontendPipelineSecurityStepsQuery, } from './hooks/useFrontendPipelineSecurityStepsQuery';
21
22
  export { frontendSecurityReview, useFrontendSecurityReviewQuery, } from './hooks/useFrontendSecurityReviewQuery';
22
23
  export { frontendTestTargets, useFrontendTestTargetsQuery, } from './hooks/useFrontendTestTargetsQuery';
24
+ export { frontendUpdateTestTargetVariants, useFrontendUpdateTestTargetVariantsMutation, } from './hooks/useFrontendUpdateTestTargetVariantsMutation';
23
25
  export { issuesFindIssueById, useIssuesFindIssueByIdQuery, } from './hooks/useIssuesFindIssueByIdQuery';
24
26
  export { issuesIssuesAugmentRemediation, useIssuesIssuesAugmentRemediationMutation, } from './hooks/useIssuesIssuesAugmentRemediationMutation';
25
27
  export { pullRequestsCreatePullRequest, usePullRequestsCreatePullRequestMutation, } from './hooks/usePullRequestsCreatePullRequestMutation';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * All issue summary
3
- * @example {"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Ad recusandae unde tempore deserunt voluptatem.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
3
+ * @example {"exemptionExpiration":1651578240,"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Pending","id":"abcdef1234567890ghijkl","issueType":"Facere et.","lastDetected":1634836529,"numOccurrences":12,"numTargetsImpacted":2,"override":{"originalSeverity":"medium","reason":"snyk"},"severityCode":"High","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
4
4
  */
5
5
  export interface AllIssueSummary {
6
6
  /**
@@ -26,7 +26,7 @@ export interface AllIssueSummary {
26
26
  id: string;
27
27
  /**
28
28
  * Issue Type
29
- * @example "Corporis sunt quos et."
29
+ * @example "Ad voluptatem optio sint ipsa."
30
30
  */
31
31
  issueType?: string;
32
32
  /**
@@ -2,22 +2,22 @@ import type { ImpactedTarget } from '../schemas/ImpactedTarget';
2
2
  import type { Pagination } from '../schemas/Pagination';
3
3
  import type { RefIds } from '../schemas/RefIds';
4
4
  /**
5
- * @example {"description":"Non omnis excepturi et quia.","impactedTargets":[{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Earum nemo magni nobis error.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Maxime ut perferendis quos.","variantName":"Eum excepturi consequuntur molestiae qui nihil."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Earum nemo magni nobis error.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Maxime ut perferendis quos.","variantName":"Eum excepturi consequuntur molestiae qui nihil."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Earum nemo magni nobis error.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Maxime ut perferendis quos.","variantName":"Eum excepturi consequuntur molestiae qui nihil."}],"issueType":"Doloribus quis aspernatur recusandae.","lastDetected":1634836529,"override":{"originalSeverity":"medium","reason":"snyk"},"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."},{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."},{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."},{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."}],"scanTool":"owasp","severityCode":"High","targetType":"Exercitationem porro rerum dolore.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
5
+ * @example {"description":"Eius placeat possimus.","impactedTargets":[{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"At tempora laboriosam.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Totam et modi provident aspernatur veritatis.","variantName":"Rem id."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"At tempora laboriosam.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Totam et modi provident aspernatur veritatis.","variantName":"Rem id."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"At tempora laboriosam.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Totam et modi provident aspernatur veritatis.","variantName":"Rem id."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"At tempora laboriosam.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Totam et modi provident aspernatur veritatis.","variantName":"Rem id."}],"issueType":"Quos temporibus excepturi temporibus.","lastDetected":1634836529,"override":{"originalSeverity":"medium","reason":"snyk"},"pagination":{"link":"","page":4,"pageSize":20,"totalItems":230,"totalPages":12},"referenceIdentifiers":[{"id":"Suscipit omnis deleniti exercitationem et voluptatum est.","type":"Dolor doloremque quo sequi repellat ab delectus."},{"id":"Suscipit omnis deleniti exercitationem et voluptatum est.","type":"Dolor doloremque quo sequi repellat ab delectus."},{"id":"Suscipit omnis deleniti exercitationem et voluptatum est.","type":"Dolor doloremque quo sequi repellat ab delectus."},{"id":"Suscipit omnis deleniti exercitationem et voluptatum est.","type":"Dolor doloremque quo sequi repellat ab delectus."}],"scanTool":"owasp","severityCode":"High","targetType":"Ipsa fugiat sunt quia.","title":"Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"}
6
6
  */
7
7
  export interface AllIssuesDetailsResult {
8
8
  /**
9
9
  * Issue description
10
- * @example "A minima sunt qui ipsum unde."
10
+ * @example "Et porro qui."
11
11
  */
12
12
  description: string;
13
13
  /**
14
14
  * List of Impacted Targets
15
- * @example [{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Earum nemo magni nobis error.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Maxime ut perferendis quos.","variantName":"Eum excepturi consequuntur molestiae qui nihil."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"Earum nemo magni nobis error.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Maxime ut perferendis quos.","variantName":"Eum excepturi consequuntur molestiae qui nihil."}]
15
+ * @example [{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"At tempora laboriosam.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Totam et modi provident aspernatur veritatis.","variantName":"Rem id."},{"exemptionId":"abcdef1234567890ghijkl","exemptionStatus":"At tempora laboriosam.","id":"target1111111111111111","lastDetected":1634836529,"name":"The Target Name","numOccurrences":10,"userId":"Totam et modi provident aspernatur veritatis.","variantName":"Rem id."}]
16
16
  */
17
17
  impactedTargets: ImpactedTarget[];
18
18
  /**
19
19
  * Issue Type
20
- * @example "Sed labore voluptatibus qui id."
20
+ * @example "Non omnis excepturi et quia."
21
21
  */
22
22
  issueType?: string;
23
23
  /**
@@ -36,7 +36,7 @@ export interface AllIssuesDetailsResult {
36
36
  pagination: Pagination;
37
37
  /**
38
38
  * Reference Identifiers
39
- * @example [{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."},{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."},{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."},{"id":"Voluptate voluptatem est eaque nesciunt rerum blanditiis.","type":"Reprehenderit voluptatibus."}]
39
+ * @example [{"id":"Suscipit omnis deleniti exercitationem et voluptatum est.","type":"Dolor doloremque quo sequi repellat ab delectus."},{"id":"Suscipit omnis deleniti exercitationem et voluptatum est.","type":"Dolor doloremque quo sequi repellat ab delectus."}]
40
40
  */
41
41
  referenceIdentifiers: RefIds[];
42
42
  /**
@@ -51,7 +51,7 @@ export interface AllIssuesDetailsResult {
51
51
  severityCode: 'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'Unassigned';
52
52
  /**
53
53
  * Target Type
54
- * @example "Officia tempore voluptatem sapiente."
54
+ * @example "Rerum aut pariatur rerum necessitatibus."
55
55
  */
56
56
  targetType: string;
57
57
  /**
@@ -4,7 +4,7 @@ import type { LatestBaselineScanInfo } from '../schemas/LatestBaselineScanInfo';
4
4
  */
5
5
  export interface AllIssuesFiltersResult {
6
6
  /**
7
- * @example [{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}]
7
+ * @example [{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"},{"pipelineId":"pipeline_1","scanTool":"owasp","targetId":"abcdef1234567890ghijkl","targetName":"The Target","targetType":"repository"}]
8
8
  */
9
9
  latestBaselineScans: LatestBaselineScanInfo[];
10
10
  }