@harnessio/react-ssca-manager-client 0.84.37 → 0.84.38
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/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionAffectedTargetsQuery.d.ts +1 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionDetailQuery.d.ts +1 -0
- package/dist/ssca-manager/src/services/hooks/useRemediateAffectedTargetQuery.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/TriageFindingDetail.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/TriageFindingSummary.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/VulnerabilityFindingDetail.d.ts +15 -1
- package/dist/ssca-manager/src/services/schemas/VulnerabilityFindingSummary.d.ts +15 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { AffectedTargetRemediationResponse } from '../schemas/AffectedTargetRemediationResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { RemediationPrRequest } from '../schemas/RemediationPrRequest';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface RemediateAffectedTargetQueryPathParams {
|
|
@@ -14,7 +14,7 @@ export interface RemediateAffectedTargetQueryQueryParams {
|
|
|
14
14
|
export interface RemediateAffectedTargetQueryHeaderParams {
|
|
15
15
|
'Harness-Account': string;
|
|
16
16
|
}
|
|
17
|
-
export type RemediateAffectedTargetRequestBody =
|
|
17
|
+
export type RemediateAffectedTargetRequestBody = RemediationPrRequest;
|
|
18
18
|
export type RemediateAffectedTargetOkResponse = ResponseWithPagination<AffectedTargetRemediationResponse>;
|
|
19
19
|
export type RemediateAffectedTargetErrorResponse = unknown;
|
|
20
20
|
export interface RemediateAffectedTargetProps extends RemediateAffectedTargetQueryPathParams, Omit<FetcherOptions<RemediateAffectedTargetQueryQueryParams, RemediateAffectedTargetRequestBody, RemediateAffectedTargetQueryHeaderParams>, 'url'> {
|
|
@@ -11,6 +11,10 @@ export interface TriageFindingDetail {
|
|
|
11
11
|
originating_org_identifier?: string;
|
|
12
12
|
originating_project_identifier?: string;
|
|
13
13
|
scan_id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Scanner/product name that produced the originating scan (e.g. Bandit, Aqua Trivy)
|
|
16
|
+
*/
|
|
17
|
+
scan_tool?: string;
|
|
14
18
|
step_executions?: AiWorkflowStepExecution[];
|
|
15
19
|
target_id?: string;
|
|
16
20
|
target_name?: string;
|
|
@@ -7,6 +7,10 @@ export interface TriageFindingSummary {
|
|
|
7
7
|
originating_org_identifier?: string;
|
|
8
8
|
originating_project_identifier?: string;
|
|
9
9
|
scan_id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Scanner/product name that produced the originating scan (e.g. Bandit, Aqua Trivy)
|
|
12
|
+
*/
|
|
13
|
+
scan_tool?: string;
|
|
10
14
|
target_id?: string;
|
|
11
15
|
target_name?: string;
|
|
12
16
|
triggering_pipeline_execution_id?: string;
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
import type { AlertContext } from '../schemas/AlertContext';
|
|
2
2
|
/**
|
|
3
|
-
* Vulnerability/Zero-Day-specific fields in the execution detail
|
|
3
|
+
* Vulnerability/Zero-Day-specific fields in the execution detail. Findings are grained per (package, version); purl is the versioned package URL.
|
|
4
4
|
*/
|
|
5
5
|
export interface VulnerabilityFindingDetail {
|
|
6
6
|
affected_targets_count?: number;
|
|
7
7
|
affected_versions?: string[];
|
|
8
8
|
alert_context?: AlertContext;
|
|
9
|
+
/**
|
|
10
|
+
* Package name for this finding.
|
|
11
|
+
*/
|
|
9
12
|
component_name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Installed/vulnerable package version for this finding.
|
|
15
|
+
*/
|
|
10
16
|
component_version?: string;
|
|
11
17
|
cve_id?: string;
|
|
12
18
|
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* When the finding was first detected (ISO-8601)
|
|
21
|
+
*/
|
|
22
|
+
detection_time?: string;
|
|
13
23
|
ecosystem?: string;
|
|
14
24
|
fixed_version?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Versioned Package URL (purl) identifying this specific (package, version) finding.
|
|
27
|
+
*/
|
|
28
|
+
purl?: string;
|
|
15
29
|
severity?: string;
|
|
16
30
|
skipped_no_git_metadata?: number;
|
|
17
31
|
skipped_no_metadata?: number;
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vulnerability/Zero-Day-specific fields in the execution summary
|
|
2
|
+
* Vulnerability/Zero-Day-specific fields in the execution summary. Findings are grained per (package, version); purl is the versioned package URL.
|
|
3
3
|
*/
|
|
4
4
|
export interface VulnerabilityFindingSummary {
|
|
5
5
|
affected_targets_count?: number;
|
|
6
6
|
affected_versions?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* Package name for this finding.
|
|
9
|
+
*/
|
|
7
10
|
component_name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Installed/vulnerable package version for this finding.
|
|
13
|
+
*/
|
|
8
14
|
component_version?: string;
|
|
9
15
|
cve_id?: string;
|
|
10
16
|
/**
|
|
11
17
|
* Advisory description text
|
|
12
18
|
*/
|
|
13
19
|
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* When the finding was first detected (ISO-8601)
|
|
22
|
+
*/
|
|
23
|
+
detection_time?: string;
|
|
14
24
|
ecosystem?: string;
|
|
15
25
|
fixed_version?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Versioned Package URL (purl) identifying this specific (package, version) finding.
|
|
28
|
+
*/
|
|
29
|
+
purl?: string;
|
|
16
30
|
severity?: string;
|
|
17
31
|
}
|