-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding master branch from downstream.
- Loading branch information
David Federlein
committed
Aug 10, 2020
0 parents
commit d592895
Showing
16 changed files
with
6,629 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.env | ||
*.log | ||
*.retry | ||
.vagrant | ||
tests/*redhat-subscription | ||
tests/Dockerfile | ||
*.iso | ||
*.box | ||
packer_cache | ||
delete* | ||
ignore* | ||
# VSCode | ||
.vscode | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# DS_Store | ||
.DS_Store | ||
._* | ||
|
||
# Linux Editors | ||
*~ | ||
\#*\# | ||
/.emacs.desktop | ||
/.emacs.desktop.lock | ||
.elc | ||
auto-save-list | ||
tramp | ||
.\#* | ||
*.swp | ||
*.swo | ||
rh-creds.env | ||
travis.env | ||
|
||
# Lockdown-specific | ||
benchparse/ | ||
*xccdf.xml | ||
*.retry | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Contributing to MindPoint Group Projects | ||
======================================== | ||
|
||
Signing your contribution | ||
------------------------- | ||
|
||
We've chosen to use the Developer's Certificate of Origin (DCO) method | ||
that is employed by the Linux Kernel Project, which provides a simple | ||
way to contribute to MindPoint Group projects. | ||
|
||
The process is to certify the below DCO 1.1 text | ||
:: | ||
|
||
Developer's Certificate of Origin 1.1 | ||
|
||
By making a contribution to this project, I certify that: | ||
|
||
(a) The contribution was created in whole or in part by me and I | ||
have the right to submit it under the open source license | ||
indicated in the file; or | ||
|
||
(b) The contribution is based upon previous work that, to the best | ||
of my knowledge, is covered under an appropriate open source | ||
license and I have the right under that license to submit that | ||
work with modifications, whether created in whole or in part | ||
by me, under the same open source license (unless I am | ||
permitted to submit under a different license), as indicated | ||
in the file; or | ||
|
||
(c) The contribution was provided directly to me by some other | ||
person who certified (a), (b) or (c) and I have not modified | ||
it. | ||
|
||
(d) I understand and agree that this project and the contribution | ||
are public and that a record of the contribution (including all | ||
personal information I submit with it, including my sign-off) is | ||
maintained indefinitely and may be redistributed consistent with | ||
this project or the open source license(s) involved. | ||
:: | ||
|
||
Then, when it comes time to submit a contribution, include the | ||
following text in your contribution commit message: | ||
|
||
:: | ||
|
||
Signed-off-by: Joan Doe <joan.doe@email.com> | ||
|
||
:: | ||
|
||
|
||
This message can be entered manually, or if you have configured git | ||
with the correct `user.name` and `user.email`, you can use the `-s` | ||
option to `git commit` to automatically include the signoff message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Mindpoint Group / Lockdown Enterprise | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Windows Server 2016 CIS | ||
========= | ||
|
||
Configure a Windows Server 2016 system to be CIS compliant. | ||
|
||
This role is based on CIS Microsoft Windows Server 2016 RTM: [Version 1.1.0 Rel 1607 released on October 21, 2018] (https://workbench.cisecurity.org/benchmarks/835). | ||
|
||
Requirements | ||
------------ | ||
|
||
Windows Server 2016 - Other versions are not supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Vagrant.configure("2") do |config| | ||
|
||
config.vm.box = "mindpointgroup/windowsserver2016-winrm" | ||
# config.vm.box = "mindpointgroup/windowsserver2016-DC" | ||
config.vm.guest = :windows | ||
config.winrm.retry_limit = 30 | ||
config.winrm.retry_delay = 120 | ||
config.vm.provider "virtualbox" do |vb| | ||
vb.cpus = 2 | ||
vb.memory = 8192 | ||
end | ||
|
||
config.vm.communicator = "winrm" | ||
config.vm.provision "ansible" do |ansible| | ||
ansible.playbook = "site.yml" | ||
# ansible.verbose = "vvvvv" | ||
ansible.host_vars = { | ||
"default" => { "ansible_winrm_scheme" => "http" } | ||
} | ||
ansible.raw_arguments = [ | ||
"-e 'ansible_connection=winrm ansible_port=5985 ansible_winrm_server_cert_validation=ignore ansible_user=vagrant ansible_password=vagrant'" | ||
] | ||
end | ||
config.vm.boot_timeout = 500 | ||
end |
Oops, something went wrong.