Security Improvements Across Terraform Examples and Go Source Files - #2206
Open
Rajesh-Sangepu wants to merge 22 commits into
Open
Security Improvements Across Terraform Examples and Go Source Files#2206Rajesh-Sangepu wants to merge 22 commits into
Rajesh-Sangepu wants to merge 22 commits into
Conversation
…ure-tls-policy-1-3GVSoEVQCS fix: semgrep-storage-use-secure-tls-policy
…olicy-8-2wESsQ7IKV fix: semgrep-aws-iam-admin-policy
…oudfront-distribution-tls-v-1-MDGCWiv4Vb fix: semgrep-aws-insecure-cloudfront-distribution-tls-version
…ervices-logging-1-b5DIT1br6P fix: semgrep-storage-queue-services-logging
…alancer-tls-version-9-Y094hfoO5p fix: semgrep-insecure-load-balancer-tls-version
…ble-unencrypted-49-0OlSXm3d39 fix: semgrep-aws-dynamodb-table-unencrypted
…bucket-5-isTjr9kimn fix: semgrep-s3-public-read-bucket
…alancer-tls-version-9-OVSeknmuug fix: semgrep-insecure-load-balancer-tls-version
…plate-8-66tTSXNtQJ fix: semgrep-import-text-template
…mplate-8-ePdIgqYWQF fix: semgrep-import-text-template
…policy-8-QM10WVGqKs fix: semgrep-aws-iam-admin-policy
|
appuser seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
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.
Summary
This pull request includes multiple security improvements across Terraform examples and Go source files. The changes enhance security by enforcing secure TLS configurations, applying the principle of least privilege, strengthening encryption, preventing public exposure of resources, enabling logging, and mitigating Cross-Site Scripting (XSS) risks.
Changes Included
text/templatepackage withhtml/templateto ensure automatic HTML escaping and reduce the risk of Cross-Site Scripting (XSS) vulnerabilities.Files Updated
_examples/971/modules/azure/storage-account/module.tf_examples/1509/main.tf_examples/main.tf_examples/withVars/main.tf_examples/publicBlock/main.tf_examples/iam/main.tfcmd/tfsec-docs/indexes.gocmd/tfsec-docs/webpage.goPurpose
These changes improve the overall security posture of the repository by implementing security best practices and strengthening the example configurations and source code without changing their intended functionality.