Commit Graph

41 Commits (0eddd54b3014672aeddc9d21d28780817ab6841b)

Author SHA1 Message Date
Louis TOUSSAINT 1ba5782fa1 Issue 555: Add fallback if homedir.Dir() return error to set configDir with tmpDir() 2021-06-17 14:34:50 +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 caee449a9a Issue 555: Set the default value of config-dir in scan.go 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 07d992d472
Add input validation 2021-06-04 16:58:55 +02:00
Elie fcb06cd782
Allow to specify a terraform provider version 2021-06-04 16:58:54 +02:00
Elie b5c48dbbfc
Finished refacto 2021-05-31 18:46:20 +02:00
sundowndev aa101e1731 refactor: use globaloutput for hint message 2021-05-26 11:19:28 +02:00
sundowndev 1ed957ee64 refactor: more human readable help messages 2021-05-26 11:19:28 +02:00
sundowndev 64c9ab4375 feat: disable count in scan progress bar 2021-05-17 11:13:12 +02:00
Rémi Doreau d0104515b1 fix(tfcloud): rename tfcloud -> tfc 2021-05-10 15:02:42 +02:00
Rémi Doreau 57df7fe028 fix(tfcloud): rename tfcloud -> tfc 2021-05-10 15:02:42 +02:00
Rémi Doreau 2ac9f893d6 fix(cloud_reader): requested changes 2021-05-10 15:02:42 +02:00
Rémi Doreau 499c1215c3 fix(cloud_reader): update tests + tfcloud token flag 2021-05-10 15:02:42 +02:00
Elie a45b2e4bf1 Add telemetry 2021-05-10 15:02:41 +02:00
sundowndev 252674cb56 feat: add iac progress bar 2021-05-10 15:02:41 +02:00
William Beuil 18d406178e
Add aws_ebs_volume 2021-05-04 13:41:06 +02:00
Raphaël 424a312bf7
Merge branch 'main' into fix/filterFlagRepeat 2021-04-26 17:49:53 +02:00
Martin Guibert 80687e5029
Add hybrid resource behavior 2021-04-23 17:07:35 +02:00
sundowndev 9bfdce93bd fix: enforce one occurrence of filter flag 2021-04-20 13:50:34 +02:00
sundowndev c6ea94f6ce refactor: NewDriftCTL interface 2021-04-13 14:47:08 +02:00
sundowndev 53bfa79423 refactor: simplify & format code 2021-04-13 14:45:43 +02:00
sundowndev eb10e9cd69 refactor: usage of strict mode 2021-04-13 14:45:43 +02:00
sundowndev 4371dec865 feat: add CLI strict flag 2021-04-13 14:40:07 +02:00
Elie 2b71c8e650 Add resource factory 2021-04-06 16:43:35 +02:00
Raphaël 1ce61ece42
refactor: fix a typo in CLI options 2021-03-17 18:35:23 +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 4d9f8fa60b chore: fix merge conflict 2021-03-16 16:48:07 +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 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 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 5e0484ac9d
Use errors.Errorf 2021-02-10 14:37:59 +01:00
Elie ca7694084e
ignore usage errors from sentry capture 2021-02-09 22:19:24 +01:00
Elie eddb5a9485
make driftctl Run() return proper error 2021-02-09 19:44:27 +01:00
Elie b2cf465aeb
Use pkg/errors to view stack on sentry 2021-02-09 19:43:39 +01:00
Elie 5daec82ecc
Remove singleton to fix issues when chain multiples cmd run
We have some issue when running acceptance test, more generally
when we use to execute scan cmd multiples times.
We were using global singletons for provider and resources suppliers
managment which lead us to improper state in the second scan run.
We should avoid this in the future and make proper initialization of our
dependencies maybe using a dependency injection container.
2021-02-01 11:49:50 +01:00
Elie c4c5499cb6
Return exit code 1 when infrastructure not in sync 2021-01-28 14:34:21 +01:00
Elie 81c608973b
Add support for multiples IaC sources 2021-01-18 17:56:21 +01:00
William Beuil 8e5b6de9b2
Add alerting 2021-01-11 17:34:04 +01:00
Stephane Jourdan 69083d2739 fix minor typo reported by user 2020-12-19 09:48:56 +01:00
Elie ff72de8e77
🍾 Initial release
Co-authored-by: William BEUIL <william.beuil@cloudskiff.com>
Co-authored-by: Martin GUIBERT <martin@cloudskiff.com>
2020-12-09 16:35:26 +01:00