func (sps SecurityProfileSpec) BinaryIDFromPath(path string) keyvalue.Cookie {
	for _, pp := range sps.ProcessProfiles {
		if path == pp.BinaryPath {
			return pp.binaryPathID
		}
	}
	return keyvalue.Cookie(0)
}
// BinaryIDFromPath - Returns the binary_id associated to the provided binary path.
Returns the binary_id associated to the provided binary path.
// BinaryIDFromPath - Returns the binary_id associated to the provided binary path .
func (sps SecurityProfileSpec) BinaryIDFromPath(path string) keyvalue.Cookie {
	for _, pp := range sps.ProcessProfiles {
		if path == pp.BinaryPath {
			return pp.binaryPathID
		}
	}
	return keyvalue.Cookie(0)
}
func ( sps SecurityProfileSpec ) BinaryIDFromPath ( path string ) keyvalue . Cookie { for _ , pp := range sps . ProcessProfiles { if path == pp . BinaryPath { return pp . binaryPathID } } return keyvalue . Cookie ( 0 ) }
Returns the binary_id associated to the provided binary path.
Returns the binary_id associated to the provided binary path .