Skip to content

Commit

Permalink
main: Clarify input file-types in argument names.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfox-equinix authored and stephen-fox committed Aug 17, 2023
1 parent 155258d commit f3272ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ The following subsections discuss audito-maldito's configuration.
audito-maldito reads input data from named pipes (FIFOs). It expects these
data sources to be specified using the following arguments:

- `-auditd-log-file-path` - The file path to a named pipe that produces
- `-auditd-pipe-path` - The file path to a named pipe that produces
Linux auditd events (i.e., events from "/var/log/audit/audit.log")
- `-sshd-log-file-path` - The file path to a named pipe that produces
- `-sshd-pipe-path` - The file path to a named pipe that produces
OpenSSH sshd logs

#### Required files
Expand Down
8 changes: 4 additions & 4 deletions cmd/namedpipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ func RunNamedPipe(ctx context.Context, osArgs []string, h *health.Health, optLog
"Path to the app events output")
flagSet.StringVar(
&sshdLogFilePath,
"sshd-log-file-path",
"sshd-pipe-path",
"/app-audit/sshd-pipe",
"Path to the sshd log file")
"Path to the sshd log named pipe file")
flagSet.StringVar(
&auditdLogFilePath,
"auditd-log-file-path",
"auditd-pipe-path",
"/app-audit/audit-pipe",
"Path to the audit log file")
"Path to the audit log named pipe file")

flagSet.Usage = func() {
os.Stderr.WriteString(usage)
Expand Down

0 comments on commit f3272ca

Please sign in to comment.