lib/sarif/base_sarif.rb
# Retrieve tool section for sarif report
Retrieve tool section for sarif report
Retrieve tool section for sarif report
def build_tool(rules: [])
      {
        "driver": {
          "name" => @scan_report.scanner_name,
          "version" => @scan_report.version,
          "informationUri" => @uri,
          "rules" => rules,
          "properties" => {
            "salusEnforced": @required || false
          }
        }
      }
    end
def build_tool ( rules : [ ] ) { "driver" : { "name" => @scan_report . scanner_name , "version" => @scan_report . version , "informationUri" => @uri , "rules" => rules , "properties" => { "salusEnforced" : @required || false } } } end
Retrieve tool section for sarif report
Retrieve tool section for sarif report
rules
<not_specific>