Skip to content

Commit

Permalink
Fix default permissions on /etc/graylog/sidecar/sidecar.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Feb 21, 2024
1 parent 436cba6 commit 633b8f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
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 633b8f0

Please sign in to comment.