Correct support platform for audit_policy (#2850)

Audity Policy resource is only used on the windows platform and
was incorrectly set to unix.

Fixes #2829

Co-authored-by: Trevor Bramble <tbramble@chef.io>
Co-authored-by: Paul Welch <pwelch@chef.io>

Signed-off-by: Paul Welch <pwelch@chef.io>
This commit is contained in:
Paul Welch 2018-03-21 13:53:24 -04:00 committed by Jared Quick
parent 8fa49b8428
commit dc9ea8d1d2

View file

@ -24,7 +24,7 @@
module Inspec::Resources
class AuditPolicy < Inspec.resource(1)
name 'audit_policy'
supports platform: 'unix'
supports platform: 'windows'
desc 'Use the audit_policy InSpec audit resource to test auditing policies on the Microsoft Windows platform. An auditing policy is a category of security-related events to be audited. Auditing is disabled by default and may be enabled for categories like account management, logon events, policy changes, process tracking, privilege use, system events, or object access. For each enabled auditing category property, the auditing level may be set to No Auditing, Not Specified, Success, Success and Failure, or Failure.'
example "
describe audit_policy do