ansible-collection-hardening
container-structure-test
Our great sponsors
ansible-collection-hardening | container-structure-test | |
---|---|---|
25 | 7 | |
3,650 | 2,242 | |
1.9% | 1.1% | |
9.2 | 7.3 | |
24 days ago | 10 days ago | |
Jinja | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ansible-collection-hardening
-
Ask HN: What open-source projects are you currently contributing to and why?
An ansible collection for hardening Linux systems I mostly wrote: https://github.com/dev-sec/ansible-collection-hardening
Another ansible collection to manage Icinga: https://github.com/T-Systems-MMS/ansible-collection-icinga-d...
And the yunohost app for invoice ninja: https://github.com/YunoHost-Apps/invoiceninja5_ynh
-
Ansible - how widely used is it ?
i have some packer builds where itll install ansible, run playbooks locally, then uninstall ansible. such as the the devsec os hardening role: https://github.com/dev-sec/ansible-collection-hardening
- What hardening before forwarding services?
-
Security Harden Ubuntu 22.04
This collection is also interesting https://github.com/dev-sec/ansible-collection-hardening/
-
What you guys use for website protection? We use sentinel one but doesn't cover web related items
Second you want to ensure the os is secure and up to date. Take a look at os hardening best practices, for example this ansible playbook for linux: https://github.com/dev-sec/ansible-collection-hardening
- Ansible for automation/ hardening.
-
How do you document your (whole) setup ? Looking for ideas.
To ensure SSH and other security related things are configured correctly, you can take a look at DevSec which helps you to apply proven security configuration principles. Also there is guides like "Secure Secure Shell" which can help you to better understand what you can do to increase the security of your servers (this one is from 2015 but many aspects are still relevant).
-
Recommendations for advanced material (reading material, courses, etc) on server security?
I learned a lot by using and reading through the source code of these ansible roles: https://github.com/dev-sec/ansible-collection-hardening
-
Ask HN: How to secure Ubuntu VPS in 2022?
Have a look at https://github.com/dev-sec/ansible-collection-hardening
-
SSH Bastion host best practices: How to Build and Deploy a Security-Hardened SSH Bastion Host
You can do much more https://github.com/dev-sec/ansible-collection-hardening/tree/master/roles/ssh_hardening
container-structure-test
-
How to break into MLOps Engineering roles
Testing your container : container-structure-test https://github.com/GoogleContainerTools/container-structure-test
- Azure Web Service env-variables not working with Azure Container Registry (ACR) image
- Does Docker have a way of verifying at "compile-time"/build-time that a container will be able to run its CMD successfully?
-
TESTING DOCKER CONTAINER STRUCTURE
There is a way! Google's container structure test is the answer. container-structure-test.
-
Structure Testing for Docker Containers
Container Structure Tests (CST) is a container-testing tool developed by Google and open-sourced with the Apache 2.0 license. CST comes with a predefined set of tests for looking at what’s actually inside a container image.
- Unit tests for hardened images
-
Docker unit test: how to test a Dockerfile (Guide 2020)
The best tool I can raccomand to write a unit test for a Docker is the Container Structure Test framework. This framework, developed by Google, makes super easy to test the structure of your container image.
What are some alternatives?
debian-cis - PCI-DSS compliant Debian 10/11/12 hardening
goss - Quick and Easy server testing/validation
crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
inspec - InSpec: Auditing and Testing Framework
semaphore-demo-ruby-kubernetespipeline.png
RHEL7-CIS - Ansible role for Red Hat 7 CIS Baseline
semaphore-demo-ruby-kubernetes - A Semaphore demo CI/CD pipeline for Kubernetes.
ansible-collection-nginx - Ansible collection for NGINX
netboot.xyz - Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
setup-ipsec-vpn - Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
ansible-role-docker-rootless - Ansible role to install a rootless Docker server