Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check sak modules with tfsec #7

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
de06a24
check_sak_modules_with_tfsec
Jul 8, 2022
1dae3c3
add push event in pipeline
Jul 8, 2022
31fce4a
fix directory
Jul 8, 2022
096957c
fix directory
Jul 8, 2022
952a295
add path to reviewdog
Jul 8, 2022
ab12160
change pipeline
Jul 8, 2022
0d5a599
change pipeline
Jul 8, 2022
171449a
change pipeline
Jul 8, 2022
a5c5a44
change pipeline
Jul 8, 2022
163f030
change pipeline
Jul 8, 2022
10ccd89
change pipeline
Jul 8, 2022
dd3b3bb
change pipeline
Jul 8, 2022
cd77c15
change pipeline
Jul 8, 2022
fd63c0b
change pipeline
Jul 8, 2022
1c8f597
change pipeline
Jul 8, 2022
c0b4b69
change pipeline
Jul 8, 2022
7a58c5b
change pipeline
Jul 8, 2022
e1c281f
change pipeline
Jul 8, 2022
5b5e373
change pipeline
Jul 8, 2022
37c7d77
change pipeline
Jul 8, 2022
10b7898
change pipeline
Jul 8, 2022
1f17d27
change pipeline
Jul 8, 2022
80c04bc
change pipeline
Jul 8, 2022
7618c3d
change pipeline
Jul 8, 2022
42b0d14
change pipeline
Jul 8, 2022
fdb3ce7
Merge branch 'master' into check_sak_modules_with_tfsec
mhernahapetyan Jul 8, 2022
1422887
change pipeline
Jul 8, 2022
123b9fc
change pipeline
Jul 8, 2022
eee6c6b
change pipeline
Jul 8, 2022
4a87e77
change pipeline
Jul 8, 2022
9175716
change pipeline
Jul 8, 2022
7e8ee38
change pipeline
Jul 8, 2022
da98059
change pipeline
Jul 8, 2022
120b345
change pipeline
Jul 8, 2022
3c39b1a
change pipeline
Jul 8, 2022
2ed565d
change pipeline
Jul 8, 2022
9546e14
change pipeline
Jul 8, 2022
82407d2
change pipeline
Jul 8, 2022
efa09a2
change pipeline
Jul 8, 2022
959f47e
change pipeline
Jul 8, 2022
c7cedc7
change pipeline
Jul 8, 2022
39fc4c9
change pipeline
Jul 8, 2022
65ba3f7
test push
Aug 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/reviewdog.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: reviewdog
on:
push:
branches:
- master
pull_request:
types: [opened, reopened]
paths:
- '**.tf'
- '**.tfvars'
- '**.tfvars.json'
env:
TERRAFORM_VERSION: "1.0.6"

defaults:
run:
shell: bash

jobs:

tflint:
Expand Down Expand Up @@ -43,3 +51,5 @@ jobs:
filter_mode: "nofilter" # Optional. Check all files, not just the diff
level: info
flags: "--module" # Optional. Add custom tflint flags


20 changes: 20 additions & 0 deletions .github/workflows/tfsec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: tfsec
on:
pull_request:
types: [opened, reopened]
env:
TERRAFORM_VERSION: "1.0.6"

jobs:
tfsec:
name: runner /tfsec
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@master
- name: tfsec
uses: aquasecurity/[email protected]
id : test


5 changes: 0 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ resource "aws_iam_policy" "this" {
{
Version = "2012-10-17",
Statement = [
{
Effect = "Allow",
Action = "route53:GetChange",
Resource = "arn:aws:route53:::change/*"
},
{
Effect = "Allow",
Action = [
Expand Down