Skip to content

Commit

Permalink
Address review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarkowsky committed Jan 22, 2024
1 parent bb4298d commit b2bb9cc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Source/santactl/Commands/SNTCommandStatus.m
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ - (void)runWithArguments:(NSArray *)arguments {
} else {
printf(">>> Daemon Info\n");
printf(" %-25s | %s\n", "Mode", [clientMode UTF8String]);

if (enableTransitiveRules) {
printf(" %-25s | %s\n", "Transitive Rules", (enableTransitiveRules ? "Yes" : "No"));
}

printf(" %-25s | %s\n", "Log Type", [eventLogType UTF8String]);
printf(" %-25s | %s\n", "File Logging", (fileLogging ? "Yes" : "No"));
printf(" %-25s | %s\n", "USB Blocking", (blockUSBMount ? "Yes" : "No"));
Expand Down Expand Up @@ -312,10 +317,6 @@ - (void)runWithArguments:(NSArray *)arguments {
printf(" %-25s | %s\n", "Bundle Scanning", (enableBundles ? "Yes" : "No"));
}

if (enableTransitiveRules) {
printf(" %-25s | %s\n", "Transitive Rules", (enableTransitiveRules ? "Yes" : "No"));
}

if (exportMetrics) {
printf(">>> Metrics Info\n");
printf(" %-25s | %s\n", "Metrics Server", [[metricsURLStr absoluteString] UTF8String]);
Expand Down

0 comments on commit b2bb9cc

Please sign in to comment.