|
1 | 1 | class apache::mod::security (
|
2 |
| - $crs_package = $::apache::params::modsec_crs_package, |
3 |
| - $activated_rules = $::apache::params::modsec_default_rules, |
4 |
| - $modsec_dir = $::apache::params::modsec_dir, |
5 |
| - $modsec_secruleengine = $::apache::params::modsec_secruleengine, |
6 |
| - $audit_log_parts = $::apache::params::modsec_audit_log_parts, |
7 |
| - $secpcrematchlimit = $::apache::params::secpcrematchlimit, |
| 2 | + $crs_package = $::apache::params::modsec_crs_package, |
| 3 | + $activated_rules = $::apache::params::modsec_default_rules, |
| 4 | + $modsec_dir = $::apache::params::modsec_dir, |
| 5 | + $modsec_secruleengine = $::apache::params::modsec_secruleengine, |
| 6 | + $audit_log_parts = $::apache::params::modsec_audit_log_parts, |
| 7 | + $secpcrematchlimit = $::apache::params::secpcrematchlimit, |
8 | 8 | $secpcrematchlimitrecursion = $::apache::params::secpcrematchlimitrecursion,
|
9 |
| - $allowed_methods = 'GET HEAD POST OPTIONS', |
10 |
| - $content_types = 'application/x-www-form-urlencoded|multipart/form-data|text/xml|application/xml|application/x-amf', |
11 |
| - $restricted_extensions = '.asa/ .asax/ .ascx/ .axd/ .backup/ .bak/ .bat/ .cdx/ .cer/ .cfg/ .cmd/ .com/ .config/ .conf/ .cs/ .csproj/ .csr/ .dat/ .db/ .dbf/ .dll/ .dos/ .htr/ .htw/ .ida/ .idc/ .idq/ .inc/ .ini/ .key/ .licx/ .lnk/ .log/ .mdb/ .old/ .pass/ .pdb/ .pol/ .printer/ .pwd/ .resources/ .resx/ .sql/ .sys/ .vb/ .vbs/ .vbproj/ .vsdisco/ .webinfo/ .xsd/ .xsx/', |
12 |
| - $restricted_headers = '/Proxy-Connection/ /Lock-Token/ /Content-Range/ /Translate/ /via/ /if/', |
| 9 | + $allowed_methods = 'GET HEAD POST OPTIONS', |
| 10 | + $content_types = 'application/x-www-form-urlencoded|multipart/form-data|text/xml|application/xml|application/x-amf', |
| 11 | + $restricted_extensions = '.asa/ .asax/ .ascx/ .axd/ .backup/ .bak/ .bat/ .cdx/ .cer/ .cfg/ .cmd/ .com/ .config/ .conf/ .cs/ .csproj/ .csr/ .dat/ .db/ .dbf/ .dll/ .dos/ .htr/ .htw/ .ida/ .idc/ .idq/ .inc/ .ini/ .key/ .licx/ .lnk/ .log/ .mdb/ .old/ .pass/ .pdb/ .pol/ .printer/ .pwd/ .resources/ .resx/ .sql/ .sys/ .vb/ .vbs/ .vbproj/ .vsdisco/ .webinfo/ .xsd/ .xsx/', |
| 12 | + $restricted_headers = '/Proxy-Connection/ /Lock-Token/ /Content-Range/ /Translate/ /via/ /if/', |
13 | 13 | $secdefaultaction = 'deny',
|
14 | 14 | $anomaly_score_blocking = 'off',
|
15 | 15 | $inbound_anomaly_threshold = '5',
|
16 | 16 | $outbound_anomaly_threshold = '4',
|
| 17 | + $critical_anomaly_score = '5', |
| 18 | + $error_anomaly_score = '4', |
| 19 | + $warning_anomaly_score = '3', |
| 20 | + $notice_anomaly_score = '2', |
17 | 21 | ) inherits ::apache::params {
|
18 | 22 | include ::apache
|
19 | 23 |
|
|
0 commit comments