mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
PR 33: Minor changes
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="linux"/>
|
||||
<xs:enumeration value="unix"/>
|
||||
<xs:enumeration value="windows"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
@@ -25,10 +25,5 @@ class unix_update::unix{
|
||||
command => "pkg update"
|
||||
}
|
||||
}
|
||||
# 'MacOS': {
|
||||
# exec { 'update':
|
||||
# command => ""
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,6 @@
|
||||
<platform>linux</platform>
|
||||
|
||||
<!--optional details-->
|
||||
<reference></reference>
|
||||
<software_name>unix_update</software_name>
|
||||
<software_license>Apache v2</software_license>
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
<description>An update module for windows</description>
|
||||
|
||||
<type>update</type>
|
||||
<platform>linux</platform>
|
||||
<platform>windows</platform>
|
||||
|
||||
<!--optional details-->
|
||||
<reference></reference>
|
||||
<reference>https://github.com/voxpupuli/puppet-windows_autoupdate</reference>
|
||||
<software_name>windows_update</software_name>
|
||||
<software_license>MIT</software_license>
|
||||
|
||||
|
||||
@@ -4,14 +4,13 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/scenario">
|
||||
|
||||
<!-- an example remote storage system, with a remotely exploitable vulnerability that can then be escalated to root -->
|
||||
<!-- an example of a clean and updated linux system -->
|
||||
<system>
|
||||
<system_name>clean_system_with_update</system_name>
|
||||
<base platform="linux"/>
|
||||
|
||||
<service module_path="modules/services/unix/update/unix_update"></service>
|
||||
|
||||
<!--<network type="private_network" range="dhcp"></network>-->
|
||||
</system>
|
||||
|
||||
</scenario>
|
||||
|
||||
Reference in New Issue
Block a user