From e60c345656537b555caf4d289d8a986566c8e642 Mon Sep 17 00:00:00 2001 From: "elastic-backstage-prod[bot]" <123036547+elastic-backstage-prod[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 13:24:59 -0500 Subject: [PATCH] Bootstrap repository (#5085) --- .github/CODEOWNERS | 9 ++++++--- catalog-info.yaml | 18 ++++++++++++++++++ renovate.json | 6 ++++++ 3 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 catalog-info.yaml create mode 100644 renovate.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 63528105a..17afa7ae8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,6 @@ # detection-rules code owners -# POC: Elastic Security Intelligence and Analytics Team + +## POC: Elastic Threat Research & Detection Engineering tests/**/*.py @mikaayenson @eric-forte-elastic @traut detection_rules/ @mikaayenson @eric-forte-elastic @traut @@ -7,10 +8,12 @@ tests/ @mikaayenson @eric-forte-elastic @traut lib/ @mikaayenson @eric-forte-elastic @traut hunting/**/*.py @mikaayenson @eric-forte-elastic @traut -# skip rta-mapping to avoid the spam +## skip rta-mapping to avoid the spam + detection_rules/etc/packages.yaml @mikaayenson @eric-forte-elastic @traut detection_rules/etc/*.json @mikaayenson @eric-forte-elastic @traut detection_rules/etc/*/* @mikaayenson @eric-forte-elastic @traut -# exclude files from code owners +## exclude files from code owners + detection_rules/etc/non-ecs-schema.json diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 000000000..9a953a6cc --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,18 @@ +# Declare a Backstage Component that represents your application. +--- +# yaml-language-server: $schema=https://json.schemastore.org/catalog-info.json +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: detection-rules + description: Elastic detection rules Behavioral Protection + annotations: + backstage.io/source-location: "url:https://github.com/elastic/detection-rules/" + github.com/project-slug: "elastic/detection-rules" + github.com/team-slug: "elastic/threat-research-and-detection-engineering" + buildkite.com/project-slug: "elastic/detection-rules" + +spec: + type: rules + owner: group:threat-research-and-detection-engineering + lifecycle: production diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..591ec645a --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>elastic/renovate-config" + ] +}