func (sps SecurityProfileSpec) GetNetworkAttacksFlag() keyvalue.NetworkAttack {
	flag := keyvalue.EmptyNetworkAttack
	for _, attack := range sps.NetworkAttacks {
		switch attack {
		case "arp-spoofing":
			flag = flag | keyvalue.ArpSpoofing
			break
		}
	}
	return flag
}
// GetNetworkAttacksFlag - Computes the network attacks flag of the security profile
Computes the network attacks flag of the security profile
// GetNetworkAttacksFlag - Computes the network attacks flag of the security profile
func (sps SecurityProfileSpec) GetNetworkAttacksFlag() keyvalue.NetworkAttack {
	flag := keyvalue.EmptyNetworkAttack
	for _, attack := range sps.NetworkAttacks {
		switch attack {
		case "arp-spoofing":
			flag = flag | keyvalue.ArpSpoofing
			break
		}
	}
	return flag
}
func ( sps SecurityProfileSpec ) GetNetworkAttacksFlag ( ) keyvalue . NetworkAttack { flag := keyvalue . EmptyNetworkAttack for _ , attack := range sps . NetworkAttacks { switch attack { case " " : flag = flag | keyvalue . ArpSpoofing break } } return flag }
Computes the network attacks flag of the security profile
Computes the network attacks flag of the security profile