Skip to content

Commit

Permalink
Merge pull request #2311 from puppetlabs/release-prep
Browse files Browse the repository at this point in the history
Release prep v8.2.0
  • Loading branch information
david22swan authored Sep 13, 2022
2 parents 606f5e4 + a0d18a8 commit 90f5f06
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

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).

## [v8.2.0](https://github.com/puppetlabs/puppetlabs-apache/tree/v8.2.0) (2022-09-13)

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

### Added

- Allow RewriteInherit with empty rewrites [\#2301](https://github.com/puppetlabs/puppetlabs-apache/pull/2301) ([martin-koerner](https://github.com/martin-koerner))
- Add support for all proxy schemes, not just https:// [\#2289](https://github.com/puppetlabs/puppetlabs-apache/pull/2289) ([canth1](https://github.com/canth1))
- Parameterize CRS DOS protection [\#2280](https://github.com/puppetlabs/puppetlabs-apache/pull/2280) ([Vincevrp](https://github.com/Vincevrp))
- Allow multiple scopes for Scope in Apache::OIDCSettings [\#2265](https://github.com/puppetlabs/puppetlabs-apache/pull/2265) ([jjackzhn](https://github.com/jjackzhn))

### Fixed

- \(maint\) Add variable manage\_vhost\_enable\_dir [\#2309](https://github.com/puppetlabs/puppetlabs-apache/pull/2309) ([david22swan](https://github.com/david22swan))
- Simplify the logic in \_require.erb [\#2303](https://github.com/puppetlabs/puppetlabs-apache/pull/2303) ([ekohl](https://github.com/ekohl))
- 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))

## [v8.1.0](https://github.com/puppetlabs/puppetlabs-apache/tree/v8.1.0) (2022-08-18)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-apache/compare/v8.0.0...v8.1.0)
Expand Down
73 changes: 69 additions & 4 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ outside of the defaults.
### Data types

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

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

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

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

##### <a name="manage_vhost_enable_dir"></a>`manage_vhost_enable_dir`

Data type: `Boolean`

Overides the vhost_enable_dir inherited parameters and allows it to be disabled

Default value: ``true``

##### <a name="mod_enable_dir"></a>`mod_enable_dir`

Data type: `Optional[Stdlib::Absolutepath]`
Expand Down Expand Up @@ -6032,6 +6042,8 @@ Installs and configures `mod_security`.
* **See also**
* https://github.com/SpiderLabs/ModSecurity/wiki
* for additional documentation.
* https://coreruleset.org/docs/
* for addional documentation

#### Parameters

Expand Down Expand Up @@ -6071,6 +6083,10 @@ The following parameters are available in the `apache::mod::security` class:
* [`secrequestbodyaccess`](#secrequestbodyaccess)
* [`secresponsebodyaccess`](#secresponsebodyaccess)
* [`manage_security_crs`](#manage_security_crs)
* [`enable_dos_protection`](#enable_dos_protection)
* [`dos_burst_time_slice`](#dos_burst_time_slice)
* [`dos_counter_threshold`](#dos_counter_threshold)
* [`dos_block_timeout`](#dos_block_timeout)

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

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

Default value: ``true``

##### <a name="enable_dos_protection"></a>`enable_dos_protection`

Data type: `Boolean`

Toggles the optional OWASP ModSecurity Core Rule Set DOS protection rule
(rule id 900700)

Default value: ``true``

##### <a name="dos_burst_time_slice"></a>`dos_burst_time_slice`

Data type: `Integer[1, default]`

Configures time in which a burst is measured for the OWASP ModSecurity Core Rule Set DOS protection rule
(rule id 900700)

Default value: `60`

##### <a name="dos_counter_threshold"></a>`dos_counter_threshold`

Data type: `Integer[1, default]`

Configures the amount of requests that can be made within dos_burst_time_slice before it is considered a burst in
the OWASP ModSecurity Core Rule Set DOS protection rule (rule id 900700)

Default value: `100`

##### <a name="dos_block_timeout"></a>`dos_block_timeout`

Data type: `Integer[1, default]`

Configures how long the client should be blocked when the dos_counter_threshold is exceeded in the OWASP
ModSecurity Core Rule Set DOS protection rule (rule id 900700)

Default value: `600`

### <a name="apachemodsetenvif"></a>`apache::mod::setenvif`

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

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

Data type: `Stdlib::HTTPUrl`
Data type: `Apache::ModProxyProtocol`

The url used to contact the balancer member server.

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

### <a name="apachemodproxyprotocol"></a>`Apache::ModProxyProtocol`

Supported protocols / schemes by mod_proxy

* **See also**
* https://httpd.apache.org/docs/2.4/mod/mod_proxy.html

Alias of

```puppet
Pattern[/(\A(ajp|fcgi|ftp|h2c?|https?|scgi|uwsgi|wss?):\/\/.+\z)/, /(\Aunix:\/([^\n\/\0]+\/*)*\z)/]
```

### <a name="apacheoidcsettings"></a>`Apache::OIDCSettings`

https://github.com/zmartzone/mod_auth_openidc/blob/master/auth_openidc.conf
Expand All @@ -11360,7 +11425,7 @@ Struct[{
Optional['ProviderRevocationEndpoint'] => Stdlib::HTTPSUrl,
Optional['ProviderBackChannelLogoutSupported'] => Enum['On', 'Off'],
Optional['ProviderRegistrationEndpointJson'] => String,
Optional['Scope'] => Pattern[/^[A-Za-z0-9\-\._\s]+$/],
Optional['Scope'] => Pattern[/^\"?[A-Za-z0-9\-\._\s]+\"?$/],
Optional['AuthRequestParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
Optional['SSLValidateServer'] => Enum['On', 'Off'],
Optional['UserInfoRefreshInterval'] => Integer,
Expand Down Expand Up @@ -11426,7 +11491,7 @@ Struct[{
Optional['DiscoverURL'] => Variant[Stdlib::HTTPSUrl, Stdlib::HttpUrl],
Optional['HTMLErrorTemplate'] => String,
Optional['DefaultURL'] => Variant[Stdlib::HTTPSUrl, Stdlib::HttpUrl],
Optional['PathScope'] => Pattern[/^[A-Za-z0-9\-\._\s]+$/],
Optional['PathScope'] => Pattern[/^\"?[A-Za-z0-9\-\._\s]+\"?$/],
Optional['PathAuthRequestParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
Optional['IDTokenIatSlack'] => Integer,
Optional['ClaimPrefix'] => String,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-apache",
"version": "8.1.0",
"version": "8.2.0",
"author": "puppetlabs",
"summary": "Installs, configures, and manages Apache virtual hosts, web services, and modules.",
"license": "Apache-2.0",
Expand Down

0 comments on commit 90f5f06

Please sign in to comment.