prowler on CentOS7
I’ve been experimenting with tools for benchmarking AWS deployments. One tool I experimented with is (prowler)[https://github.com/toniblyx/prowler]. However, it doesn’t seem to run nicely under Windows unless you have cygwin.
After a few failures, I decided to just install CentOS 7 into Hyper-V (mostly because I hadn’t tried to run CentOS in Hyper-V and was curious what I would find). Well, it was more complex than I thought. For reference, the particular version I had was:
$ cat /etc/centos-release CentOS Linux release 7.6.1810 (Core)
After installing CentOS into Hyper-V, you need to setup networking. There is a good (Stack Overflow post)[https://unix.stackexchange.com/questions/17436/centos-on-hyperv-eth0-not-in-ifconfig] on how to do this.
- Search and download Linux Integration Disk. I downloaded the ISO.
- Connect the ISO with Hyper-V.
- Mount the ISO:
sudo mount /dev/cdrom /media
- Run the install script
/etc/sysconfig/network-scripts/ifcfg-eth0so that it contains at least the following:
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes
/etc/sysconfig/networkso that it contains at least the following:
- Reboot with
git, and the
- Update yum
yum -y update
- Enable EPEL by installing the yum package
yum -y install epel-release
yum -y install python-pip git
- Install the AWS CLI
pip install awscli
Configure AWS CLI in the usual way with
Next install prowler
git clone https://github.com/Alfresco/prowler cd prowler
And finally run prowler