Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 569 Bytes

language_version_scan.md

File metadata and controls

22 lines (17 loc) · 569 Bytes

Language Version Scan

This scanner checks whether repository's programming language version is within the range of configured versions. The user may provide min_version and max_version using custom configuration.

Following is an example of how the user can provide version configuration in salus.yaml file.

scanner_configs:
  GoVersionScanner:
    warn:
      min_version: '1.20.0'
      max_version: '1.25.0'
    error:
      min_version: '1.18.0'

For now, we only support following version scanners:

  GoVersionScanner
  RubyVersionScanner