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.
[Enhancement][Fuse/6] Finalize Fuse content to new format
- Add Makefile and build capability - Add new 'common' and 'stig-amq-upstream' profiles - Add transforms xslt - Remove old files - Add Application Server SRG to shared/references - Part of ComplianceAsCode#1046
- Loading branch information
1 parent
af791ca
commit a5ba578
Showing
58 changed files
with
9,052 additions
and
2,267 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
<def-group> | ||
<definition class="inventory" id="installed_app_is_fuse6" version="1"> | ||
<metadata> | ||
<title>JBoss Fuse 6</title> | ||
<affected family="unix"> | ||
<platform>JBoss Fuse 6</platform> | ||
</affected> | ||
<reference ref_id="cpe:/a:redhat:jboss_fuse:6.0" source="CPE" /> | ||
<description>The application installed is Fuse 6.</description> | ||
</metadata> | ||
<criteria> | ||
<criterion test_ref="test_installed_app_is_fuse6" /> | ||
</criteria> | ||
</definition> | ||
|
||
<ind:textfilecontent54_test id="test_installed_app_is_fuse6" version="1" | ||
check="all" check_existence="all_exist" comment="Check Fuse Version"> | ||
<ind:object object_ref="obj_installed_app_is_fuse6" /> | ||
<ind:state state_ref="state_installed_app_is_fuse6" /> | ||
</ind:textfilecontent54_test> | ||
<ind:environmentvariable_object id="env_obj_fuse_home" version="1"> | ||
<ind:name>FUSE_HOME</ind:name> | ||
</ind:environmentvariable_object> | ||
|
||
<ind:textfilecontent54_object id="obj_installed_app_is_fuse6" version="1"> | ||
<ind:path var_ref="local_var_installed_app_is_fuse6"/> | ||
<ind:filename>config.properties</ind:filename> | ||
<ind:pattern operation="pattern match">karaf\.framework\.felix=.*org\.apache\.felix\.framework-([0-9a-z\.-]{18})\.jar</ind:pattern> | ||
<ind:instance datatype="int">1</ind:instance> | ||
</ind:textfilecontent54_object> | ||
|
||
<ind:textfilecontent54_state id="state_installed_app_is_fuse6" version="1"> | ||
<ind:subexpression>4.0.3.redhat-60024</ind:subexpression> | ||
</ind:textfilecontent54_state> | ||
|
||
<local_variable id="local_var_installed_app_is_fuse6" version="1" datatype="string" comment="log location"> | ||
<concat> | ||
<object_component object_ref="env_obj_fuse_home" item_field="value" /> | ||
<literal_component>/etc/</literal_component> | ||
</concat> | ||
</local_variable> | ||
|
||
</def-group> |
42 changes: 42 additions & 0 deletions
42
JBoss/Fuse/6/input/oval/jboss_karaf-vender_supported_version.xml
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,42 @@ | ||
<def-group> | ||
<definition class="compliance" id="jboss_karaf-vender_supported_version" version="1"> | ||
<metadata> | ||
<title>JBoss Fuse 6</title> | ||
<affected family="unix"> | ||
<platform>JBoss Fuse 6</platform> | ||
</affected> | ||
<description>Fuse 6 is a vendor supported version.</description> | ||
</metadata> | ||
<criteria> | ||
<criterion test_ref="test_vender_supported_version" /> | ||
</criteria> | ||
</definition> | ||
|
||
<ind:textfilecontent54_test id="test_vender_supported_version" version="1" | ||
check="all" check_existence="all_exist" comment="Check Fuse Version"> | ||
<ind:object object_ref="obj_vender_supported_version" /> | ||
<ind:state state_ref="state_vender_supported_version" /> | ||
</ind:textfilecontent54_test> | ||
<ind:environmentvariable_object id="env_obj_fuse_home" version="1"> | ||
<ind:name>FUSE_HOME</ind:name> | ||
</ind:environmentvariable_object> | ||
|
||
<ind:textfilecontent54_object id="obj_vender_supported_version" version="1"> | ||
<ind:path var_ref="local_var_vender_supported_version"/> | ||
<ind:filename>config.properties</ind:filename> | ||
<ind:pattern operation="pattern match">karaf\.framework\.felix=.*org\.apache\.felix\.framework-([0-9a-z\.-]{18})\.jar</ind:pattern> | ||
<ind:instance datatype="int">1</ind:instance> | ||
</ind:textfilecontent54_object> | ||
|
||
<ind:textfilecontent54_state id="state_vender_supported_version" version="1"> | ||
<ind:subexpression>4.0.3.redhat-60024</ind:subexpression> | ||
</ind:textfilecontent54_state> | ||
|
||
<local_variable id="local_var_vender_supported_version" version="1" datatype="string" comment="log location"> | ||
<concat> | ||
<object_component object_ref="env_obj_fuse_home" item_field="value" /> | ||
<literal_component>/etc/</literal_component> | ||
</concat> | ||
</local_variable> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<cpe-list xmlns="http://cpe.mitre.org/dictionary/2.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://cpe.mitre.org/dictionary/2.0 http://cpe.mitre.org/files/cpe-dictionary_2.1.xsd"> | ||
|
||
<cpe-item name="cpe:/a:redhat:jboss_fuse:6.0"> | ||
<title xml:lang="en-US">JBoss Fuse 6.0</title> | ||
<check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_app_is_fuse6</check> | ||
</cpe-item> | ||
|
||
<!--cpe-item name="cpe:/a:redhat:jboss_fuse:6.1.0"> | ||
<title xml:lang="en-US">JBoss Fuse 6.1.0</title> | ||
<check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_app_is_fuse610</check> | ||
</cpe-item> | ||
<cpe-item name="cpe:/a:redhat:jboss_fuse_service_works:6.0"> | ||
<title xml:lang="en-US">JBoss Fuse Service Works 6.0</title> | ||
<check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="filename">installed_app_is_fuse_service_works6</check> | ||
</cpe-item--> | ||
|
||
</cpe-list> |
20 changes: 0 additions & 20 deletions
20
JBoss/Fuse/6/input/oval/platform/ssg-fuse6-cpe-dictionary.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.