Commit Graph

90 Commits (d256d98a1c246003a11898ace27706dc8f95a0d8)

Author SHA1 Message Date
Karni Wolf 0a1ed7d01e
chore: capitalize Usage: terraform [global options] <subcommand> [args]
The available commands for execution are listed below.
The primary workflow commands are given first, followed by
less common or more advanced commands.

Main commands:
  init          Prepare your working directory for other commands
  validate      Check whether the configuration is valid
  plan          Show changes required by the current configuration
  apply         Create or update infrastructure
  destroy       Destroy previously-created infrastructure

All other commands:
  console       Try Terraform expressions at an interactive command prompt
  fmt           Reformat your configuration in the standard style
  force-unlock  Release a stuck lock on the current workspace
  get           Install or upgrade remote Terraform modules
  graph         Generate a Graphviz graph of the steps in an operation
  import        Associate existing infrastructure with a Terraform resource
  login         Obtain and save credentials for a remote host
  logout        Remove locally-stored credentials for a remote host
  output        Show output values from your root module
  providers     Show the providers required for this configuration
  refresh       Update the state to match remote systems
  show          Show the current state or a saved plan
  state         Advanced state management
  taint         Mark a resource instance as not fully functional
  test          Experimental support for module integration testing
  untaint       Remove the 'tainted' state from a resource instance
  version       Show the current Terraform version
  workspace     Workspace management

Global options (use these before the subcommand, if any):
  -chdir=DIR    Switch to a different working directory before executing the
                given subcommand.
  -help         Show this help output, or the help for a specified subcommand.
  -version      An alias for the "version" subcommand. in output for consistency
2022-01-30 11:51:10 +02:00
Elie 1cdccb0be0
Move to @snyk 2021-12-06 14:29:39 +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
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
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 8e7af5891a refactor: do not break on output error 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 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
sundowndev 380ad8fe17 refactor: remove options in output struct 2021-09-01 10:39:17 +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
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
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
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
William Beuil 583ab5b065
First iteration of the output plan 2021-07-02 12:16:42 +02:00
Raphaël 9ead8d1523
Merge branch 'main' into feat/htmlOutput 2021-06-22 17:17:15 +02:00
Elie e0de54f30d
Add limitation link in computed field alert 2021-06-22 15:00:04 +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