finish off sprint advisories and sprints
This commit is contained in:
@@ -160,6 +160,13 @@ internal static class WitnessCommandGroup
|
||||
Description = "Show only reachable witnesses."
|
||||
};
|
||||
|
||||
// EBPF-003: Add --probe-type filter option
|
||||
// Sprint: SPRINT_20260122_038_Scanner_ebpf_probe_type
|
||||
var probeTypeOption = new Option<string?>("--probe-type", new[] { "-p" })
|
||||
{
|
||||
Description = "Filter by eBPF probe type: kprobe, kretprobe, uprobe, uretprobe, tracepoint, usdt, fentry, fexit."
|
||||
}.FromAmong("kprobe", "kretprobe", "uprobe", "uretprobe", "tracepoint", "usdt", "fentry", "fexit");
|
||||
|
||||
var formatOption = new Option<string>("--format", new[] { "-f" })
|
||||
{
|
||||
Description = "Output format: table (default), json."
|
||||
@@ -176,6 +183,7 @@ internal static class WitnessCommandGroup
|
||||
vulnOption,
|
||||
tierOption,
|
||||
reachableOnlyOption,
|
||||
probeTypeOption,
|
||||
formatOption,
|
||||
limitOption,
|
||||
verboseOption
|
||||
@@ -187,6 +195,7 @@ internal static class WitnessCommandGroup
|
||||
var vuln = parseResult.GetValue(vulnOption);
|
||||
var tier = parseResult.GetValue(tierOption);
|
||||
var reachableOnly = parseResult.GetValue(reachableOnlyOption);
|
||||
var probeType = parseResult.GetValue(probeTypeOption);
|
||||
var format = parseResult.GetValue(formatOption)!;
|
||||
var limit = parseResult.GetValue(limitOption);
|
||||
var verbose = parseResult.GetValue(verboseOption);
|
||||
@@ -197,6 +206,7 @@ internal static class WitnessCommandGroup
|
||||
vuln,
|
||||
tier,
|
||||
reachableOnly,
|
||||
probeType,
|
||||
format,
|
||||
limit,
|
||||
verbose,
|
||||
|
||||
Reference in New Issue
Block a user