Move etc under detection_rules (#1885)
* Move etc directory under detection_rules * Prepend original `etc` path with `detection_rules` * Update docstrings in util and CODEOWNERS * Add resiliency to tags to account for the old directory structure * Bug fix: remove unused param caused by commit6ed1a39efeCo-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> Removed changes from: - etc/packages.yml (selectively cherry picked from commit6219fc06b9)
This commit is contained in:
committed by
github-actions[bot]
parent
6a6d49a362
commit
cc8af968e3
+7
-7
@@ -1,13 +1,13 @@
|
||||
# detection-rules code owners
|
||||
# POC: Elastic Security Intelligence and Analytics Team
|
||||
|
||||
tests/**/*.py @brokensound77 @rw-access
|
||||
detection_rules/ @brokensound77 @rw-access
|
||||
tests/ @brokensound77 @rw-access
|
||||
tests/**/*.py @brokensound77 @mikaayenson @terrancedejesus
|
||||
detection_rules/ @brokensound77 @mikaayenson @terrancedejesus
|
||||
tests/ @brokensound77 @mikaayenson @terrancedejesus
|
||||
|
||||
# skip rta-mapping to avoid the spam
|
||||
etc/packages.yml @brokensound77 @rw-access
|
||||
etc/*.json @brokensound77 @rw-access
|
||||
etc/*.json @brokensound77 @rw-access
|
||||
etc/*/* @brokensound77 @rw-access
|
||||
detection_rules/etc/packages.yml @brokensound77 @mikaayenson @terrancedejesus
|
||||
detection_rules/etc/*.json @brokensound77 @mikaayenson @terrancedejesus
|
||||
detection_rules/etc/*.json @brokensound77 @mikaayenson @terrancedejesus
|
||||
detection_rules/etc/*/* @brokensound77 @mikaayenson @terrancedejesus
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
- "./**/*.md"
|
||||
- "schema":
|
||||
- "detection_rules/beats.py"
|
||||
- "etc/beats_schemas/**/*"
|
||||
- "detection_rules/etc/beats_schemas/**/*"
|
||||
- "detection_rules/ecs.py"
|
||||
- "etc/ecs_schemas/**/*"
|
||||
- "etc/api_schemas/**/*"
|
||||
- "detection_rules/etc/ecs_schemas/**/*"
|
||||
- "detection_rules/etc/api_schemas/**/*"
|
||||
- "detection_rules/schemas/**/*"
|
||||
- "python":
|
||||
- "detection_rules/**/*.py"
|
||||
|
||||
@@ -49,8 +49,8 @@ jobs:
|
||||
env:
|
||||
BRANCHES: "${{github.event.inputs.branches}}"
|
||||
run: |
|
||||
./etc/lock-multiple.sh $BRANCHES
|
||||
git add etc/version.lock.json
|
||||
./detection_rules/etc/lock-multiple.sh $BRANCHES
|
||||
git add detection_rules/etc/version.lock.json
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
|
||||
Reference in New Issue
Block a user