The latest Magisk features a way to fully pass SafetyNet Check by using Magisk Hide. If you phone passes “basicIntegrity” but does not pass SafetyNet fully then you can use this method to pass SafetyNet.
Make sure you are using the latest Magisk Canary version!
Download Magisk Canary:
https://download.highonandroid.com/file/Tools/Magisk/Canary/MagiskCanary2020.apk.html
Video Tutorial:
https://www.youtube.com/watch?v=ocsWOIT-Cx4