Commit Graph

213 Commits (dae1eaee9a56930ff1633a942b3bbb157c18d23a)

Author SHA1 Message Date
Elie 54790c5d4c
Split s3_bucket_metrics_supplier 2021-07-01 10:36:46 +02:00
Elie 0ca2866e5e
Merge branch 'main' into sso 2021-06-30 18:26:22 +02:00
Elie f6af2cffab
Merge branch 'main' into fix/sg_rule 2021-06-30 17:53:55 +02:00
Elie 4854d4d997
Split s3_bucket_notification_supplier 2021-06-30 17:26:37 +02:00
Elie 7f7c269e42
Split s3_bucket_inventory_supplier 2021-06-29 14:29:48 +02:00
William Beuil 47500b7771
Refacto AWS mocks for repositories and clients 2021-06-28 18:21:12 +02:00
Martin Guibert 54e5d17ee8 simpler test function to test against golden file 2021-06-28 15:16:56 +02:00
Elie 73200b1ae8 Add scanner test 2021-06-28 15:16:55 +02:00
William Beuil 24a295703f
Fix default security group rules from default security group 2021-06-28 11:16:24 +02:00
Elie 2f07640e0a
Merge pull request #619 from cloudskiff/deep_mode
Split suppliers to add deep mode
2021-06-23 11:20:08 +02:00
Elie 3dcfbd94a9
Fix golden files update 2021-06-23 10:52:50 +02:00
Elie 4f44039fb9
Split suppliers to add deep mode 2021-06-22 18:25:47 +02:00
Louis TOUSSAINT 43bc80eee6 Issue 555: Remove default value description for config-dir flag and rebase main 2021-06-17 14:34:50 +02:00
Louis TOUSSAINT 80783a6d41 Issue 555: Add config-dir flag to change .driftctl location 2021-06-17 14:34:50 +02:00
Elie 35b511ef43 Retrieve provider version and schema version 2021-06-14 11:02:10 +02:00
Elie dfee5b441a
Merge branch 'main' into feat/cacheS3repository 2021-06-09 16:52:27 +02:00
Raphaël 5620ab898d
Merge branch 'main' into feat/cacheSNSrepo 2021-06-09 16:40:26 +02:00
Raphaël 0d8bf3e423
Merge branch 'main' into feat/cacheRoute53repo 2021-06-09 16:29:22 +02:00
Raphaël 7a12dd869f
Merge branch 'main' into feat/cacheLambdarepo 2021-06-09 16:15:39 +02:00
Raphaël 237eaba9ce
Merge branch 'main' into feat/cacheRDSrepo 2021-06-09 16:06:27 +02:00
Elie bc96022b94
Merge branch 'main' into feat/cacheSQSrepo 2021-06-09 15:50:37 +02:00
Raphaël 6473d8b807
Merge branch 'main' into feat/cacheCloudfrontRepo 2021-06-09 15:42:21 +02:00
Elie b2d8d7e075
Merge branch 'main' into feat/cacheDynamoDBrepo 2021-06-09 15:40:49 +02:00
Raphaël e9b0c1792e
Merge branch 'main' into feat/cacheECRrepo 2021-06-09 15:26:26 +02:00
sundowndev e14552efed feat: implement cache in cloudfront repository 2021-06-09 15:13:13 +02:00
sundowndev 5bbc905670 feat: implement cache in DynamoDB repository 2021-06-09 15:12:15 +02:00
sundowndev 89dcf9700e feat: implement cache in SNS repository 2021-06-09 15:11:57 +02:00
sundowndev de9d246f98 feat: implement cache in SQS repository 2021-06-09 15:11:40 +02:00
sundowndev 991e777364 feat: implement cache in RDS repository 2021-06-09 15:11:08 +02:00
sundowndev 6e3bfdca3a feat: implement cache in lambda repository 2021-06-09 15:10:49 +02:00
sundowndev 351f9f6605 feat: implement cache in kms repository 2021-06-09 15:09:58 +02:00
sundowndev 2b91e69c73 feat: implement cache in route53 repository 2021-06-09 15:09:46 +02:00
sundowndev 3d97255858 feat: implement cache in s3 repository 2021-06-09 15:09:34 +02:00
sundowndev aef2991445 feat: implement cache in ecr repository 2021-06-09 15:08:18 +02:00
Elie f22734787e
Merge branch 'main' into feat/cacheIAMrepository 2021-06-09 14:56:02 +02:00
Martin Guibert 160f541767 remove old case to have only one alert/handler for wrong arn 2021-06-08 15:23:37 +02:00
Martin Guibert 465e6fd7f0 fix #601 by checking arn correctness and sending a different alert 2021-06-08 14:58:02 +02:00
sundowndev ccbe73c368 feat: implement cache in IAM repository 2021-06-08 11:40:04 +02:00
Louis TOUSSAINT 86da6faf66 Issue 165: Add cache for ec2_repository and fix tests for iam_supplier 2021-06-07 16:59:54 +02:00
Louis TOUSSAINT 9f232ccb49 Issue 165: Fix typo and implement iamRepository in iam suppliers constructor 2021-06-07 15:02:12 +02:00
Louis TOUSSAINT 8b5b8bfb7f Issue 165: Fix conflict from main rebase 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 4cf5130549 Issue 165: Merge main to branch and fix iam_repository_test conflict 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT b177dd804e Issue 165: Change client typo to repo 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 0464c7cbb9 Issue 165: Add Test_IAMRepository_ListAllPolicies in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT d7bceb4d24 Issue 165: Add Test_IAMRepository_ListAllUsers in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT bf20120efc Issue 165: Add Test_IAMRepository_ListAllRolePolicyAttachments in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT dbc179f0d8 Issue 165: Add Test_IAMRepository_ListAllRolePolicies in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 6c29aa04ff Issue 165: Add Test_IAMRepository_ListAllRoles in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 09f3f82a97 Issue 165: Add Test_IAMRepository_ListAllUserPolicyAttachments in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 6e0a47ad67 Issue 165: Add Test_IAMRepository_ListAllUserPolicies in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT b4e04e0d77 Issue 165: Add Test_IAMRepository_ListAllAccessKeys in iam_repository_test 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 874756c259 Issue 165: Add mock_IAMRepository 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT ddac4d14b3 Issue 165: Delete hidden dependency for iam_role_policy_attachment_supplier 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 48289c35f7 Issue 165: Delete hidden dependency for iam_role_policy_supplier 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 551f958ea1 Issue 165: Delete hidden dependency for iam_role_supplier 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT b35eac7bc6 Issue 165: Delete hidden dependency for iam_user_policy_attachment_supplier 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 82ed1c2c71 Issue 165: Delete hidden dependency for iam_user_policy_supplier 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 832304c8f9 Issue 165: Delete hidden dependency for iam_user_supplier 2021-06-07 11:05:21 +02:00
Louis TOUSSAINT 414fecb9d1 Issue 165: Delete hidden dependency for iam_policy_supplier 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT f81cfb9eaf Issue 165: Delete hidden dependency for iam_access_key_supplier 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT a0ecd28498 Issue 165: Add iam_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT def99b065d Issue 165: Add security_group/_rule tests to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 2329c840d2 Issue 165: Add security_group_rule_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 18e3a76d90 Issue 165: Add security_group_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT b4a3458cc3 Issue 165: Add vpc_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT b9fb4f9343 Issue 165: Add route_table_association_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 1a45b6cdf2 Issue 165: Add route_table_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 3f2fe6d90c Issue 165: Add route_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 86b7f52d60 Issue 165: Add nat_gateway_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 6fc4478114 Issue 165: Add subnet_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT 9f89dac6f2 Issue 165: Revert goldenfiles for internet_gateway_multiple 2021-06-07 11:05:20 +02:00
Louis TOUSSAINT abe938b0cd Issue 165: Add internet_gateway_supplier to ec2_repository 2021-06-07 11:05:20 +02:00
Elie fcb06cd782
Allow to specify a terraform provider version 2021-06-04 16:58:54 +02:00
sundowndev dfda3df3c6 test: improve testing for ec2 repository 2021-06-04 12:25:32 +02:00
sundowndev d737d9eb2a chore: fix conflicts with main branch 2021-06-03 12:39:33 +02:00
sundowndev e8d2b2bf70 refactor: build repositories once 2021-06-03 12:12:43 +02:00
sundowndev 4f151f35d2 refactor: aws cache capacity 2021-06-03 11:20:41 +02:00
sundowndev 44a6707523 refactor: use a global cache for all repositories 2021-06-03 11:20:41 +02:00
sundowndev e9a021b95f refactor: implement LRU cache 2021-06-03 11:00:59 +02:00
sundowndev 6b5766144c refactor: cache interface 2021-06-03 11:00:59 +02:00
sundowndev 2bf75aaa29 feat: implement resources enumeration cache 2021-06-03 11:00:59 +02:00
Martin Guibert 3a544133e2 remove useless file. prevent getter in attribute from copiying slice and
map. remove useless exported function from resource
2021-06-02 12:02:36 +02:00
Elie b5c48dbbfc
Finished refacto 2021-05-31 18:46:20 +02:00
Elie 550f5e84ae
Refacto IAM resources and aws_key_pair 2021-05-11 16:04:59 +02:00
Elie 623ff3dc8e Move all AWS mocks to test/aws 2021-05-10 15:02:42 +02:00
Martin Guibert 80687e5029
Add hybrid resource behavior 2021-04-23 17:07:35 +02:00
sundowndev 925decb2ba Merge branch 'fix/filterS3' of github.com:cloudskiff/driftctl into fix/filterS3 2021-03-18 13:49:32 +01:00
sundowndev 9d09280ec7 test: cleanup mocks 2021-03-18 13:49:25 +01:00
sundowndev 8acdf14cd6 test: cleanup mocks 2021-03-18 12:37:27 +01:00
sundowndev 4736958777 test: cleanup mocks 2021-03-18 12:34:43 +01:00
sundowndev 58bd84c438 test: cleanup mocks 2021-03-18 12:28:50 +01:00
sundowndev 357005ed7b test: cleanup mocks 2021-03-18 12:26:34 +01:00
Raphaël 93337c3280
Merge branch 'main' into fix/filterS3 2021-03-18 12:14:05 +01:00
sundowndev ca3cabe7e8 fix(remote): aws s3 bucket notification supplier
Add filter on resources based on region
2021-03-18 12:12:34 +01:00
sundowndev 1bebec138d fix(remote): aws s3 bucket analytic supplier
Add filter on resources based on region
2021-03-18 12:10:46 +01:00
sundowndev 038116e7bf fix(remote): aws s3 bucket metrics supplier
Add filter on resources based on region
2021-03-18 12:08:21 +01:00
sundowndev 7e52ef5c76 fix(remote): aws s3 bucket inventory supplier
Add filter on resources based on region
2021-03-18 12:04:58 +01:00
sundowndev 95bc5220fb fix(remote): aws s3 bucket policy supplier
Add filter on resources based on region
2021-03-18 11:59:52 +01:00
Elie 7928a4902d
Fix missing mock on golden file update 2021-03-18 11:20:14 +01:00
sundowndev a113ab5032 Merge branch 'fix/filterS3' of github.com:cloudskiff/driftctl into fix/filterS3 2021-03-18 11:09:51 +01:00