sundowndev
5fa7c10296
fix: console output
2021-06-21 14:44:54 +02:00
sundowndev
bc2164a008
refactor: diff custom style
2021-06-21 14:44:54 +02:00
sundowndev
3d12c9933e
refactor: simplify code
2021-06-21 14:44:54 +02:00
sundowndev
21747180d9
refactor: diffs custom style
2021-06-21 14:44:54 +02:00
sundowndev
76613149c1
refactor: add date to analysis struct
2021-06-21 14:44:54 +02:00
sundowndev
a27d993b13
refactor: html output custom style
2021-06-21 14:44:54 +02:00
sundowndev
a14a72f212
refactor: empty message in html output
2021-06-21 14:44:54 +02:00
sundowndev
a9ce5c639f
refactor: html output style
2021-06-21 14:44:54 +02:00
sundowndev
067241ed2a
refactor: html output
2021-06-21 14:44:54 +02:00
sundowndev
fd0e673b37
test: html output
2021-06-21 14:44:54 +02:00
sundowndev
5561041db9
fix: display alert messages
2021-06-21 14:44:54 +02:00
sundowndev
3643c1ba66
refactor: html output template
2021-06-21 14:44:54 +02:00
sundowndev
4b9af2b57b
refactor: add filtering to html output
2021-06-21 14:44:54 +02:00
sundowndev
5daca2eb46
feat: implement html output
2021-06-21 14:44:54 +02:00
sundowndev
92691868bb
feat: display terraform provider version in output
2021-06-17 16:20:19 +02:00
sundowndev
074900043f
feat: add driftignore flag
2021-06-17 15:39:31 +02:00
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
sundowndev
c1e921235b
fix: ordering in console output
2021-06-15 16:05:07 +02:00
Elie
18db5860b1
Merge branch 'main' into allow_to_change_provider_version
2021-06-07 10:17:22 +02:00
Rohan Sharma
6b2388c62a
Fix gen-driftignore --help example
2021-06-05 16:39:47 +05:30
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
a373bb0744
Remove human readable func from resource
2021-06-02 13:56:18 +02:00
Elie
b5c48dbbfc
Finished refacto
2021-05-31 18:46:20 +02:00
William BEUIL
7d31825b1a
Merge branch 'main' into v0.9-rebase
2021-05-27 18:15:15 +02:00
Louis TOUSSAINT
e4e66d0ab1
Issue 439: Fix humanString when HumanizeAttribute() is empty
2021-05-27 15:21:45 +02:00
Louis TOUSSAINT
76ccdd6d40
Issue 439: Always print ID in resource, by changing stringer with AttributeGetter interface
2021-05-27 15:21:45 +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
ef4430c8ea
refactor: rename from flag to input
...
also add an error when input is not specified
2021-05-26 11:19:28 +02:00
sundowndev
fe3d0a14ea
docs: improve gen-driftignore help message
2021-05-26 11:19:28 +02:00
sundowndev
613f4cf556
feat: create gen-driftignore
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
sundowndev
42ffe46af0
fix: doc deep links for providers authentication
2021-05-12 11:31:00 +02:00
sundowndev
0232696ace
Revert "Merge pull request #433 from cloudskiff/feat/genDriftIgnore"
...
This reverts commit 829967170090f9825896df96a256ff88b84db529, reversing
changes made to 5e1f9f8746e2d05ec80a69096285dbd27dfa7423.
2021-05-10 15:02:42 +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
Rémi Doreau
a03127100a
fix(scan_test): add tfcloud
2021-05-10 15:02:42 +02:00
Rémi Doreau
73c0387639
feat(schemes): add tfcloud
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
sundowndev
87ad272856
feat: create gen-driftignore
2021-05-10 14:45:44 +02:00
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