Create device posture check for mac os version

i want to create device posture check to verify mac os version and allow only Catalina and higher. where do i find the file path ?