There is no consensus on the exact number of elements of network security. However, we can consider the three components of network security:
hardware
software
cloud services