edi icon indicating copy to clipboard operation
edi copied to clipboard

scan vulnerabilities of the debian environment

Open erickeller opened this issue 7 years ago • 1 comments

Issue Type

  • Enhancement

Environment detail

N./A.

Desired Behaviour

scan the debian environement and list vulnerabilities using the debsecan tool like following:

ROOTFS=...
DISTRIBUTION_CODENAME=$(grep "VERSION=" ${ROOTFS}/etc/os-release | sed -e "s/.* [(]\(.*\)[)].*/\1/g")
mkdir -p ${ROOTFS}/tmp/security
chroot ${ROOTFS} bash -x << EOF
debsecan --suite ${DISTRIBUTION_CODENAME} --format detail --only-fixed > /tmp/security/output.debsecan
EOF

erickeller avatar Jun 08 '17 11:06 erickeller

This would be a cool "selling feature": edi lxc scan CONTAINER_NAME or edi target scan IP_ADDRESS I did not know about debsecan - it looks like a useful tool.

lueschem avatar Jun 15 '17 09:06 lueschem