@harnessio/react-sei-panorama-service-client 0.25.13 → 0.25.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetPrVelocitySummaryMutation.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetPrVelocitySummaryMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.d.ts +16 -2
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.js +16 -2
- package/dist/sei-panorama-service/src/services/index.d.ts +13 -44
- package/dist/sei-panorama-service/src/services/index.js +1 -10
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionBreakdownRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionMetricsRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionSummaryRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiCombinedInsightsRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiMetrics.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/AiMetrics.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsRequestDto.d.ts +4 -4
- package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsResponseDto.d.ts +8 -11
- package/dist/sei-panorama-service/src/services/schemas/AiSummaryRequestDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiSummaryResponseDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownRequestDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/AiprVelocitySummaryRequestDto.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/schemas/AiprVelocitySummaryResponseDto.d.ts +39 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorMetrics.d.ts +40 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationPrVelocitySummary.d.ts +10 -0
- package/dist/sei-panorama-service/src/services/schemas/OverallMetrics.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/PrVelocitySummaryBreakdown.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/schemas/PrVelocitySummaryMetrics.d.ts +25 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityMetrics.d.ts +53 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryMetadata.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TrendDataPoint.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/schemas/UserMetrics.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfMetrics.d.ts +23 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.d.ts +0 -33
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.d.ts +0 -46
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityFilterValuesQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.js +0 -14
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.d.ts +0 -40
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesDataPointDto.d.ts +0 -41
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.d.ts +0 -15
- package/dist/sei-panorama-service/src/services/schemas/MttrBreakdownItemDto.d.ts +0 -22
- package/dist/sei-panorama-service/src/services/schemas/MttrBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/MttrDataPointDto.d.ts +0 -23
- package/dist/sei-panorama-service/src/services/schemas/MttrResponseDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/MttrResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/MttrSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateDataPointDto.d.ts +0 -35
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateDataPointDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateSummaryDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.d.ts +0 -46
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.d.ts +0 -27
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.d.ts +0 -47
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.d.ts +0 -31
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.d.ts +0 -17
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/PaginationParams.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/schemas/PaginationParams.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.d.ts +0 -6
- package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.d.ts +0 -48
- package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.js +0 -4
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesBreakdownItemDto.js → AiprVelocitySummaryRequestDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesBreakdownResponseDto.js → AiprVelocitySummaryResponseDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesDataPointDto.js → CursorMetrics.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesResponseDto.js → IntegrationPrVelocitySummary.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AgedVulnerabilitiesSummaryDto.js → OverallMetrics.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{IntegrationRawMetrics.js → PrVelocitySummaryBreakdown.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{MttrBreakdownResponseDto.js → PrVelocitySummaryMetrics.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{MttrBreakdownItemDto.js → ProductivityMetrics.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{MttrDataPointDto.js → SummaryMetadata.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{MttrSummaryDto.js → TrendDataPoint.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{OpenCloseRateBreakdownItemDto.js → WindsurfMetrics.js} +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
projectIdentifier: string;
|
|
8
|
-
orgIdentifier: string;
|
|
9
|
-
/**
|
|
10
|
-
* @format int32
|
|
11
|
-
*/
|
|
12
|
-
teamRefId: number;
|
|
13
|
-
/**
|
|
14
|
-
* @format date-time
|
|
15
|
-
*/
|
|
16
|
-
startDate: string;
|
|
17
|
-
/**
|
|
18
|
-
* @format date-time
|
|
19
|
-
*/
|
|
20
|
-
endDate: string;
|
|
21
|
-
metricType: 'AGED_VULNERABILITIES' | 'MTTR' | 'OPEN_CLOSE_RATE' | 'TOTAL_OPEN_VULNERABILITIES';
|
|
22
|
-
severity?: 'ALL' | 'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM';
|
|
23
|
-
assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
|
|
24
|
-
/**
|
|
25
|
-
* @format int32
|
|
26
|
-
* @default 0
|
|
27
|
-
*/
|
|
28
|
-
page?: number;
|
|
29
|
-
/**
|
|
30
|
-
* @format int32
|
|
31
|
-
* @default 20
|
|
32
|
-
*/
|
|
33
|
-
pageSize?: number;
|
|
34
|
-
sortBy?: string;
|
|
35
|
-
sortDirection?: string;
|
|
36
|
-
}
|
|
37
|
-
export type SecurityInsightsControllerGetSecurityDrilldownOkResponse = ResponseWithPagination<SecurityDrilldownResponseDto>;
|
|
38
|
-
export type SecurityInsightsControllerGetSecurityDrilldownErrorResponse = string;
|
|
39
|
-
export interface SecurityInsightsControllerGetSecurityDrilldownProps extends Omit<FetcherOptions<SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, unknown>, 'url'> {
|
|
40
|
-
queryParams: SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams;
|
|
41
|
-
}
|
|
42
|
-
export declare function securityInsightsControllerGetSecurityDrilldown(props: SecurityInsightsControllerGetSecurityDrilldownProps): Promise<SecurityInsightsControllerGetSecurityDrilldownOkResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* Retrieves detailed vulnerability records with pagination and filtering
|
|
45
|
-
*/
|
|
46
|
-
export declare function useSecurityInsightsControllerGetSecurityDrilldownQuery(props: SecurityInsightsControllerGetSecurityDrilldownProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetSecurityDrilldownOkResponse, string>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
-
export interface SecurityInsightsControllerGetSecurityFilterValuesQueryQueryParams {
|
|
5
|
-
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_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';
|
|
6
|
-
account: string;
|
|
7
|
-
}
|
|
8
|
-
export type SecurityInsightsControllerGetSecurityFilterValuesOkResponse = ResponseWithPagination<string[]>;
|
|
9
|
-
export type SecurityInsightsControllerGetSecurityFilterValuesErrorResponse = string[];
|
|
10
|
-
export interface SecurityInsightsControllerGetSecurityFilterValuesProps extends Omit<FetcherOptions<SecurityInsightsControllerGetSecurityFilterValuesQueryQueryParams, unknown>, 'url'> {
|
|
11
|
-
queryParams: SecurityInsightsControllerGetSecurityFilterValuesQueryQueryParams;
|
|
12
|
-
}
|
|
13
|
-
export declare function securityInsightsControllerGetSecurityFilterValues(props: SecurityInsightsControllerGetSecurityFilterValuesProps): Promise<SecurityInsightsControllerGetSecurityFilterValuesOkResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Returns a list of distinct values for a specific filter key (SNYK filters supported).
|
|
16
|
-
*/
|
|
17
|
-
export declare function useSecurityInsightsControllerGetSecurityFilterValuesQuery(props: SecurityInsightsControllerGetSecurityFilterValuesProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetSecurityFilterValuesOkResponse, SecurityInsightsControllerGetSecurityFilterValuesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetSecurityFilterValuesOkResponse, SecurityInsightsControllerGetSecurityFilterValuesErrorResponse>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 securityInsightsControllerGetSecurityFilterValues(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/security/filter_values`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Returns a list of distinct values for a specific filter key (SNYK filters supported).
|
|
11
|
-
*/
|
|
12
|
-
export function useSecurityInsightsControllerGetSecurityFilterValuesQuery(props, options) {
|
|
13
|
-
return useQuery(['SecurityInsightsControllerGetSecurityFilterValues', props.queryParams], ({ signal }) => securityInsightsControllerGetSecurityFilterValues(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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-time
|
|
15
|
-
*/
|
|
16
|
-
startDate: string;
|
|
17
|
-
/**
|
|
18
|
-
* @format date-time
|
|
19
|
-
*/
|
|
20
|
-
endDate: string;
|
|
21
|
-
granularity: string;
|
|
22
|
-
severity?: 'ALL' | 'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM';
|
|
23
|
-
assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
|
|
24
|
-
}
|
|
25
|
-
export type SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse = ResponseWithPagination<OpenVulnerabilitiesResponseDto>;
|
|
26
|
-
export type SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse = string;
|
|
27
|
-
export interface SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps extends Omit<FetcherOptions<SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams, unknown>, 'url'> {
|
|
28
|
-
queryParams: SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams;
|
|
29
|
-
}
|
|
30
|
-
export declare function securityInsightsControllerGetTotalOpenVulnerabilities(props: SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps): Promise<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Retrieves total count of open vulnerabilities with platform and severity breakdowns
|
|
33
|
-
*/
|
|
34
|
-
export declare function useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery(props: SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, string>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { AgedVulnerabilitiesBreakdownItemDto } from '../schemas/AgedVulnerabilitiesBreakdownItemDto';
|
|
2
|
-
/**
|
|
3
|
-
* Breakdown response for aged vulnerabilities grouped by team
|
|
4
|
-
*/
|
|
5
|
-
export interface AgedVulnerabilitiesBreakdownResponseDto {
|
|
6
|
-
/**
|
|
7
|
-
* End date of the period (yyyy-mm-dd)
|
|
8
|
-
* @format date
|
|
9
|
-
* @example "2024-12-30"
|
|
10
|
-
*/
|
|
11
|
-
endDate?: string;
|
|
12
|
-
/**
|
|
13
|
-
* List of teams with their aggregated metrics
|
|
14
|
-
*/
|
|
15
|
-
items?: AgedVulnerabilitiesBreakdownItemDto[];
|
|
16
|
-
/**
|
|
17
|
-
* Metric type
|
|
18
|
-
* @example "agedVulnerabilities"
|
|
19
|
-
*/
|
|
20
|
-
metric?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Start date of the period (yyyy-mm-dd)
|
|
23
|
-
* @format date
|
|
24
|
-
* @example "2024-10-01"
|
|
25
|
-
*/
|
|
26
|
-
startDate?: string;
|
|
27
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Single data point for aged vulnerabilities with age bucket breakdown
|
|
3
|
-
*/
|
|
4
|
-
export interface AgedVulnerabilitiesDataPointDto {
|
|
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
|
-
* End date of the period (yyyy-mm-dd)
|
|
25
|
-
* @format date
|
|
26
|
-
* @example "2024-10-31"
|
|
27
|
-
*/
|
|
28
|
-
endDate?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Start date of the period (yyyy-mm-dd)
|
|
31
|
-
* @format date
|
|
32
|
-
* @example "2024-10-01"
|
|
33
|
-
*/
|
|
34
|
-
startDate?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Total aged vulnerabilities
|
|
37
|
-
* @format int32
|
|
38
|
-
* @example 81
|
|
39
|
-
*/
|
|
40
|
-
total?: number;
|
|
41
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { AgedVulnerabilitiesDataPointDto } from '../schemas/AgedVulnerabilitiesDataPointDto';
|
|
2
|
-
import type { AgedVulnerabilitiesSummaryDto } from '../schemas/AgedVulnerabilitiesSummaryDto';
|
|
3
|
-
/**
|
|
4
|
-
* Response for aged vulnerabilities metric with age bucket breakdown
|
|
5
|
-
*/
|
|
6
|
-
export interface AgedVulnerabilitiesResponseDto {
|
|
7
|
-
/**
|
|
8
|
-
* Time-series data points with age bucket breakdown (0-30, 30-90, 90+ days)
|
|
9
|
-
*/
|
|
10
|
-
dataPoints?: AgedVulnerabilitiesDataPointDto[];
|
|
11
|
-
/**
|
|
12
|
-
* End date of the period (yyyy-mm-dd)
|
|
13
|
-
* @format date
|
|
14
|
-
* @example "2024-12-30"
|
|
15
|
-
*/
|
|
16
|
-
endDate?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Metric type
|
|
19
|
-
* @example "agedVulnerabilities"
|
|
20
|
-
*/
|
|
21
|
-
metric?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Start date of the period (yyyy-mm-dd)
|
|
24
|
-
* @format date
|
|
25
|
-
* @example "2024-10-01"
|
|
26
|
-
*/
|
|
27
|
-
startDate?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Summary statistics with total and change rate
|
|
30
|
-
*/
|
|
31
|
-
summary?: AgedVulnerabilitiesSummaryDto;
|
|
32
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Summary for aged vulnerabilities with total count and change rate
|
|
3
|
-
*/
|
|
4
|
-
export interface AgedVulnerabilitiesSummaryDto {
|
|
5
|
-
/**
|
|
6
|
-
* Percentage change compared to previous period
|
|
7
|
-
* @format double
|
|
8
|
-
* @example 8.3
|
|
9
|
-
*/
|
|
10
|
-
changeRate?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Total number of aged vulnerabilities exceeding SLA
|
|
13
|
-
* @format int32
|
|
14
|
-
* @example 45
|
|
15
|
-
*/
|
|
16
|
-
total?: number;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
2
|
-
import type { UserMetrics } from '../schemas/UserMetrics';
|
|
3
|
-
/**
|
|
4
|
-
* Integration raw metrics with pagination
|
|
5
|
-
*/
|
|
6
|
-
export interface IntegrationRawMetrics {
|
|
7
|
-
/**
|
|
8
|
-
* Pagination information
|
|
9
|
-
*/
|
|
10
|
-
pagination?: PaginationInfo;
|
|
11
|
-
/**
|
|
12
|
-
* List of user metrics
|
|
13
|
-
*/
|
|
14
|
-
users?: UserMetrics[];
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Team breakdown item for MTTR with average remediation time
|
|
3
|
-
*/
|
|
4
|
-
export interface MttrBreakdownItemDto {
|
|
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
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { MttrBreakdownItemDto } from '../schemas/MttrBreakdownItemDto';
|
|
2
|
-
/**
|
|
3
|
-
* Breakdown response for MTTR grouped by team
|
|
4
|
-
*/
|
|
5
|
-
export interface MttrBreakdownResponseDto {
|
|
6
|
-
/**
|
|
7
|
-
* End date of the period (yyyy-mm-dd)
|
|
8
|
-
* @format date
|
|
9
|
-
* @example "2024-12-30"
|
|
10
|
-
*/
|
|
11
|
-
endDate?: string;
|
|
12
|
-
/**
|
|
13
|
-
* List of teams with their aggregated metrics
|
|
14
|
-
*/
|
|
15
|
-
items?: MttrBreakdownItemDto[];
|
|
16
|
-
/**
|
|
17
|
-
* Metric type
|
|
18
|
-
* @example "mttr"
|
|
19
|
-
*/
|
|
20
|
-
metric?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Start date of the period (yyyy-mm-dd)
|
|
23
|
-
* @format date
|
|
24
|
-
* @example "2024-10-01"
|
|
25
|
-
*/
|
|
26
|
-
startDate?: string;
|
|
27
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Single data point for MTTR with average remediation time in days
|
|
3
|
-
*/
|
|
4
|
-
export interface MttrDataPointDto {
|
|
5
|
-
/**
|
|
6
|
-
* End date of the period (yyyy-mm-dd)
|
|
7
|
-
* @format date
|
|
8
|
-
* @example "2024-10-07"
|
|
9
|
-
*/
|
|
10
|
-
endDate?: string;
|
|
11
|
-
/**
|
|
12
|
-
* MTTR in days
|
|
13
|
-
* @format double
|
|
14
|
-
* @example 20
|
|
15
|
-
*/
|
|
16
|
-
mttr_days?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Start date of the period (yyyy-mm-dd)
|
|
19
|
-
* @format date
|
|
20
|
-
* @example "2024-10-01"
|
|
21
|
-
*/
|
|
22
|
-
startDate?: string;
|
|
23
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { MttrDataPointDto } from '../schemas/MttrDataPointDto';
|
|
2
|
-
import type { MttrSummaryDto } from '../schemas/MttrSummaryDto';
|
|
3
|
-
/**
|
|
4
|
-
* Response for MTTR metric with average remediation time in days
|
|
5
|
-
*/
|
|
6
|
-
export interface MttrResponseDto {
|
|
7
|
-
/**
|
|
8
|
-
* Time-series data points with mttr_days for each period
|
|
9
|
-
*/
|
|
10
|
-
dataPoints?: MttrDataPointDto[];
|
|
11
|
-
/**
|
|
12
|
-
* End date of the period (yyyy-mm-dd)
|
|
13
|
-
* @format date
|
|
14
|
-
* @example "2024-12-30"
|
|
15
|
-
*/
|
|
16
|
-
endDate?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Metric type
|
|
19
|
-
* @example "mttr"
|
|
20
|
-
*/
|
|
21
|
-
metric?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Start date of the period (yyyy-mm-dd)
|
|
24
|
-
* @format date
|
|
25
|
-
* @example "2024-10-01"
|
|
26
|
-
*/
|
|
27
|
-
startDate?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Summary statistics with MTTR days and change rate
|
|
30
|
-
*/
|
|
31
|
-
summary?: MttrSummaryDto;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Summary for MTTR with average days and change rate
|
|
3
|
-
*/
|
|
4
|
-
export interface MttrSummaryDto {
|
|
5
|
-
/**
|
|
6
|
-
* Percentage change compared to previous period
|
|
7
|
-
* @format double
|
|
8
|
-
* @example -10.2
|
|
9
|
-
*/
|
|
10
|
-
changeRate?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Mean Time to Remediate in days
|
|
13
|
-
* @format double
|
|
14
|
-
* @example 14.5
|
|
15
|
-
*/
|
|
16
|
-
mttrDays?: number;
|
|
17
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
opened_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
|
-
}
|
package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { OpenCloseRateBreakdownItemDto } from '../schemas/OpenCloseRateBreakdownItemDto';
|
|
2
|
-
/**
|
|
3
|
-
* Breakdown response for open/close rate grouped by team
|
|
4
|
-
*/
|
|
5
|
-
export interface OpenCloseRateBreakdownResponseDto {
|
|
6
|
-
/**
|
|
7
|
-
* End date of the period (yyyy-mm-dd)
|
|
8
|
-
* @format date
|
|
9
|
-
* @example "2024-12-30"
|
|
10
|
-
*/
|
|
11
|
-
endDate?: string;
|
|
12
|
-
/**
|
|
13
|
-
* List of teams with their aggregated metrics
|
|
14
|
-
*/
|
|
15
|
-
items?: OpenCloseRateBreakdownItemDto[];
|
|
16
|
-
/**
|
|
17
|
-
* Metric type
|
|
18
|
-
* @example "openCloseRate"
|
|
19
|
-
*/
|
|
20
|
-
metric?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Start date of the period (yyyy-mm-dd)
|
|
23
|
-
* @format date
|
|
24
|
-
* @example "2024-10-01"
|
|
25
|
-
*/
|
|
26
|
-
startDate?: string;
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Single data point for open/close rate with opened and closed counts
|
|
3
|
-
*/
|
|
4
|
-
export interface OpenCloseRateDataPointDto {
|
|
5
|
-
/**
|
|
6
|
-
* Count of vulnerabilities closed in this period
|
|
7
|
-
* @format int32
|
|
8
|
-
* @example 40
|
|
9
|
-
*/
|
|
10
|
-
closed_count?: 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 vulnerabilities opened in this period
|
|
19
|
-
* @format int32
|
|
20
|
-
* @example 60
|
|
21
|
-
*/
|
|
22
|
-
opened_count?: number;
|
|
23
|
-
/**
|
|
24
|
-
* Start date of the period (yyyy-mm-dd)
|
|
25
|
-
* @format date
|
|
26
|
-
* @example "2024-10-01"
|
|
27
|
-
*/
|
|
28
|
-
startDate?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Open/close rate (closed/opened)
|
|
31
|
-
* @format double
|
|
32
|
-
* @example 1.5
|
|
33
|
-
*/
|
|
34
|
-
value?: number;
|
|
35
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { OpenCloseRateDataPointDto } from '../schemas/OpenCloseRateDataPointDto';
|
|
2
|
-
import type { OpenCloseRateSummaryDto } from '../schemas/OpenCloseRateSummaryDto';
|
|
3
|
-
/**
|
|
4
|
-
* Response for open/close rate metric with opened and closed counts
|
|
5
|
-
*/
|
|
6
|
-
export interface OpenCloseRateResponseDto {
|
|
7
|
-
/**
|
|
8
|
-
* Time-series data points with opened_count and closed_count
|
|
9
|
-
*/
|
|
10
|
-
dataPoints?: OpenCloseRateDataPointDto[];
|
|
11
|
-
/**
|
|
12
|
-
* End date of the period (yyyy-mm-dd)
|
|
13
|
-
* @format date
|
|
14
|
-
* @example "2024-12-30"
|
|
15
|
-
*/
|
|
16
|
-
endDate?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Metric type
|
|
19
|
-
* @example "openCloseRate"
|
|
20
|
-
*/
|
|
21
|
-
metric?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Start date of the period (yyyy-mm-dd)
|
|
24
|
-
* @format date
|
|
25
|
-
* @example "2024-10-01"
|
|
26
|
-
*/
|
|
27
|
-
startDate?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Summary statistics with total rate and rate of change
|
|
30
|
-
*/
|
|
31
|
-
summary?: OpenCloseRateSummaryDto;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Summary for open/close rate with total rate and rate of change
|
|
3
|
-
*/
|
|
4
|
-
export interface OpenCloseRateSummaryDto {
|
|
5
|
-
/**
|
|
6
|
-
* Percentage change in rate compared to previous period
|
|
7
|
-
* @format double
|
|
8
|
-
* @example 12.5
|
|
9
|
-
*/
|
|
10
|
-
rateOfChangeRate?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Current open/close rate (closed/opened ratio)
|
|
13
|
-
* @format double
|
|
14
|
-
* @example 0.85
|
|
15
|
-
*/
|
|
16
|
-
totalRate?: number;
|
|
17
|
-
}
|