Skip to content

Commit d8bd5cf

Browse files
Merge branch 'main' into rule-tuning-shared-object-creation
2 parents e88bfce + 753e8d8 commit d8bd5cf

File tree

756 files changed

+24094
-20084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

756 files changed

+24094
-20084
lines changed

.github/workflows/attack-coverage-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
git add docs-dev/"ATT\&CK-coverage.md"
4646
4747
- name: Create Pull Request
48-
uses: peter-evans/[email protected]
48+
uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79 # v7.0.3
4949
with:
5050
assignees: '${{github.actor}}'
5151
delete-branch: true

.github/workflows/docs-build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: docs-build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request_target: ~
8+
9+
jobs:
10+
preview:
11+
uses: elastic/docs-builder/.github/workflows/preview-build.yml@main
12+
with:
13+
continue-on-error: false
14+
strict: true
15+
path-pattern: |
16+
docs/**
17+
rules/**
18+
rules_building_block/**
19+
permissions:
20+
deployments: write
21+
id-token: write
22+
contents: read
23+
pull-requests: read

.github/workflows/docs-cleanup.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: docs-cleanup
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
8+
jobs:
9+
preview:
10+
uses: elastic/docs-builder/.github/workflows/preview-cleanup.yml@main
11+
permissions:
12+
contents: none
13+
id-token: write
14+
deployments: write

.github/workflows/kibana-mitre-update.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Get MITRE Attack changed files
18-
if: false
1918
id: changed-attack-files
20-
uses: tj-actions/changed-files@v44
19+
uses: tj-actions/changed-files@v46
2120
with:
2221
files: detection_rules/etc/attack-v*.json.gz
2322

.github/workflows/lock-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
description: 'List of branches to lock versions (ordered, comma separated)'
77
required: true
88
# 7.17 was intentionally skipped because it was added late and was bug fix only
9-
default: '8.12,8.13,8.14,8.15,8.16,8.17'
9+
default: '8.14,8.15,8.16,8.17,8.18,9.0'
1010

1111
jobs:
1212
pr:

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Unit Tests
22

33
on:
44
push:
5-
branches: [ "main", "7.*", "8.*" ]
5+
branches: [ "main", "7.*", "8.*", "9.*" ]
66
pull_request:
77
branches: [ "*" ]
88

.github/workflows/react-tests-dispatcher.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
- '!rules/integrations/o365/*.toml'
2323
- '!rules/integrations/okta/*.toml'
2424
- '!rules/integrations/problemchild/*.toml'
25+
- '!rules/integrations/pad/*.toml'
2526

2627
jobs:
2728
dispatch:

.github/workflows/version-code-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
git push origin "dev-v$version"
9393
9494
- name: Run Release Drafter
95-
uses: release-drafter/release-drafter@v6
95+
uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
9696
with:
9797
config-name: release-drafter.yml
9898
env:

CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ Options:
481481

482482
### Exporting rules
483483

484-
This command should be run with the `CUSTOM_RULES_DIR` envvar set, that way proper validation is applied to versioning when the rules are downloaded. See the [custom rules docs](docs-dev/custom-rules.md) for more information.
484+
This command should be run with the `CUSTOM_RULES_DIR` envvar set, that way proper validation is applied to versioning when the rules are downloaded. See the [custom rules docs](docs-dev/custom-rules-management.md) for more information.
485485

486486
```
487487
python -m detection_rules kibana export-rules -h

detection_rules/custom_rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .utils import ROOT_DIR, get_etc_path, load_etc_dump
1616

1717
DEFAULT_CONFIG_PATH = Path(get_etc_path('_config.yaml'))
18-
CUSTOM_RULES_DOC_PATH = Path(ROOT_DIR).joinpath(REPO_DOCS_DIR, 'custom-rules.md')
18+
CUSTOM_RULES_DOC_PATH = Path(ROOT_DIR).joinpath(REPO_DOCS_DIR, 'custom-rules-management.md')
1919

2020

2121
@root.group('custom-rules')

0 commit comments

Comments
 (0)