goss
kitchen-terraform
Our great sponsors
goss | kitchen-terraform | |
---|---|---|
13 | 2 | |
5,421 | 1,123 | |
0.9% | 0.0% | |
7.6 | 5.2 | |
8 days ago | 6 months ago | |
Go | Ruby | |
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.
goss
-
Alternative to InSpec: what do you use to "assert things have been correctly configured"?
I've used https://github.com/goss-org/goss in the past and enjoyed it
-
Implement DevSecOps to Secure your CI/CD pipeline
Adding an extra layer of security on the container image to verify if it is working as expected and has all required files with correct permissions. We can use dgoss to do validation tests of container images.
-
What are some of the best tools you have discovered as a Sysadmin?
Bit of a strange one here - Goss. This is a testing tool that we use on all of our servers to validate they are working as expected. Think of it as a sanity check after changes. We have a set of tests setup that validate that the server is working as expected and we run it automatically after any change.
-
what's your goto tool for smoke-testing your site? tls, security headers, 401's, 403's, custom 404, 500 pages, redirects etc.
check out https://github.com/aelsabbahy/goss
- Looking for tools to help smoke test kubernetes clusters
-
How To Use Terraform like a Pro: Part 1
Use GOSS, a YML-based open-source tool that can assert the test results (i.e., verifying if the SSH port 22 is closed or not).
-
Unit tests for hardened images
For reference: https://goss.rocks ( points to the GitHub page)
-
Find The Cube
The repository is private but there is a CI/CD no-downtime deployment process. So fancy! I use goss to test the built image along with the docker/build-push-action. The end of my ci.yml GitHub Action workflow looks like this:
kitchen-terraform
-
Ways to test terraform scripts
I've used kitchen-terrafrom in the past to build and validate tests https://github.com/newcontext-oss/kitchen-terraform
-
How To Use Terraform like a Pro: Part 1
For integration testing, use kitchen-framework, which DevOps engineers used with Chef in the past. Terratest, which can test anything that has API, is another option.
What are some alternatives?
container-structure-test - validate the structure of your container images
inspec - InSpec: Auditing and Testing Framework
ansible-collection-hardening - This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
rspec-terraform-based
configure-aws-credentials - Configure AWS credential environment variables for use in other GitHub Actions.
bats - Bash Automated Testing System
ebpf - ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.
tflint - A Pluggable Terraform Linter
testkube - ☸️ Kubernetes-native testing framework for test execution and orchestration
powerlevel10k - A Zsh theme
terraformer - CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code