You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,24 +12,25 @@ Run the `vpcanalyzer` CLI tool with one of the following commands.
12
12
13
13
### Global options
14
14
```
15
-
--dump-resources string file path to store resources collected from the cloud provider
16
-
-o, --format string output format; must be one of [json, txt, md, drawio, arch_drawio, svg, arch_svg, html, arch_html, debug]
17
-
-h, --help help for vpcanalyzer
18
-
--output-file string file path to store results
19
-
-p, --provider string collect resources from an account in this cloud provider
20
-
-q, --quiet runs quietly, reports only severe errors and results
21
-
-r, --region stringArray cloud region from which to collect resources, can pass multiple regions
22
-
--resource-group string resource group id or name from which to collect resources
23
-
-v, --verbose runs with more informative messages printed to log
24
-
--vpc string CRN of the VPC to analyze
25
-
-c, --vpc-config stringArray file paths to input configs, can pass multiple config files
15
+
-c, --config stringArray config; file paths to input VPC configs, can pass multiple config files
16
+
--dump-resources string file path to store resources collected from the cloud provider
17
+
-f, --filename string file path to store results
18
+
-h, --help help for vpcanalyzer
19
+
-o, --output string output format; must be one of [json, txt, md, drawio, arch_drawio, svg, arch_svg, html, arch_html, debug]
20
+
-p, --provider string collect resources from an account in this cloud provider
21
+
-q, --quiet runs quietly, reports only severe errors and results
22
+
-r, --region stringArray cloud region from which to collect resources, can pass multiple regions
23
+
--resource-group string resource group id or name from which to collect resources
24
+
-v, --verbose runs with more informative messages printed to log
25
+
--version version for vpcanalyzer
26
+
--vpc string CRN of the VPC to analyze
26
27
```
27
28
28
29
### Providing VPC configuration
29
-
VPC configuration should be provided, using the `--vpc-config` option, as a `JSON` file produced by the [`cloud-resource-collector`](https://github.com/np-guard/cloud-resource-collector). Alternatively, VPC configuration can be read directly from a given account using the `--provider` flag.
30
+
VPC configuration should be provided, using the `--config` option, as a `JSON` file produced by the [`cloud-resource-collector`](https://github.com/np-guard/cloud-resource-collector). Alternatively, VPC configuration can be read directly from a given account using the `--provider` flag.
30
31
31
32
### Output formats
32
-
Output format is set using the `--format` flag. The following formats are available for the `vpcanalyzer report` command. Other commands may not support all formats.
33
+
Output format is set using the `--output` flag. The following formats are available for the `vpcanalyzer report` command. Other commands may not support all formats.
33
34
*`txt` - a human readable text output
34
35
*`json` - a machine readable JSON output
35
36
*`md` - markdown format
@@ -43,7 +44,7 @@ their connectivity at the bottom of the page.
43
44
*`arch_html` - an html page showing only the VPC elements
44
45
*`debug` - a human readable text format with more details than `txt`
45
46
46
-
Output can be saved to a file using the `--output-file` flag.
47
+
Output can be saved to a file using the `--filename` flag.
0 commit comments