Commit Graph

35 Commits (bfdb70580394092e5e4e75950708a4b9db1dd79a)

Author SHA1 Message Date
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