Commit Graph

188 Commits (0dc02a79880af0903090ac7ea0b920b0a0bf5a63)

Author SHA1 Message Date
Elie c1ea0a8067
Add source in JSON output 2021-08-04 14:29:48 +02:00
sundowndev f239459470 test: resource error handling 2021-08-03 15:01:20 +02:00
sundowndev e7c93cb501 refactor: remote access denied alerts 2021-08-03 12:34:36 +02:00
Elie 85870c88f6
Group changes by IaC source in console output 2021-08-02 15:43:12 +02:00
sundowndev 9ea358fbae fix: handle access denied exceptions on resource details fetching 2021-08-02 14:19:27 +02:00
Elie 94da3ba25d
Merge branch 'main' into ignore_enumeration 2021-07-30 16:16:23 +02:00
Martin Guibert 20c6597704 remove duplicated bloc 2021-07-29 13:59:35 +02:00
Martin Guibert 89d34eb96a add provider name and update tests 2021-07-29 11:57:07 +02:00
William Beuil 41dc957098
Update html assets 2021-07-29 10:40:18 +02:00
Martin Guibert fac05b70c3 show provider version in json and html report 2021-07-28 17:36:56 +02:00
Elie af824199d9
Ignore resource prior to scan 2021-07-26 16:23:26 +02:00
Elie 4c824fb8ad
Move driftignore init outside driftctl 2021-07-26 14:27:07 +02:00
Elie c735d1f1ad
Remove dead code since deep mode refactoring is complete 2021-07-26 12:09:52 +02:00
Elie 91a0418137
Add deep mode flag 2021-07-22 16:44:13 +02:00
Louis TOUSSAINT 0a35855a8a Issue 811: Update cli wording 2021-07-21 18:17:56 +02:00
sundowndev 83129d3845 fix: rounding issue in html output 2021-07-20 17:28:58 +02:00
Louis TOUSSAINT d6c3140f11 Issue 693: Change html report input wording 2021-07-19 18:45:23 +02:00
sundowndev aebdbc688a refactor: simplify memstore testing 2021-07-12 15:48:14 +02:00
sundowndev b8ff26a44d refactor: simplify code 2021-07-12 15:48:14 +02:00
sundowndev 3c2694a897 test(cmd): add assertions on store 2021-07-12 15:48:14 +02:00
sundowndev d1ed5e18d9 feat: implement memestore pkg 2021-07-12 15:48:14 +02:00
William Beuil 583ab5b065
First iteration of the output plan 2021-07-02 12:16:42 +02:00
Elie 73200b1ae8 Add scanner test 2021-06-28 15:16:55 +02:00
Elie 2f07640e0a
Merge pull request #619 from cloudskiff/deep_mode
Split suppliers to add deep mode
2021-06-23 11:20:08 +02:00
sundowndev 2347725b18 refactor: scan duration message 2021-06-23 10:48:32 +02:00
Elie 4f44039fb9
Split suppliers to add deep mode 2021-06-22 18:25:47 +02:00
Elie d1156500cc
Merge pull request #682 from cloudskiff/feat/elapsedTime
Display elapsed time at end of scan
2021-06-22 18:22:00 +02:00
Raphaël 9ead8d1523
Merge branch 'main' into feat/htmlOutput 2021-06-22 17:17:15 +02:00
sundowndev cba595d9f1 feat: add elapsed time at end of scan 2021-06-22 17:06:53 +02:00
Elie e0de54f30d
Add limitation link in computed field alert 2021-06-22 15:00:04 +02:00
Raphaël cc835dbfd7
Merge branch 'main' into feat/driftignoreFlag 2021-06-21 15:07:51 +02:00
sundowndev 1b351c9b2f refactor: html template
use light logo & add border-radius to tbody element
2021-06-21 14:44:54 +02:00
sundowndev 78601df930 refactor: simplify code 2021-06-21 14:44:54 +02:00
sundowndev cc9a882fc2 test: update golden files 2021-06-21 14:44:54 +02:00
sundowndev ead85d5f84 chore: fix lint errors 2021-06-21 14:44:54 +02:00
William Beuil 7a60e69efb Refactor output HTML with a11y and responsive in mind 2021-06-21 14:44:54 +02:00
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