@harnessio/react-sei-panorama-service-client 0.25.26 → 0.25.27

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 (59) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.d.ts +32 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.d.ts +31 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.d.ts +32 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.d.ts +31 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.d.ts +32 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.js +14 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.d.ts +33 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.js +14 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.d.ts +32 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.js +14 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.d.ts +44 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.js +14 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.d.ts +33 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.js +14 -0
  19. package/dist/sei-panorama-service/src/services/index.d.ts +35 -0
  20. package/dist/sei-panorama-service/src/services/index.js +9 -0
  21. package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.d.ts +40 -0
  22. package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.js +4 -0
  23. package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.d.ts +23 -0
  24. package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.js +1 -0
  25. package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.d.ts +23 -0
  26. package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.js +1 -0
  27. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  28. package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +1 -1
  29. package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.d.ts +34 -0
  30. package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.js +4 -0
  31. package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.d.ts +23 -0
  32. package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.js +1 -0
  33. package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.d.ts +23 -0
  34. package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.js +1 -0
  35. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.d.ts +46 -0
  36. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.js +4 -0
  37. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.d.ts +23 -0
  38. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.js +1 -0
  39. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.d.ts +47 -0
  40. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.js +4 -0
  41. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.d.ts +23 -0
  42. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.js +1 -0
  43. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.d.ts +17 -0
  44. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.js +4 -0
  45. package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.d.ts +6 -0
  46. package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.js +1 -0
  47. package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownItemDto.d.ts +22 -0
  48. package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownItemDto.js +4 -0
  49. package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownResponseDto.d.ts +23 -0
  50. package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownResponseDto.js +1 -0
  51. package/dist/sei-panorama-service/src/services/schemas/SecurityMttrResponseDto.d.ts +23 -0
  52. package/dist/sei-panorama-service/src/services/schemas/SecurityMttrResponseDto.js +1 -0
  53. package/dist/sei-panorama-service/src/services/schemas/SeverityData.d.ts +6 -0
  54. package/dist/sei-panorama-service/src/services/schemas/SeverityData.js +1 -0
  55. package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +1 -1
  56. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  57. package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.d.ts +47 -0
  58. package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.js +4 -0
  59. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AgedVulnerabilitiesBreakdownResponseDto } from '../schemas/AgedVulnerabilitiesBreakdownResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date
