Commit Graph

205 Commits (d74e855c35139c1ee04eaf1cc8b7468654f7f603)

Author SHA1 Message Date
Elie 63eeb28504
Merge branch 'main' into refactor-res 2021-05-05 10:19:21 +02:00
William Beuil 18d406178e
Add aws_ebs_volume 2021-05-04 13:41:06 +02:00
Elie 2b73202e09
Change jsondiff library 2021-05-04 11:38:22 +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
Stephane Jourdan 88e159f8e2 quick grammar fix 2021-04-13 14:47:08 +02:00
Louis TOUSSAINT 5c1f84e324 Issue 367: Fix typo for error-reporting 2021-04-13 14:47:08 +02:00
Louis TOUSSAINT 4c8efa378b Issue 367: Fix all error-reporting occurence in project to follow the new flag name 2021-04-13 14:47:08 +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
sundowndev c542a4063d refactor(analyser): rename total_drifted to total_changed 2021-04-13 14:40:07 +02:00
Elie 9ec8c14156 Truncate file when opening file in json output 2021-04-13 14:02:50 +02:00
sundowndev 01a637f494 refactor(cmd): rename deleted to missing in json output 2021-04-13 14:01:35 +02:00
sundowndev 03fc4062be test: scan output 2021-04-13 14:01:35 +02:00
sundowndev 6ff780ce51 refactor(cmd): more human readable output 2021-04-13 14:01:35 +02:00
Louis TOUSSAINT afb9c9a648 Issue 367: Add details to error reporting flag in help message, similar to driftctl-docs 2021-04-13 14:01:35 +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
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 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 2c1ae57cef
Fix typo in github enumeration error 2021-03-03 11:05:36 +01:00
Elie 350d8399a8
Handle enumeration error from multiples providers 2021-03-02 14:16:49 +01:00
Louis TOUSSAINT 4fbb62c377 Issue 226: Update output_test to fit with the Alert interface implementer, also add access denied alert test for output console and json 2021-02-18 11:23:56 +01:00
Louis TOUSSAINT b63533b2df Issue 226: Update console output to display policy if an access denied
is encountered
2021-02-18 11:23:56 +01:00
Elie cf531bc0a6
Add support for github_repository 2021-02-16 10:56:30 +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 a956cf938a
Merge branch 'main' into issues_79_lotoussa 2021-02-08 15:35:19 +01:00
Louis TOUSSAINT d28dd21345 ISSUE 79: Rewrite humanString statement in console.go 2021-02-08 15:26:13 +01:00
Elie aacf6c6768
Make sentry attach stack for every report 2021-02-03 15:49:26 +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
sshota0809 8da505153f Make DCTL_NO_VERSION_CHECK accept any value
Closed: #162

Signed-off-by: sshota0809 <8736380+sshota0809@users.noreply.github.com>
2021-01-29 18:15:31 +09:00
Elie c4c5499cb6
Return exit code 1 when infrastructure not in sync 2021-01-28 14:34:21 +01:00
Martin 1c92f12c54
Merge branch 'main' into fea/send_one_aler_computed 2021-01-22 14:38:38 +01:00
Martin Guibert e47075729c only send one alert for computed fields 2021-01-22 14:37:24 +01:00
William Beuil 814eb1a692
Updates 2021-01-22 11:10:11 +01:00
William Beuil ecb1007a62
Completion command with tests 2021-01-22 10:57:27 +01:00
Elie 81c608973b
Add support for multiples IaC sources 2021-01-18 17:56:21 +01:00
William Beuil 011b380fcf
Review updates 2021-01-11 17:34:04 +01:00
William Beuil 71d0d7d224
Change computed field logic 2021-01-11 17:34:04 +01:00
William Beuil 8e5b6de9b2
Add alerting 2021-01-11 17:34:04 +01:00
Elie efb5fddf5a
Add sentry error reporting 2021-01-05 15:19:08 +01:00
William Beuil 539b525df5
Consistency across resources 2020-12-22 12:17:04 +01:00
Stephane Jourdan 69083d2739 fix minor typo reported by user 2020-12-19 09:48:56 +01:00
Elie 711ffde3a2
Add env to disable version check 2020-12-17 15:32:18 +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