From 73729b28e1ba96bbf1307060263a7f83711f5ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Imbern=C3=B3n?= Date: Tue, 17 Dec 2024 14:03:34 +0100 Subject: [PATCH] Include all db entity types in `DATABASE` candidate category Also include both `endpoint` and `nr.endpoint` as lookup tags --- relationships/candidates/DATABASE.yml | 36 ++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/relationships/candidates/DATABASE.yml b/relationships/candidates/DATABASE.yml index 84c558d2d..3ace3b25e 100644 --- a/relationships/candidates/DATABASE.yml +++ b/relationships/candidates/DATABASE.yml @@ -5,10 +5,44 @@ lookups: type: AWSRDSDBCLUSTER - domain: INFRA type: AWSRDSDBINSTANCE + - domain: INFRA + type: AZURESQLDATABASE + - domain: INFRA + type: AZURESQLSERVER + - domain: INFRA + type: AZUREPOSTGRESQLFLEXIBLESERVER + - domain: INFRA + type: AZURESQLELASTICPOOL + - domain: INFRA + type: AZUREPOSTGRESQLSERVER + - domain: INFRA + type: AZURESQLMANAGEDINSTANCE + - domain: INFRA + type: AZUREMYSQLFLEXIBLESERVER + - domain: INFRA + type: AZUREMYSQLSERVER + - domain: INFRA + type: AZUREMARIADBSERVER + - domain: INFRA + type: GCPCLOUDSQL + - domain: INFRA + type: INFRA-GCPALLOYDBDATABASE + - domain: INFRA + type: GCPALLOYDBINSTANCE + - domain: INFRA + type: GCPALLOYDBCLUSTER + - domain: INFRA + type: MSSQLINSTANCE + - domain: INFRA + type: MYSQLNODE + - domain: INFRA + type: POSTGRESQLINSTANCE + - domain: INFRA + type: ORACLEDBINSTANCE tags: matchingMode: ANY predicates: - - tagKeys: ["aws.endpoint", "aws.readerEndpoint", "aws.customEndpoints", "aws.rds.endpoint", "aws.rds.readerEndpoint", "aws.rds.customEndpoints"] + - tagKeys: ["endpoint", "nr.endpoint", "aws.endpoint", "aws.readerEndpoint", "aws.customEndpoints", "aws.rds.endpoint", "aws.rds.readerEndpoint", "aws.rds.customEndpoints"] field: endpoint onMatch: onMultipleMatches: RELATE_ALL