Skip to content

Commit a60d3e7

Browse files
committed
update config file
1 parent a85310f commit a60d3e7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/docs/references/configuration/config-file.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,5 +650,17 @@ vulnerability:
650650
# Same as '--vex'
651651
vex: []
652652

653+
```
654+
## AWS options
655+
656+
```yaml
657+
cloud:
658+
aws:
659+
# Same as '--endpoint'
660+
endpoint: ""
661+
662+
# Same as '--region'
663+
region: ""
664+
653665
```
654666
[example]: https://github.com/aquasecurity/trivy/tree/{{ git.tag }}/examples/trivy-conf/trivy.yaml

magefiles/docs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ func getAllFlags() []flag.FlagGroup {
191191
flag.NewScanFlagGroup(),
192192
flag.NewSecretFlagGroup(),
193193
flag.NewVulnerabilityFlagGroup(),
194+
flag.NewVMFlagGroup(),
194195
}
195196

196197
}

0 commit comments

Comments
 (0)