inspec/test/unit/mock/profiles/old-examples/profile-sensitive
devoptimist 2d49f39adc moved example tests into their own sub dir, and reused examples_path variable
Signed-off-by: devoptimist <sbrown@chef.io>
2019-03-18 15:15:32 +00:00
..
controls moved example tests into their own sub dir, and reused examples_path variable 2019-03-18 15:15:32 +00:00
inspec.yml moved example tests into their own sub dir, and reused examples_path variable 2019-03-18 15:15:32 +00:00
README.md moved example tests into their own sub dir, and reused examples_path variable 2019-03-18 15:15:32 +00:00

Example InSpec Profile with Sensitive failures

This profile demonstrates resources flagged as sensitive

Usage

$ inspec exec examples/profile-sensitive
....

  bob should
   ∅  eq "billy"

   expected: "billy"
        got: "bob"

   (compared using ==)

  sensitivepassword should
     ∅  eq "secret"
     *** sensitive output suppressed ***
  bob should
     ✔  eq "bob"
  sensitivepassword should
     ✔  eq "sensitivepassword"

Test Summary: 2 successful, 2 failures, 0 skipped