Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions documentation/rule-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ The rule language grammar, expressed in a BNF-like syntax, is the following:
target ::= "allow" | "block" | "reject".

device_id ::= "*:*" | vendor_id ":*" | vendor_id ":" product_id.
device_id ::= .

device_attributes ::= device_attributes | attribute.
device_attributes ::= .
device_attributes ::= device_attributes attribute. | attribute.

conditions ::= conditions | condition.
conditions ::= .
conditions ::= conditions condition. | condition.

See [Device attributes](https://github.com/dkopecek/usbguard#device-attributes) section for the list of available attributes and [Conditions](https://github.com/dkopecek/usbguard#conditions) for the list of supported rule conditions.

Expand Down