diff --git a/CHANGELOG.md b/CHANGELOG.md index fae8d97..75c2e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +v4.16.0 (Month 2025) + - Accept state option in command line upload + v4.15.0 (December 2024) - No changes diff --git a/lib/tasks/thorfile.rb b/lib/tasks/thorfile.rb index 5dfd0c5..261e124 100644 --- a/lib/tasks/thorfile.rb +++ b/lib/tasks/thorfile.rb @@ -5,6 +5,9 @@ class VeracodeTasks < Thor desc 'upload FILE', 'upload Veracode results in XML format' long_desc 'This plugin expects a XML file generated by Veracode' + method_option :state, + type: :string, + desc: 'The state your issues will be created with. If not provided, the scope will be draft' def upload(file_path) require 'config/environment'