Skip to content

Commit

Permalink
Fix default permissions on /etc/graylog/sidecar/sidecar.yml file (#491)
Browse files Browse the repository at this point in the history
* Fix default permissions on /etc/graylog/sidecar/sidecar.yml file

* Add changelog file
  • Loading branch information
bernd authored Mar 13, 2024
1 parent 436cba6 commit a4f0ff2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog/unreleased/pr-491.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type = "f"
message = "Fix default permissions on `/etc/graylog/sidecar/sidecar.yml` file."

pulls = ["491"]
1 change: 1 addition & 0 deletions dist/recipe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def install
lib('graylog-sidecar').install '../../collectors/filebeat/linux/x86_64/filebeat'
lib('graylog-sidecar').install '../../collectors/auditbeat/linux/x86_64/auditbeat'
etc('graylog/sidecar').install '../../../sidecar-example.yml', 'sidecar.yml'
etc('graylog/sidecar/sidecar.yml').chmod(0600)
var('lib/graylog-sidecar/generated').mkdir
var('log/graylog-sidecar').mkdir
var('run/graylog-sidecar').mkdir
Expand Down
1 change: 1 addition & 0 deletions dist/recipe32.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def install
lib('graylog-sidecar').install '../../collectors/filebeat/linux/x86/filebeat'
lib('graylog-sidecar').install '../../collectors/auditbeat/linux/x86/auditbeat'
etc('graylog/sidecar').install '../../../sidecar-example.yml', 'sidecar.yml'
etc('graylog/sidecar/sidecar.yml').chmod(0600)
var('lib/graylog-sidecar/generated').mkdir
var('log/graylog-sidecar').mkdir
var('run/graylog-sidecar').mkdir
Expand Down
1 change: 1 addition & 0 deletions dist/recipearm64.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def install
lib('graylog-sidecar').install '../../collectors/filebeat/linux/arm64/filebeat'
lib('graylog-sidecar').install '../../collectors/auditbeat/linux/arm64/auditbeat'
etc('graylog/sidecar').install '../../../sidecar-example.yml', 'sidecar.yml'
etc('graylog/sidecar/sidecar.yml').chmod(0600)
var('lib/graylog-sidecar/generated').mkdir
var('log/graylog-sidecar').mkdir
var('run/graylog-sidecar').mkdir
Expand Down
1 change: 1 addition & 0 deletions dist/recipearmv7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def build
def install
bin.install 'graylog-sidecar'
etc('graylog/sidecar').install '../../../sidecar-example.yml', 'sidecar.yml'
etc('graylog/sidecar/sidecar.yml').chmod(0600)
var('lib/graylog-sidecar/generated').mkdir
var('log/graylog-sidecar').mkdir
var('run/graylog-sidecar').mkdir
Expand Down

0 comments on commit a4f0ff2

Please sign in to comment.