From f2ceb0fe1758f6d4b11abe500b869eac53068817 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..76b38b1a7 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: 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