security.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. title: PLUGIN_ADMIN.SECURITY
  2. form:
  3. validation: loose
  4. fields:
  5. xss_section:
  6. type: section
  7. title: PLUGIN_ADMIN.XSS_SECURITY
  8. underline: true
  9. xss_whitelist:
  10. type: selectize
  11. size: large
  12. label: PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS
  13. help: PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS_HELP
  14. placeholder: 'admin.super'
  15. classes: fancy
  16. validate:
  17. type: commalist
  18. xss_enabled.on_events:
  19. type: toggle
  20. label: PLUGIN_ADMIN.XSS_ON_EVENTS
  21. highlight: 1
  22. options:
  23. 1: PLUGIN_ADMIN.YES
  24. 0: PLUGIN_ADMIN.NO
  25. default: true
  26. validate:
  27. type: bool
  28. xss_enabled.invalid_protocols:
  29. type: toggle
  30. label: PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS
  31. highlight: 1
  32. options:
  33. 1: PLUGIN_ADMIN.YES
  34. 0: PLUGIN_ADMIN.NO
  35. default: true
  36. validate:
  37. type: bool
  38. xss_invalid_protocols:
  39. type: selectize
  40. size: large
  41. label: PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS_LIST
  42. classes: fancy
  43. validate:
  44. type: commalist
  45. xss_enabled.moz_binding:
  46. type: toggle
  47. label: PLUGIN_ADMIN.XSS_MOZ_BINDINGS
  48. highlight: 1
  49. options:
  50. 1: PLUGIN_ADMIN.YES
  51. 0: PLUGIN_ADMIN.NO
  52. default: true
  53. validate:
  54. type: bool
  55. xss_enabled.html_inline_styles:
  56. type: toggle
  57. label: PLUGIN_ADMIN.XSS_HTML_INLINE_STYLES
  58. highlight: 1
  59. options:
  60. 1: PLUGIN_ADMIN.YES
  61. 0: PLUGIN_ADMIN.NO
  62. default: true
  63. validate:
  64. type: bool
  65. xss_enabled.dangerous_tags:
  66. type: toggle
  67. label: PLUGIN_ADMIN.XSS_DANGEROUS_TAGS
  68. highlight: 1
  69. options:
  70. 1: PLUGIN_ADMIN.YES
  71. 0: PLUGIN_ADMIN.NO
  72. default: true
  73. validate:
  74. type: bool
  75. xss_dangerous_tags:
  76. type: selectize
  77. size: large
  78. label: PLUGIN_ADMIN.XSS_DANGEROUS_TAGS_LIST
  79. classes: fancy
  80. validate:
  81. type: commalist
  82. uploads_section:
  83. type: section
  84. title: PLUGIN_ADMIN.UPLOADS_SECURITY
  85. underline: true
  86. uploads_dangerous_extensions:
  87. type: selectize
  88. size: large
  89. label: PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS
  90. help: PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS_HELP
  91. classes: fancy
  92. validate:
  93. type: commalist