Commit Graph

125 Commits (df06e293f793dd5b7d4e4718f9f999bf1c22a3fc)

Author SHA1 Message Date
Elie b06e33b1a2
Merge branch 'main' into refacto_nat_gtw 2021-05-18 10:18:48 +02:00
Elie 37abb38a15
Refacto aws route53 resources 2021-05-18 10:02:45 +02:00
Martin Guibert ce98460460 fix matchby in tests 2021-05-17 18:58:03 +02:00
Martin Guibert 0fb7156dbe add sqs-queue 2021-05-17 18:57:49 +02:00
Martin Guibert efdf8ab43b ,migrate sqs_queue_policy and sqs_default_queue_policy 2021-05-17 18:57:32 +02:00
William Beuil fe2f136c70
Refacto aws_nat_gateway 2021-05-17 18:11:47 +02:00
Elie 0bccc10850
Merge branch 'main' into refacto_internet_gtw 2021-05-17 17:58:38 +02:00
Elie f280e97ecb
Merge branch 'main' into fix_iam_policy_attachment_issues 2021-05-17 17:19:32 +02:00
William Beuil 59ecb3541c
Refacto aws_internet_gateway 2021-05-17 13:27:40 +02:00
Elie 5dbdbcbdb4
Refacto aws_eip 2021-05-17 11:38:46 +02:00
Elie ef19b0d500
Fix policy attachment issue 2021-05-14 16:57:16 +02:00
Elie e0d632f19b
Rename sanitizer middleware to expander 2021-05-12 11:37:40 +02:00
Elie 389d685991
Fix iam policy expander 2021-05-12 11:37:39 +02:00
Elie 550f5e84ae
Refacto IAM resources and aws_key_pair 2021-05-11 16:04:59 +02:00
Martin Guibert 80fd17dae7 fix some issues with test matchby 2021-05-11 12:22:44 +02:00
Martin Guibert ab026b66b8 migrate sns_topic 2021-05-11 12:22:44 +02:00
Martin Guibert ad729d7608 migrate sns_topic_policy 2021-05-11 12:22:44 +02:00
Elie 6a2557573a
Remove useless empty fields and remove todo 2021-05-10 16:50:49 +02:00
William Beuil 7feb45f5dd
Fix aws_default_route_table, add aws_route_table and add aws_route 2021-05-10 16:33:43 +02:00
sundowndev 2c76d30c81 fix: do not ignore default policy attachments 2021-05-10 15:02:42 +02:00
Elie ba3dda704c
Refacto remaining s3 resources 2021-05-06 17:14:00 +02:00
Elie 98a43acd14
Refacto s3 bucket 2021-05-06 15:36:24 +02:00
William Beuil 34bfd19a59
Fix signature of attributes 2021-05-06 12:55:19 +02:00
William Beuil eda619f107
Updates 2021-05-04 18:01:21 +02:00
William Beuil 18d406178e
Add aws_ebs_volume 2021-05-04 13:41:06 +02:00
William Beuil 2b5ba194a1
Add aws_instance 2021-05-04 13:41:06 +02:00
Elie 4bd0a81718 Fix bug in default igw route middleware 2021-04-13 14:47:08 +02:00
sundowndev bd497cbf6a refactor: simplify & format code 2021-04-13 14:47:08 +02:00
sundowndev 53bfa79423 refactor: simplify & format code 2021-04-13 14:45:43 +02:00
sundowndev 4ce5d7530b refactor: rename wildcard variable 2021-04-13 14:45:43 +02:00
sundowndev 7f72b23b67 test: put aws defaults tests in the same file 2021-04-13 14:45:43 +02:00
sundowndev ba1868b080 refactor: put aws defaults in a single middleware 2021-04-13 14:45:43 +02:00
sundowndev 9411a5b72c refactor: don't ignore resource if role cannot be found 2021-04-13 14:45:43 +02:00
sundowndev 62cc1c7bea refactor: ignore resources based on their path 2021-04-13 14:45:43 +02:00
sundowndev fc93f0a41f refactor: delete useless aws middleware 2021-04-13 14:45:43 +02:00
sundowndev cc98c10216 refactor: revert method rename
isDefaultRecord in pkg/middlewares/route53_record.go
2021-04-13 14:45:43 +02:00
sundowndev e102fd1cdd refactor: ignore resources based on their path 2021-04-13 14:45:43 +02:00
sundowndev 803700806e refactor: delete useless aws middleware 2021-04-13 14:45:43 +02:00
Louis TOUSSAINT 3c0321e044 Issue 331: Typo in aws_security_group_defaults / aws_security_group_rules_defaults 2021-04-13 14:45:43 +02:00
sundowndev b514645029 refactor(middlewares): typo in debug log 2021-04-13 14:45:43 +02:00
sundowndev 2c8a0f7fc1 test(middlewares): aws security group rule defaults 2021-04-13 14:45:43 +02:00
sundowndev f01227d35a refactor: do not alter resources from state in middlewares 2021-04-13 14:45:43 +02:00
Louis TOUSSAINT cfdb6801a9 Issue 331: Update test to check diff.Changelog and not resource.Resource 2021-04-13 14:45:43 +02:00
Louis TOUSSAINT 1927fd07f6 typo in aws_default_route_table_test.go 2021-04-13 14:45:43 +02:00
Louis TOUSSAINT 9d32101205 Issue 331: Create a aws_iam_policy_attachment_defaults middleware to
ignore default AWS resource
2021-04-13 14:45:43 +02:00
sundowndev 00cec78d18 feat: implement aws_security_group_rules_defaults middleware 2021-04-13 14:45:43 +02:00
sundowndev 2bd04d6fb7 feat: implement aws_security_group_defaults middleware 2021-04-13 14:45:43 +02:00
sundowndev 54018e6b52 test(middlewares): ignore aws iam defaults 2021-04-13 14:42:36 +02:00
sundowndev f2ff032b85 feat: implement aws_iam_role_defaults middleware 2021-04-13 14:42:36 +02:00
sundowndev 2ca48d4e65 feat: implement aws_iam_role_policy_defaults middleware 2021-04-13 14:41:23 +02:00
sundowndev 5f60cf44bc refactor: simplify middleware code
following code review feedback. pkg/middlewares/aws_route_table_expander.go
2021-04-13 14:40:07 +02:00
sundowndev 257c1260dd refactor: create routeExists method 2021-04-13 14:40:07 +02:00
sundowndev 0dd062b7db fix: false positive on aws routes 2021-04-13 14:38:33 +02:00
Louis TOUSSAINT cfc81b766a Typo in pkg/middlewares/route53_records_test.go 2021-04-13 14:02:50 +02:00
Elie 2b71c8e650 Add resource factory 2021-04-06 16:43:35 +02:00
Martin Guibert 35dc02099f add pointer to user roles and groups
users, roles and groups can be nil but gocty refuse to deserialize in
this case
2021-03-04 17:44:46 +01:00
Louis TOUSSAINT c426e4827a Issue 226: Update aws_route_table_expander to implement Alert interface 2021-02-18 11:23:56 +01:00
Martin Guibert 7041cf12e5 add support for sns_topic_policy
modify sns_topic support so that we create sns_topic_policy for inline
policy
2021-02-05 14:08:28 +01:00
Elie f87d3e4691
Merge branch 'main' into handle_invalid_routes_in_table 2021-02-05 13:42:18 +01:00
William Beuil 0d738f9dc4
Update SQS suppliers and tests 2021-02-03 21:08:57 +01:00
William Beuil d3c542c004
Add aws_sqs_queue_policy 2021-02-03 20:52:52 +01:00
Elie a8f0300405
Handle invalid route crash in middlewares 2021-02-03 16:24:55 +01:00
William Beuil 54a7bb211d
Middleware to explode inline policy 2021-01-28 10:37:59 +01:00
William Beuil fad0147566
Add middleware 2021-01-22 11:32:56 +01:00
William Beuil 734adf5cea
Add aws_internet_gateway resource 2021-01-21 16:00:16 +01:00
Elie 4faab489d2
Add aws_nat_gateway 2021-01-21 09:53:04 +01:00
William Beuil bd233350a9
Add aws_default_security_group 2021-01-15 17:03:16 +01:00
Elie 3eb84e0500
Add aws_route, aws_route_table, aws_default_route_table support 2021-01-14 18:23:59 +01:00
Elie 06abff67ba
Add support for aws_subnet and aws_default_subnet 2021-01-11 18:16:16 +01:00
William Beuil 563f1a9ed3
Fix records that has the same FQDN 2021-01-06 14:44:09 +01:00
William Beuil 98d1021505
Rely on the FQDN to compare two route53 records 2021-01-04 13:47:02 +01:00
Martin Guibert 1adac9f085 fix formatting issues 2020-12-23 10:56:56 +01:00
Elie bbe91ffef0
Add aws vpc support 2020-12-17 18:26:37 +01:00
Elie 2282ebadad
Avoid to display false positive drift on instances when eip attached 2020-12-14 12:22:29 +01:00
Elie ff72de8e77
🍾 Initial release
Co-authored-by: William BEUIL <william.beuil@cloudskiff.com>
Co-authored-by: Martin GUIBERT <martin@cloudskiff.com>
2020-12-09 16:35:26 +01:00