Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ph committed Oct 10, 2019
1 parent 9b4981f commit 3a9e984
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions auditbeat/auditbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1341,12 +1341,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2042,12 +2042,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions heartbeat/heartbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1485,12 +1485,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions journalbeat/journalbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1286,12 +1286,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions libbeat/_meta/config.reference.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1229,12 +1229,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions libbeat/api/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type Config struct {
Enabled bool `config:"enabled"`
Host string `config:"host"`
Port int `config:"port"`
User string `config:"user"`
SecurityDescriptor string `config:"security_descriptor"`
User string `config:"named_pipe.user"`
SecurityDescriptor string `config:"named_pipe.security_descriptor"`
}

var (
Expand Down
4 changes: 2 additions & 2 deletions libbeat/docs/http-endpoint.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ The HTTP endpoint has the following configuration settings:
`http.host`:: (Optional) Bind to this hostname, IP address, unix socket (unix:///var/run/{beatname_lc}.sock) or Windows named pipe (npipe:///{beatname_lc}).
It is recommended to use only localhost. Default is `localhost`
`http.port`:: (Optional) Port on which the HTTP endpoint will bind. Default is `5066`.
`http.user`:: (Optional) User to use to create the named pipe, only work on Windows, Default to the
`http.named_pipe.user`:: (Optional) User to use to create the named pipe, only work on Windows, Default to the
current user.
`http.security_descriptor`:: (Optional) Windows Security descriptor string defined in the SDDL format. Default to
`http.named_pipe.security_descriptor`:: (Optional) Windows Security descriptor string defined in the SDDL format. Default to
read and write permission for the current user.

This is the list of paths you can access. For pretty JSON output append ?pretty to the URL.
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2001,12 +2001,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions packetbeat/packetbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1718,12 +1718,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions winlogbeat/winlogbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1262,12 +1262,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions x-pack/auditbeat/auditbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1392,12 +1392,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions x-pack/filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2354,12 +2354,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions x-pack/functionbeat/functionbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1183,12 +1183,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2136,12 +2136,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down
4 changes: 2 additions & 2 deletions x-pack/winlogbeat/winlogbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1274,12 +1274,12 @@ logging.files:
#http.port: 5066

# Define which user should be owning the named pipe.
#http.user:
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.security_descriptor:
#http.named_pipe.security_descriptor:

#============================= Process Security ================================

Expand Down

0 comments on commit 3a9e984

Please sign in to comment.