-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⭐️ Allow loading policies from an s3 bucket. (#988)
* ⭐️ Allow loading policies from an s3 bucket. Signed-off-by: Preslav <[email protected]> * Add s3 tests with an s3 fake. Update example policies to v8 format. --------- Signed-off-by: Preslav <[email protected]>
- Loading branch information
1 parent
57735e4
commit a7e8a32
Showing
14 changed files
with
494 additions
and
121 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 |
---|---|---|
|
@@ -8,12 +8,11 @@ policies: | |
authors: | ||
- name: Mondoo | ||
email: [email protected] | ||
specs: | ||
- asset_filter: | ||
query: platform.family.contains(_ == 'unix') | ||
scoring_queries: | ||
sshd-01: {} | ||
sshd-02: {} | ||
sshd-03: {} | ||
data_queries: | ||
sshd-d-1: 0 | ||
groups: | ||
- filters: platform.family.contains('unix') | ||
checks: | ||
- uid: sshd-01 | ||
- uid: sshd-02 | ||
- uid: sshd-03 | ||
queries: | ||
- uid: sshd-d-1 |
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
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
Oops, something went wrong.