Commit Graph

481 Commits (383ae5d0c9a904b948543eba4833bf13a00011fa)

Author SHA1 Message Date
sundowndev 5b151557c3 refactor: split iam role policy supplier 2021-07-13 15:17:10 +02:00
Louis TOUSSAINT c37498e9dc Issue 727: Split iam user policy attachment 2021-07-13 15:01:31 +02:00
Elie f2e95423b5 Split aws_iam_role_policy_attachment 2021-07-13 14:54:32 +02:00
Elie bbfde71109
Fix ipv6 route detail retrieval 2021-07-13 14:17:54 +02:00
sundowndev 9810160d6a chore: fix lint errors 2021-07-12 16:20:55 +02:00
sundowndev 169f1c37a5 refactor: split iam access key supplier 2021-07-12 16:18:26 +02:00
sundowndev 58eb8f037b chore: fix lint errors 2021-07-12 15:43:02 +02:00
sundowndev f6eb9a8c05 refactor: split iam role supplier 2021-07-12 15:41:58 +02:00
Elie 0614d72c4f
Merge branch 'main' into refact/ec2_instance_details_fetcher 2021-07-12 15:27:39 +02:00
Elie c42269283d
Split aws_ecr_repository 2021-07-12 14:56:46 +02:00
sundowndev 0f757a6b33 refactor: remove unnecessary details fetcher 2021-07-12 11:54:15 +02:00
Louis TOUSSAINT 65a4e82654 Issue 728: Split iam user policy 2021-07-09 17:21:07 +02:00
William BEUIL cbac4f667e
Merge branch 'main' into issue_729_split_iam_user 2021-07-09 17:13:04 +02:00
William Beuil 8ea92d8819
Split route_supplier 2021-07-09 17:04:20 +02:00
Louis TOUSSAINT 5021803fa0 Issue 729: Split iam user 2021-07-09 16:17:47 +02:00
Louis TOUSSAINT afe3fc3186 Issue 823: vpc security group enumerator must use SupportedType() 2021-07-09 15:56:10 +02:00
Louis TOUSSAINT c349061c8e Issue 823: vpc default security group enumerator must use SupportedType() 2021-07-09 15:55:58 +02:00
Louis TOUSSAINT 46939773b9 Issue 823: route53 zone enumerator must use SupportedType() 2021-07-09 15:55:44 +02:00
Louis TOUSSAINT d49ba12e4e Issue 823: route53 record enumerator must use SupportedType() 2021-07-09 15:55:33 +02:00
William BEUIL d39815a1d3
Merge branch 'main' into fea/split_lambda_event_source_mapping_supplier 2021-07-09 12:08:08 +02:00
Martin Guibert 692c73ec88 split lambda_event_source_mapping_supplier 2021-07-09 11:42:22 +02:00
Elie 97f65abdbd Split aws_s3_bucket_analytic 2021-07-09 11:29:31 +02:00
Martin Guibert 74149109db split lambda_function_supplier 2021-07-09 11:07:57 +02:00
William Beuil 4add646e4c
Split nat_gateway_supplier 2021-07-09 10:46:42 +02:00
Louis TOUSSAINT 9877a3d6eb Issue 723: Split iam policy supplier 2021-07-09 10:36:07 +02:00
William Beuil c841047407
Split db_subnet_group_supplier 2021-07-08 18:22:12 +02:00
William Beuil 58c9c88811
Split db_instance_supplier 2021-07-08 18:01:30 +02:00
sundowndev cff7a2fee3 feat: split dynamodb table supplier 2021-07-08 17:39:42 +02:00
William BEUIL 6972f95994
Merge branch 'main' into change_Sqs_to_SQS 2021-07-08 17:17:32 +02:00
William BEUIL 439ac59cda
Merge branch 'main' into fea/split_sns_topic_subscription_supplier 2021-07-08 17:00:35 +02:00
William Beuil c5c11d0f6f Split cloudfront_distribution_supplier 2021-07-08 16:50:16 +02:00
Martin Guibert b2af025420 split sns_topic_subscription_supplier 2021-07-08 16:38:27 +02:00
Louis TOUSSAINT 3b830009b5 Change Sqs to SQS typo (except resourceType) 2021-07-08 16:13:51 +02:00
Martin Guibert 377e923813 split sns_topic_policy_supplier 2021-07-08 16:00:45 +02:00
Martin Guibert 08c3e2d7eb split sns_topic_supplier 2021-07-08 15:48:53 +02:00
Louis TOUSSAINT 431d9ba611 Issue 749: Split sqs queue policy supplier 2021-07-08 14:24:42 +02:00
Louis TOUSSAINT 047d17e496 Issue 750: Split sqs queue supplier 2021-07-07 20:42:24 +02:00
Elie 410e3df051
Fix kms_key crash 2021-07-06 17:34:24 +02:00
sundowndev 500748f787 test: route53 scanner 2021-07-06 15:09:14 +02:00
sundowndev 336c7062bd refactor: simplify code 2021-07-06 15:07:02 +02:00
sundowndev f6a48d8edf refactor: split route53 record supplier 2021-07-06 15:07:02 +02:00
Elie 51a3b8fcb7
Fix enumeration errors not handled 2021-07-06 12:12:55 +02:00
sundowndev e95c852f19 refactor: split vpc security group supplier 2021-07-06 11:10:05 +02:00
William BEUIL 0e6c6caf08
Merge branch 'main' into route_table_supplier 2021-07-06 10:57:12 +02:00
Elie 07b2a878ce
Merge branch 'main' into route_table_supplier 2021-07-06 10:51:34 +02:00
Elie a560d84b25
Fix bucket policy return err when no policy exist 2021-07-06 10:47:28 +02:00
William Beuil 640956f95c
Split route_table_supplier 2021-07-05 17:45:40 +02:00
sundowndev 0460878238 refactor: remove cleanZoneID function 2021-07-05 17:43:23 +02:00
sundowndev 83d360ec99 refactor: split route53 zone supplier 2021-07-05 17:27:47 +02:00
Elie d78afaf2ce
Merge branch 'main' into rework_s3_bucket_policy_supplier 2021-07-05 16:46:19 +02:00
William Beuil 3991c0e604
Split subnet_supplier 2021-07-05 16:23:05 +02:00
William Beuil 019f8c9773
Split route_table_association_supplier 2021-07-05 16:07:22 +02:00
Elie 496b8982aa
Merge branch 'main' into rework_s3_bucket_policy_supplier 2021-07-05 16:05:13 +02:00
Elie 6d89bd5555
Merge branch 'main' into fix/remove_useless_config_github_enum 2021-07-05 15:57:57 +02:00
Elie ec4388133b
Split s3_bucket_policy_supplier 2021-07-05 15:49:05 +02:00
Martin Guibert 55ac4a1012 split github branch protection 2021-07-05 15:48:51 +02:00
Martin Guibert edc9a5ff4a split github team membership supplier 2021-07-05 15:35:53 +02:00
Martin Guibert cdc1b87b25 remove useless provider config from github enumerator 2021-07-05 15:34:32 +02:00
Martin Guibert 2d8ebe0804 split github membership supplier 2021-07-05 15:21:47 +02:00
Elie ee1b4d3864
Merge branch 'main' into refact/route53_health_check_deepmode 2021-07-05 14:37:46 +02:00
William Beuil 195c64c55b
Split kms_alias_supplier 2021-07-05 13:18:48 +02:00
William Beuil fe064b4bb8
Fix typo on file name 2021-07-05 12:39:34 +02:00
sundowndev d04d1e0763 refactor: split route53 health check supplier 2021-07-05 12:07:11 +02:00
sundowndev a720e30c30 Merge branch 'main' into refact/vpc_deepmode 2021-07-05 11:28:22 +02:00
sundowndev 835f06423e refactor: fix generic details fetcher func name 2021-07-05 11:25:19 +02:00
sundowndev 90b0bcde33 Merge branch 'main' into refact/vpc_deepmode 2021-07-05 11:18:10 +02:00
Elie 9cb0676c94
Merge branch 'main' into kms_key_supplier 2021-07-05 11:11:54 +02:00
William Beuil 1b8ed7838b
Split internet_gateway_supplier 2021-07-05 10:50:45 +02:00
William Beuil 5f3b0a8524
Split kms_key_supplier 2021-07-05 10:44:54 +02:00
William Beuil 3c993c063c
Fix enumerators 2021-07-05 10:30:42 +02:00
William Beuil 8b4385613c
Split ec2_instance_supplier 2021-07-02 17:34:45 +02:00
Martin Guibert e638dc3f94 split github repository supplier 2021-07-02 17:20:29 +02:00
William Beuil 878b0dddc9
Split ec2_eip_association_supplier 2021-07-02 17:00:25 +02:00
William Beuil da973bbbe5
Split ec2_key_pair_supplier 2021-07-02 16:04:12 +02:00
William Beuil 666effc872
Split ec2_ami_supplier 2021-07-02 15:52:18 +02:00
Martin 09f756e655
Merge branch 'main' into refact/vpc_deepmode 2021-07-02 15:06:58 +02:00
Martin 47453c57d0
Merge branch 'main' into rework_s3_bucket_metric_supplier 2021-07-02 14:44:40 +02:00
William Beuil c12319e345
Fix details typo 2021-07-01 17:11:25 +02:00
sundowndev d7e789cdf3 test: merge vpc scanner & ec2 scanner tests 2021-07-01 17:01:14 +02:00
sundowndev 007149e785 refactor: delete unused schema files 2021-07-01 16:51:14 +02:00
sundowndev e1df7c84ec refactor: remove irrelevant line comment 2021-07-01 16:51:14 +02:00
sundowndev d0203cfbdc refactor: split default vpc supplier 2021-07-01 16:51:14 +02:00
sundowndev a160963596 refactor: split vpc supplier 2021-07-01 16:51:13 +02:00
William Beuil 4a8eea249e
Split ec2_eip_supplier 2021-07-01 16:22:46 +02:00
Martin Guibert d9d735615e split github_team_supplier 2021-07-01 15:52:52 +02:00
William Beuil 652d846631
Split ec2_ebs_snapshot_supplier 2021-07-01 15:24:35 +02:00
William Beuil 82fd4735f4
Split ec2_ebs_volume_supplier 2021-07-01 11:53:26 +02:00
Elie 54790c5d4c
Split s3_bucket_metrics_supplier 2021-07-01 10:36:46 +02:00
Elie 95c33bc886
Remove useless schemas files 2021-07-01 10:34:29 +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 61a84856e0
Merge branch 'main' into rework_s3_bucket_inventory_supplier 2021-06-30 17:06:42 +02:00
Elie 4cbf29fa5b
Add generic detail fetcher 2021-06-30 14:57:50 +02:00
Elie 7f7c269e42
Split s3_bucket_inventory_supplier 2021-06-29 14:29:48 +02:00
Elie 74fda032b9
Rename test file 2021-06-29 14:02:18 +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
Elie 955919d6e6
Merge pull request #585 from cloudskiff/feat/cacheGithubRepo
Implement cache in Github repository
2021-06-09 16:27:16 +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
Elie 667a66d6f7
Merge branch 'main' into feat/cacheGithubRepo 2021-06-09 15:49:14 +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 8f527baf3b feat: implement cache in github repository 2021-06-09 15:13:33 +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 26dcfd218e refactor(cache): allow 0 capacity 2021-06-04 15:40:37 +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 f8914f1c82 test: LRU cache 2021-06-03 11:20:41 +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
sundowndev 42ffe46af0 fix: doc deep links for providers authentication 2021-05-12 11:31:00 +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
Elie a2fa8a281a
Add missing schema metadatas in state reader tests 2021-05-07 17:57:31 +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
sundowndev 2d469ca5d9 test: aws s3 bucket supplier 2021-03-18 11:09:36 +01:00
Raphaël b4bd18fd5d
Merge branch 'main' into fix/filterS3 2021-03-17 19:53:50 +01:00
sundowndev 2c2a9281d9 test: update s3 bucket golden result 2021-03-17 19:52:04 +01:00
sundowndev 59118f5100 refactor: filter buckets before reading resource 2021-03-17 19:38:58 +01:00
sundowndev 23d739f75a refactor: revert ordering imports 2021-03-17 18:18:34 +01:00
Martin Guibert 53103f667c when sns subscitpion is pending prevent crash and show an alert 2021-03-17 17:59:02 +01:00
sundowndev 1b4d21d598 refactor: remove unused GetConfig method 2021-03-17 17:35:01 +01:00
sundowndev 460ac9f767 fix: filter out s3 buckets from different regions 2021-03-17 17:23:36 +01:00
Elie 2ed311e10d
Fix race conditions when using multiples runners in a single supplier 2021-03-17 16:55:34 +01:00
sundowndev 1155e7c89f refactor: use structured logging 2021-03-17 14:31:19 +01:00
sundowndev 3d8740a921 fix: remove provider initialization message
Fixes #337 - Move the message to debug logs instead of standard logs since it's confusing for the user when scanning.
2021-03-17 14:15:14 +01:00
Martin Guibert 28d3a6df7e Add progress service that display a spinner until stopped or timeouted 2021-03-16 16:35:20 +01:00
Martin Guibert f31a8a8395 Use printer to not break output isolation
added pinter interface to print info
json output use void printer is the path output it stdout
2021-03-15 12:03:35 +01:00
Elie 2c1ae57cef
Fix typo in github enumeration error 2021-03-03 11:05:36 +01:00
Elie cb986f573d
Merge branch 'main' into handle_github_listing_error 2021-03-03 10:32:29 +01:00
Elie c70fb41f6b
Merge branch 'main' into issue_151_lotoussa 2021-03-02 15:58:38 +01:00
Elie 1c34d869ed
Merge branch 'main' into add_github_branch_protection 2021-03-02 15:47:18 +01:00
Elie 7d0a28c6e8
Add github_branch_protection 2021-03-02 15:45:21 +01:00
Louis TOUSSAINT 36ffed55c9 Issue 151: Rename ListAllRepositories 2021-03-02 15:25:03 +01:00
Louis TOUSSAINT 11437d03da Issue 151: Add ecr_repository resource tests 2021-03-02 15:25:03 +01:00
Louis TOUSSAINT cf634bfd54 Issue 151: Add ecr_repository resource 2021-03-02 15:25:01 +01:00
Martin Guibert 0933a6a642 add support for aws_lambda_source_event_mapping 2021-03-02 14:44:51 +01:00
Elie 350d8399a8
Handle enumeration error from multiples providers 2021-03-02 14:16:49 +01:00
William Beuil 0287ab12b2
Updates 2021-03-02 12:36:57 +01:00
William Beuil 59998620da
Add github_team_membership 2021-03-02 12:36:57 +01:00
Elie ba8f950aad
Add github membership 2021-03-01 15:05:18 +01:00
William Beuil 839ae746e7
Add kms_alias 2021-02-25 14:19:49 +01:00
Elie e76a8e432b
Merge branch 'main' into res/kms_key 2021-02-25 10:54:51 +01:00
Elie c7155f2c5b
Add github_team 2021-02-25 10:49:46 +01:00
William Beuil 30a9d5cc2d
Add kms_key 2021-02-25 10:44:37 +01:00
Elie a1d84e1f7d
Merge branch 'main' into fea/refacto_rds_repository 2021-02-25 10:34:07 +01:00
Martin Guibert 922626c77c refacto rds supplier and test to use mock and repository 2021-02-24 17:29:57 +01:00
Martin Guibert 984b8feee7 refacto lambda supplier and test to use mock and repository 2021-02-24 16:31:23 +01:00
Martin Guibert 700879714a refacto ec2 to use repository 2021-02-23 18:47:42 +01:00
Martin Guibert c46096018e refacto route53 to use repository everywhere 2021-02-22 14:14:47 +01:00
Elie 76d98ed8e7
Remove custom mock and add repository for S3 2021-02-18 17:56:48 +01:00
Elie 2f0cc304ae
Fix bucket location returns EU for buckets in eu-west-1 2021-02-18 17:29:31 +01:00
Martin 22d618f009
Merge branch 'main' into res/cloudfront 2021-02-18 13:31:29 +01:00
Louis TOUSSAINT 0aef6f3184 Issue 226: Update resource_enumeration_error_handler to implement Alert
interface
2021-02-18 11:23:56 +01:00
William Beuil 476c6c62db
Add cloudfront_distribution resource 2021-02-17 15:52:09 +01:00
Martin Guibert f18ce79086 add support for route53 health check 2021-02-16 18:54:04 +01:00
Elie 2112ef7ada
Remove useless struct 2021-02-16 17:35:42 +01:00
Elie 56a60d9898
Better mocks 2021-02-16 17:35:41 +01:00
Elie cf531bc0a6
Add support for github_repository 2021-02-16 10:56:30 +01:00
Elie e137537596
Add a name to terraform provider 2021-02-16 10:56:29 +01:00
Elie 8e72b0fc7a
Remove useless provider add in test 2021-02-12 17:05:42 +01:00
Elie 59c061d2f6
Fix aws suppliers and tests to use new provider 2021-02-12 16:29:39 +01:00
Elie cf5d3d1f6d
use generic AZ attribute in suppliers 2021-02-12 16:18:27 +01:00
Elie 0749c72024
Create generic terraform provider 2021-02-12 16:18:26 +01:00
Martin Guibert 73ffe8280f add support for dynamodb_table 2021-02-11 18:18:08 +01:00
Elie 5e0484ac9d
Use errors.Errorf 2021-02-10 14:37:59 +01:00
Elie b2cf465aeb
Use pkg/errors to view stack on sentry 2021-02-09 19:43:39 +01:00