forked from ComplianceAsCode/content
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: support for rocky9 (Based on the changes for AlmaLinux 9 at Comp…
- Loading branch information
Showing
10 changed files
with
125 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: cpe:/o:rocky:rocky:9 | ||
title: Rocky Linux 9 | ||
check_id: installed_OS_is_rocky9 |
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,34 @@ | ||
<def-group> | ||
<definition class="inventory" | ||
id="installed_OS_is_rocky9" version="1"> | ||
<metadata> | ||
<title>Rocky Linux 9</title> | ||
<affected family="unix"> | ||
<platform>multi_platform_all</platform> | ||
</affected> | ||
<reference ref_id="cpe:/o:rocky:rocky:9" | ||
source="CPE" /> | ||
<description>The operating system installed on the system is | ||
Rocky Linux 9</description> | ||
</metadata> | ||
<criteria> | ||
<criterion comment="Installed operating system is part of the unix family" | ||
test_ref="test_rocky9_unix_family" /> | ||
<criteria operator="OR"> | ||
<criterion comment="Rocky Linux 9 System is installed" | ||
test_ref="test_rocky9_system" /> | ||
</criteria> | ||
</criteria> | ||
</definition> | ||
|
||
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="rocky-release is version 9" id="test_rocky9_system" version="1"> | ||
<linux:object object_ref="obj_rocky9_system" /> | ||
<linux:state state_ref="state_rocky9_system" /> | ||
</linux:rpminfo_test> | ||
<linux:rpminfo_state id="state_rocky9_system" version="1"> | ||
<linux:version operation="pattern match">^9.*$</linux:version> | ||
</linux:rpminfo_state> | ||
<linux:rpminfo_object id="obj_rocky9_system" version="1"> | ||
<linux:name>rocky-release</linux:name> | ||
</linux:rpminfo_object> | ||
</def-group> |
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