Access pass-fail validation outcome for a network snapshot
To quickly determine if a network snapshot passed all configured rules after analysis, use the invariant run command with the --condensed flag.
$ invariant run --condensed
snapshot: cf2bb04f-554f-4a84-a3e0-bf12a13c0e4e
outcome: All rules passed
To determine the status of an existing network snapshot, use invariant show with the snapshot ID.
$ invariant show --snapshot cf2bb04f-554f-4a84-a3e0-bf12a13c0e4e --condensed
snapshot: cf2bb04f-554f-4a84-a3e0-bf12a13c0e4e
outcome: All rules passed
Check the outcome: line in the output:
outcome: All rules passedindicates the snapshot passed all checks.outcome: Rule violations foundindicates one or more rules failed or were violated.
See Output Overview for more details on analyzing results.