Syntax
sigma metadata SUBCOMMANDDescription
The sigma metadata command manages documentation. Subcommands allows you to
output Sigma's metadata, output the hardcoded secret patterns, or get command
help.
| Subcommand | Description |
|---|---|
| documentation [help | json [FLAGS]] |
The
|
| hardcoded-secret-patterns [help | text [FLAGS]] |
The
|
| help | Display help for the sigma metadata command. |
Flags for sigma metadata documentation
| Flag | Description |
|---|---|
|
|
Print help information. |
|
|
Specify the file to save the output to. You can also set this value using the
environment variable
If
unspecified, the output is written to the standard output
( |
|
|
Pretty-print the JSON output. This is equivalent to setting the environment variable
|
|
|
Output the JSON schema instead of the metadata. This is equivalent to setting the
environment variable
|
-v VERSION, --version
VERSION |
Specify the version of the output. This allows locking into a specific version of the output. One situation where you might want to do this is if you need to delay upgrading to a new version, if you have a script that is incompatible. To include taxonomy information, set the version tov2 (or
higher).You can also set this value using the environment
variable
Possible
values: Default
value: the highest version ( |
Flags for sigma metadata hardcoded-secret-patterns
| Flag | Description |
|---|---|
|
|
Print help information. |
|
|
Specify the file to save the output to. You can also set this value using the
environment variable
If
unspecified, the output is written to the standard output
( |
Examples
./sigma metadata documentation json -p -o sigma-checkers.json -v v1
./sigma metadata hardcoded-secret-patterns text --output hcs.txt