File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 88
99env :
1010 TERRAFORM_DOCS_VERSION : v0.16.0
11+ TFLINT_VERSION : v0.44.1
1112
1213jobs :
1314 collectInputs :
4647 uses : clowdhaus/terraform-composite-actions/pre-commit@v1.8.0
4748 with :
4849 terraform-version : ${{ steps.minMax.outputs.minVersion }}
50+ tflint-version : ${{ env.TFLINT_VERSION }}
4951 args : ' terraform_validate --color=always --show-diff-on-failure --files ${{ matrix.directory }}/*'
5052
5153 - name : Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
5456 uses : clowdhaus/terraform-composite-actions/pre-commit@v1.8.0
5557 with :
5658 terraform-version : ${{ steps.minMax.outputs.minVersion }}
59+ tflint-version : ${{ env.TFLINT_VERSION }}
5760 args : ' terraform_validate --color=always --show-diff-on-failure --files $(ls *.tf)'
5861
5962 preCommitMaxVersion :
7578 uses : clowdhaus/terraform-composite-actions/pre-commit@v1.8.0
7679 with :
7780 terraform-version : ${{ steps.minMax.outputs.maxVersion }}
81+ tflint-version : ${{ env.TFLINT_VERSION }}
7882 terraform-docs-version : ${{ env.TERRAFORM_DOCS_VERSION }}
7983 install-hcledit : true
Original file line number Diff line number Diff line change 11locals {
22 all_controls = {
33 UnauthorizedAPICalls = {
4- pattern = " { (($.errorCode=\" *UnauthorizedOperation\" ) || ($.errorCode=\" AccessDenied*\" )) && (($.sourceIPAddress!= \" delivery.logs.amazonaws.com \" ) && ($.eventName!= \" HeadBucket \" )) }"
4+ pattern = " { (($.errorCode=\" *UnauthorizedOperation\" ) || ($.errorCode=\" AccessDenied*\" )) }"
55 description = " Monitoring unauthorized API calls will help reveal application errors and may reduce time to detect malicious activity."
66 }
77
You can’t perform that action at this time.
0 commit comments