Connecting Snowflake as a metadata source

Which permissions does the scanner need to harvest metadata from Snowflake?

A role with USAGE on the warehouse, databases and schemas plus REFERENCES on tables is enough for metadata-only scans.