Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Monitoring Commands

The monitoring command group records security and compliance events against a system.

Push a Monitoring Event

pretorin monitoring push --system "My System" --title "Quarterly Access Review" \
  --event-type access_review --severity info

Event Types

TypeDescription
security_scanAutomated security scan result
configuration_changeInfrastructure or application configuration change
access_reviewPeriodic access review or audit
compliance_checkCompliance posture check or assessment

Severity Levels

SeverityDescription
criticalRequires immediate attention
highSignificant finding
mediumModerate finding
lowMinor finding
infoInformational event

Options

OptionDescription
--system / -sSystem name or ID (uses active context if omitted)
--framework / -fFramework ID (uses active context if omitted)
--title / -tEvent title (required)
--severityEvent severity (default: high)
--control / -cControl ID (e.g., sc-07, ac-02)
--description / -dDetailed event description
--event-typeEvent type (default: security_scan)
--update-control-statusAlso update the control status to in_progress

Context Requirement

The monitoring push command requires an active system context. Set it with pretorin context set or pass --system explicitly.