Skip to content
jc-rs
GitHub

ufw

--ufwv1.2.0

Converts `ufw status` command output to JSON

Linuxcommand
$ ufw status | jc-rs --ufw

A real pair

From the reference corpus (generic/ufw-inactive.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.

ufw statusgeneric
Status: inactive
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{
  "status": "inactive",
  "rules": []
}

Fixture coverage

6/6oracle-valid pairs match under the published structural JSON comparison

Magic syntax

jc-rs ufw statusjc-rs runs the command itself and parses what it prints. Recognised for: `ufw status`

Source: crates/jc-rs-parsers/src/security/ufw.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare