inspec/examples/profile-sensitive/controls/sensitive.rb
Kevin Formsma 94c2e8181c Add sensitive flag to resources to restrict logging output (#2017)
* Filter check output based on sensitive flag
-Updated check in formatters to filter check output during failures based on
sensitive metadata flag
-Added functional test of output filtering
-Updated documentation with blerb on usage
* Update output format for sensitive resources

Signed-off-by: Kevin Formsma <kevin.formsma@gmail.com>

* Update color output on new test

Update the color output to match the newly-expected non-color format if there are no tests that match.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-25 16:21:49 -04:00

9 lines
154 B
Ruby

# encoding: utf-8
describe 'bob' do
it { should eq 'bob' }
end
describe 'sensitivepassword', :sensitive do
it { should eq 'sensitivepassword' }
end