Advertisement
Guest User

Untitled

a guest
Nov 11th, 2020
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. - module: auditd
  2. # Load audit rules from separate files. Same format as audit.rules(7).
  3. audit_rule_files: [ '${path.config}/audit.rules.d/*.conf' ]
  4. audit_rules: |
  5. ## Define audit rules here.
  6.  
  7. - module: file_integrity
  8. paths:
  9. - /bin
  10. - /usr/bin
  11. - /sbin
  12. - /usr/sbin
  13. - /etc
  14.  
  15. - module: system
  16. datasets:
  17. - package # Installed, updated, and removed packages
  18.  
  19. period: 2m # The frequency at which the datasets check for changes
  20.  
  21. - module: system
  22. datasets:
  23. - host # General host information, e.g. uptime, IPs
  24. - login # User logins, logouts, and system boots.
  25. - process # Started and stopped processes
  26. - socket # Opened and closed sockets
  27. - user # User information
  28.  
  29. # How often datasets send state updates with the
  30. # current state of the system (e.g. all currently
  31. # running processes, all open sockets).
  32. state.period: 12h
  33.  
  34. # Enabled by default. Auditbeat will read password fields in
  35. # /etc/passwd and /etc/shadow and store a hash locally to
  36. # detect any changes.
  37. user.detect_password_changes: true
  38.  
  39. # File patterns of the login record files.
  40. login.wtmp_file_pattern: /var/log/wtmp*
  41. login.btmp_file_pattern: /var/log/btmp*
  42.  
  43. setup.template.settings:
  44. index.number_of_shards: 1
  45. #index.codec: best_compression
  46. #_source.enabled: false
  47. setup.dashboards.enabled: true
  48.  
  49. processors:
  50. - add_host_metadata: ~
  51. - add_cloud_metadata: ~
  52. - add_docker_metadata: ~
  53.  
  54. logging:
  55. level: info
  56. to_files: true
  57. to_syslog: false
  58. json: true
  59. files:
  60. path: '/var/log/auditbeat'
  61. name: 'auditbeat'
  62. keepfiles: '3'
  63. permissions: '0644'
  64.  
  65.  
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement