func (sps SecurityProfileSpec) IsBinaryIDInProfile(cookie keyvalue.Cookie) (bool, string) {
	for _, pp := range sps.ProcessProfiles {
		if pp.binaryPathID == cookie {
			return true, pp.BinaryPath
		}
	}
	return false, ""
}
// IsBinaryIDInProfile - Checks if the profile owns the provided binary ID. If
// there is a match, the function also returns the binary path to which it maps.
Checks if the profile owns the provided binary ID. If
there is a match, the function also returns the binary path to which it maps.
// IsBinaryIDInProfile - Checks if the profile owns the provided binary ID . If // there is a match the function also returns the binary path to which it maps .
func (sps SecurityProfileSpec) IsBinaryIDInProfile(cookie keyvalue.Cookie) (bool, string) {
	for _, pp := range sps.ProcessProfiles {
		if pp.binaryPathID == cookie {
			return true, pp.BinaryPath
		}
	}
	return false, ""
}
func ( sps SecurityProfileSpec ) IsBinaryIDInProfile ( cookie keyvalue . Cookie ) ( bool , string ) { for _ , pp := range sps . ProcessProfiles { if pp . binaryPathID == cookie { return true , pp . BinaryPath } } return false , " " }
Checks if the profile owns the provided binary ID.
Checks if the profile owns the provided binary ID .