mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-11-30 19:11:51 +08:00
feat(tasks): stop tasks that miss a configurable findings checkpoint
This commit is contained in:
1 parent
39a8f2c31a
commit
997d2d98c0
24 files changed
+812
-64
No files matched your search
@@ -388,6 +388,9 @@ export const api = {
|
||||
sourceTaskIds?: string[];
|
||||
companyIds?: number[];
|
||||
timeoutSeconds?: number;
|
||||
noResultSeconds?: number;
|
||||
noResultMinFindings?: number;
|
||||
noResultMinSeverity?: "" | "low" | "medium" | "high" | "critical";
|
||||
seedFirstIntent?: boolean;
|
||||
planHeartbeatSeconds?: number;
|
||||
shareGlobalAssets?: boolean;
|
||||
@@ -406,6 +409,9 @@ export const api = {
|
||||
source_task_ids: input.sourceTaskIds ?? [],
|
||||
company_ids: input.companyIds ?? [],
|
||||
timeout_seconds: input.timeoutSeconds ?? 0,
|
||||
no_result_seconds: input.noResultSeconds ?? 0,
|
||||
no_result_min_findings: input.noResultMinFindings ?? 1,
|
||||
no_result_min_severity: input.noResultMinSeverity ?? "",
|
||||
seed_first_intent: input.seedFirstIntent ?? false,
|
||||
plan_heartbeat_seconds: input.planHeartbeatSeconds ?? 0, // 0 = 后端归一到默认 600(10min)
|
||||
share_global_assets: input.shareGlobalAssets ?? false,
|
||||
|
||||
Reference in new issue
Block a user