Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default: to value: #41

Merged
merged 2 commits into from
Jul 13, 2020
Merged

Conversation

enzomignogna
Copy link
Contributor

Would like to reduce WARN: DEPRECATION regarding default:

Value of default: was changed to value:

Signed-off-by: Enzo Mignogna enzo.mignogna@avature.net

Signed-off-by: Enzo Mignogna <enzo.mignogna@avature.net>
Copy link
Member

@micheelengronne micheelengronne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should revert value to default in the nginx configuration string.

@@ -190,7 +190,7 @@
title 'Control simultaneous connections'
desc 'NginxHttpLimitZone module to limit the number of simultaneous connections for the assigned session or as a special case, from one IP address.'
describe parse_config(nginx_parsed_config, options) do
its('limit_conn_zone') { should eq '$binary_remote_addr zone=default:10m' }
its('limit_conn_zone') { should eq '$binary_remote_addr zone=value:10m' }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That one is not an Inspec variable but an nginx configuration. I think it should stay to default.

Signed-off-by: Enzo Mignogna <enzo.mignogna@avature.net>
@micheelengronne micheelengronne self-requested a review July 13, 2020 15:24
@micheelengronne micheelengronne merged commit 55488fd into dev-sec:master Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants