I am trying to automate the creation of baseline using API calls. For that, I need to select critical and important patches that are not superseded/expired and they doesn’t contain the keywords sql, hyper-v, office, sharepoint. I have formed a relevance to achieve the same.
I am adding the below relevance in relevance tag of baseline xml to automate the baseline creation process. For some reason, this doesn’t work. Could anyone explain me what I am doing wrong?
names of unique values of relevant fixlets whose(name of site of it = “Updates for Windows Applications” AND (source severity of it = “Moderate” OR source severity of it = “Important” OR source severity of it = “Critical”) AND exists names whose(exists (it as string as version) AND it as lowercase does not contain " (superseded)" of it AND it as lowercase does not contain “sql” AND it as lowercase does not contain “office” AND it as lowercase does not contain “hyper-v” AND it as lowercase does not contain “share point” AND it as lowercase does not contain “expired”) of it) of members whose(operating system of it as lowercase starts with “win”) of bes computer groups whose(name of it contains “Automatic Updates”)
Thank you in advance.