Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Created October 6, 2025 18:29
Show Gist options
  • Save austinsonger/6132507c093e4334cfaae79a72e31a1a to your computer and use it in GitHub Desktop.
Save austinsonger/6132507c093e4334cfaae79a72e31a1a to your computer and use it in GitHub Desktop.
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam stats
2025-10-06T18:21:33.299299Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:21:33.300963Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:21:33.303040Z INFO authorized_cli::config: Configuration loaded successfully
POA&M Statistics:
Total Items: 3
By Status:
Open: 2
In Progress: 1
Closed: 0
By Severity:
Critical: 1
High: 1
Medium: 1
Low: 0
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml core user create --name "Alice Smith" --email "[email protected]"
2025-10-06T18:21:57.174356Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:21:57.175687Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:21:57.178776Z INFO authorized_cli::config: Configuration loaded successfully
✓ User created successfully: Alice Smith ([email protected]) [ID: 7776a964-005b-4800-8682-b4b66a08484a]
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml core user create --name "Bob Johnson" --email "[email protected]"
2025-10-06T18:22:06.502796Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:22:06.504163Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:22:06.507332Z INFO authorized_cli::config: Configuration loaded successfully
✓ User created successfully: Bob Johnson ([email protected]) [ID: 8885709c-2c71-41f1-8e11-0e5ebeea21fa]
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam list
2025-10-06T18:22:24.935190Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:22:24.937332Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:22:24.939914Z INFO authorized_cli::config: Configuration loaded successfully
POA&M Items:
ID Title Severity Status Created
------------------------------------------------------------------------------------------------------
POAM-20251006-170934 Final Integration Test medium open 2025-10-06 17:09:34
POAM-20251006-170723 Critical Security Issue critical in_progress 2025-10-06 17:07:23
POAM-20251006-170525 Test POA&M Item high open 2025-10-06 17:05:25
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam update "POAM-20251006-XXXXXX" --status "in_progress"
2025-10-06T18:22:35.326601Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:22:35.327963Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:22:35.330514Z INFO authorized_cli::config: Configuration loaded successfully
POA&M item not found: POAM-20251006-XXXXXX
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam update "POAM-20251006-XXXXXX" --title "Updated Title" --status "closed"
2025-10-06T18:22:44.381298Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:22:44.382589Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:22:44.383442Z INFO authorized_cli::config: Configuration loaded successfully
POA&M item not found: POAM-20251006-XXXXXX
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam search "security"
./target/debug/authorized --config config.toml poam search "firewall"
2025-10-06T18:22:50.184183Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:22:50.185624Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:22:50.187146Z INFO authorized_cli::config: Configuration loaded successfully
Search Results for 'security':
ID Title Severity Status Created
------------------------------------------------------------------------------------------------------
POAM-20251006-170723 Critical Security Issue critical in_progress 2025-10-06 17:07:23
2025-10-06T18:22:50.335684Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:22:50.335857Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:22:50.336414Z INFO authorized_cli::config: Configuration loaded successfully
No POA&M items found matching: firewall
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam get "POAM-20251006-XXXXXX"
2025-10-06T18:23:00.104405Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:23:00.106978Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:23:00.109234Z INFO authorized_cli::config: Configuration loaded successfully
POA&M item not found: POAM-20251006-XXXXXX
austinsonger@MacBookPro easy % ./target/debug/authorized --config config.toml poam create --title "Security Vulnerability" --description "Critical SQL injection found" --severity "critical"
2025-10-06T18:23:48.394527Z INFO authorized_cli: Initialized authorized-cli v0.1.0
2025-10-06T18:23:48.397683Z INFO authorized_cli::config: Loading configuration from: config.toml
2025-10-06T18:23:48.400935Z INFO authorized_cli::config: Configuration loaded successfully
✓ POA&M created successfully: Security Vulnerability [ID: POAM-20251006-182348]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment