{"Name":"snowflake","ID":"go.mondoo.com/mql/v13/providers/snowflake","Version":"13.4.3","ConnectionTypes":["snowflake"],"CrossProviderTypes":null,"Connectors":[{"Name":"snowflake","Use":"snowflake","Short":"a Snowflake account","Long":"Use the snowflake provider to query a Snowflake account.\n\nTo access a Snowflake account, you must first authenticate with Snowflake. The recommended method is a programmatic access token (PAT), which replaces password sign-ins that Snowflake is phasing out. Generate a PAT for your user in Snowsight and pass it with --token. Key-pair authentication (--identity-file) is also supported; to learn how, read https://docs.snowflake.com/en/user-guide/key-pair-auth.\n\nOnce you successfully authenticate, you can scan or query the Snowflake account.\n\nExample:\n  cnspec shell snowflake --account \u003caccount id\u003e --region \u003cregion\u003e --user \u003cyour id\u003e --role \u003cthe role you use\u003e --token \u003cyour PAT\u003e\n  cnspec scan snowflake --account \u003caccount id\u003e --region \u003cregion\u003e --user \u003cyour id\u003e --role \u003cthe role you use\u003e --token \u003cyour PAT\u003e\n","Flags":[{"Long":"user","Desc":"Snowflake user name","Type":3},{"Long":"ask-pass","Default":"false","Desc":"Prompt for the connection password","Type":1,"ConfigEntry":"-"},{"Long":"token","Desc":"Set the programmatic access token (PAT)","Type":3,"Option":8,"ConfigEntry":"-"},{"Long":"password","Short":"p","Desc":"Set the connection password","Type":3,"Option":8,"ConfigEntry":"-"},{"Long":"identity-file","Short":"i","Desc":"Select a file from which to read the identity (private key) for public key authentication","Type":3},{"Long":"account","Desc":"Snowflake account ID","Type":3},{"Long":"region","Desc":"Snowflake region","Type":3},{"Long":"role","Desc":"The role you use to access Snowflake","Type":3}],"Discovery":["auto","all","databases","none"]}],"AssetUrlTrees":null,"Platforms":[{"name":"snowflake","title":"Snowflake Account","family":["snowflake"],"kind":["api"]},{"name":"snowflake-database","title":"Snowflake Database","family":["snowflake"],"kind":["api"]}]}