Advertisement
BelluX

Untitled

Feb 10th, 2023
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. config_version: v1.0
  2. crowdsec_config:
  3. lapi_key: ${API_KEY}
  4. lapi_url: ${CROWDSEC_LAPI_URL}
  5. update_frequency: 10s
  6. include_scenarios_containing: []
  7. exclude_scenarios_containing: []
  8. only_include_decisions_from: []
  9. insecure_skip_verify: false
  10.  
  11. blocklists:
  12. - format: plain_text # Supported formats are either of "plain_text"
  13. endpoint: /security/blocklist
  14. authentication:
  15. type: none # Supported types are either of "none", "ip_based", "basic"
  16. user:
  17. password:
  18. trusted_ips: # IP ranges, or IPs which don't require auth to access this blocklist
  19. - 127.0.0.1
  20. - ::1
  21.  
  22. listen_uri: 0.0.0.0:41412
  23. tls:
  24. cert_file:
  25. key_file:
  26.  
  27. metrics:
  28. enabled: true
  29. endpoint: /metrics
  30.  
  31. # logging configuration
  32. log_media: file
  33. log_dir: /var/log/
  34. log_level: info
  35. log_max_size: 40
  36. log_max_age: 30
  37. log_max_backups: 3
  38. compress_logs: true
  39. # enable access log of the HTTP server
  40. enable_access_logs: true
  41.  
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement