func (sps SecurityProfileSpec) GetProfileMapOfMapsKeyValue() ([]*keyvalue.MapOfMapsKeyValue, error) {
	rep := []*keyvalue.MapOfMapsKeyValue{}
	action := keyvalue.SecurityProfileActionValue{
		Action: sps.GetActionFlag(),
	}
	defaultKeys, err := sps.DefaultNetworkPolicy.GetProfileMapOfMapsKeyValue(sps.securityProfileID, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, defaultKeys...)
	for _, pp := range sps.ProcessProfiles {
		profileKeys, err := pp.NetworkPolicy.GetProfileMapOfMapsKeyValue(pp.binaryPathID, action)
		if err != nil {
			return nil, err
		}
		rep = append(rep, profileKeys...)
	}
	return rep, nil
}
// GetProfileMapOfMapsKeyValue - Returns the profile MapOfMaps key-values of the security profile
Returns the profile MapOfMaps key-values of the security profile
// GetProfileMapOfMapsKeyValue - Returns the profile MapOfMaps key - values of the security profile
func (sps SecurityProfileSpec) GetProfileMapOfMapsKeyValue() ([]*keyvalue.MapOfMapsKeyValue, error) {
	rep := []*keyvalue.MapOfMapsKeyValue{}
	action := keyvalue.SecurityProfileActionValue{
		Action: sps.GetActionFlag(),
	}
	defaultKeys, err := sps.DefaultNetworkPolicy.GetProfileMapOfMapsKeyValue(sps.securityProfileID, action)
	if err != nil {
		return nil, err
	}
	rep = append(rep, defaultKeys...)
	for _, pp := range sps.ProcessProfiles {
		profileKeys, err := pp.NetworkPolicy.GetProfileMapOfMapsKeyValue(pp.binaryPathID, action)
		if err != nil {
			return nil, err
		}
		rep = append(rep, profileKeys...)
	}
	return rep, nil
}
func ( sps SecurityProfileSpec ) GetProfileMapOfMapsKeyValue ( ) ( [ ] * keyvalue . MapOfMapsKeyValue , error ) { rep := [ ] * keyvalue . MapOfMapsKeyValue { } action := keyvalue . SecurityProfileActionValue { Action : sps . GetActionFlag ( ) , } defaultKeys , err := sps . DefaultNetworkPolicy . GetProfileMapOfMapsKeyValue ( sps . securityProfileID , action ) if err != nil { return nil , err } rep = append ( rep , defaultKeys ... ) for _ , pp := range sps . ProcessProfiles { profileKeys , err := pp . NetworkPolicy . GetProfileMapOfMapsKeyValue ( pp . binaryPathID , action ) if err != nil { return nil , err } rep = append ( rep , profileKeys ... ) } return rep , nil }
Returns the profile MapOfMaps key-values of the security profile
Returns the profile MapOfMaps key - values of the security profile