mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
A few minor changes to comments:
secgen_metadata.xml:20 - removed comment as not apache installation so not needed. java.pp:1-3 - update step removed here and example I used in #49 followed to allow for dependencies code to be used in the future. java_service.xml:7 updated comment to reflect that the service is a java language installation
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
exec { 'update':
|
||||
command => "/usr/bin/apt-get update -y",
|
||||
}
|
||||
|
||||
|
||||
class { 'java':
|
||||
distribution => 'jre',
|
||||
}
|
||||
@@ -17,7 +17,6 @@
|
||||
<software_name>java</software_name>
|
||||
<software_license>Apache v2</software_license>
|
||||
|
||||
<!--Cannot co-exist with other apache installations-->
|
||||
<conflict>
|
||||
<software_name>java</software_name>
|
||||
</conflict>
|
||||
|
||||
@@ -4,11 +4,15 @@
|
||||
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 -->
|
||||
<!-- A secure system running java -->
|
||||
<system>
|
||||
<system_name>system_with_java</system_name>
|
||||
<base platform="linux"/>
|
||||
|
||||
<!-- TODO: Dependency -->
|
||||
<service module_path="modules/services/unix/update/unix_update"></service>
|
||||
<!-- TODO: /Dependency -->
|
||||
|
||||
<service module_path="modules/services/unix/languages/java"></service>
|
||||
|
||||
<network type="private_network" range="dhcp"></network>
|
||||
|
||||
Reference in New Issue
Block a user