|
7 | 7 | # Default is present. |
8 | 8 | nginx_app_protect_state: present |
9 | 9 |
|
10 | | -# # OPTIONAL: Installs a specific version of NGINX App Protect |
| 10 | +# (Optional) Installs a specific version of NGINX App Protect |
| 11 | +# Default is to install the latest release. |
11 | 12 | # nginx_app_protect_version: 22 |
12 | 13 |
|
| 14 | +# If you have a RHEL subscription, NGINX App Protect's dependencies will use subscription repos. |
| 15 | +# Otherwise, it will source packages from CentOS' repositories. |
| 16 | +# Default is false. |
| 17 | +nginx_app_protect_use_rhel_subscription_repos: false |
| 18 | + |
13 | 19 | # The installation of NGINX App Protect includes a base signature set, which may be out of date. |
14 | 20 | # This option installs the latest NGINX App Protect signatures. |
| 21 | +# Default is true. |
15 | 22 | nginx_app_protect_install_signatures: true |
16 | 23 |
|
17 | | -# The installation of NGINX App Protect can include a page of frequently-updated, high-accuracy signatures called Threat Campaigns. |
18 | | -# This option installs the latest NGINX App Protect Threat Campaigns signatures. |
19 | | -nginx_app_protect_install_threat_campaigns: false |
20 | | - |
21 | | -# Creates basic configuration files and enables NGINX App Protect on the target host |
22 | | -nginx_app_protect_configure: false |
| 24 | +# The installation of NGINX App Protect can include a page of frequently-updated, high-accuracy signatures called "threat campaigns". |
| 25 | +# This option installs the latest NGINX App Protect threat campaigns signatures. |
| 26 | +# Default is true. |
| 27 | +nginx_app_protect_install_threat_campaigns: true |
23 | 28 |
|
24 | | -# Removes the license (certificate and key) for the NGINX App Protect repositories on the target host(s) when playbook run is complete. |
25 | | -nginx_app_protect_delete_license: true |
| 29 | +# (Optional) Choose where to fetch the NGINX App Protect and security updates signing keys from. |
| 30 | +# Default settings are the official NGINX signing key hosts. |
| 31 | +# nginx_app_protect_signing_key: |
| 32 | +# nginx_plus: https://cs.nginx.com/static/keys/nginx_signing.key |
| 33 | +# security_updates: https://cs.nginx.com/static/keys/app-protect-security-updates.key |
26 | 34 |
|
27 | | -# If you have a RHEL subscription, NGINX App Protect's dependencies will use subscription repos. |
28 | | -# Otherwise, it will source packages from CentOS' repositories. |
29 | | -nginx_app_protect_use_rhel_subscription_repos: false |
| 35 | +# Set up NGINX App Protect license (cert/key) before installation. |
| 36 | +# Default is true. |
| 37 | +nginx_app_protect_setup_license: true |
30 | 38 |
|
31 | | -# Choose where to fetch the NGINX App Protect and Security Updates signing keys from. |
32 | | -# Default settings are the official NGINX signing key hosts. |
33 | | -nginx_app_protect_signing_keys: |
34 | | - nginx_plus: https://cs.nginx.com/static/keys/nginx_signing.key |
35 | | - app_protect: https://cs.nginx.com/static/keys/app-protect.key |
36 | | - security_updates: https://cs.nginx.com/static/keys/app-protect-security-updates.key |
| 39 | +# Removes NGINX App Protect license (cert/key) after installation for security purposes. |
| 40 | +# Default is true. |
| 41 | +nginx_app_protect_remove_license: true |
37 | 42 |
|
38 | 43 | # Start/Restart NGINX service when App Protect related changes are complete. |
39 | 44 | # Default is true. |
40 | 45 | nginx_app_protect_start: true |
41 | 46 |
|
42 | | -# Increase NGINX service timeout to accommodate ruleset loading from default 90s |
43 | | -nginx_app_protect_timeout: 180 |
| 47 | +# Increase NGINX service timeout to accommodate ruleset loading from default 90s. |
| 48 | +# Default is commented out. |
| 49 | +# nginx_app_protect_timeout: 180 |
44 | 50 |
|
45 | | -# App Protect Temporary Directory to use (Default: /tmp) |
46 | | -nginx_app_protect_tempdir: /tmp |
| 51 | +# Creates basic configuration files and enables NGINX App Protect on the target host |
| 52 | +nginx_app_protect_configure: false |
47 | 53 |
|
| 54 | +# Create a basic NGINX App Protect security policy file |
48 | 55 | nginx_app_protect_security_policy_template_enable: true |
49 | 56 | nginx_app_protect_security_policy_template: |
50 | 57 | template_file: app-protect-security-policy.j2 |
51 | 58 | out_file_name: app-protect-security-policy.json |
52 | 59 | out_file_location: /etc/nginx/ |
| 60 | +# possible values: transparent, blocking |
| 61 | +nginx_app_protect_security_policy_enforcement_mode: transparent |
53 | 62 |
|
| 63 | +# Create a basic NGINX App Protect log policy file |
54 | 64 | nginx_app_protect_log_policy_template_enable: true |
55 | 65 | nginx_app_protect_log_policy_template: |
56 | 66 | template_file: app-protect-log-policy.j2 |
57 | 67 | out_file_name: app-protect-log-policy.json |
58 | 68 | out_file_location: /etc/nginx/ |
| 69 | +# possible values: all, illegal, blocked |
| 70 | +nginx_app_protect_log_policy_filter_request_type: all |
59 | 71 |
|
| 72 | +## DEPRECATED -- Use nginxinc.nginx_config role instead (https://github.com/nginxinc/ansible-role-nginx-config) |
| 73 | +# Create a basic NGINX App Protect config file |
60 | 74 | nginx_app_protect_conf_template_enable: false |
61 | 75 | nginx_app_protect_conf_template: |
62 | 76 | template_file: nginx.conf.j2 |
63 | 77 | out_file_name: nginx.conf |
64 | 78 | out_file_location: /etc/nginx/ |
65 | | - |
66 | | -# possible values: transparent, blocking |
67 | | -nginx_app_protect_security_policy_enforcement_mode: transparent |
68 | | - |
69 | | -# possible values: all, illegal, blocked |
70 | | -nginx_app_protect_log_policy_filter_request_type: all |
71 | | - |
72 | | -nginx_app_protect_log_policy_syslog_target: 127.0.0.1:514 |
73 | | - |
74 | 79 | nginx_app_protect_demo_workload_protocol: http:// |
75 | 80 | nginx_app_protect_demo_workload_host: 10.1.1.1:8080 |
| 81 | +nginx_app_protect_log_policy_syslog_target: 127.0.0.1:514 |
0 commit comments