19
+ */
20
+ endDate: string;
21
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
22
+ }
23
+ export type SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownOkResponse = ResponseWithPagination<AgedVulnerabilitiesBreakdownResponseDto>;
24
+ export type SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownErrorResponse = string;
25
+ export interface SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownProps extends Omit<FetcherOptions<SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQueryQueryParams;
27
+ }
28
+ export declare function securityInsightsControllerGetAgedVulnerabilitiesBreakdown(props: SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownProps): Promise<SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownOkResponse>;
29
+ /**
30
+ * Groups aged vulnerabilities by team. Returns aggregated values for each team for the entire duration.
31
+ */
32
+ export declare function useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery(props: SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownOkResponse, string>;
@@ -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 securityInsightsControllerGetAgedVulnerabilitiesBreakdown(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/aged-vulnerabilities/breakdown`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Groups aged vulnerabilities by team. Returns aggregated values for each team for the entire duration.
11
+ */
12
+ export function useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetAgedVulnerabilitiesBreakdown', props.queryParams], ({ signal }) => securityInsightsControllerGetAgedVulnerabilitiesBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,31 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AgedVulnerabilitiesResponseDto } from '../schemas/AgedVulnerabilitiesResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetAgedVulnerabilitiesQueryQueryParams {
6
+ account: string;
7
+ /**
8
+ * @format int32
9
+ */
10
+ teamRefId: number;
11
+ /**
12
+ * @format date
13
+ */
14
+ startDate: string;
15
+ /**
16
+ * @format date
17
+ */
18
+ endDate: string;
19
+ granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
20
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
21
+ }
22
+ export type SecurityInsightsControllerGetAgedVulnerabilitiesOkResponse = ResponseWithPagination<AgedVulnerabilitiesResponseDto>;
23
+ export type SecurityInsightsControllerGetAgedVulnerabilitiesErrorResponse = string;
24
+ export interface SecurityInsightsControllerGetAgedVulnerabilitiesProps extends Omit<FetcherOptions<SecurityInsightsControllerGetAgedVulnerabilitiesQueryQueryParams, unknown>, 'url'> {
25
+ queryParams: SecurityInsightsControllerGetAgedVulnerabilitiesQueryQueryParams;
26
+ }
27
+ export declare function securityInsightsControllerGetAgedVulnerabilities(props: SecurityInsightsControllerGetAgedVulnerabilitiesProps): Promise<SecurityInsightsControllerGetAgedVulnerabilitiesOkResponse>;
28
+ /**
29
+ * Retrieves count of vulnerabilities exceeding SLA thresholds
30
+ */
31
+ export declare function useSecurityInsightsControllerGetAgedVulnerabilitiesQuery(props: SecurityInsightsControllerGetAgedVulnerabilitiesProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetAgedVulnerabilitiesOkResponse, SecurityInsightsControllerGetAgedVulnerabilitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetAgedVulnerabilitiesOkResponse, string>;
@@ -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 securityInsightsControllerGetAgedVulnerabilities(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/aged-vulnerabilities`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves count of vulnerabilities exceeding SLA thresholds
11
+ */
12
+ export function useSecurityInsightsControllerGetAgedVulnerabilitiesQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetAgedVulnerabilities', props.queryParams], ({ signal }) => securityInsightsControllerGetAgedVulnerabilities(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SecurityMttrBreakdownResponseDto } from '../schemas/SecurityMttrBreakdownResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetMttrBreakdownQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date
19
+ */
20
+ endDate: string;
21
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
22
+ }
23
+ export type SecurityInsightsControllerGetMttrBreakdownOkResponse = ResponseWithPagination<SecurityMttrBreakdownResponseDto>;
24
+ export type SecurityInsightsControllerGetMttrBreakdownErrorResponse = string;
25
+ export interface SecurityInsightsControllerGetMttrBreakdownProps extends Omit<FetcherOptions<SecurityInsightsControllerGetMttrBreakdownQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: SecurityInsightsControllerGetMttrBreakdownQueryQueryParams;
27
+ }
28
+ export declare function securityInsightsControllerGetMttrBreakdown(props: SecurityInsightsControllerGetMttrBreakdownProps): Promise<SecurityInsightsControllerGetMttrBreakdownOkResponse>;
29
+ /**
30
+ * Groups MTTR by team. Returns aggregated values for each team for the entire duration.
31
+ */
32
+ export declare function useSecurityInsightsControllerGetMttrBreakdownQuery(props: SecurityInsightsControllerGetMttrBreakdownProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetMttrBreakdownOkResponse, SecurityInsightsControllerGetMttrBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetMttrBreakdownOkResponse, string>;
@@ -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 securityInsightsControllerGetMttrBreakdown(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/mttr/breakdown`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Groups MTTR by team. Returns aggregated values for each team for the entire duration.
11
+ */
12
+ export function useSecurityInsightsControllerGetMttrBreakdownQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetMttrBreakdown', props.queryParams], ({ signal }) => securityInsightsControllerGetMttrBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,31 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SecurityMttrResponseDto } from '../schemas/SecurityMttrResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetMttrQueryQueryParams {
6
+ account: string;
7
+ /**
8
+ * @format int32
9
+ */
10
+ teamRefId: number;
11
+ /**
12
+ * @format date
13
+ */
14
+ startDate: string;
15
+ /**
16
+ * @format date
17
+ */
18
+ endDate: string;
19
+ granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
20
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
21
+ }
22
+ export type SecurityInsightsControllerGetMttrOkResponse = ResponseWithPagination<SecurityMttrResponseDto>;
23
+ export type SecurityInsightsControllerGetMttrErrorResponse = string;
24
+ export interface SecurityInsightsControllerGetMttrProps extends Omit<FetcherOptions<SecurityInsightsControllerGetMttrQueryQueryParams, unknown>, 'url'> {
25
+ queryParams: SecurityInsightsControllerGetMttrQueryQueryParams;
26
+ }
27
+ export declare function securityInsightsControllerGetMttr(props: SecurityInsightsControllerGetMttrProps): Promise<SecurityInsightsControllerGetMttrOkResponse>;
28
+ /**
29
+ * Retrieves average time to remediate security vulnerabilities
30
+ */
31
+ export declare function useSecurityInsightsControllerGetMttrQuery(props: SecurityInsightsControllerGetMttrProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetMttrOkResponse, SecurityInsightsControllerGetMttrErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetMttrOkResponse, string>;
@@ -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 securityInsightsControllerGetMttr(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/mttr`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves average time to remediate security vulnerabilities
11
+ */
12
+ export function useSecurityInsightsControllerGetMttrQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetMttr', props.queryParams], ({ signal }) => securityInsightsControllerGetMttr(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OpenCloseRateBreakdownResponseDto } from '../schemas/OpenCloseRateBreakdownResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetOpenCloseRateBreakdownQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date
19
+ */
20
+ endDate: string;
21
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
22
+ }
23
+ export type SecurityInsightsControllerGetOpenCloseRateBreakdownOkResponse = ResponseWithPagination<OpenCloseRateBreakdownResponseDto>;
24
+ export type SecurityInsightsControllerGetOpenCloseRateBreakdownErrorResponse = string;
25
+ export interface SecurityInsightsControllerGetOpenCloseRateBreakdownProps extends Omit<FetcherOptions<SecurityInsightsControllerGetOpenCloseRateBreakdownQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: SecurityInsightsControllerGetOpenCloseRateBreakdownQueryQueryParams;
27
+ }
28
+ export declare function securityInsightsControllerGetOpenCloseRateBreakdown(props: SecurityInsightsControllerGetOpenCloseRateBreakdownProps): Promise<SecurityInsightsControllerGetOpenCloseRateBreakdownOkResponse>;
29
+ /**
30
+ * Groups open/close rate by team. Returns aggregated values for each team for the entire duration.
31
+ */
32
+ export declare function useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery(props: SecurityInsightsControllerGetOpenCloseRateBreakdownProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetOpenCloseRateBreakdownOkResponse, SecurityInsightsControllerGetOpenCloseRateBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetOpenCloseRateBreakdownOkResponse, string>;
@@ -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 securityInsightsControllerGetOpenCloseRateBreakdown(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/open-close-rate/breakdown`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Groups open/close rate by team. Returns aggregated values for each team for the entire duration.
11
+ */
12
+ export function useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetOpenCloseRateBreakdown', props.queryParams], ({ signal }) => securityInsightsControllerGetOpenCloseRateBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,33 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OpenCloseRateResponseDto } from '../schemas/OpenCloseRateResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetOpenCloseRateQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date
19
+ */
20
+ endDate: string;
21
+ granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
22
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
23
+ }
24
+ export type SecurityInsightsControllerGetOpenCloseRateOkResponse = ResponseWithPagination<OpenCloseRateResponseDto>;
25
+ export type SecurityInsightsControllerGetOpenCloseRateErrorResponse = string;
26
+ export interface SecurityInsightsControllerGetOpenCloseRateProps extends Omit<FetcherOptions<SecurityInsightsControllerGetOpenCloseRateQueryQueryParams, unknown>, 'url'> {
27
+ queryParams: SecurityInsightsControllerGetOpenCloseRateQueryQueryParams;
28
+ }
29
+ export declare function securityInsightsControllerGetOpenCloseRate(props: SecurityInsightsControllerGetOpenCloseRateProps): Promise<SecurityInsightsControllerGetOpenCloseRateOkResponse>;
30
+ /**
31
+ * Retrieves the rate of vulnerabilities being closed vs opened
32
+ */
33
+ export declare function useSecurityInsightsControllerGetOpenCloseRateQuery(props: SecurityInsightsControllerGetOpenCloseRateProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetOpenCloseRateOkResponse, SecurityInsightsControllerGetOpenCloseRateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetOpenCloseRateOkResponse, string>;
@@ -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 securityInsightsControllerGetOpenCloseRate(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/open-close-rate`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves the rate of vulnerabilities being closed vs opened
11
+ */
12
+ export function useSecurityInsightsControllerGetOpenCloseRateQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetOpenCloseRate', props.queryParams], ({ signal }) => securityInsightsControllerGetOpenCloseRate(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OpenVulnerabilitiesBreakdownResponseDto } from '../schemas/OpenVulnerabilitiesBreakdownResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date
19
+ */
20
+ endDate: string;
21
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
22
+ }
23
+ export type SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse = ResponseWithPagination<OpenVulnerabilitiesBreakdownResponseDto>;
24
+ export type SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownErrorResponse = string;
25
+ export interface SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps extends Omit<FetcherOptions<SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams;
27
+ }
28
+ export declare function securityInsightsControllerGetOpenVulnerabilitiesBreakdown(props: SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps): Promise<SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse>;
29
+ /**
30
+ * Groups open vulnerabilities by team. Returns aggregated values for each team for the entire duration.
31
+ */
32
+ export declare function useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery(props: SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse, string>;
@@ -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 securityInsightsControllerGetOpenVulnerabilitiesBreakdown(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/open-vulnerabilities/breakdown`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Groups open vulnerabilities by team. Returns aggregated values for each team for the entire duration.
11
+ */
12
+ export function useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetOpenVulnerabilitiesBreakdown', props.queryParams], ({ signal }) => securityInsightsControllerGetOpenVulnerabilitiesBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,44 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SecurityDrilldownResponseDto } from '../schemas/SecurityDrilldownResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams {
6
+ account: string;
7
+ /**
8
+ * @format int32
9
+ */
10
+ teamRefId: number;
11
+ /**
12
+ * @format date
13
+ */
14
+ startDate: string;
15
+ /**
16
+ * @format date
17
+ */
18
+ endDate: string;
19
+ metricType: 'AGED_VULNERABILITIES' | 'MTTR' | 'OPEN_CLOSE_RATE' | 'TOTAL_OPEN_VULNERABILITIES';
20
+ severity?: 'ALL' | 'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM';
21
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
22
+ /**
23
+ * @format int32
24
+ * @default 0
25
+ */
26
+ page?: number;
27
+ /**
28
+ * @format int32
29
+ * @default 20
30
+ */
31
+ pageSize?: number;
32
+ sortBy?: 'ASC' | 'DESC';
33
+ sortDirection?: 'ASC' | 'DESC';
34
+ }
35
+ export type SecurityInsightsControllerGetSecurityDrilldownOkResponse = ResponseWithPagination<SecurityDrilldownResponseDto>;
36
+ export type SecurityInsightsControllerGetSecurityDrilldownErrorResponse = string;
37
+ export interface SecurityInsightsControllerGetSecurityDrilldownProps extends Omit<FetcherOptions<SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, unknown>, 'url'> {
38
+ queryParams: SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams;
39
+ }
40
+ export declare function securityInsightsControllerGetSecurityDrilldown(props: SecurityInsightsControllerGetSecurityDrilldownProps): Promise<SecurityInsightsControllerGetSecurityDrilldownOkResponse>;
41
+ /**
42
+ * Retrieves detailed vulnerability records with pagination and filtering
43
+ */
44
+ export declare function useSecurityInsightsControllerGetSecurityDrilldownQuery(props: SecurityInsightsControllerGetSecurityDrilldownProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetSecurityDrilldownOkResponse, string>;
@@ -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 securityInsightsControllerGetSecurityDrilldown(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/drilldown`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves detailed vulnerability records with pagination and filtering
11
+ */
12
+ export function useSecurityInsightsControllerGetSecurityDrilldownQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetSecurityDrilldown', props.queryParams], ({ signal }) => securityInsightsControllerGetSecurityDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,33 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OpenVulnerabilitiesResponseDto } from '../schemas/OpenVulnerabilitiesResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date
19
+ */
20
+ endDate: string;
21
+ granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
22
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
23
+ }
24
+ export type SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse = ResponseWithPagination<OpenVulnerabilitiesResponseDto>;
25
+ export type SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse = string;
26
+ export interface SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps extends Omit<FetcherOptions<SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams, unknown>, 'url'> {
27
+ queryParams: SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams;
28
+ }
29
+ export declare function securityInsightsControllerGetTotalOpenVulnerabilities(props: SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps): Promise<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse>;
30
+ /**
31
+ * Retrieves total count of open vulnerabilities with platform and severity breakdowns
32
+ */
33
+ export declare function useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery(props: SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, string>;
@@ -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 securityInsightsControllerGetTotalOpenVulnerabilities(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/security/open-vulnerabilities`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves total count of open vulnerabilities with platform and severity breakdowns
11
+ */
12
+ export function useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetTotalOpenVulnerabilities', props.queryParams], ({ signal }) => securityInsightsControllerGetTotalOpenVulnerabilities(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -351,6 +351,24 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
351
351
  export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
352
352
  export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
353
353
  export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
354
+ export type { SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownErrorResponse, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownProps, SecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery';
355
+ export { securityInsightsControllerGetAgedVulnerabilitiesBreakdown, useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery';
356
+ export type { SecurityInsightsControllerGetAgedVulnerabilitiesErrorResponse, SecurityInsightsControllerGetAgedVulnerabilitiesOkResponse, SecurityInsightsControllerGetAgedVulnerabilitiesProps, SecurityInsightsControllerGetAgedVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery';
357
+ export { securityInsightsControllerGetAgedVulnerabilities, useSecurityInsightsControllerGetAgedVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery';
358
+ export type { SecurityInsightsControllerGetMttrBreakdownErrorResponse, SecurityInsightsControllerGetMttrBreakdownOkResponse, SecurityInsightsControllerGetMttrBreakdownProps, SecurityInsightsControllerGetMttrBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetMttrBreakdownQuery';
359
+ export { securityInsightsControllerGetMttrBreakdown, useSecurityInsightsControllerGetMttrBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetMttrBreakdownQuery';
360
+ export type { SecurityInsightsControllerGetMttrErrorResponse, SecurityInsightsControllerGetMttrOkResponse, SecurityInsightsControllerGetMttrProps, SecurityInsightsControllerGetMttrQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetMttrQuery';
361
+ export { securityInsightsControllerGetMttr, useSecurityInsightsControllerGetMttrQuery, } from './hooks/useSecurityInsightsControllerGetMttrQuery';
362
+ export type { SecurityInsightsControllerGetOpenCloseRateBreakdownErrorResponse, SecurityInsightsControllerGetOpenCloseRateBreakdownOkResponse, SecurityInsightsControllerGetOpenCloseRateBreakdownProps, SecurityInsightsControllerGetOpenCloseRateBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery';
363
+ export { securityInsightsControllerGetOpenCloseRateBreakdown, useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery';
364
+ export type { SecurityInsightsControllerGetOpenCloseRateErrorResponse, SecurityInsightsControllerGetOpenCloseRateOkResponse, SecurityInsightsControllerGetOpenCloseRateProps, SecurityInsightsControllerGetOpenCloseRateQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateQuery';
365
+ export { securityInsightsControllerGetOpenCloseRate, useSecurityInsightsControllerGetOpenCloseRateQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateQuery';
366
+ export type { SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownProps, SecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
367
+ export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
368
+ export type { SecurityInsightsControllerGetSecurityDrilldownErrorResponse, SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownProps, SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
369
+ export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
370
+ export type { SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps, SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
371
+ export { securityInsightsControllerGetTotalOpenVulnerabilities, useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
354
372
  export type { SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileProps, SecurityProfileControllerCreateProfileRequestBody, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
355
373
  export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
356
374
  export type { SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileMutationPathParams, SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileProps, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
@@ -405,6 +423,9 @@ export type { AccessResponseDto } from './schemas/AccessResponseDto';
405
423
  export type { ActivityDataDto } from './schemas/ActivityDataDto';
406
424
  export type { AdoptionDataPoint } from './schemas/AdoptionDataPoint';
407
425
  export type { AdoptionPeriodData } from './schemas/AdoptionPeriodData';
426
+ export type { AgedVulnerabilitiesBreakdownItemDto } from './schemas/AgedVulnerabilitiesBreakdownItemDto';
427
+ export type { AgedVulnerabilitiesBreakdownResponseDto } from './schemas/AgedVulnerabilitiesBreakdownResponseDto';
428
+ export type { AgedVulnerabilitiesResponseDto } from './schemas/AgedVulnerabilitiesResponseDto';
408
429
  export type { AiAdoptionBreakdownRequestDto } from './schemas/AiAdoptionBreakdownRequestDto';
409
430
  export type { AiAdoptionBreakdownResponseDto } from './schemas/AiAdoptionBreakdownResponseDto';
410
431
  export type { AiAdoptionMetricsRequestDto } from './schemas/AiAdoptionMetricsRequestDto';
@@ -616,6 +637,14 @@ export type { MttrDrillDownResponseDto } from './schemas/MttrDrillDownResponseDt
616
637
  export type { MttrDrilldownRequest } from './schemas/MttrDrilldownRequest';
617
638
  export type { MttrMetric } from './schemas/MttrMetric';
618
639
  export type { MvAnalysis } from './schemas/MvAnalysis';
640
+ export type { OpenCloseRateBreakdownItemDto } from './schemas/OpenCloseRateBreakdownItemDto';
641
+ export type { OpenCloseRateBreakdownResponseDto } from './schemas/OpenCloseRateBreakdownResponseDto';
642
+ export type { OpenCloseRateResponseDto } from './schemas/OpenCloseRateResponseDto';
643
+ export type { OpenVulnerabilitiesBreakdownItemDto } from './schemas/OpenVulnerabilitiesBreakdownItemDto';
644
+ export type { OpenVulnerabilitiesBreakdownResponseDto } from './schemas/OpenVulnerabilitiesBreakdownResponseDto';
645
+ export type { OpenVulnerabilitiesDataPointDto } from './schemas/OpenVulnerabilitiesDataPointDto';
646
+ export type { OpenVulnerabilitiesResponseDto } from './schemas/OpenVulnerabilitiesResponseDto';
647
+ export type { OpenVulnerabilitiesSummaryDto } from './schemas/OpenVulnerabilitiesSummaryDto';
619
648
  export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
620
649
  export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
621
650
  export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
@@ -673,9 +702,14 @@ export type { ReworkSummaryMetrics } from './schemas/ReworkSummaryMetrics';
673
702
  export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
674
703
  export type { ScopeInfo } from './schemas/ScopeInfo';
675
704
  export type { SectionDto } from './schemas/SectionDto';
705
+ export type { SecurityDrilldownResponseDto } from './schemas/SecurityDrilldownResponseDto';
706
+ export type { SecurityMttrBreakdownItemDto } from './schemas/SecurityMttrBreakdownItemDto';
707
+ export type { SecurityMttrBreakdownResponseDto } from './schemas/SecurityMttrBreakdownResponseDto';
708
+ export type { SecurityMttrResponseDto } from './schemas/SecurityMttrResponseDto';
676
709
  export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
677
710
  export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
678
711
  export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
712
+ export type { SeverityData } from './schemas/SeverityData';
679
713
  export type { SimpleFilter } from './schemas/SimpleFilter';
680
714
  export type { SortOption } from './schemas/SortOption';
681
715
  export type { SprintConfigurationDto } from './schemas/SprintConfigurationDto';
@@ -735,6 +769,7 @@ export type { UserInfo } from './schemas/UserInfo';
735
769
  export type { UserMetrics } from './schemas/UserMetrics';
736
770
  export type { ValidationError } from './schemas/ValidationError';
737
771
  export type { VersionReleaseRequest } from './schemas/VersionReleaseRequest';
772
+ export type { VulnerabilityDetail } from './schemas/VulnerabilityDetail';
738
773
  export type { WindsurfMetrics } from './schemas/WindsurfMetrics';
739
774
  export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
740
775
  export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCompletedDrilldownResponseDataPointV3';
@@ -174,6 +174,15 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
174
174
  export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
175
175
  export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
176
176
  export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
177
+ export { securityInsightsControllerGetAgedVulnerabilitiesBreakdown, useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery';
178
+ export { securityInsightsControllerGetAgedVulnerabilities, useSecurityInsightsControllerGetAgedVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery';
179
+ export { securityInsightsControllerGetMttrBreakdown, useSecurityInsightsControllerGetMttrBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetMttrBreakdownQuery';
180
+ export { securityInsightsControllerGetMttr, useSecurityInsightsControllerGetMttrQuery, } from './hooks/useSecurityInsightsControllerGetMttrQuery';
181
+ export { securityInsightsControllerGetOpenCloseRateBreakdown, useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery';
182
+ export { securityInsightsControllerGetOpenCloseRate, useSecurityInsightsControllerGetOpenCloseRateQuery, } from './hooks/useSecurityInsightsControllerGetOpenCloseRateQuery';
183
+ export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
184
+ export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
185
+ export { securityInsightsControllerGetTotalOpenVulnerabilities, useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
177
186
  export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
178
187
  export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
179
188
  export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Team breakdown item for aged vulnerabilities with age bucket counts
3
+ */
4
+ export interface AgedVulnerabilitiesBreakdownItemDto {
5
+ /**
6
+ * Count of vulnerabilities aged 0-30 days
7
+ * @format int32
8
+ * @example 24
9
+ */
10
+ age0To30Days?: number;
11
+ /**
12
+ * Count of vulnerabilities aged 30-90 days
13
+ * @format int32
14
+ * @example 27
15
+ */
16
+ age30To90Days?: number;
17
+ /**
18
+ * Count of vulnerabilities aged 90+ days
19
+ * @format int32
20
+ * @example 30
21
+ */
22
+ age90PlusDays?: number;
23
+ /**
24
+ * Team name
25
+ * @example "Platform Team"
26
+ */
27
+ teamName?: string;
28
+ /**
29
+ * Team reference ID
30
+ * @format int32
31
+ * @example 123
32
+ */
33
+ teamRefId?: number;
34
+ /**
35
+ * Total aged vulnerabilities for this team
36
+ * @format int32
37
+ * @example 81
38
+ */
39
+ total?: number;
40
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { AgedVulnerabilitiesBreakdownItemDto } from '../schemas/AgedVulnerabilitiesBreakdownItemDto';
2
+ /**
3
+ * Breakdown response for aged vulnerabilities grouped by team with comprehensive severity breakdown
4
+ */
5
+ export interface AgedVulnerabilitiesBreakdownResponseDto {
6
+ criticalSeverityBreakdownItems?: AgedVulnerabilitiesBreakdownItemDto[];
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityBreakdownItems?: AgedVulnerabilitiesBreakdownItemDto[];
14
+ lowSeverityBreakdownItems?: AgedVulnerabilitiesBreakdownItemDto[];
15
+ mediumSeverityBreakdownItems?: AgedVulnerabilitiesBreakdownItemDto[];
16
+ overAllSeverityBreakdownItems?: AgedVulnerabilitiesBreakdownItemDto[];
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,23 @@
1
+ import type { SeverityData } from '../schemas/SeverityData';
2
+ /**
3
+ * Response for aged vulnerabilities metric with comprehensive severity breakdown
4
+ */
5
+ export interface AgedVulnerabilitiesResponseDto {
6
+ criticalSeverityData?: SeverityData;
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityData?: SeverityData;
14
+ lowSeverityData?: SeverityData;
15
+ mediumSeverityData?: SeverityData;
16
+ overAllSeverityData?: SeverityData;
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -11,7 +11,7 @@ export interface FilterValuesRequestDto {
11
11
  /**
12
12
  * Filter key to get values for (used when isCustom = false)
13
13
  */
14
- filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
14
+ filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
15
15
  /**
16
16
  * Integration ID
17
17
  */
@@ -5,7 +5,7 @@ export interface IntegrationResponseDto {
5
5
  /**
6
6
  * Application type
7
7
  */
8
- applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CUSTOM' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'SNYK' | 'WIZ';
8
+ applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CUSTOM' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'SNYK' | 'WIZ';
9
9
  /**
10
10
  * Integration ID
11
11
  * @format int32
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Team breakdown item for open/close rate with opened and closed counts
3
+ */
4
+ export interface OpenCloseRateBreakdownItemDto {
5
+ /**
6
+ * Count of vulnerabilities closed
7
+ * @format int32
8
+ * @example 38
9
+ */
10
+ closed_count?: number;
11
+ /**
12
+ * Open Close rate
13
+ * @format double
14
+ * @example 0.1
15
+ */
16
+ open_close_rate?: number;
17
+ /**
18
+ * Count of vulnerabilities opened
19
+ * @format int32
20
+ * @example 45
21
+ */
22
+ open_count?: number;
23
+ /**
24
+ * Team name
25
+ * @example "Platform Team"
26
+ */
27
+ teamName?: string;
28
+ /**
29
+ * Team reference ID
30
+ * @format int32
31
+ * @example 123
32
+ */
33
+ teamRefId?: number;
34
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { OpenCloseRateBreakdownItemDto } from '../schemas/OpenCloseRateBreakdownItemDto';
2
+ /**
3
+ * Breakdown response for open/close rate grouped by team with comprehensive severity breakdown
4
+ */
5
+ export interface OpenCloseRateBreakdownResponseDto {
6
+ criticalSeverityBreakdownItems?: OpenCloseRateBreakdownItemDto[];
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityBreakdownItems?: OpenCloseRateBreakdownItemDto[];
14
+ lowSeverityBreakdownItems?: OpenCloseRateBreakdownItemDto[];
15
+ mediumSeverityBreakdownItems?: OpenCloseRateBreakdownItemDto[];
16
+ overAllSeverityBreakdownItems?: OpenCloseRateBreakdownItemDto[];
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,23 @@
1
+ import type { SeverityData } from '../schemas/SeverityData';
2
+ /**
3
+ * Response for open/close rate metric with comprehensive severity breakdown
4
+ */
5
+ export interface OpenCloseRateResponseDto {
6
+ criticalSeverityData?: SeverityData;
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityData?: SeverityData;
14
+ lowSeverityData?: SeverityData;
15
+ mediumSeverityData?: SeverityData;
16
+ overAllSeverityData?: SeverityData;
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Team breakdown item for open vulnerabilities with severity counts
3
+ */
4
+ export interface OpenVulnerabilitiesBreakdownItemDto {
5
+ /**
6
+ * Count of critical severity vulnerabilities
7
+ * @format int32
8
+ * @example 20
9
+ */
10
+ critical?: number;
11
+ /**
12
+ * Count of high severity vulnerabilities
13
+ * @format int32
14
+ * @example 35
15
+ */
16
+ high?: number;
17
+ /**
18
+ * Count of low severity vulnerabilities
19
+ * @format int32
20
+ * @example 35
21
+ */
22
+ low?: number;
23
+ /**
24
+ * Count of medium severity vulnerabilities
25
+ * @format int32
26
+ * @example 55
27
+ */
28
+ medium?: number;
29
+ /**
30
+ * Team name
31
+ * @example "Platform Team"
32
+ */
33
+ teamName?: string;
34
+ /**
35
+ * Team reference ID
36
+ * @format int32
37
+ * @example 123
38
+ */
39
+ teamRefId?: number;
40
+ /**
41
+ * Total open vulnerabilities for this team
42
+ * @format int32
43
+ * @example 145
44
+ */
45
+ total?: number;
46
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { OpenVulnerabilitiesBreakdownItemDto } from '../schemas/OpenVulnerabilitiesBreakdownItemDto';
2
+ /**
3
+ * Breakdown response for open vulnerabilities grouped by team
4
+ */
5
+ export interface OpenVulnerabilitiesBreakdownResponseDto {
6
+ criticalSeverityBreakdownItems?: OpenVulnerabilitiesBreakdownItemDto[];
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityBreakdownItems?: OpenVulnerabilitiesBreakdownItemDto[];
14
+ lowSeverityBreakdownItems?: OpenVulnerabilitiesBreakdownItemDto[];
15
+ mediumSeverityBreakdownItems?: OpenVulnerabilitiesBreakdownItemDto[];
16
+ overAllSeverityBreakdownItems?: OpenVulnerabilitiesBreakdownItemDto[];
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Single data point for open vulnerabilities with severity breakdown
3
+ */
4
+ export interface OpenVulnerabilitiesDataPointDto {
5
+ /**
6
+ * Count of critical severity vulnerabilities
7
+ * @format int32
8
+ * @example 52
9
+ */
10
+ critical?: number;
11
+ /**
12
+ * End date of the period (yyyy-mm-dd)
13
+ * @format date
14
+ * @example "2024-10-07"
15
+ */
16
+ endDate?: string;
17
+ /**
18
+ * Count of high severity vulnerabilities
19
+ * @format int32
20
+ * @example 95
21
+ */
22
+ high?: number;
23
+ /**
24
+ * Count of low severity vulnerabilities
25
+ * @format int32
26
+ * @example 88
27
+ */
28
+ low?: number;
29
+ /**
30
+ * Count of medium severity vulnerabilities
31
+ * @format int32
32
+ * @example 145
33
+ */
34
+ medium?: number;
35
+ /**
36
+ * Start date of the period (yyyy-mm-dd)
37
+ * @format date
38
+ * @example "2024-10-01"
39
+ */
40
+ startDate?: string;
41
+ /**
42
+ * Total open vulnerabilities (same as value)
43
+ * @format int32
44
+ * @example 380
45
+ */
46
+ total?: number;
47
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { SeverityData } from '../schemas/SeverityData';
2
+ /**
3
+ * Response for total open vulnerabilities metric with comprehensive severity breakdown
4
+ */
5
+ export interface OpenVulnerabilitiesResponseDto {
6
+ criticalSeverityData?: SeverityData;
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityData?: SeverityData;
14
+ lowSeverityData?: SeverityData;
15
+ mediumSeverityData?: SeverityData;
16
+ overAllSeverityData?: SeverityData;
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Summary for open vulnerabilities with total count and change rate
3
+ */
4
+ export interface OpenVulnerabilitiesSummaryDto {
5
+ /**
6
+ * Percentage change compared to previous period
7
+ * @format double
8
+ * @example -5.2
9
+ */
10
+ changeRate?: number;
11
+ /**
12
+ * Total number of open vulnerabilities in the current period
13
+ * @format int32
14
+ * @example 350
15
+ */
16
+ total?: number;
17
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
2
+ import type { VulnerabilityDetail } from '../schemas/VulnerabilityDetail';
3
+ export interface SecurityDrilldownResponseDto {
4
+ pagination?: PaginationInfo;
5
+ records?: VulnerabilityDetail[];
6
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Team breakdown item for MTTR with average remediation time
3
+ */
4
+ export interface SecurityMttrBreakdownItemDto {
5
+ /**
6
+ * Mean time to remediate in days
7
+ * @format double
8
+ * @example 14.5
9
+ */
10
+ mttr_days?: number;
11
+ /**
12
+ * Team name
13
+ * @example "Platform Team"
14
+ */
15
+ teamName?: string;
16
+ /**
17
+ * Team reference ID
18
+ * @format int32
19
+ * @example 123
20
+ */
21
+ teamRefId?: number;
22
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,23 @@
1
+ import type { SecurityMttrBreakdownItemDto } from '../schemas/SecurityMttrBreakdownItemDto';
2
+ /**
3
+ * Breakdown response for MTTR grouped by team with comprehensive severity breakdown
4
+ */
5
+ export interface SecurityMttrBreakdownResponseDto {
6
+ criticalSeverityBreakdownItems?: SecurityMttrBreakdownItemDto[];
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityBreakdownItems?: SecurityMttrBreakdownItemDto[];
14
+ lowSeverityBreakdownItems?: SecurityMttrBreakdownItemDto[];
15
+ mediumSeverityBreakdownItems?: SecurityMttrBreakdownItemDto[];
16
+ overAllSeverityBreakdownItems?: SecurityMttrBreakdownItemDto[];
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,23 @@
1
+ import type { SeverityData } from '../schemas/SeverityData';
2
+ /**
3
+ * Response for MTTR metric with comprehensive severity breakdown
4
+ */
5
+ export interface SecurityMttrResponseDto {
6
+ criticalSeverityData?: SeverityData;
7
+ /**
8
+ * End date of the period (yyyy-mm-dd)
9
+ * @format date
10
+ * @example "2024-12-30"
11
+ */
12
+ endDate?: string;
13
+ highSeverityData?: SeverityData;
14
+ lowSeverityData?: SeverityData;
15
+ mediumSeverityData?: SeverityData;
16
+ overAllSeverityData?: SeverityData;
17
+ /**
18
+ * Start date of the period (yyyy-mm-dd)
19
+ * @format date
20
+ * @example "2024-10-01"
21
+ */
22
+ startDate?: string;
23
+ }
@@ -0,0 +1,6 @@
1
+ import type { OpenVulnerabilitiesDataPointDto } from '../schemas/OpenVulnerabilitiesDataPointDto';
2
+ import type { OpenVulnerabilitiesSummaryDto } from '../schemas/OpenVulnerabilitiesSummaryDto';
3
+ export interface SeverityData {
4
+ dataPoints?: OpenVulnerabilitiesDataPointDto[];
5
+ summary?: OpenVulnerabilitiesSummaryDto;
6
+ }
@@ -6,7 +6,7 @@ export interface SimpleFilter {
6
6
  * Filter key
7
7
  * @example "PROJECT"
8
8
  */
9
- filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
9
+ filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
10
10
  /**
11
11
  * Filter ID
12
12
  * @format int32
@@ -7,7 +7,7 @@ export interface TeamFilter {
7
7
  applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'WORK_COMPLETED'>;
8
8
  customFilterId?: string;
9
9
  customFilterKey?: string;
10
- filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
10
+ filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
11
11
  /**
12
12
  * @format int32
13
13
  */
@@ -0,0 +1,47 @@
1
+ export interface VulnerabilityDetail {
2
+ /**
3
+ * @format int32
4
+ */
5
+ ageInDays?: number;
6
+ assetName?: string;
7
+ assetType?: string;
8
+ cloudPlatform?: string;
9
+ cloudRegion?: string;
10
+ cve?: string;
11
+ /**
12
+ * @format double
13
+ */
14
+ cvssScore?: number;
15
+ /**
16
+ * @format date-time
17
+ */
18
+ discoveredAt?: string;
19
+ /**
20
+ * @format double
21
+ */
22
+ epssScore?: number;
23
+ fixedVersion?: string;
24
+ isFixable?: boolean;
25
+ isInternetExposed?: boolean;
26
+ issueId?: string;
27
+ organizationName?: string;
28
+ packageName?: string;
29
+ packageVersion?: string;
30
+ platformType?: 'SNYK' | 'WIZ';
31
+ platformUrl?: string;
32
+ /**
33
+ * @format int32
34
+ */
35
+ priorityScore?: number;
36
+ projectName?: string;
37
+ remediationAdvice?: string;
38
+ /**
39
+ * @format date-time
40
+ */
41
+ resolvedAt?: string;
42
+ status?: 'IGNORED' | 'IN_PROGRESS' | 'OPEN' | 'RESOLVED';
43
+ targetFile?: string;
44
+ title?: string;
45
+ url?: string;
46
+ vulnerabilityId?: string;
47
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.25.26",
3
+ "version": "0.25.27",
4
4
  "description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",