diff --git a/lib/salus.rb b/lib/salus.rb index 545cda3f..6a5ff08e 100644 --- a/lib/salus.rb +++ b/lib/salus.rb @@ -10,7 +10,7 @@ require 'sarif/sarif_report' module Salus - VERSION = '2.11.7'.freeze + VERSION = '2.11.8'.freeze DEFAULT_REPO_PATH = './repo'.freeze # This is inside the docker container at /home/repo. SafeYAML::OPTIONS[:default_mode] = :safe diff --git a/spec/fixtures/integration/expected_report.json b/spec/fixtures/integration/expected_report.json index c8952060..083c53c9 100644 --- a/spec/fixtures/integration/expected_report.json +++ b/spec/fixtures/integration/expected_report.json @@ -1,5 +1,5 @@ { - "version": "2.11.7", + "version": "2.11.8", "passed": true, "running_time": 0.0, "scans": { diff --git a/spec/fixtures/processor/local_uri/expected_report.json b/spec/fixtures/processor/local_uri/expected_report.json index fb433920..bed30111 100644 --- a/spec/fixtures/processor/local_uri/expected_report.json +++ b/spec/fixtures/processor/local_uri/expected_report.json @@ -1,5 +1,5 @@ { - "version": "2.11.7", + "version": "2.11.8", "passed": true, "running_time": 0.0, "scans": { diff --git a/spec/fixtures/processor/remote_uri/expected_report.json b/spec/fixtures/processor/remote_uri/expected_report.json index 7e42ccd7..d4bdfa57 100644 --- a/spec/fixtures/processor/remote_uri/expected_report.json +++ b/spec/fixtures/processor/remote_uri/expected_report.json @@ -1,5 +1,5 @@ { - "version": "2.11.7", + "version": "2.11.8", "passed": true, "running_time": 0.0, "scans": { diff --git a/spec/lib/salus/report_spec.rb b/spec/lib/salus/report_spec.rb index 592ac278..e096c0e5 100644 --- a/spec/lib/salus/report_spec.rb +++ b/spec/lib/salus/report_spec.rb @@ -188,7 +188,7 @@ def build_report(report_uri) report = build_report(directive) stub_request(:post, "https://nerv.tk3/salus-report").with(body: "{\n \"foo\": \"bar\",\n"\ - " \"abc\": \"def\",\n \"report\": {\n \"version\": \"2.11.7\",\n \"project_nam"\ + " \"abc\": \"def\",\n \"report\": {\n \"version\": \"2.11.8\",\n \"project_nam"\ "e\": \"eva00\",\n \"passed\": false,\n \"scans\": {\n \"DerpScanner\": {\n "\ " \"scanner_name\": \"DerpScanner\",\n \"passed\": false,\n \"warn"\ "\": {\n },\n \"info\": {\n \"asdf\": \"qwerty\"\n },\n "\ @@ -214,7 +214,7 @@ def build_report(report_uri) report = build_report(directive) stub_request(:post, "https://nerv.tk3/salus-report").with(body: "---\nfoo: bar\nabc: def\n"\ - "report:\n :version: 2.11.7\n :project_name: eva00\n :passed: false\n :scans:\n "\ + "report:\n :version: 2.11.8\n :project_name: eva00\n :passed: false\n :scans:\n "\ "DerpScanner:\n :scanner_name: DerpScanner\n :passed: false\n :warn: {}\n"\ " :info:\n :asdf: qwerty\n :errors: []\n :errors:\n - :message: derp"\ "\n - :message: derp\n - :message: derp\n - :message: derp\n - :message: derp\n "\ @@ -239,7 +239,7 @@ def build_report(report_uri) report.instance_variable_set(:@config, config) stub_request(:post, "https://nerv.tk3/salus-report").with(body: "{\"foo\"=>\"bar\", \"abc"\ - "\"=>\"def\", \"report\"=>\"==== Salus Scan v2.11.7 for eva00\\n\\n==== Salus "\ + "\"=>\"def\", \"report\"=>\"==== Salus Scan v2.11.8 for eva00\\n\\n==== Salus "\ "Configuration Files Used:\\n\\n word\\n\\n\\n==== Salus Errors\\n\\n [\\n {\\n "\ " \\\"message\\\": \\\"derp\\\"\\n },\\n {\\n \\\"message\\\": \\\"derp\\"\ "\"\\n },\\n {\\n \\\"message\\\": \\\"derp\\\"\\n },\\n {\\n "\