Elie
b664f62ee9
Merge pull request #1584 from snyk/acc-test-retry-backoff
...
Use acceptance tests backoff-retry in more places
2022-08-26 12:28:10 +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
ed58b6d645
Merge pull request #1579 from snyk/fea/alert_into_diag
...
fea: transform alert from enum lib into diagnostic
2022-08-18 12:30:55 +02:00
Elie
de753eb4cb
Make enumeration diagnostic messages more generic
2022-08-18 12:22:53 +02:00
Martin Guibert
a1a4d70e64
fea: transform alert from enum lib into diagnostic
2022-08-11 18:24:18 +02:00
Elie
b1cf4b5498
Merge pull request #1581 from snyk/fix_acc_tests
...
Fix acceptance tests
2022-08-11 10:35:56 +02: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
Elie
cc6e2ca87a
Merge pull request #1578 from snyk/fix/arn_diff_false_positive
...
Ignore arn attribute for some AWS resources
2022-08-08 13:25:40 +02:00
sundowndev-snyk
44a3738c0f
refactor: revert changes on testdata
2022-08-08 14:14:59 +04:00
sundowndev-snyk
6b5ee3521c
fix: ignore arn attribute
...
fixes #1570
2022-08-05 17:17:44 +04:00
Raphaël
4ecd34f321
Merge pull request #1575 from snyk/chore/acc_fix_gcp_debian_image
...
Upgrade debian image to debian-11 in acc test
2022-08-04 18:18:45 +04:00
Craig Furman
f2a173f3c7
Merge pull request #1577 from snyk/fix/rm-consumer-specific-errmsg
...
fix: enumlib: remove a scan-specific error message
2022-08-04 15:00:38 +01:00
Craig Furman
b33c42f257
fix: enumlib: remove a scan-specific error message
...
Since AWS is the default cloud provider for `driftctl scan`, we give
users a hint on how to configure different providers with `--to` if
there is an error authenticating with AWS - since they might not have
even intended to use AWS in the first place.
Now that this functionality is inside the enumeration library, with
consumers other than `driftctl scan`, we remove this hint from the lower
layer and re-add it for the scan command only, to avoid confusing
non-driftctl users.
2022-08-04 14:53:58 +01:00
Martin
25c259dfd5
Merge pull request #1576 from snyk/fix/do_not_panic_on_aws_init
...
fix: do not panic on aws provider init
2022-08-04 15:33:08 +02:00
Martin Guibert
af980fcd7a
fix: do not panic on aws provider init
2022-08-04 15:28:43 +02:00
Elie
0cc71d16ac
Merge pull request #1565 from snyk/fea/facade_enum
...
add a facade to implement enum library api
2022-08-04 14:57:45 +02:00
Martin Guibert
dcd11f0f02
fix: panic on not implem and remove useless lock
2022-08-03 11:52:30 +02: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
Martin Guibert
895f776bed
feat: add a facade to implement enum library api
2022-08-02 18:54:05 +02:00
Martin
cf9dba0712
Merge pull request #1573 from snyk/chore/shared_schema_tests
...
chore: share provider schema for goldenfile test
2022-08-02 15:23:55 +02:00
Martin Guibert
c2892268b9
chore: update dependency on yaml v3.0.1
2022-08-02 15:00:44 +02:00
Craig Furman
243f2edefe
Merge pull request #1574 from snyk/fix-code-owner-team-name
...
Fix CODEOWNERS team name
2022-08-02 11:19:32 +01:00
Craig Furman
a12285ceaf
Fix CODEOWNERS team name
2022-08-02 10:52:56 +01:00
Martin Guibert
93044ff3a0
chore: share provider schema for goldenfile test
2022-08-01 18:58:24 +02:00
Elie
d4cc40009f
Merge pull request #1572 from snyk/extract_metadata
...
Extract metadata from enumeration pkg
2022-08-01 14:08:14 +02:00
Elie CHARRA
a18af39da8
fix: linter
2022-08-01 10:53:35 +02:00
Elie CHARRA
ab94124bab
fix: fix aws_security_group_rules tests
2022-08-01 10:53:34 +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
60d72cd67e
chore: add normalization pass for remote resources and fix tests
2022-07-28 11:49:58 +02:00
Elie CHARRA
34504d6147
chore: remove useless factory mock
2022-07-28 11:49:57 +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
Elie
1b23b4e2c4
Merge pull request #1571 from snyk/chore/google_storage_bucket_iam_member_acc_test
...
Add retry backoff to google_storage_bucket_iam_member acceptance test
2022-07-28 09:52:55 +02:00
sundowndev-snyk
4089347b6b
chore: add retry backoff to acc test
...
TestAcc_Google_StorageBucketIAMMember
2022-07-27 15:52:21 +04:00
Raphaël
351e2164dc
Merge pull request #1563 from snyk/feat/tfstate-discovery-tfc
...
State discovery for Terraform cloud
2022-07-25 19:25:07 +04:00
Elie
90a15f9463
Merge pull request #1569 from snyk/chore/resolve-vuln-gopkg.in/yaml.v3
...
fix: update gopkg.in/yaml.v3 version to resolve vuln and go mod tidy
2022-07-25 16:43:06 +02:00
Karni Wolf
07d7608e96
fix: update gopkg.in/yaml.v3 version to resolve vuln and go mod tidy
2022-07-25 17:32:58 +03:00
Elie
6a871acd30
Merge pull request #1566 from snyk/fix/azurerm_storage_container_notsupportedforaccount
...
fix: fix #1558 by ignoring FeatureNotSupported
2022-07-19 16:49:16 +02:00
Martin Guibert
8c8b8cad91
fix: fix #1558 by ignoring FeatureNotSupported
2022-07-19 16:42:56 +02:00
sundowndev-snyk
cfd8c53a9d
refactor: add remain field to cloud workspaces block schema
2022-07-13 12:25:04 +04:00
sundowndev-snyk
58ae9ebafa
feat: state discovery for tfc
2022-07-13 11:55:31 +04:00
Raphaël
7e5c31f46d
Merge pull request #1562 from snyk/fix/tf-hcl-schema
...
Support tfstate discovering within workspaces
2022-07-12 16:36:01 +04:00
sundowndev-snyk
26ce6c8c88
refactor(hcl): delete useless test case
2022-07-12 16:25:19 +04:00
sundowndev-snyk
cb5ab70559
refactor: use workspace name in azurerm backend
2022-07-12 14:21:26 +04:00
sundowndev-snyk
f4a92e7b32
fix: state path in s3 backend
2022-07-12 14:14:55 +04:00
sundowndev-snyk
7ded2d22eb
refactor: backend to supplier config
...
Parse workspace name first then pass it to the SupplierConfig function, so we don't it once and do not have to store it anywhere. Also add a test case for unknown backend.
2022-07-12 11:07:48 +04:00
sundowndev-snyk
ec5190fa94
fix: tfstate discovering
2022-07-11 17:47:28 +04:00
Elie
172e12119c
Merge pull request #1554 from snyk/chore/extracted_enumeration
...
Extract enumeration to it's own module
2022-07-07 16:20:09 +02:00