Inspec и Azure

Я новичок в Inspec. Я следовал документации Inspec ( https://www.inspec.io/docs/reference/platforms/), но когда я пытаюсь выполнить inspec exec azure-profile -t azure:// Команда Я получаю ниже ошибки

Traceback (most recent call last):
        27: from /usr/bin/inspec:288:in `<main>'
        26: from /usr/bin/inspec:288:in `load'
        25: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/bin/inspec:12:in `<top (required)>'
        24: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
        23: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
        22: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
        21: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
        20: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/cli.rb:171:in `exec'
        19: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:103:in `run'
        18: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:96:in `load'
        17: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:96:in `each'
        16: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:97:in `block in load'
        15: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:281:in `register_rule'
        14: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:281:in `flat_map'
        13: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:281:in `each'
        12: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:282:in `block in register_rule'
        11: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:270:in `get_check_example'
        10: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner.rb:312:in `rspec_failed_block'
         9: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/inspec/runner_rspec.rb:27:in `example_group'
         8: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:260:in `block in define_example_group_method'
         7: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:386:in `subclass'
         6: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb:422:in `set_it_up'
         5: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata.rb:258:in `create'
         4: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata.rb:133:in `populate'
         3: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata.rb:180:in `build_description_from'
         2: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/resources/file.rb:137:in `to_s'
         1: from /opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/resources/file.rb:52:in `block (2 levels) in <class:FileResource>'
/opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/inspec-2.2.55/lib/resources/file.rb:52:in `method': undefined method `source_path' for class

Что мне не хватает?

0 ответов

Другие вопросы по тегам