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

Juliandreslopez patch 2 #472

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions .github/autotagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: yor
on:
- push
- pull_request

jobs:
add-your-tags:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run yor action
uses: bridgecrewio/yor-action@main
18 changes: 18 additions & 0 deletions .github/workflows/yortagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: yor
on:
- push
- pull_request

jobs:
add-your-tags:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run yor action
uses: bridgecrewio/yor-action@main
3 changes: 2 additions & 1 deletion terraform/alicloud/bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ resource "alicloud_oss_bucket" "bad_bucket" {
git_last_modified_at = "2022-04-05 15:17:55"
git_last_modified_by = "[email protected]"
git_modifiers = "james.woolfenden"
git_org = "bridgecrewio"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "80373049-248d-4f5e-9d25-740c3e80f2b9"
yor_name = "bad_bucket"
}
}
3 changes: 2 additions & 1 deletion terraform/alicloud/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ resource "alicloud_db_instance" "seeme" {
git_last_modified_at = "2022-04-05 15:14:28"
git_last_modified_by = "[email protected]"
git_modifiers = "james.woolfenden"
git_org = "bridgecrewio"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "7bd1394e-0a79-4288-8f83-5abcca5bf1ba"
yor_name = "seeme"
}
}
3 changes: 2 additions & 1 deletion terraform/alicloud/trail.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ resource "alicloud_oss_bucket" "trail" {
git_last_modified_at = "2022-04-05 15:14:28"
git_last_modified_by = "[email protected]"
git_modifiers = "james.woolfenden"
git_org = "bridgecrewio"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "9ce7077b-8195-4e71-aec6-ed1f769555dc"
yor_name = "trail"
}
}

Expand Down
95 changes: 55 additions & 40 deletions terraform/aws/db-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ resource "aws_db_instance" "default" {
Name = "${local.resource_prefix.value}-rds"
Environment = local.resource_prefix.value
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonjozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "47c13290-c2ce-48a7-b666-1b0085effb92"
}, {
yor_name = "default"
})

# Ignore password changes from tf plan diff
Expand All @@ -50,14 +52,16 @@ resource "aws_db_option_group" "default" {
Name = "${local.resource_prefix.value}-og"
Environment = local.resource_prefix.value
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonjozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "c8076043-5de7-4203-9a1c-b4e61900628a"
}, {
yor_name = "default"
})
}

Expand All @@ -82,14 +86,16 @@ resource "aws_db_parameter_group" "default" {
Name = "${local.resource_prefix.value}-pg"
Environment = local.resource_prefix.value
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonjozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "6432b3f9-3f45-4463-befc-2e0f2fbdffc1"
}, {
yor_name = "default"
})
}

Expand All @@ -102,14 +108,16 @@ resource "aws_db_subnet_group" "default" {
Name = "sg-${local.resource_prefix.value}"
Environment = local.resource_prefix.value
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonjozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "b8368249-50c5-4a24-bdb0-9f83d197b11c"
}, {
yor_name = "default"
})
}

Expand All @@ -121,14 +129,16 @@ resource "aws_security_group" "default" {
Name = "${local.resource_prefix.value}-rds-sg"
Environment = local.resource_prefix.value
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonjozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "7b251090-8ac1-4290-bd2e-bf3e16126430"
}, {
yor_name = "default"
})
}

Expand Down Expand Up @@ -156,14 +166,15 @@ resource "aws_iam_instance_profile" "ec2profile" {
name = "${local.resource_prefix.value}-profile"
role = "${aws_iam_role.ec2role.name}"
tags = {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonathan.jozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "6d33b2b9-2dd3-4915-b5d4-283152c928f1"
yor_name = "ec2profile"
}
}

Expand Down Expand Up @@ -191,14 +202,16 @@ EOF
Name = "${local.resource_prefix.value}-role"
Environment = local.resource_prefix.value
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonathan.jozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "d4b631c1-c1d0-4986-affb-fb8b94a6a7a5"
}, {
yor_name = "ec2role"
})
}

Expand Down Expand Up @@ -400,14 +413,16 @@ EOF
tags = merge({
Name = "${local.resource_prefix.value}-dbapp"
}, {
git_commit = "d68d2897add9bc2203a5ed0632a5cdd8ff8cefb0"
git_commit = "5c6b5d60a8aa63a5d37e60f15185d13a967f0542"
git_file = "terraform/aws/db-app.tf"
git_last_modified_at = "2020-06-16 14:46:24"
git_last_modified_by = "nimrodkor@gmail.com"
git_modifiers = "nimrodkor"
git_org = "bridgecrewio"
git_last_modified_at = "2021-05-02 10:06:10"
git_last_modified_by = "nimrodkor@users.noreply.github.com"
git_modifiers = "jonathan.jozwiak/jonjozwiak/nimrodkor"
git_org = "Juliandreslopez"
git_repo = "terragoat"
yor_trace = "f7999d4e-c983-43ee-bd88-7903a6f8483e"
}, {
yor_name = "db_app"
})
}

Expand Down
Loading