Commit Graph

516 Commits (main)

Author SHA1 Message Date
Martin Guibert c65846a263
feat: add suport for aws_cloudtrail resources 2022-10-24 12:13:16 +02:00
Martin Guibert e0104c848b
fix: add acc test for aws_s3_account_public_access_block 2022-09-28 16:01:35 +02:00
Martin Guibert cc04a880ac
feat: add support for aws_s3_account_public_access_block 2022-09-28 15:51:08 +02:00
Craig Furman d1a0c63f4c Use acceptance tests backoff-retry in more places
Remove RetryFor function, replace all uses of it with ShouldRetry.
2022-08-26 11:22:45 +01:00
Elie c37003694f
Fix acceptance tests
- Fix default provider version not being set in the schema repository
  since now this is done on the enumeration side.
- Fix once for all issues with GetInt that should be able to retrieve
  both float and int from resource attributes.
2022-08-10 17:15:27 +02:00
sundowndev-snyk 6b5ee3521c
fix: ignore arn attribute
fixes #1570
2022-08-05 17:17:44 +04:00
sundowndev-snyk dc308c5393
test(acc): upgrade debian image to debian-11
debian-9 was removed from the GCP registry.
2022-08-03 11:12:45 +04:00
Elie CHARRA a18af39da8
fix: linter 2022-08-01 10:53:35 +02:00
Elie CHARRA 6c5e6787b0
fix: fix broken tests
Those tests were broken due to removal of SetResolveReadAttributesFunc.
Sometimes in those methods we were casting field from different types to string.
If we loose that case it causes some issues since in the detail fetcher we only take into account
strings attributes. To fix that I added some cast directly in the detail fetcher.
That should not cause any issues to retrieve details if we send additional (useless) fields to the
ReadResource call.
2022-08-01 10:53:33 +02:00
Elie CHARRA e7750bc00c
chore: Add test on driftctl side 2022-08-01 10:53:28 +02:00
Elie CHARRA f9065269e8
chore: move schema repo in driftctl 2022-07-28 11:49:56 +02:00
Elie CHARRA 1ece051636
chore: moved metadata to driftctl 2022-07-28 11:49:55 +02:00
Elie CHARRA 1412896203
chore: remove usage of ResolveReadAttributesFunc 2022-07-28 11:49:54 +02:00
sundowndev-snyk 4089347b6b
chore: add retry backoff to acc test
TestAcc_Google_StorageBucketIAMMember
2022-07-27 15:52:21 +04:00
Martin Guibert 8c8b8cad91
fix: fix #1558 by ignoring FeatureNotSupported 2022-07-19 16:42:56 +02:00
Martin Guibert dc58f94ce9
chore: extract enumeration to it's own submodule 2022-07-07 16:16:03 +02:00
sundowndev-snyk 957b27a695
test(acc): add retry backoff to google_compute_subnetwork 2022-07-07 11:27:26 +04:00
Elie 66520e6bb3
Merge pull request #1553 from snyk/fix/aws_acc_tests
Add retry to kms acc tests
2022-07-04 15:49:34 +02:00
William Beuil eb36fc4a25
fix: add retry kms acc tests 2022-06-28 14:57:37 +02:00
sundowndev-snyk 95d3650e3f
chore: add backoff retry to gcp acc tests 2022-06-24 12:15:24 +04:00
Christof d40368983c
fix: Remove timeouts from aws_default_route_table 2022-06-15 13:51:21 +02:00
Christof Dorner 0bff01a7b2
test: Use timeouts in AWS routetable acc test 2022-06-15 13:30:01 +02:00
Christof Dorner 3025f675e1
fix: Filter out timeouts from aws_route_table
Configurable timeouts on the aws_route_table resource are Terraform-only, thus filtering them out prevents false-positive drift to be shown.
2022-06-14 18:04:14 +02:00
Almog Ben David a50b393a32
Merge pull request #1494 from snyk/feat/aws_ecr_repository_policy
feat: add aws `ecr_repository_policy` resource
2022-06-08 11:17:47 +03:00
Almog Ben-David 7fdc7cff17
feat: add aws `ecr_repository_policy` resource 2022-06-08 10:45:42 +03:00
sundowndev-snyk 741ed33b82
fix: google_compute_global_forwarding_rule acc test 2022-06-02 11:33:45 +04:00
Elie 0cc16eefaf
Merge pull request #1493 from snyk/feat/add_aws_iam_group_policy_attachment
Add `aws iam group policy attachment`
2022-05-30 13:13:46 +02:00
Elie 2ea9f83443
fix: crash in deep mode on aws_route
We were missing to inject `destination_prefix_list_id` to the terraform
provider when reading details of `aws_route` in deep mode.
That cause an error on the provider side and abort the execution
2022-05-25 10:53:34 +02:00
Elie 5eda87382b
feat: Add iam_group_policy_attachment 2022-05-23 16:57:41 +02:00
Elie 898b61864a
Merge pull request #1495 from snyk/test/google_compute_firewall
Add retry policy for google_compute_firewall acc test
2022-05-13 13:42:41 +02:00
sundowndev-snyk 6ad889c067
feat: add aws_iam_group 2022-05-11 11:39:03 +04:00
sundowndev-snyk 3c4cff9df8
test: add retry policy for google_compute_firewall acc test 2022-05-11 07:43:37 +01:00
William BEUIL fef50c7147
Merge pull request #1472 from snyk/feat/add_aws_lb_listener
Add aws_lb_listener
2022-05-02 10:29:43 +02:00
sundowndev-snyk a9d929891d
refactor(remote): rename method in the elbv2 repository 2022-04-25 12:35:46 +01:00
William BEUIL de874692f0
Merge pull request #1473 from snyk/fix/aws_api_gateway_base_path_mapping_reconciler
Import managed api gateway mappings in the state
2022-04-15 12:00:53 +02:00
sundowndev-snyk 3e51f2dede
test(acc): add security group to elb 2022-04-14 19:28:38 +04:00
sundowndev-snyk f27d3b96ee
fix: import managed api mappings in the state 2022-04-14 18:39:41 +04:00
sundowndev-snyk db38ab4cf6
feat: add aws_lb_listener 2022-04-13 14:59:39 +04:00
Elie 25e162c10f
fix: acceptance test on public access block 2022-04-12 11:29:07 +02:00
William Beuil 4c81f8ccb5
feat: add aws_elasticache_cluster resource 2022-04-11 14:49:19 +02:00
William BEUIL 8304f21607
Merge pull request #1465 from snyk/feat/add_aws_elb
Add aws_elb resource
2022-04-11 14:33:45 +02:00
William BEUIL f98cf979ef
Merge pull request #1455 from snyk/feat/add_aws_s3_bucket_public_access_block
feat: add `aws_s3_bucket_public_access_block`
2022-04-11 14:31:47 +02:00
sundowndev-snyk 4346fd63f4
refactor: aws_elb resource
Fix cache keys in ELB repository, fix naming and add a test case in scanner tests.
2022-04-11 14:41:11 +04:00
sundowndev-snyk b3494479d3
feat: add aws_elb resource 2022-04-11 14:30:18 +04:00
Elie 582ffa36e3
fix: Fix middleware to avoid false positive unmanaged 2022-04-08 14:04:04 +02:00
Elie cef4776a81
Merge pull request #1470 from snyk/test/aws_lb
Add missing manifests for aws_lb acc test
2022-04-08 10:31:48 +02:00
Elie 5a2aae91a4
Merge pull request #1468 from snyk/fix/e2e_tests
Add retry logic to acc tests
2022-04-08 10:31:03 +02:00
Elie e600615a0a
feat: add `aws_s3_bucket_public_access_block` 2022-04-08 10:12:40 +02:00
sundowndev-snyk cbd69834a4
chore: add missing maniests for aws_lb acc test 2022-04-08 11:01:58 +04:00
Raphaël 55069c7bbd
Merge pull request #1466 from snyk/fix/metadata_test
chore: missing test
2022-04-08 10:11:30 +04:00