docs: add lab6 submission - IaC security scanning and comparative ana…#9
Open
docs: add lab6 submission - IaC security scanning and comparative ana…#9
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Implement a multi-level IaC scanning strategy in CI/CD pipeline using tfsec, Checkov, Terrascan and KICS to enhance infrastructure code security and compliance.
Changes
Added matrix assembly along the Terraform, Pulumi, and Ansible paths.
Integrated scanners: tfsec, Checkov, Terrascan, KICS.
Build failure policies are configured: HIGH — fail, MEDIUM — warning.
Implemented the publication of reports (JSON, HTML, SARIF).
Added baseline files with exception annotations.
Night scans are configured on the main branch.
Testing
Pre-commit hooks have been tested with tfsec and Checkov.
Parallel scans and SARIF annotations have been tested in the pull request.
The vulnerabilities for checking fail/warn logic are modeled.
The publication of artifacts and baseline files has been verified.
Nightly scans were successfully performed on the main branch.
Artifacts & Screenshots
-- labs/lab6/analysis/tfsec-report.txt
-- labs/lab6/analysis/checkov-terraform-report.txt
-- labs/lab6/analysis/terrascan-report.txt
-- labs/lab6/analysis/kics-pulumi-results.json
-- labs/lab6/analysis/kics-pulumi-report.html
-- Ansible Reports (KICS):
-- labs/lab6/analysis/kics-ansible-results.json
-- labs/lab6/analysis/kics-ansible-report.html
-- labs/lab6/analysis/terraform-comparison.txt
-- labs/lab6/analysis/pulumi-analysis.txt
-- labs/lab6/analysis/ansible-analysis.txt
-- labs/lab6/analysis/tool-comparison.txt
-- labs/submission6.md
Checklist