You can do this by defining baseline compliant rules profile on inventory data using different conditions with AND/OR operators using Compliance Baseline Rules and selecting this profile as criteria while configuring any automation task using How to create an Automation Task