Commit Graph

188 Commits (0dc02a79880af0903090ac7ea0b920b0a0bf5a63)

Author SHA1 Message Date
Elie 1cdccb0be0
Move to @snyk 2021-12-06 14:29:39 +01:00
Elie c460a9e97a
Add a global switch to disable third party 2021-11-29 13:59:49 +01:00
Elie 4b3778a2d2
Make version check test more dynamic 2021-11-29 11:27:38 +01:00
Samuel Maftoul 572e39170e Change NewAnalysis signature to return a pointer, update occurences accordingly 2021-11-25 17:39:47 +01:00
Samuel Maftoul 8d3318725f Add a test for the updated output of the scan without deep mode 2021-11-25 17:07:46 +01:00
Samuel Maftoul b59e04e01e Fix broken tests: Add Deep where necessary 2021-11-25 16:55:14 +01:00
Samuel Maftoul 972eddcd79 Introduce NewAnalysis(), use it in analyzer, update fakeAnalyzer accordingly 2021-11-25 15:12:14 +01:00
Samuel Maftoul 7476cfa081 fix: display out of sync drifts only in deep mode 2021-11-25 12:56:21 +01:00
Elie 0bf122f7ee
Merge pull request #1216 from cbowman0/tfe
Support passing in the Terraform API URL to support Terraform Enterprise installations.
2021-11-15 17:40:32 +01:00
Christopher Bowman 03464d89bc Change TFCloudAPI to TFCloudEndpoint 2021-11-15 09:24:07 -05:00
Christopher Bowman 8ba05f995b Address remarks 2021-11-15 09:07:22 -05:00
Christopher Bowman 6c2f9653e1 Support passing in the Terraform API URL to support Terraform Enterprise installations.
Look for the correct domain in from credentials.tfrc.json
2021-11-12 17:46:32 -05:00
sundowndev 4a9cc26a77 refactor: add docs for ShouldPrint function 2021-11-12 17:05:05 +01:00
sundowndev d5f930e2f1 fix: display progress bar in stdout 2021-11-12 17:05:05 +01:00
William BEUIL e98c9f9e68
Merge branch 'main' into fix/unbuffered-chan 2021-11-10 15:53:44 +01:00
Craig Furman 612118d646 gen-driftignore defaults to writing to a file
Users can still print to stdout by passing `-o -`.
2021-11-08 10:43:18 +00:00
Craig Furman 4466a0430e gen-driftignore defaults to reading from stdin
Allow the input file to be specified as "-", which traditionally many
programs interpret as standard input. Make this value the default too,
as piping `driftctl scan | driftctl gen-driftignore` appears to be a
documented idiom.
2021-11-08 10:43:16 +00:00
William Beuil 0d0457ac92
Fix unbuffered channel 2021-11-04 13:07:31 +01:00
sundowndev bbc9f7fcf0 feat: add provider name to telemetry 2021-10-08 16:01:03 +02:00
sundowndev f1a1187754 feat: read version from tf lock file 2021-09-30 15:32:08 +02:00
Martin Guibert a8918f7df1 minor fixes, remove writealert. save reading alert in batch 2021-09-15 21:46:36 +02:00
Martin Guibert 6fd9986cbc do not fail when --from is incorrect, send alert. fail only if all from are incorrect 2021-09-15 20:36:32 +02:00
Elie 74b9394294
Add support for azure 2021-09-08 11:48:46 +02:00
sundowndev 6e48f177c3 refactor: output config usages 2021-09-07 15:43:40 +02:00
sundowndev 199259eb3d refactor: improve error logs 2021-09-07 15:41:54 +02:00
sundowndev 1157138af1 refactor: simplify code 2021-09-07 15:41:54 +02:00
sundowndev 1ae88df550 refactor: simplify code 2021-09-07 15:41:54 +02:00
sundowndev 8e7af5891a refactor: do not break on output error 2021-09-07 15:41:54 +02:00
sundowndev 8036b7a702 feat: allow multiple output flags 2021-09-07 15:41:54 +02:00
Elie f2097d6c58
Merge branch 'main' into add_scan_err_details 2021-09-07 14:18:35 +02:00
Elie 750854c35f
Fix crash in output when source is nil 2021-09-07 13:47:13 +02:00
Elie 1336c4db9e
Merge branch 'main' into fix/mapOrdering 2021-09-07 13:12:30 +02:00
Elie 3b89590409
Add original error message for scan errors 2021-09-06 17:00:38 +02:00
sundowndev 1dd056625b chore: fix ordering inconsistency in tests 2021-09-03 17:54:26 +02:00
Martin Guibert ad20e37796 add newline to the output of gen driftignore 2021-09-02 18:18:06 +02:00
sundowndev 380ad8fe17 refactor: remove options in output struct 2021-09-01 10:39:17 +02:00
Elie 42118e268e
Add google_storage_bucket 2021-08-30 14:12:03 +02:00
sundowndev 3d491aaaa6 refactor: handle no iac source for drifts 2021-08-26 12:12:29 +02:00
sundowndev 87c6ca6dc1 feat: add iac source for missing resources 2021-08-26 11:40:50 +02:00
sundowndev 5792a274c7 feat: add iac source to drifts in html output 2021-08-26 11:38:42 +02:00
Oren Leung 64f292a0ad fixed formatting 2021-08-25 23:07:05 -04:00
Oren Leung 52be747148
Merge branch 'main' into feat/iac_source_deleted 2021-08-25 22:58:34 -04:00
Oren Leung ecd0184d77 feat: add iac source to drift in console output 2021-08-25 22:56:32 -04:00
Oren Leung 67f58b7a3e feat: add iac source to drift in console output 2021-08-25 22:32:15 -04:00
sundowndev 5f72640db0 refactor: normalize resource method names 2021-08-25 14:38:51 +02:00
sundowndev 16c889c93b fix: html output
display drifts even when coverage is 100
2021-08-24 11:41:45 +02:00
sundowndev 271385878d fix: json diff in html output 2021-08-23 16:17:01 +02:00
sundowndev fbd4f6e75b refactor: html output style
improve responsive
2021-08-23 11:25:17 +02:00
sundowndev a0f15997e9 feat: embed html assets 2021-08-19 12:07:19 +02:00
Elie dada7a4b50
Remove `Resource` interface 2021-08-09 16:03:04 +02:00