Skip to content

Commit 90f5f06

Browse files
authored
Merge pull request #2311 from puppetlabs/release-prep
Release prep v8.2.0
2 parents 606f5e4 + a0d18a8 commit 90f5f06

File tree

3 files changed

+87
-5
lines changed

3 files changed

+87
-5
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v8.2.0](https://github.com/puppetlabs/puppetlabs-apache/tree/v8.2.0) (2022-09-13)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apache/compare/v8.1.0...v8.2.0)
8+
9+
### Added
10+
11+
- Allow RewriteInherit with empty rewrites [\#2301](https://github.com/puppetlabs/puppetlabs-apache/pull/2301) ([martin-koerner](https://github.com/martin-koerner))
12+
- Add support for all proxy schemes, not just https:// [\#2289](https://github.com/puppetlabs/puppetlabs-apache/pull/2289) ([canth1](https://github.com/canth1))
13+
- Parameterize CRS DOS protection [\#2280](https://github.com/puppetlabs/puppetlabs-apache/pull/2280) ([Vincevrp](https://github.com/Vincevrp))
14+
- Allow multiple scopes for Scope in Apache::OIDCSettings [\#2265](https://github.com/puppetlabs/puppetlabs-apache/pull/2265) ([jjackzhn](https://github.com/jjackzhn))
15+
16+
### Fixed
17+
18+
- \(maint\) Add variable manage\_vhost\_enable\_dir [\#2309](https://github.com/puppetlabs/puppetlabs-apache/pull/2309) ([david22swan](https://github.com/david22swan))
19+
- Simplify the logic in \_require.erb [\#2303](https://github.com/puppetlabs/puppetlabs-apache/pull/2303) ([ekohl](https://github.com/ekohl))
20+
- Fix deprecation warning about performing a regex comparison on a hash [\#2293](https://github.com/puppetlabs/puppetlabs-apache/pull/2293) ([smokris](https://github.com/smokris))
21+
522
## [v8.1.0](https://github.com/puppetlabs/puppetlabs-apache/tree/v8.1.0) (2022-08-18)
623

724
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apache/compare/v8.0.0...v8.1.0)

REFERENCE.md

Lines changed: 69 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ outside of the defaults.
167167
### Data types
168168

169169
* [`Apache::LogLevel`](#apacheloglevel): A string that conforms to the Apache `LogLevel` syntax.
170+
* [`Apache::ModProxyProtocol`](#apachemodproxyprotocol): Supported protocols / schemes by mod_proxy
170171
* [`Apache::OIDCSettings`](#apacheoidcsettings): https://github.com/zmartzone/mod_auth_openidc/blob/master/auth_openidc.conf
171172
* [`Apache::ServerTokens`](#apacheservertokens): A string that conforms to the Apache `ServerTokens` syntax.
172173
* [`Apache::Vhost::Priority`](#apachevhostpriority): The priority on vhost
@@ -283,6 +284,7 @@ The following parameters are available in the `apache` class:
283284
* [`purge_vdir`](#purge_vdir)
284285
* [`conf_enabled`](#conf_enabled)
285286
* [`vhost_enable_dir`](#vhost_enable_dir)
287+
* [`manage_vhost_enable_dir`](#manage_vhost_enable_dir)
286288
* [`mod_enable_dir`](#mod_enable_dir)
287289
* [`ssl_file`](#ssl_file)
288290
* [`file_e_tag`](#file_e_tag)
@@ -1123,11 +1125,19 @@ Default value: `$apache::params::conf_enabled`
11231125

11241126
Data type: `Optional[Stdlib::Absolutepath]`
11251127

1126-
Set's whether the vhost definitions will be stored in sites-availible and if
1128+
Set's the vhost definitions which will be stored in sites-availible and if
11271129
they will be symlinked to and from sites-enabled.
11281130

11291131
Default value: `$apache::params::vhost_enable_dir`
11301132

1133+
##### <a name="manage_vhost_enable_dir"></a>`manage_vhost_enable_dir`
1134+
1135+
Data type: `Boolean`
1136+
1137+
Overides the vhost_enable_dir inherited parameters and allows it to be disabled
1138+
1139+
Default value: ``true``
1140+
11311141
##### <a name="mod_enable_dir"></a>`mod_enable_dir`
11321142

11331143
Data type: `Optional[Stdlib::Absolutepath]`
@@ -6032,6 +6042,8 @@ Installs and configures `mod_security`.
60326042
* **See also**
60336043
* https://github.com/SpiderLabs/ModSecurity/wiki
60346044
* for additional documentation.
6045+
* https://coreruleset.org/docs/
6046+
* for addional documentation
60356047

60366048
#### Parameters
60376049

@@ -6071,6 +6083,10 @@ The following parameters are available in the `apache::mod::security` class:
60716083
* [`secrequestbodyaccess`](#secrequestbodyaccess)
60726084
* [`secresponsebodyaccess`](#secresponsebodyaccess)
60736085
* [`manage_security_crs`](#manage_security_crs)
6086+
* [`enable_dos_protection`](#enable_dos_protection)
6087+
* [`dos_burst_time_slice`](#dos_burst_time_slice)
6088+
* [`dos_counter_threshold`](#dos_counter_threshold)
6089+
* [`dos_block_timeout`](#dos_block_timeout)
60746090

60756091
##### <a name="version"></a>`version`
60766092

@@ -6347,6 +6363,42 @@ Toggles whether to manage ModSecurity Core Rule Set
63476363

63486364
Default value: ``true``
63496365

6366+
##### <a name="enable_dos_protection"></a>`enable_dos_protection`
6367+
6368+
Data type: `Boolean`
6369+
6370+
Toggles the optional OWASP ModSecurity Core Rule Set DOS protection rule
6371+
(rule id 900700)
6372+
6373+
Default value: ``true``
6374+
6375+
##### <a name="dos_burst_time_slice"></a>`dos_burst_time_slice`
6376+
6377+
Data type: `Integer[1, default]`
6378+
6379+
Configures time in which a burst is measured for the OWASP ModSecurity Core Rule Set DOS protection rule
6380+
(rule id 900700)
6381+
6382+
Default value: `60`
6383+
6384+
##### <a name="dos_counter_threshold"></a>`dos_counter_threshold`
6385+
6386+
Data type: `Integer[1, default]`
6387+
6388+
Configures the amount of requests that can be made within dos_burst_time_slice before it is considered a burst in
6389+
the OWASP ModSecurity Core Rule Set DOS protection rule (rule id 900700)
6390+
6391+
Default value: `100`
6392+
6393+
##### <a name="dos_block_timeout"></a>`dos_block_timeout`
6394+
6395+
Data type: `Integer[1, default]`
6396+
6397+
Configures how long the client should be blocked when the dos_counter_threshold is exceeded in the OWASP
6398+
ModSecurity Core Rule Set DOS protection rule (rule id 900700)
6399+
6400+
Default value: `600`
6401+
63506402
### <a name="apachemodsetenvif"></a>`apache::mod::setenvif`
63516403

63526404
Installs `mod_setenvif`.
@@ -7288,7 +7340,7 @@ resource). This must match up with a declared apache::balancer resource.
72887340

72897341
##### <a name="url"></a>`url`
72907342

7291-
Data type: `Stdlib::HTTPUrl`
7343+
Data type: `Apache::ModProxyProtocol`
72927344

72937345
The url used to contact the balancer member server.
72947346

@@ -11336,6 +11388,19 @@ Alias of
1133611388
Pattern[/(emerg|alert|crit|error|warn|notice|info|debug|trace[1-8])/]
1133711389
```
1133811390

11391+
### <a name="apachemodproxyprotocol"></a>`Apache::ModProxyProtocol`
11392+
11393+
Supported protocols / schemes by mod_proxy
11394+
11395+
* **See also**
11396+
* https://httpd.apache.org/docs/2.4/mod/mod_proxy.html
11397+
11398+
Alias of
11399+
11400+
```puppet
11401+
Pattern[/(\A(ajp|fcgi|ftp|h2c?|https?|scgi|uwsgi|wss?):\/\/.+\z)/, /(\Aunix:\/([^\n\/\0]+\/*)*\z)/]
11402+
```
11403+
1133911404
### <a name="apacheoidcsettings"></a>`Apache::OIDCSettings`
1134011405

1134111406
https://github.com/zmartzone/mod_auth_openidc/blob/master/auth_openidc.conf
@@ -11360,7 +11425,7 @@ Struct[{
1136011425
Optional['ProviderRevocationEndpoint'] => Stdlib::HTTPSUrl,
1136111426
Optional['ProviderBackChannelLogoutSupported'] => Enum['On', 'Off'],
1136211427
Optional['ProviderRegistrationEndpointJson'] => String,
11363-
Optional['Scope'] => Pattern[/^[A-Za-z0-9\-\._\s]+$/],
11428+
Optional['Scope'] => Pattern[/^\"?[A-Za-z0-9\-\._\s]+\"?$/],
1136411429
Optional['AuthRequestParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
1136511430
Optional['SSLValidateServer'] => Enum['On', 'Off'],
1136611431
Optional['UserInfoRefreshInterval'] => Integer,
@@ -11426,7 +11491,7 @@ Struct[{
1142611491
Optional['DiscoverURL'] => Variant[Stdlib::HTTPSUrl, Stdlib::HttpUrl],
1142711492
Optional['HTMLErrorTemplate'] => String,
1142811493
Optional['DefaultURL'] => Variant[Stdlib::HTTPSUrl, Stdlib::HttpUrl],
11429-
Optional['PathScope'] => Pattern[/^[A-Za-z0-9\-\._\s]+$/],
11494+
Optional['PathScope'] => Pattern[/^\"?[A-Za-z0-9\-\._\s]+\"?$/],
1143011495
Optional['PathAuthRequestParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
1143111496
Optional['IDTokenIatSlack'] => Integer,
1143211497
Optional['ClaimPrefix'] => String,

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-apache",
3-
"version": "8.1.0",
3+
"version": "8.2.0",
44
"author": "puppetlabs",
55
"summary": "Installs, configures, and manages Apache virtual hosts, web services, and modules.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)