@harnessio/react-sei-panorama-service-client 0.25.19 → 0.25.20
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/useIntegrationControllerGetIntegrationProjectsQuery.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetIntegrationProjectsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetIntegrationReposQuery.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetIntegrationReposQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerExecuteMigrationMutation.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useMigrationControllerExecuteMigrationMutation.js +18 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetAgedVulnerabilitiesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetMttrQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenCloseRateQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.d.ts +46 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +56 -0
- package/dist/sei-panorama-service/src/services/index.js +13 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.d.ts +40 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownItemDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesBreakdownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesDataPointDto.d.ts +41 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesDataPointDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesSummaryDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/AgedVulnerabilitiesSummaryDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorMetrics.d.ts +8 -8
- package/dist/sei-panorama-service/src/services/schemas/IntegrationSummary.d.ts +16 -3
- package/dist/sei-panorama-service/src/services/schemas/IntegrationWithValuesDto.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationWithValuesDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationConfig.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationConfig.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationExecutionResponse.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationExecutionResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationScriptResponse.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/MigrationScriptResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MvAnalysis.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MvAnalysis.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownItemDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateBreakdownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateDataPointDto.d.ts +35 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateDataPointDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateSummaryDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenCloseRateSummaryDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.d.ts +46 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.d.ts +47 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesSummaryDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/PrCycleTimeDrilldownResponseDataPointV3.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityDrilldownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownItemDto.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownItemDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownResponseDto.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrBreakdownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrDataPointDto.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrDataPointDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrResponseDto.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrSummaryDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityMttrSummaryDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.d.ts +51 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/TenantMvAnalysis.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/TenantMvAnalysis.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.d.ts +48 -0
- package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownItemDto.d.ts
ADDED
|
@@ -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
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { OpenVulnerabilitiesBreakdownItemDto } from '../schemas/OpenVulnerabilitiesBreakdownItemDto';
|
|
2
|
+
/**
|
|
3
|
+
* Breakdown response for open vulnerabilities grouped by team
|
|
4
|
+
*/
|
|
5
|
+
export interface OpenVulnerabilitiesBreakdownResponseDto {
|
|
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?: OpenVulnerabilitiesBreakdownItemDto[];
|
|
16
|
+
/**
|
|
17
|
+
* Metric type
|
|
18
|
+
* @example "totalOpenVulnerabilities"
|
|
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
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesBreakdownResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
* Count of high severity vulnerabilities
|
|
13
|
+
* @format int32
|
|
14
|
+
* @example 95
|
|
15
|
+
*/
|
|
16
|
+
HIGH?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Count of low severity vulnerabilities
|
|
19
|
+
* @format int32
|
|
20
|
+
* @example 88
|
|
21
|
+
*/
|
|
22
|
+
LOW?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Count of medium severity vulnerabilities
|
|
25
|
+
* @format int32
|
|
26
|
+
* @example 145
|
|
27
|
+
*/
|
|
28
|
+
MEDIUM?: number;
|
|
29
|
+
/**
|
|
30
|
+
* End date of the period (yyyy-mm-dd)
|
|
31
|
+
* @format date
|
|
32
|
+
* @example "2024-10-07"
|
|
33
|
+
*/
|
|
34
|
+
endDate?: string;
|
|
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,31 @@
|
|
|
1
|
+
import type { OpenVulnerabilitiesDataPointDto } from '../schemas/OpenVulnerabilitiesDataPointDto';
|
|
2
|
+
import type { OpenVulnerabilitiesSummaryDto } from '../schemas/OpenVulnerabilitiesSummaryDto';
|
|
3
|
+
/**
|
|
4
|
+
* Response for total open vulnerabilities metric with severity breakdown
|
|
5
|
+
*/
|
|
6
|
+
export interface OpenVulnerabilitiesResponseDto {
|
|
7
|
+
/**
|
|
8
|
+
* Time-series data points with severity breakdown
|
|
9
|
+
*/
|
|
10
|
+
dataPoints?: OpenVulnerabilitiesDataPointDto[];
|
|
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
|
+
*/
|
|
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
|
+
/**
|
|
28
|
+
* Summary statistics with total and change rate
|
|
29
|
+
*/
|
|
30
|
+
summary?: OpenVulnerabilitiesSummaryDto;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,27 @@
|
|
|
1
|
+
import type { SecurityMttrBreakdownItemDto } from '../schemas/SecurityMttrBreakdownItemDto';
|
|
2
|
+
/**
|
|
3
|
+
* Breakdown response for MTTR grouped by team
|
|
4
|
+
*/
|
|
5
|
+
export interface SecurityMttrBreakdownResponseDto {
|
|
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?: SecurityMttrBreakdownItemDto[];
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single data point for MTTR with average remediation time in days
|
|
3
|
+
*/
|
|
4
|
+
export interface SecurityMttrDataPointDto {
|
|
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
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SecurityMttrDataPointDto } from '../schemas/SecurityMttrDataPointDto';
|
|
2
|
+
import type { SecurityMttrSummaryDto } from '../schemas/SecurityMttrSummaryDto';
|
|
3
|
+
/**
|
|
4
|
+
* Response for MTTR metric with average remediation time in days
|
|
5
|
+
*/
|
|
6
|
+
export interface SecurityMttrResponseDto {
|
|
7
|
+
/**
|
|
8
|
+
* Time-series data points with mttr_days for each period
|
|
9
|
+
*/
|
|
10
|
+
dataPoints?: SecurityMttrDataPointDto[];
|
|
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?: SecurityMttrSummaryDto;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Summary for MTTR with average days and change rate
|
|
3
|
+
*/
|
|
4
|
+
export interface SecurityMttrSummaryDto {
|
|
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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simplified filter definition
|
|
3
|
+
*/
|
|
4
|
+
export interface SimpleFilter {
|
|
5
|
+
/**
|
|
6
|
+
* Filter key
|
|
7
|
+
* @example "PROJECT"
|
|
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';
|
|
10
|
+
/**
|
|
11
|
+
* Filter ID
|
|
12
|
+
* @format int32
|
|
13
|
+
* @example 1831
|
|
14
|
+
*/
|
|
15
|
+
id?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Integration ID
|
|
18
|
+
* @format int32
|
|
19
|
+
* @example 84
|
|
20
|
+
*/
|
|
21
|
+
integrationId?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Whether this is a custom filter
|
|
24
|
+
*/
|
|
25
|
+
isCustom?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Filter operator
|
|
28
|
+
* @example "EQUALS"
|
|
29
|
+
*/
|
|
30
|
+
operator?: 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with';
|
|
31
|
+
/**
|
|
32
|
+
* Filter values
|
|
33
|
+
* @example ["PROJ1","PROJ2"]
|
|
34
|
+
*/
|
|
35
|
+
values?: string[];
|
|
36
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { BaTeamCategoryDefinition } from '../schemas/BaTeamCategoryDefinition';
|
|
2
|
+
import type { TeamInsightConfigDto } from '../schemas/TeamInsightConfigDto';
|
|
3
|
+
import type { SimpleFilter } from '../schemas/SimpleFilter';
|
|
4
|
+
import type { IntegrationSummary } from '../schemas/IntegrationSummary';
|
|
5
|
+
/**
|
|
6
|
+
* Complete filter definitions and configurations for a team
|
|
7
|
+
*/
|
|
8
|
+
export interface TeamFiltersResponseDto {
|
|
9
|
+
/**
|
|
10
|
+
* Business alignment category definitions for the team
|
|
11
|
+
*/
|
|
12
|
+
category_definitions?: BaTeamCategoryDefinition[];
|
|
13
|
+
/**
|
|
14
|
+
* List of integration types that have filters configured
|
|
15
|
+
*/
|
|
16
|
+
configured_integration_types?: Array<'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY'>;
|
|
17
|
+
/**
|
|
18
|
+
* Insight configurations grouped by insight type
|
|
19
|
+
*/
|
|
20
|
+
insight_configurations?: {
|
|
21
|
+
[key: string]: TeamInsightConfigDto[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Integration-specific filters grouped by integration type (simplified)
|
|
25
|
+
*/
|
|
26
|
+
integration_filters?: {
|
|
27
|
+
[key: string]: SimpleFilter[];
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Number of integration types with filters configured
|
|
31
|
+
* @format int32
|
|
32
|
+
* @example 5
|
|
33
|
+
*/
|
|
34
|
+
integration_types_count?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Integrations configured for this team
|
|
37
|
+
*/
|
|
38
|
+
team_integrations?: IntegrationSummary[];
|
|
39
|
+
/**
|
|
40
|
+
* Team reference identifier
|
|
41
|
+
* @format int32
|
|
42
|
+
* @example 123
|
|
43
|
+
*/
|
|
44
|
+
team_ref_id: number;
|
|
45
|
+
/**
|
|
46
|
+
* Total number of filters across all integration types
|
|
47
|
+
* @format int32
|
|
48
|
+
* @example 42
|
|
49
|
+
*/
|
|
50
|
+
total_filter_count?: number;
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
severity?: 'ALL' | 'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM';
|
|
43
|
+
status?: 'IGNORED' | 'IN_PROGRESS' | 'OPEN' | 'RESOLVED';
|
|
44
|
+
targetFile?: string;
|
|
45
|
+
title?: string;
|
|
46
|
+
url?: string;
|
|
47
|
+
vulnerabilityId?: string;
|
|
48
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.20",
|
|
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",
|