Skip to content

Add probe tier to --list_probes #1330

@erickgalinkin

Description

@erickgalinkin

Summary

When enumerating probes, also print the tier of the probe. Alternately/additionally, allow --list_probes to accept an optional argument to list only probes of that tier.

Basic example

garak --list_probes yields something like:

probes: ansiescape 🌟                       
probes: ansiescape.AnsiEscaped.      Tier 1
probes: ansiescape.AnsiRaw.              Tier 2
...

garak --list_probes 1 yields something like:

probes: ansiescape.AnsiEscaped.      Tier 1
probes: dan.Ablation_Dan_11_0.         Tier 1

etc.

Motivation

Help people identify/search for probes a little more cleanly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dontautocloseThe `stale` workflow should not mark thisgood first issueGood for newcomersuxInterface & interaction improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions