From 9b40a55ded2b3a5f5819d57d573d9e0993c34c49 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Fri, 5 Sep 2025 19:12:59 +0200 Subject: [PATCH] catalog-backend: type changeset Signed-off-by: Vincenzo Scamporlino --- .changeset/rotten-hairs-attack.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .changeset/rotten-hairs-attack.md diff --git a/.changeset/rotten-hairs-attack.md b/.changeset/rotten-hairs-attack.md new file mode 100644 index 0000000000..1b89ad46e7 --- /dev/null +++ b/.changeset/rotten-hairs-attack.md @@ -0,0 +1,25 @@ +--- +'@backstage/plugin-catalog-backend': minor +--- + +Add support for specifying an entity `type` in `catalog.rules.allow` rules within the catalog configuration. + +For example, this enables allowing all `Template` entities with the type `website`: + +```diff + catalog: + rules: + - allow: + - Component + - API + - Resource + - System + - Domain + - Location ++ - allow: ++ - kind: Template ++ type: website + locations: + - type: url + pattern: https://github.com/org/*\/blob/master/*.yaml +```