Skip to content

Commit

Permalink
#4 - minor updates in SYSTEM_STACK, added EXTERNAL_STACK
Browse files Browse the repository at this point in the history
- signed-off-by: trimstray <[email protected]>
  • Loading branch information
trimstray committed Jun 7, 2018
1 parent 96cd7ec commit 98aebd3
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions etc/otseca.conf
Original file line number Diff line number Diff line change
@@ -1,22 +1,46 @@
###############################################################################
########################## INCLUDE EXTERNAL STACK #############################
###############################################################################

# Include your specific config file.
source "${_etc}/centos-linux.conf"

# Add 'YOUR_STACK' from included config file.
EXTERNAL_STACK=(\
# From centos-linux.conf.
"CENTOS_STACK" \
# From debian-linux.conf.
# "DEBIAN_STACK" \
)

###############################################################################
############################### SYSTEM STACK ##################################
###############################################################################

# It contains tasks related directly to the system.

SYSTEM_STACK=(\
### STANDARD ###
"uname -a" \
"lsb_release -a" \
"cat /proc/cpuinfo" \
### PROCESSES ###
"ps -ef" \
"ps -efZ" \
# Unconfined Daemons.
"ps -eZ | egrep \"initrc\" | egrep -vw \"tr|ps|egrep|bash|awk\" | tr ':' ' ' | awk '{ print \$NF }'" \
"service --status-all" \
"systemctl list-units" \
### KERNEL ###
"sysctl -a" \
"lsmod" \
### HARDWARE ###
"lspci" \
### DISKS ###
"lsblk" \
"df -H" \
"mount" \
### SECURITY/HARDENING ###
"sestatus" \
)

Expand Down Expand Up @@ -188,12 +212,3 @@ NETWORK_STACK=(\
"iptables -nL -v -t nat" \
"iptables -S" \
)

###############################################################################
################################ OTHER STACK ##################################
###############################################################################

# It contains all other tasks.

OTHER_STACK=(\
)

0 comments on commit 98aebd3

Please sign in to comment.