Commit Graph

226 Commits (eba0839c6e69bfefae4e21c48765262c177f116f)

Author SHA1 Message Date
sundowndev eba0839c6e
refactor: use SliceStable instead of Slice method 2021-03-22 10:16:25 +01:00
sundowndev edb5de32c0
test: remove duplicate test case 2021-03-19 19:24:04 +01:00
sundowndev 77a8227a4d
refactor: sort resources in a predictable order 2021-03-19 19:20:57 +01:00
William BEUIL 3da401a0cc
Merge branch 'main' into issue_232_lotoussa 2021-03-18 15:24:50 +01: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 94032a0b8a
Merge branch 'main' into feat/HTTPBackend 2021-03-18 11:31:19 +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
Raphaël 1ce61ece42
refactor: fix a typo in CLI options 2021-03-17 18:35:23 +01:00
Raphaël c12dd10b3b
Merge branch 'main' into feat/HTTPBackend 2021-03-17 18:33:51 +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
sundowndev 2a3a8cd122 refactor(cmd): rename header option to headers
headers is more relevant since it's about adding multiple headers at a time.
2021-03-17 13:54:33 +01:00
sundowndev 601fc16a45 Merge branch 'main' into feat/HTTPBackend 2021-03-17 12:23:02 +01:00
Martin Guibert d8665726b9 fix race condition on progress that could cause deadlock 2021-03-17 10:14:43 +01:00
sundowndev 78a2316fd8 Merge branch 'main' into feat/HTTPBackend 2021-03-16 17:10:54 +01:00
Elie 04756eb960
Merge branch 'main' into fix/random_res_nam_acc 2021-03-16 16:58:54 +01:00
sundowndev 4d9f8fa60b chore: fix merge conflict 2021-03-16 16:48:07 +01:00
sundowndev e91ad26591 test: update scan & supplier tests
to include tfstate+http and tfstate+https schemes
2021-03-16 16:35:28 +01:00
Martin Guibert 28d3a6df7e Add progress service that display a spinner until stopped or timeouted 2021-03-16 16:35:20 +01:00
sundowndev 0ad9ac7050 chore: fix lint errors 2021-03-16 16:29:32 +01:00
sundowndev fbb78673f1 feat: create backend options to send HTTP headers
Some users may want to send headers along with the request, for example when authorization is requred.
2021-03-16 16:21:28 +01:00
Martin Guibert 6e67a5d832 add date to res names for dynamo and lambda event source mapping 2021-03-16 15:24:32 +01:00
sundowndev ce1e9ec82b feat(backend): implement http(s) backend 2021-03-16 11:57:48 +01:00
Louis TOUSSAINT 0257b69bd2 Issue 232: Add tests to follow wildcard match checker updates 2021-03-15 12:44:33 +01:00
Louis TOUSSAINT 9780bdf725 Issue 232: Update DriftIgnore to implement new wildcard match checker 2021-03-15 12:44:33 +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 618b8edad7
Change error message to avoid unrelated error grouping on sentry 2021-03-12 16:47:05 +01:00
Elie 16a3c44624
Merge branch 'main' into fix_aws_db_instance 2021-03-11 11:12:11 +01:00
Elie 64ee24ced8
Fix false positive drift on aws_db_instance 2021-03-11 11:02:20 +01:00