This Compliance Profile ensures, that all hardening projects keep the same quality.
- https://github.com/dev-sec/ansible-nginx-hardening
- https://github.com/dev-sec/chef-nginx-hardening
- https://github.com/dev-sec/puppet-nginx-hardening
This Compliance Profile requires InSpec for execution:
$ git clone https://github.com/EasyAppSecurity/nginx-baseline
$ inspec exec nginx-baseline --input-file nginx-baseline/attributes/nginx-centos7-test.yml --reporter html:/tmp/inspec-nginx.html
You can also execute the profile directly from Github:
$ inspec exec https://github.com/EasyAppSecurity/nginx-baseline
Test remote machine via ssh:
$ inspec exec https://github.com/EasyAppSecurity/nginx-baseline --key-files /path/keys/ssh.key --target ssh://[email protected] --input-file nginx-baseline/attributes/nginx-centos7-test.yml --reporter html:/tmp/inspec-nginx.html
Report write to a file:
$ inspec exec https://github.com/EasyAppSecurity/nginx-baseline --input-file nginx-baseline/attributes/nginx-centos7-test.yml --reporter html:/tmp/inspec-nginx.html
-
Author:: Patrick Muench [email protected]
-
Author:: Dominik Richter [email protected]
-
Author:: Christoph Hartmann [email protected]
-
Author:: Mikhail Rusakovich [email protected]
-
Copyright 2014-2016, The Hardening Framework Team
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.