Hi!
We have auto tags for “sql:sql_server_availability_replica” for our SQL Servers, but since the extension upgraded to 2.3.0, it doesn’t work anymore. I know in the patch notes it says the relation changed for the entity selector, so I updated our query, but it still doesn’t work.
Here’s the old query before v2.3.0:
type(“sql:sql_server_availability_replica”),toRelationships.runsOn(type(“sql:sql_server_availability_database”),fromRelationships.isInstanceOf(type(“sql:sql_server_database”),fromRelationships.isChildOf(type(“sql:sql_server_instance”),fromRelationships.runsOn(type(“sql:sql_server_host”),fromRelationships.isSameAs(type(“HOST”),fromRelationships.isInstanceOf(type(“HOST_GROUP”),detectedName(“xxxxxxxxxx”)))))))
Here’s the updated query after v2.3.0:
type(“sql:sql_server_availability_replica”),fromRelationships.runsOn(type(“sql:sql_server_instance”),fromRelationships.runsOn(type(“sql:sql_server_host”),fromRelationships.isSameAs(type(“HOST”),fromRelationships.isInstanceOf(type(“HOST_GROUP”),detectedName(“xxxxxxxxxx”)))))
Any help would be appreciated, thanks!


