-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check if queries are shared by codeid
Signed-off-by: Ivan Milchev <[email protected]>
- Loading branch information
Showing
3 changed files
with
63 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
policies: | ||
- uid: data-queries-mix | ||
name: Test data SSH Policy | ||
version: "1.0.0" | ||
owner_mrn: "" | ||
is_public: true | ||
authors: | ||
- name: Mondoo, Inc. | ||
email: [email protected] | ||
groups: | ||
- title: group 01 | ||
checks: | ||
- uid: sshd-sshd-01 | ||
title: Asset name is "test" | ||
query: asset.name == "test" | ||
queries: | ||
- uid: sshd-sshd-02 | ||
title: Asset name is "test" | ||
query: asset.name == "test" | ||
filters: | | ||
asset.family.contains(_ == 'unix') |