Commit Graph

1265 Commits (81f2efb96b1e3cad4132c31030519b3877acc465)

Author SHA1 Message Date
William Beuil d518d921e5
Add aws_api_gateway_method resource 2021-10-22 10:26:47 +02:00
Martin 03b0fcbb34
Merge branch 'main' into fea/ignore_default_serviceaccount_membership 2021-10-21 18:13:31 +02:00
Martin Guibert 3db486635a filter membership fo default serviceaccount if not in strict mode 2021-10-21 18:12:57 +02:00
Elie f07cc4ed6e
Merge pull request #1129 from cloudskiff/res/api_gtw_base_path_mapping
Add aws_api_gateway_base_path_mapping resource
2021-10-21 17:38:58 +02:00
Elie 97a4c29363
Merge pull request #1143 from cloudskiff/add_google_compute_address
Add google_compute_address
2021-10-21 16:38:34 +02:00
sundowndev 64e900d733 test: flags in metadata 2021-10-21 16:14:11 +02:00
Elie 4295f68f6d
Add google_compute_address 2021-10-21 16:09:09 +02:00
Elie 52ffc86bed
Add google_bigquery_table 2021-10-21 15:32:10 +02:00
William Beuil 828e0c7c3a
Add aws_api_gateway_base_path_mapping resource 2021-10-21 11:12:58 +02:00
Martin Guibert a6ea09e4c8 implement iam for project and make middleware generics 2021-10-20 16:57:57 +02:00
Martin 5ea091c37c
Merge branch 'main' into fea/google_project_iam_bindings 2021-10-20 16:19:59 +02:00
Raphaël 930b027a1a fix: add deep mode flag for compute_network 2021-10-20 15:40:07 +02:00
sundowndev 9dee52e086 test: aws_rds_cluster
The test was failing due to resource IDs being identical.
2021-10-20 14:37:57 +02:00
sundowndev 6718cfb3e4 fix: aws_rds_cluster deep mode 2021-10-20 10:34:33 +02:00
Martin Guibert 9466e35393 use gitignore in tests and remove useless lock in repository 2021-10-19 18:26:30 +02:00
Martin Guibert b94c41777a implement iam for project and make middleware generics 2021-10-19 18:20:10 +02:00
Elie 70d0d0e6fa
Merge branch 'main' into add_google_bigquery_dataset 2021-10-19 17:04:47 +02:00
sundowndev cfb5697376 fix: aws_rds_cluster_instance deep mode 2021-10-19 16:54:45 +02:00
Elie 9d91238c83
Add google_bigquery_dataset 2021-10-19 15:44:52 +02:00
Elie 7b84f9c1e8
Merge pull request #1123 from cloudskiff/res/api_gtw_rest_api_policy
Add aws_api_gateway_rest_api_policy resource
2021-10-19 14:27:28 +02:00
sundowndev 7ff1b60fba feat: azurerm_network_security_group deep mode 2021-10-18 17:33:23 +02:00
William Beuil 08e29d8d43
Add aws_api_gateway_rest_api_policy resource 2021-10-18 16:25:19 +02:00
sundowndev 28ab55c721 test: azurerm_network_security_group 2021-10-18 16:19:07 +02:00
sundowndev 972d78875e feat: add azurerm_network_security_group 2021-10-18 16:19:07 +02:00
sundowndev a6a5017724 fix: run provider configure anyway 2021-10-18 16:06:08 +02:00
Elie 18850b3719
Merge pull request #1103 from cloudskiff/feat/add_azurerm_postgresql_database
Add azurerm_postgresql_database resource
2021-10-18 15:07:41 +02:00
sundowndev 4cfc5fd70c refactor(azurerm): postgresql repo 2021-10-18 11:53:58 +02:00
sundowndev 673ff227bf fix: google_compute_instance_group metadata 2021-10-18 11:03:19 +02:00
sundowndev b4b04f89f9 test: azurerm_postgresql_database 2021-10-18 10:45:56 +02:00
sundowndev fd3a0601db refactor: lock cache for ListAllServers method 2021-10-18 10:45:56 +02:00
sundowndev 7b90ff33df test(acc): azurerm_postgresql_*
use random_password
2021-10-18 10:45:56 +02:00
sundowndev 02218789c7 feat: add azurerm_postgresql_database resource 2021-10-18 10:45:56 +02:00
sundowndev c59c36a86c test: google_compute_instance_group
state reader tests
2021-10-18 10:23:55 +02:00
sundowndev dcc0130237 feat: add google_compute_instance_group 2021-10-18 10:23:55 +02:00
sundowndev 1a063f1d41 feat: implement discriminant func 2021-10-15 16:52:45 +02:00
William Beuil f321a1df3b
Add aws_api_gateway_request_validator resource 2021-10-15 16:32:46 +02:00
Elie 33e119fa00
Add google_dns_managed_zone 2021-10-15 15:16:00 +02:00
Elie 68103be734
Use driftignore in acc tests 2021-10-15 11:44:46 +02:00
Raphaël 6cddf78c10
Merge branch 'main' into fix/targetDeepModeFlag 2021-10-14 16:43:16 +02:00
Elie e9dc238c94
Add resource type hierarchy for smart ignore 2021-10-14 15:08:25 +02:00
Elie ca49fa2921
Merge pull request #1124 from cloudskiff/add_azurerm_public_ip
Add azurerm_public_ip
2021-10-13 16:31:24 +02:00
Elie a7bab51465
Add azurerm_public_ip 2021-10-13 16:17:59 +02:00
Martin Guibert d6f1cb1253 fix TestAcc_Google_StorageBucketIAMMember 2021-10-13 11:16:42 +02:00
Raphaël 04b364fadb
fix: add missing deep mode flag
aws_appautoscaling_target is implemented in deep mode but we forgot to enable it
2021-10-12 15:40:26 +02:00
Elie fe934bff20
Merge pull request #1120 from cloudskiff/fix/api_gtw_resource_middleware
Fix middleware when matching api_gateway_resource
2021-10-12 10:19:32 +02:00
Elie 5f9437ef0c
Merge pull request #1105 from cloudskiff/feat/providerNameTelemetry
Add provider name to telemetry collector
2021-10-11 16:53:57 +02:00
William Beuil ee3af65fa8
Fix middleware when matching api_gateway_resource 2021-10-11 16:37:44 +02:00
Elie 44d111822b
Merge pull request #1101 from cloudskiff/feat/add_azurerm_postgresql_server
Add azurerm_postgresql_server resource
2021-10-11 16:33:57 +02:00
Elie d0224896be
Merge branch 'main' into fix_parallel_caching 2021-10-11 16:09:03 +02:00
Elie add277c5b2
Merge branch 'main' into feat/providerNameTelemetry 2021-10-11 16:01:51 +02:00
Elie 26d70d4c7d
Add lock for cache concurrent calls 2021-10-11 15:53:46 +02:00
Martin Guibert 9b8da71e1d fix incorrect conversion and filter for bucket iam bindings 2021-10-11 12:09:38 +02:00
sundowndev bbc9f7fcf0 feat: add provider name to telemetry 2021-10-08 16:01:03 +02:00
William Beuil 0cba5ac8f7
Add aws_api_gateway_vpc_link resource 2021-10-08 15:31:04 +02:00
sundowndev 6d5dbd935b fix: add ScalableDimension field in the scan output 2021-10-08 12:02:51 +02:00
Elie 20db454278
Add azurerm_route 2021-10-07 16:03:17 +02:00
sundowndev 24df3f0b94 feat: add azurerm_postgresql_server resource 2021-10-07 15:19:39 +02:00
Elie b8423c6717
Merge pull request #1096 from cloudskiff/res/api_gtw_domain_name
Add api_gateway_domain_name resource
2021-10-07 14:57:56 +02:00
Elie 0e27cd8846
Merge pull request #1083 from cloudskiff/fea/google_storage_bucket_iam_members
Add storage bucket iam members and policies
2021-10-07 14:57:21 +02:00
Elie 158d926097
Merge branch 'main' into res/api_gtw_domain_name 2021-10-07 14:28:31 +02:00
Elie 6acb9f9136
Merge pull request #1097 from cloudskiff/fix/api_gtw_authorizers
Fix api_gateway_authorizer list signature + tests
2021-10-07 14:28:19 +02:00
Elie 15f2004179
Merge branch 'main' into res/api_gtw_domain_name 2021-10-07 14:26:37 +02:00
Elie 0949440db1
Merge branch 'main' into fea/google_storage_bucket_iam_members 2021-10-07 14:17:17 +02:00
Elie 01639e1101
Merge branch 'main' into add_azurerm_firewall 2021-10-07 14:08:11 +02:00
Elie 6d0e5afbd5
Add azurerm_firewall 2021-10-07 11:17:46 +02:00
sundowndev 71c84daff7 fix(acc): azurerm_container_registry 2021-10-07 10:34:21 +02:00
Martin Guibert c5978eccd8 fix incorrect naming 2021-10-06 17:03:47 +02:00
Martin Guibert 9dc7d8d5d4 transform every bucket iam into members 2021-10-06 16:59:35 +02:00
Martin Guibert 7cd13a917d add support for google_storage_bucket_iam_policy, add tests 2021-10-06 16:59:35 +02:00
Martin Guibert 5f4f56c834 add support for google_storage_bucket_iam_member 2021-10-06 16:59:34 +02:00
William Beuil 9c1e68b226
Fix api_gateway_authorizer list signature + tests 2021-10-06 16:43:51 +02:00
William Beuil 2c7b7c8232
Add api_gateway_domain_name resource 2021-10-06 16:17:56 +02:00
Elie 69bbc434f9
Merge branch 'main' into feat/support_aws_appautoscaling_scheduled_action 2021-10-06 15:30:06 +02:00
sundowndev 7d24380e0a refactor: remove deep mode for aws_appautoscaling_scheduled_action 2021-10-06 15:19:59 +02:00
sundowndev 06c0b5f867 refactor: aws_appautoscaling_scheduled_action resource 2021-10-06 15:19:26 +02:00
sundowndev 4a04648371 test: aws_appautoscaling_scheduled_action resource 2021-10-06 15:19:26 +02:00
sundowndev cf2ef1c968 feat: add aws_appautoscaling_policy resource 2021-10-06 15:19:15 +02:00
Elie 72ab18776f
Merge branch 'main' into res/api_gtw_resource 2021-10-06 15:14:24 +02:00
William Beuil b65ca2b100
Add api_gateway_resource 2021-10-06 15:04:19 +02:00
sundowndev f7b161f3b7 refactor: azurerm_container_registry tests 2021-10-06 14:47:13 +02:00
sundowndev df19b23f91 feat: add azurerm_container_registry resource 2021-10-06 12:16:22 +02:00
William Beuil 5e74349104
Add api_gateway_stage resource 2021-10-06 11:16:19 +02:00
Raphaël 583345f7c9
Merge branch 'main' into feat/support_aws_appautoscaling_policy 2021-10-05 10:55:38 +02:00
Elie 4066e58ce0
Fix GCP Acceptance test 2021-10-05 10:23:15 +02:00
Elie 88e23cf8f0
Fix azure ACC tests 2021-10-05 09:59:15 +02:00
Elie e0ae993c1c
Add azurerm_subnet 2021-10-04 15:55:04 +02:00
sundowndev 0cf7f8b4a0 refactor(azurerm): remove arm from resources repo 2021-10-04 14:28:15 +02:00
sundowndev 9350edc28a feat: add azurerm_resource_group 2021-10-04 14:27:48 +02:00
Elie ce3760b24b
Add azurerm_route_table 2021-10-04 13:34:49 +02:00
Elie c660cb16dc
Fix crash when no lockfile are found (Azure) 2021-10-04 11:15:32 +02:00
sundowndev 46f269459a refactor: aws_appautoscaling_policy resource 2021-10-01 17:20:27 +02:00
sundowndev 03fc80969c test(acc): aws_appautoscaling_policy 2021-10-01 17:20:27 +02:00
sundowndev 317eb5c779 feat: add aws_appautoscaling_policy resource 2021-10-01 17:20:27 +02:00
sundowndev 6529faf074 refactor: azurerm_virtual_network resource metadata 2021-10-01 16:52:46 +02:00
Elie 22dfeee040
Merge pull request #1086 from cloudskiff/fix/markedValues
Remove marks from values in the deserializer
2021-10-01 15:55:19 +02:00
sundowndev e9eb623d4c fix: resource deserializer 2021-10-01 15:43:59 +02:00
William Beuil cf1cd213f2
Add api_gateway_authorizer 2021-10-01 14:31:10 +02:00
Elie 2b9d1d5fa5
Merge branch 'main' into fea/google_storage_bucket_iam_binding 2021-10-01 12:23:35 +02:00
Elie fba2199269
Merge branch 'main' into fea/google_storage_bucket_iam_binding 2021-10-01 12:08:00 +02:00
William Beuil 3842575dca
Add api_gateway_api_key 2021-10-01 12:04:17 +02:00
Martin Guibert 1ca4c19240 add details fetcher 2021-10-01 11:50:47 +02:00
Martin Guibert f0b2d4a377 add test for state reader 2021-10-01 11:49:50 +02:00
Martin Guibert 436f8c29e3 add tests and fixes 2021-10-01 11:49:50 +02:00
Martin Guibert bab96aa5c9 add support for google_storage_bucket_iam_binding 2021-10-01 11:49:50 +02:00
William Beuil e5299e7e2a
Add api_gateway_account 2021-10-01 11:47:36 +02:00
Elie 0249fed61d
Merge branch 'main' into add_azurerm_virtual_network 2021-10-01 11:22:42 +02:00
sundowndev 7bfad6f552 test: lockfile
fix assertion arguments
2021-10-01 10:44:57 +02:00
Elie 1fa17d2591
Add azurerm_virtual_network 2021-10-01 10:42:58 +02:00
sundowndev f1a1187754 feat: read version from tf lock file 2021-09-30 15:32:08 +02:00
Elie 5783839d68
Merge branch 'main' into feat/aws_rds_cluster_instance 2021-09-30 13:52:16 +02:00
Elie 0531811a18
Merge branch 'main' into add_aws_network_acl 2021-09-30 10:37:26 +02:00
sundowndev 17671d5d81 refactor: add missing break statement 2021-09-30 10:33:39 +02:00
sundowndev 31526f9b50 refactor: AwsRDSClusterInstanceExpander middleware 2021-09-30 10:33:39 +02:00
sundowndev bb42f11ef1 feat: implement aws_rds_cluster_instance resource 2021-09-30 10:33:39 +02:00
sundowndev 0b984499c2 refactor: google_compute_network enumerator
use trimResourceName common function to format the resource's id
2021-09-29 15:39:19 +02:00
sundowndev 8cd318ea68 test: google_compute_network 2021-09-29 15:39:19 +02:00
sundowndev 8f21018259 test: update google_compute_network acc golden files 2021-09-29 15:39:19 +02:00
sundowndev 1d934d3952 feat: implement google_compute_network resource 2021-09-29 15:39:19 +02:00
Elie 2d0fe5b2b1
Upgrade azure dependencies 2021-09-29 14:12:18 +02:00
Elie f130a6e0a9
Add aws_default_network_acl, aws_network_acl and aws_network_acl_rule 2021-09-28 17:22:24 +02:00
Elie 73db23a7c0
Fix issue with new github node ID in branch protections 2021-09-28 11:59:17 +02:00
Elie c4db6fa761
Merge branch 'main' into feat/appautoscaling 2021-09-27 16:15:46 +02:00
Elie 71c75c44fd
Add google compute instance 2021-09-27 11:20:44 +02:00
sundowndev 6fda312232 refactor: google util 2021-09-27 11:14:36 +02:00
sundowndev 809577db57 feat: implement google_compute_router resource 2021-09-27 11:14:36 +02:00
sundowndev 5be274e7af refactor: remove useless terraform files 2021-09-27 10:27:17 +02:00
sundowndev 43c4481588 test: aws_appautoscaling_target resource 2021-09-22 15:14:45 +02:00
sundowndev 9d37413f05 refactor: simplify code 2021-09-22 14:55:39 +02:00
sundowndev 80bdb7a0f2 feat: add aws_appautoscaling_target resource 2021-09-22 14:51:23 +02:00
Elie e6557938e2
Add deep mode flag on resource schema 2021-09-20 10:33:13 +02:00
Elie c47fbe9f80
Merge branch 'main' into fix_azure_authentication 2021-09-17 13:27:27 +02:00
Elie ddfe6e9ecb
Fix azure may hide some errors 2021-09-17 12:07:11 +02:00
Elie e2ab668817
Fix azure authentication 2021-09-17 12:04:28 +02:00
William Beuil 71aa38e843
Add aws_api_gateway_rest_api resource 2021-09-16 15:42:44 +02:00
Elie 430c69bead
Merge branch 'main' into res/cfn-stack 2021-09-16 12:08:49 +02:00
William Beuil e3e431cc0d
Add aws_cloudformation_stack 2021-09-16 11:53:10 +02:00
Elie 1e5295ab1f
Merge branch 'main' into google_compute_firewall 2021-09-16 11:51:57 +02:00
Elie f607c26d04
Add google_compute_firewall 2021-09-16 11:29:18 +02:00
Elie 04bb69820f
Merge branch 'main' into feat/aws_rds_cluster 2021-09-16 11:09:24 +02:00
Martin Guibert a8918f7df1 minor fixes, remove writealert. save reading alert in batch 2021-09-15 21:46:36 +02:00
Martin Guibert 6fd9986cbc do not fail when --from is incorrect, send alert. fail only if all from are incorrect 2021-09-15 20:36:32 +02:00
sundowndev b8ef7c8a47 test: aws_rds_cluster resource testing 2021-09-14 11:34:36 +02:00
sundowndev 7eb445be8d fix: delete attribute cluster_members 2021-09-13 18:31:16 +02:00
sundowndev 009218ecd3 feat: implement aws_rds_cluster resource 2021-09-13 18:31:16 +02:00
Elie 74b9394294
Add support for azure 2021-09-08 11:48:46 +02:00
Elie 937eeb45ca
Fix windows TFCloud creds path 2021-09-08 10:31:24 +02:00
sundowndev 6e48f177c3 refactor: output config usages 2021-09-07 15:43:40 +02:00
sundowndev 199259eb3d refactor: improve error logs 2021-09-07 15:41:54 +02:00
sundowndev 1157138af1 refactor: simplify code 2021-09-07 15:41:54 +02:00
sundowndev 1ae88df550 refactor: simplify code 2021-09-07 15:41:54 +02:00
sundowndev 8e7af5891a refactor: do not break on output error 2021-09-07 15:41:54 +02:00
sundowndev 8036b7a702 feat: allow multiple output flags 2021-09-07 15:41:54 +02:00
Elie f2097d6c58
Merge branch 'main' into add_scan_err_details 2021-09-07 14:18:35 +02:00
Elie 750854c35f
Fix crash in output when source is nil 2021-09-07 13:47:13 +02:00
Elie 1336c4db9e
Merge branch 'main' into fix/mapOrdering 2021-09-07 13:12:30 +02:00
Elie 3b89590409
Add original error message for scan errors 2021-09-06 17:00:38 +02:00
sundowndev 1dd056625b chore: fix ordering inconsistency in tests 2021-09-03 17:54:26 +02:00
Martin Guibert ad20e37796 add newline to the output of gen driftignore 2021-09-02 18:18:06 +02:00
sundowndev 380ad8fe17 refactor: remove options in output struct 2021-09-01 10:39:17 +02:00
William Beuil ea7a9c1b54
Should read terraform config file 2021-08-30 17:51:35 +02:00
Elie d6a88f8d00
Add google acceptance test 2021-08-30 14:12:04 +02:00
Elie 42118e268e
Add google_storage_bucket 2021-08-30 14:12:03 +02:00
Elie edcacf6903
Merge pull request #944 from cloudskiff/update_terraform_exec
Update terraform version in acc tests
2021-08-26 15:58:04 +02:00
Elie 70c95e84af
Update terraform version in acc tests 2021-08-26 14:04:23 +02:00
sundowndev 3d491aaaa6 refactor: handle no iac source for drifts 2021-08-26 12:12:29 +02:00
sundowndev 87c6ca6dc1 feat: add iac source for missing resources 2021-08-26 11:40:50 +02:00
sundowndev 5792a274c7 feat: add iac source to drifts in html output 2021-08-26 11:38:42 +02:00
Oren Leung 64f292a0ad fixed formatting 2021-08-25 23:07:05 -04:00
Oren Leung 52be747148
Merge branch 'main' into feat/iac_source_deleted 2021-08-25 22:58:34 -04:00
Oren Leung ecd0184d77 feat: add iac source to drift in console output 2021-08-25 22:56:32 -04:00
Oren Leung 67f58b7a3e feat: add iac source to drift in console output 2021-08-25 22:32:15 -04:00
sundowndev 5f72640db0 refactor: normalize resource method names 2021-08-25 14:38:51 +02:00
sundowndev 16c889c93b fix: html output
display drifts even when coverage is 100
2021-08-24 11:41:45 +02:00
Elie fb21e81746
Merge branch 'main' into fix/jsonHTML 2021-08-23 16:25:49 +02:00
sundowndev 271385878d fix: json diff in html output 2021-08-23 16:17:01 +02:00
sundowndev f789beb487 test: add missing mock assertions 2021-08-23 13:56:01 +02:00
sundowndev e4ab0cee01 test: add assertions on alerter mock 2021-08-23 13:56:01 +02:00
sundowndev fbd4f6e75b refactor: html output style
improve responsive
2021-08-23 11:25:17 +02:00
sundowndev a0f15997e9 feat: embed html assets 2021-08-19 12:07:19 +02:00
Elie 8bc135ce7c
Remove useless details fetchers 2021-08-09 17:15:35 +02:00
Elie dada7a4b50
Remove `Resource` interface 2021-08-09 16:03:04 +02:00
Elie a8f9b1764e
Merge pull request #908 from cloudskiff/better_generic_detail_fetcher
Allow to customize read attributes in detail fetcher
2021-08-04 14:36:39 +02:00
Elie c1ea0a8067
Add source in JSON output 2021-08-04 14:29:48 +02:00
Elie 18b8f897f1
Allow to customize read attributes in detail fetcher 2021-08-04 14:23:49 +02:00
sundowndev 4e3d35297c refactor: fix lint errors 2021-08-04 11:08:08 +02:00
sundowndev f239459470 test: resource error handling 2021-08-03 15:01:20 +02:00
sundowndev e7c93cb501 refactor: remote access denied alerts 2021-08-03 12:34:36 +02:00
Elie 85870c88f6
Group changes by IaC source in console output 2021-08-02 15:43:12 +02:00
sundowndev de5a7237cb refactor: add comments about handled errors 2021-08-02 15:25:27 +02:00
sundowndev a31f71fca8 refactor: simplify code 2021-08-02 14:19:27 +02:00
sundowndev 9ea358fbae fix: handle access denied exceptions on resource details fetching 2021-08-02 14:19:27 +02:00
Martin c553682cfe
Merge branch 'main' into fea/retry_acc_test_destroy 2021-07-30 18:11:02 +02:00
Martin Guibert d556ae2142 add retry for destroy on some acceptancy tests 2021-07-30 17:33:41 +02:00
Elie 82b8c1c80b
Add resource source for terraform state 2021-07-30 17:22:21 +02:00
Elie 94da3ba25d
Merge branch 'main' into ignore_enumeration 2021-07-30 16:16:23 +02:00
Elie eb152a122b
enforce AZ to something predictible for acc tests 2021-07-30 09:29:33 +02:00
Martin Guibert 20c6597704 remove duplicated bloc 2021-07-29 13:59:35 +02:00
Martin Guibert 89d34eb96a add provider name and update tests 2021-07-29 11:57:07 +02:00
William Beuil 41dc957098
Update html assets 2021-07-29 10:40:18 +02:00
Martin Guibert fac05b70c3 show provider version in json and html report 2021-07-28 17:36:56 +02:00
Elie 0069de3972
Fix tag Name not displayed in deep mode 2021-07-27 10:44:52 +02:00
Elie 1663f0a5bd
Ignore terminated instance from enumeration 2021-07-27 10:27:34 +02:00
Martin Guibert b34d876fb9 catch queue non existent on policy enumeration 2021-07-26 19:16:08 +02:00
Elie 4b7c87468f
Handle prefix list ids in aws_route 2021-07-26 17:02:03 +02:00
Elie af824199d9
Ignore resource prior to scan 2021-07-26 16:23:26 +02:00
Elie 4c824fb8ad
Move driftignore init outside driftctl 2021-07-26 14:27:07 +02:00
Elie c735d1f1ad
Remove dead code since deep mode refactoring is complete 2021-07-26 12:09:52 +02:00
William Beuil 456f40abb2
Fix aws_instance acc test 2021-07-26 10:57:21 +02:00
Elie 6c20e1d404
Fix SQS queue policy crash 2021-07-23 10:43:18 +02:00
Elie 91a0418137
Add deep mode flag 2021-07-22 16:44:13 +02:00
Elie 90807932e0
Merge branch 'main' into fix/sqs_queue_race 2021-07-22 14:19:07 +02:00
Martin Guibert a33df6467b fix crash when sqs queue is just deleted and still appears in listing 2021-07-22 14:10:10 +02:00
Martin Guibert bcc56d0b6c enrich iam_role_policy for aws_default middleware 2021-07-22 14:04:18 +02:00
Elie 2745d44160
Merge pull request #870 from cloudskiff/fix/sgrule
Fix defaults sgrule middleware to be deep mode compliant
2021-07-22 13:19:54 +02:00
William Beuil 1a08192941
Dereference vpc_id 2021-07-22 13:09:56 +02:00
William Beuil 9e193a5d95
Fix defaults sgrule middleware to be deep mode compliant 2021-07-22 12:46:20 +02:00
Elie 7ba5c32972
Merge branch 'main' into issue_811_unify_cli_wording 2021-07-22 10:37:25 +02:00
Elie dc6b9dc6aa
Merge pull request #863 from cloudskiff/fea/enrich_ig_route
enrich internet gateway and route to use in default igw route middleware
2021-07-22 10:31:34 +02:00
Louis TOUSSAINT 0a35855a8a Issue 811: Update cli wording 2021-07-21 18:17:56 +02:00
sundowndev e5ffc68091 refactor: rename result.golden.json files to results.golden.json 2021-07-21 16:31:18 +02:00
sundowndev 2344bc3335 refactor: remove empty results.golden.json files 2021-07-21 16:08:27 +02:00
sundowndev 25d7d4a647 refactor: return empty results goldenfiles 2021-07-21 15:13:12 +02:00
Martin Guibert 617b094ee1 enrich internet gateway and route to use in default igw route middleware 2021-07-21 11:04:18 +02:00
Elie 751a836993
Merge pull request #862 from cloudskiff/enrich_aws_nat_gw_eip_assoc
Add `allocation_id` to `nat_gw` and `eip_assoc`
2021-07-20 18:35:51 +02:00
Elie 0bb7acd3db
Merge pull request #851 from cloudskiff/enrich_aws_iam_role
Add path to `iam_role` in enumerator
2021-07-20 18:23:44 +02:00
Elie c28943eab4
Merge pull request #861 from cloudskiff/fix/htmlRoundFloat
Fix rounding issue in html output
2021-07-20 18:21:34 +02:00
Elie 2a497b8a8b
Merge branch 'main' into enrich_aws_nat_gw_eip_assoc 2021-07-20 18:21:06 +02:00
Elie f363461641
Merge branch 'main' into fix/sgrulesDetailsFetcher 2021-07-20 17:54:09 +02:00
Elie 5880f641c5
Add allocation_id to nat_gw and eip_assoc 2021-07-20 17:51:51 +02:00
sundowndev 83129d3845 fix: rounding issue in html output 2021-07-20 17:28:58 +02:00
Elie 2ac36fd416
Merge pull request #853 from cloudskiff/enrich_aws_route
Add origin to `aws_route` in enumerator
2021-07-20 14:27:48 +02:00
Louis TOUSSAINT d6c3140f11 Issue 693: Change html report input wording 2021-07-19 18:45:23 +02:00
sundowndev bc017f087c fix: sgrules details fetcher 2021-07-19 17:55:59 +02:00
Elie bcc2271046
Merge branch 'main' into enrich_aws_sqs_queue_policy 2021-07-19 13:54:04 +02:00
Elie 34de289bd4
Add policy to aws_sqs_queue_policy enumerator 2021-07-19 11:45:26 +02:00
Elie bcbea5f770
Add origin to `aws_route` in enumerator 2021-07-16 14:30:19 +02:00
Elie 686b9de52f
Add type to route53_records 2021-07-16 14:24:05 +02:00
Elie 94d449b544
Add path to iam_role in enumerator 2021-07-16 11:48:03 +02:00
sundowndev 6f92c68af9 fix: security group rule enumerator 2021-07-16 11:03:22 +02:00
sundowndev e27a5564fd refactor: remove usage of flatmap pkg 2021-07-15 17:36:34 +02:00
sundowndev da937e2781 refactor: delete unused test function 2021-07-15 17:34:07 +02:00
sundowndev 321c898638 chore: fix lint errors 2021-07-15 17:34:07 +02:00
sundowndev 5ef67beed5 refactor: add security group rule details fetcher 2021-07-15 17:34:07 +02:00
sundowndev 2595164dac fix: security group rule enumerator 2021-07-15 17:34:07 +02:00
sundowndev b0cf6f0593 test: ec2 scanner 2021-07-15 17:34:07 +02:00
sundowndev c393cf5a7d refactor: split security group rule supplier 2021-07-15 17:34:07 +02:00
Elie 2ef7060eb2
Merge branch 'main' into feat/memstore 2021-07-15 11:34:16 +02:00
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 f8466b6d53 test(acc): pin provider versions 2021-07-12 17:55:26 +02:00
sundowndev ea0afacd74 test(acc): use proper provider version 2021-07-12 17:31:06 +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 aebdbc688a refactor: simplify memstore testing 2021-07-12 15:48:14 +02:00
sundowndev b0b9d13b38 test: driftctl 2021-07-12 15:48:14 +02:00
sundowndev b8ff26a44d refactor: simplify code 2021-07-12 15:48:14 +02:00
sundowndev 3c2694a897 test(cmd): add assertions on store 2021-07-12 15:48:14 +02:00
sundowndev 904e7b38f3 refactor: simplify code 2021-07-12 15:48:14 +02:00
sundowndev 4625be141b refactor: simplify code 2021-07-12 15:48:14 +02:00
sundowndev d1ed5e18d9 feat: implement memestore pkg 2021-07-12 15:48:14 +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
Martin Guibert dd58f32656 fix eip association acceptancy test 2021-07-06 15:44:30 +02:00
Elie 554fe88a8e
Merge pull request #767 from cloudskiff/refact/route53_record_deepmode
Split route53_record_supplier
2021-07-06 15:19:40 +02:00
Martin Guibert c7eccd5b7c add expander for eip association 2021-07-06 15:10:55 +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
Louis TOUSSAINT 8fb10e0b3a Issue 615: Add envProxy and tests to s3Reader 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT 973b67f6d5 Issue 615: Add a new test to s3_test.go to check if NewS3Enumerator take DCTL_S3_envVar in charge 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT c882c769e8 Issue 615: Remove setProxy and add parameter to NewEnvProxy directly 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT b78aeb5d06 Issue 615: Add test where env is empty in env_proxy_test 2021-07-06 10:28:11 +02:00
Louis TOUSSAINT cdf87ac1a6 Issue 615: Modify the env_proxy_test logic and env_proxy variable typo 2021-07-06 10:28:10 +02:00
Louis TOUSSAINT 916c458760 Issue 615: Create struct to override env config for state_enumerator 2021-07-06 10:28:10 +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 583ab5b065
First iteration of the output plan 2021-07-02 12:16:42 +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