Skip to content

Commit

Permalink
Update the docs examples for windows feature resources (#4179)
Browse files Browse the repository at this point in the history
- Update the wording a bit
- Copy the example over to the non-deprecated resource

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Jun 3, 2024
1 parent 462efb6 commit b26c961
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions providers/os/resources/os.lr.manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1100,9 +1100,9 @@ resources:
min_mondoo_version: 5.15.0
snippets:
- query: windows.feature('SNMP-Service').installed
title: Check that a Windows features is installed
title: Check that a specific Windows Server feature is installed
- query: windows.feature('Windows-Defender').installed == false
title: Check that a specific feature is not installed
title: Check that a specific Windows Server feature is not installed
windows.firewall:
fields:
profiles: {}
Expand Down Expand Up @@ -1207,6 +1207,11 @@ resources:
path: {}
is_private: true
min_mondoo_version: 9.0.0
snippets:
- query: windows.serverFeature('SNMP-Service').installed
title: Check that a specific Windows Server feature is installed
- query: windows.serverFeature('Windows-Defender').installed == false
title: Check that a specific Windows Server feature is not installed
yaml.path:
fields:
filepath: {}
Expand Down

0 comments on commit b26c961

Please sign in to comment.