Restrict Cloud SQL Databases using governance policy - [DataSourceName] values

Hello,

I want to create a Team Governance Policy which will restrict connecting to Cloud Databases, especially SQL ones (MySQL, PostgreSQL, SQL Server etc.).

I am selecting the template policy "Restrict data sources" and the proposed condition is:

NOT(IN([DataSourceName], LIST("Restricted_DS_0", "Restricted_DS_1")))

I don't know what should I put instead of "Restricted_DS_0".
I couldn't find any list which variable [DataSourceName] can take - is there any article that shows all the possible values of [DataSourceName]?

I've tried different values like below, but without success.

NOT(IN([DataSourceName], LIST("MySQL", "Cloud Database")))

 

0 2 163
2 REPLIES 2
Top Labels in this Space