Gitlab CI/CD Dynamic Application Security Testing (DAST)

Today we will go in deep with gitlab CI/CD automation. Because every image build need to be 100% secure we will do today application security tests. In order to be operational for this step we need to add 2 stages to our gitlab yml file. Stages we need to add are dev_build, dev_build_remove and dast. In the first stage (dev_build) we need to build a temporary image in order to scan it. To do this Read more…

Gitlab CI/CD with kaniko for Codeigniter 3

In order to accomplish this we need to have up and running the following: kubernetes cluster, docker swarm or single node docker host gitlab installed gitlab runners deployed to a host (container or VM) a valid Dockerfile gitlab ci/cd configuration yml kubernetes deployment file Before starting we need to enable Container Registry. Easiest way to do this is by configuring gitlab to do this for us. Configuration change should be applied to the file /etc/gitlab/gitlab.rb. Read more…

Install PXE Server on RHEL 8 / CentOS 8

A Preboot eXecution Environment server offers the needed resources to clients that were configured to boot from one of its network devices instead of booting from the classic mass storage options (SSD/HDD/DVD). For this setup we will install the following packages: Step 1: Setup DNSMASQ Server # dnf install dnsmasq Once it is installed we will find default configuration file under /etc/dnsmasq.conf. Let’s change it according our network settings. interface=enp0s3,lo #bind-interfaces domain=0x01 # DHCP range-leases dhcp-range= enp0s3,10.0.0.3,10.0.0.254,255.255.255.0,1h Read more…

Create NIC Teaming or Bonding in CentOS 8 / RHEL 8

NIC teaming allows users to group two or more physical NICs into a single logical network device called a bond. Once a logical NIC is configured, the virtual machine is not aware of the underlying physical NICs. Packets sent to the logical NIC are dispatched to one of the physical NICs in the bond and packets arriving at any of the physical NICs are automatically directed to the appropriate logical NIC. Step 1: Install teamd Read more…