You are here

security_review.schema.yml in Security Review 8

config/schema/security_review.schema.yml

File

config/schema/security_review.schema.yml
View source
  1. # The module's main settings.
  2. security_review.settings:
  3. type: config_entity
  4. mapping:
  5. configured:
  6. type: boolean
  7. label: 'Has been configured'
  8. untrusted_roles:
  9. type: sequence
  10. label: 'Untrusted roles'
  11. sequence:
  12. type: string
  13. label: 'Role ID'
  14. log:
  15. type: boolean
  16. label: 'Logging enabled'
  17. # Defines a security check's skip informations and settings.
  18. security_review.check.*:
  19. type: config_entity
  20. mapping:
  21. id:
  22. type: string
  23. label: 'Check ID'
  24. skipped:
  25. type: boolean
  26. label: 'Is skipped'
  27. skipped_by:
  28. type: integer
  29. label: 'Skipped by'
  30. skipped_on:
  31. type: integer
  32. label: 'Skipped on'
  33. settings:
  34. # Checks that need storage for settings are advised to define their settings schema.
  35. # This way type-strict per-check settings storage can be created.
  36. type: security_review.check_settings.[%parent.id]
  37. # Setting storage for Base URL check.
  38. security_review.check_settings.security_review-base_url_set:
  39. type: mapping
  40. mapping:
  41. method:
  42. type: string
  43. label: 'Base URL identification method'