File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -484,13 +484,14 @@ def _generate_registry_package(self, save_dir):
484
484
485
485
package_dir = Path (save_dir ).joinpath (manifest .version )
486
486
docs_dir = package_dir / 'docs'
487
- rules_dir = package_dir / 'kibana' / 'security-rule '
487
+ rules_dir = package_dir / 'kibana' / 'security_rule '
488
488
489
489
docs_dir .mkdir (parents = True )
490
490
rules_dir .mkdir (parents = True )
491
491
492
492
manifest_file = package_dir .joinpath ('manifest.yml' )
493
493
readme_file = docs_dir .joinpath ('README.md' )
494
+ notice_file = package_dir .joinpath ('NOTICE.txt' )
494
495
495
496
manifest_file .write_text (yaml .safe_dump (manifest .asdict ()))
496
497
# shutil.copyfile(CHANGELOG_FILE, str(rules_dir.joinpath('CHANGELOG.json')))
@@ -503,6 +504,7 @@ def _generate_registry_package(self, save_dir):
503
504
'for the detection engine within the Elastic Security application.\n \n ' )
504
505
505
506
readme_file .write_text (readme_text )
507
+ notice_file .write_text (Path (NOTICE_FILE ).read_text ())
506
508
507
509
def bump_versions (self , save_changes = False , current_versions = None ):
508
510
"""Bump the versions of all production rules included in a release and optionally save changes."""
You can’t perform that action at this time.
0 commit comments