Skip to content

Commit 5c96c49

Browse files
committed
bump version; add contributors
Signed-off-by: Jeffrey Martin <[email protected]>
1 parent 76f2b95 commit 5c96c49

File tree

3 files changed

+44
-19
lines changed

3 files changed

+44
-19
lines changed

docs/source/cliref.rst

+38-17
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CLI reference for garak
33

44
::
55

6-
garak LLM vulnerability scanner v0.10.0 ( https://github.com/NVIDIA/garak ) at 2024-10-31T09:41:09.763226
6+
garak LLM vulnerability scanner v0.10.1 ( https://github.com/NVIDIA/garak ) at 2024-12-19T11:28:00.501208
77
usage: python -m garak [-h] [--verbose] [--report_prefix REPORT_PREFIX]
88
[--narrow_output]
99
[--parallel_requests PARALLEL_REQUESTS]
@@ -12,15 +12,19 @@ CLI reference for garak
1212
[--eval_threshold EVAL_THRESHOLD]
1313
[--generations GENERATIONS] [--config CONFIG]
1414
[--model_type MODEL_TYPE] [--model_name MODEL_NAME]
15-
[--generator_option_file GENERATOR_OPTION_FILE | --generator_options GENERATOR_OPTIONS]
1615
[--probes PROBES] [--probe_tags PROBE_TAGS]
17-
[--probe_option_file PROBE_OPTION_FILE | --probe_options PROBE_OPTIONS]
1816
[--detectors DETECTORS] [--extended_detectors]
19-
[--buffs BUFFS] [--taxonomy TAXONOMY]
20-
[--plugin_info PLUGIN_INFO] [--list_probes]
21-
[--list_detectors] [--list_generators] [--list_buffs]
22-
[--list_config] [--version] [--report REPORT]
23-
[--interactive] [--generate_autodan] [--interactive.py]
17+
[--buffs BUFFS]
18+
[--buff_option_file BUFF_OPTION_FILE | --buff_options BUFF_OPTIONS]
19+
[--detector_option_file DETECTOR_OPTION_FILE | --detector_options DETECTOR_OPTIONS]
20+
[--generator_option_file GENERATOR_OPTION_FILE | --generator_options GENERATOR_OPTIONS]
21+
[--harness_option_file HARNESS_OPTION_FILE | --harness_options HARNESS_OPTIONS]
22+
[--probe_option_file PROBE_OPTION_FILE | --probe_options PROBE_OPTIONS]
23+
[--taxonomy TAXONOMY] [--plugin_info PLUGIN_INFO]
24+
[--list_probes] [--list_detectors] [--list_generators]
25+
[--list_buffs] [--list_config] [--version]
26+
[--report REPORT] [--interactive] [--generate_autodan]
27+
[--interactive.py] [--fix]
2428
2529
LLM safety & security scanning tool
2630
@@ -51,21 +55,12 @@ CLI reference for garak
5155
--model_name MODEL_NAME, -n MODEL_NAME
5256
name of the model, e.g.
5357
'timdettmers/guanaco-33b-merged'
54-
--generator_option_file GENERATOR_OPTION_FILE, -G GENERATOR_OPTION_FILE
55-
path to JSON file containing options to pass to
56-
generator
57-
--generator_options GENERATOR_OPTIONS
58-
options to pass to the generator
5958
--probes PROBES, -p PROBES
6059
list of probe names to use, or 'all' for all
6160
(default).
6261
--probe_tags PROBE_TAGS
6362
only include probes with a tag that starts with this
6463
value (e.g. owasp:llm01)
65-
--probe_option_file PROBE_OPTION_FILE, -P PROBE_OPTION_FILE
66-
path to JSON file containing options to pass to probes
67-
--probe_options PROBE_OPTIONS
68-
options to pass to probes, formatted as a JSON dict
6964
--detectors DETECTORS, -d DETECTORS
7065
list of detectors to use, or 'all' for all. Default is
7166
to use the probe's suggestion.
@@ -74,6 +69,29 @@ CLI reference for garak
7469
primary detector, if given, else everything)
7570
--buffs BUFFS, -b BUFFS
7671
list of buffs to use. Default is none
72+
--buff_option_file BUFF_OPTION_FILE, -B BUFF_OPTION_FILE
73+
path to JSON file containing options to pass to buff
74+
--buff_options BUFF_OPTIONS
75+
options to pass to buff, formatted as a JSON dict
76+
--detector_option_file DETECTOR_OPTION_FILE, -D DETECTOR_OPTION_FILE
77+
path to JSON file containing options to pass to
78+
detector
79+
--detector_options DETECTOR_OPTIONS
80+
options to pass to detector, formatted as a JSON dict
81+
--generator_option_file GENERATOR_OPTION_FILE, -G GENERATOR_OPTION_FILE
82+
path to JSON file containing options to pass to
83+
generator
84+
--generator_options GENERATOR_OPTIONS
85+
options to pass to generator, formatted as a JSON dict
86+
--harness_option_file HARNESS_OPTION_FILE, -H HARNESS_OPTION_FILE
87+
path to JSON file containing options to pass to
88+
harness
89+
--harness_options HARNESS_OPTIONS
90+
options to pass to harness, formatted as a JSON dict
91+
--probe_option_file PROBE_OPTION_FILE, -P PROBE_OPTION_FILE
92+
path to JSON file containing options to pass to probe
93+
--probe_options PROBE_OPTIONS
94+
options to pass to probe, formatted as a JSON dict
7795
--taxonomy TAXONOMY specify a MISP top-level taxonomy to be used for
7896
grouping probes in reporting. e.g. 'avid-effect',
7997
'owasp'
@@ -92,5 +110,8 @@ CLI reference for garak
92110
--generate_autodan generate AutoDAN prompts; requires --prompt_options
93111
with JSON containing a prompt and target
94112
--interactive.py Launch garak in interactive.py mode
113+
--fix Update provided configuration with fixer migrations;
114+
requires one of --config / --*_option_file, /
115+
--*_options
95116
96117
See https://github.com/NVIDIA/garak

garak/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Top-level package for garak"""
22

3-
__version__ = "0.10.0.post1"
3+
__version__ = "0.10.1"
44
__app__ = "garak"
55
__description__ = "LLM vulnerability scanner"

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "garak"
7-
version = "0.10.0.post1"
7+
version = "0.10.1"
88
authors = [
99
{ name = "Leon Derczynski", email="[email protected]" },
1010
{ name = "Subho Majumdar", email="[email protected]" },
@@ -30,6 +30,10 @@ authors = [
3030
{ name = "Martin Borup-Larsen" },
3131
{ name = "Emmanuel Ferdman" },
3232
{ name = "Eric Therond" },
33+
{ name = "Zoe Nolan" },
34+
{ name = "Harsh Raj" },
35+
{ name = "Shine-afk" },
36+
{ name = "Rafael Sandroni" },
3337
]
3438
license = { file = "LICENSE" }
3539
description = "LLM vulnerability scanner"

0 commit comments

Comments
 (0)