Skip to content

Commit

Permalink
Add Trivy config file parameters (#2154)
Browse files Browse the repository at this point in the history
* Add config file parameters

- Change old urls to the current version
- Fix broken banner image url

* Change configuration url to a more suitable one

* Change fixed version to latest where possible in urls
  • Loading branch information
bdovaz authored Dec 21, 2022
1 parent de03e7c commit 4e80444
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions megalinter/descriptors/repository.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,16 @@ linters:
- cupcake
- security
linter_text: |
You can ignore a list of errors by defining a [.trivyignore file](https://aquasecurity.github.io/trivy/v0.21.1/vulnerability/examples/filter/#by-vulnerability-ids)
You can ignore a list of errors by defining a [.trivyignore file](https://aquasecurity.github.io/trivy/latest/docs/vulnerability/examples/filter/#by-vulnerability-ids)
linter_url: https://aquasecurity.github.io/trivy/
linter_repo: https://github.com/aquasecurity/trivy
linter_speed: 2
linter_banner_image_url: https://aquasecurity.github.io/trivy/v0.21.1/imgs/logo.png
linter_rules_configuration_url: https://aquasecurity.github.io/trivy/v0.30.4/docs/references/cli/fs/
linter_rules_ignore_config_url: https://aquasecurity.github.io/trivy/v0.30.4/docs/secret/examples/#skip-directories
linter_banner_image_url: https://aquasecurity.github.io/trivy/v0.35/imgs/logo.png
linter_rules_configuration_url: https://aquasecurity.github.io/trivy/latest/docs/references/customization/config-file/
linter_rules_ignore_config_url: https://aquasecurity.github.io/trivy/latest/docs/secret/examples/#skip-directories
cli_lint_mode: project
config_file_name: trivy.yaml
cli_config_arg_name: --config
cli_sarif_args:
- --format
- sarif
Expand Down

0 comments on commit 4e80444

Please sign in to comment.