forked from mitre/nginx-baseline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattributes.yml
325 lines (298 loc) · 6.03 KB
/
attributes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# encoding: utf-8
#
# This is an example of an attributes file that can be passed to the profile
# to override the defaults of the attributes defined in each of the tests.
# You can use this to automatically adjust your tests when using automation or
# progromatic deployment or validation of differnt deployment patterns without
# having to adjust the core profile.
# === PROFILE USER EDIT ===
#description: Path for the nginx configuration file
nginx_conf_file: '/etc/nginx/nginx.conf'
#description: Path to nginx backup repository
nginx_backup_repository: '/usr/share/nginx/html'
#description: Subnet of the DMZ
dmz_subnet: '62.0.0.0/24'
#description: Minimum Web vendor-supported version.
nginx_min_ver: '1.12.0'
#description: List of authorized running processes,
authorized_process_list:
- nginx
- systemd
- systemd-journal
- systemd-udevd
- systemd-logind
- dbus-daemon
- agetty
- bash
- ps
- openssl
#description: Nginx owner
nginx_owner: 'nginx'
#description: The Nginx group,
nginx_group: 'nginx'
#description: The system adminstrator,
sys_admin: 'root'
#description: The system adminstrator group,
sys_admin_group: 'root'
#description: List of non admin user accounts
authorized_user_list: ['user']
#description: Monitoring software for CGI or equivalent programs,
monitoring_software: ['audit', 'auditd']
#description: List of allowed services
allowed_services_list:
- brandbot
- dbus
- dracut-shutdown
- emergency
- getty@tty1
- kmod-static-nodes
- network
- nginx
- rc-local
- rescue
- rhel-autorelabel-mark
- rhel-autorelabel
- rhel-configure
- rhel-dmesg
- rhel-import-state
- rhel-loadmodules
- rhel-readonly
- serial-getty@ttyS0
- systemd-ask-password-console
- systemd-ask-password-wall
- systemd-binfmt
- systemd-firstboot
- systemd-fsck-root
- systemd-hwdb-update
- systemd-initctl
- systemd-journal-catalog-update
- systemd-journal-flush
- systemd-journald
- systemd-logind
- systemd-modules-load
- systemd-random-seed
- systemd-readahead-collect
- systemd-readahead-done
- systemd-readahead-replay
- systemd-reboot
- systemd-shutdownd
- systemd-sysctl
- systemd-tmpfiles-clean
- systemd-tmpfiles-setup-dev
- systemd-tmpfiles-setup
- systemd-udev-trigger
- systemd-udevd
- systemd-update-done
- systemd-update-utmp-runlevel
- systemd-update-utmp
- systemd-user-sessions
- systemd-vconsole-setup
- auditd
#description: List of disallowed services
disallowed_services_list:
- mysql
- postgres
- named
# description: 'List of allowed packages',
allowed_packages_list:
- centos-release
- filesystem
- basesystem
- nss-softokn-freebl
- glibc
- libstdc++
- bash
- pcre
- zlib
- xz-libs
- libcom_err
- popt
- sed
- elfutils-libelf
- libffi
- libattr
- libacl
- libuuid
- readline
- gawk
- libcap-ng
- sqlite
- findutils
- expat
- nss-softokn
- p11-kit
- file-libs
- hostname
- tar
- pinentry
- libdb-utils
- libss
- elfutils-default-yama-scope
- ncurses
- gmp
- libsemanage
- libtasn1
- ca-certificates
- openssl-libs
- libblkid
- libmount
- shared-mime-info
- cracklib
- libpwquality
- pkgconfig
- dbus-glib
- binutils
- curl
- rpm
- libuser
- hardlink
- qrencode-libs
- device-mapper
- cryptsetup-libs
- dbus
- gdbm
- python
- dbus-python
- pyliblzma
- yum-metadata-parser
- python-urlgrabber
- pyxattr
- python-kitchen
- gnupg2
- pygpgme
- rpm-python
- yum
- yum-plugin-ovl
- passwd
- vim-minimal
- gpg-pubkey
- libmnl
- iptables
- sysvinit-tools
- systemd
- initscripts
- which
- nss-sysinit
- kmod
- kmod-libs
- openssl
- audit
- nginx
- libgcc
- setup
- bind-license
- ncurses-base
- glibc-common
- nspr
- ncurses-libs
- libsepol
- libselinux
- info
- bzip2-libs
- libdb
- chkconfig
- nss-util
- libxml2
- libgpg-error
- libcap
- grep
- libgcrypt
- lua
- cpio
- audit-libs
- libidn
- diffutils
- dbus-libs
- libassuan
- xz
- keyutils-libs
- acl
- cyrus-sasl-lib
- elfutils-libs
- ustr
- libverto
- p11-kit-trust
- coreutils
- krb5-libs
- shadow-utils
- glib2
- gzip
- cracklib-dicts
- pam
- procps-ng
- gobject-introspection
- libutempter
- libssh2
- nss-pem
- libcurl
- rpm-libs
- openldap
- util-linux
- kpartx
- device-mapper-libs
- dracut
- iputils
- python-libs
- python-iniparse
- python-pycurl
- python-gobject-base
- libxml2-python
- python-chardet
- pth
- gpgme
- rpm-build-libs
- yum-plugin-fastestmirror
- yum-utils
- qemu-guest-agent
- rootfiles
- libnfnetlink
- libnetfilter_conntrack
- iproute
- systemd-libs
- systemd-sysv
- lsof
- nss
- nss-tools
- tzdata
- make
- tcp_wrappers-libs
- gpg-pubkey
# description: 'List of disallowed packages'
disallowed_packages_list: [ ]
# description: List of disallowed compilers
disallowed_compiler_list: ['gcc']
#description: DoD-approved PKIs (e.g., DoD PKI, DoD ECA, and DoD-approved external partners.
dod_approved_pkis: ['DoD', 'ECA']
#description: File list of documentation, sample code, example applications, and tutorials.
nginx_disallowed_file_list: ['/usr/share/man/man8/nginx.8.gz']
#description: File list of allowed documentation, sample code, example applications, and tutorials.
nginx_allowed_file_list: []
#description: List of authorized nginx modules.
nginx_authorized_modules:
- http_addition
- http_auth_request
- http_dav
- http_flv
- http_gunzip
- http_gzip_static
- http_mp4
- http_random_index
- http_realip
- http_secure_link
- http_slice
- http_ssl
- http_stub_status
- http_sub
- http_v2
- mail_ssl
- stream_realip
- stream_ssl
- stream_ssl_preread
#description: List of unauthorized nginx modules.
nginx_unauthorized_modules: []
#description: Path for the nginx binary
nginx_path: '/usr/sbin/nginx'
#description: domain and port to the OCSP Server
ocsp_server: 'login.live.com:443'
#description: Frequency at which CRL is updated in days
crl_udpate_frequency: 7