Including security review as a submodule - with patched for Yaffs.
[yaffs-website] / web / modules / contrib / security_review / config / schema / security_review.schema.yml
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     last_run:
18       type: integer
19       label: 'Last run'
20
21 # Defines a security check's skip informations and settings.
22 security_review.check.*:
23   type: config_entity
24   mapping:
25     id:
26       type: string
27       label: 'Check ID'
28     skipped:
29       type: boolean
30       label: 'Is skipped'
31     skipped_by:
32       type: integer
33       label: 'Skipped by'
34     skipped_on:
35       type: integer
36       label: 'Skipped on'
37     settings:
38       # Checks that need storage for settings are advised to define their settings schema.
39       # This way type-strict per-check settings storage can be created.
40       type: security_review.check_settings.[%parent.id]
41
42 # Setting storage for Base URL check.
43 security_review.check_settings.security_review-base_url_set:
44   type: mapping
45   mapping:
46     method:
47       type: string
48       label: 'Base URL identification method'