inspec
container-structure-test
Our great sponsors
inspec | container-structure-test | |
---|---|---|
13 | 7 | |
2,813 | 2,244 | |
1.0% | 1.2% | |
9.4 | 7.3 | |
2 days ago | 7 days ago | |
Ruby | Go | |
GNU General Public License v3.0 or later | 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.
inspec
- Testing Terraform infra - terratest alternatives?
-
Ruby: "the best" language for general automation
The course uses Chef Inspec, an open source Ruby DSL. I made a POC with this tool to automatically check repositories on GitHub, checks like if it contains a gitignore consistent with the language used, if node_modules is not present, etc.
- what tool do you use for validating hardening settings have been applied. this is for security and hardening purposes. for example, ensure that admin username is not default username, password is at least 12 characters with upper, lower and special characters, https is enabled etc
-
Why do you guys think testing is not a very prominent topic in the cloud native community ?
We are using Inspec to double check that the changes are indeed what we expect them to be. If anyone knows a better tool, please share
-
Is there any kind of Pester Server for infrastructure tests?
https://github.com/inspec/inspec Chef Inspec is probably a great tool for what you’re trying to do. Great at building human readable test cases for validation of infrastructure deployments. At a different org I used to use PoSh, Terraform and Ansible etc. for deploying on-prem and cloud infrastructure and then Inspec for testing for successful deployments, security misconfigurations (is a port open that shouldn’t be etc).
- InSpec
- Checking compliance of controls? Job help
- Unit tests for hardened images
-
Automated Configuration Analysis?
If you need the monitoring for compliance reason, Chef InSpec was designed for this exact usecase.
- Compliance Scans for Images
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?
terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
goss - Quick and Easy server testing/validation
semaphore-demo-ruby-kubernetespipeline.png
awspec - RSpec tests for your AWS resources.
semaphore-demo-ruby-kubernetes - A Semaphore demo CI/CD pipeline for Kubernetes.
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
ansible-collection-hardening - This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
conftest - Write tests against structured configuration data using the Open Policy Agent Rego query language
OSCAL - Open Security Controls Assessment Language (OSCAL)
tfsec - Security scanner for your Terraform code [Moved to: https://github.com/aquasecurity/tfsec]
ansible-hardening - Ansible role for security hardening. Mirror of code maintained at opendev.org.