|
34 | 34 | refresh_main_schema) |
35 | 35 | from .cli_utils import single_collection |
36 | 36 | from .config import parse_rules_config |
37 | | -from .docs import IntegrationSecurityDocs, IntegrationSecurityDocsMDX |
| 37 | +from .docs import IntegrationSecurityDocs, IntegrationSecurityDocsMDX, DOCS_DIR |
38 | 38 | from .ecs import download_endpoint_schemas, download_schemas |
39 | 39 | from .endgame import EndgameSchemaManager |
40 | 40 | from .eswrap import CollectEvents, add_range_to_dsl |
@@ -566,7 +566,7 @@ def elastic_pkg(*args): |
566 | 566 |
|
567 | 567 | ## Checklist |
568 | 568 |
|
569 | | - - [x] I have reviewed [tips for building integrations](https://github.com/elastic/integrations/blob/master/docs/tips_for_building_integrations.md) and this pull request is aligned with them. |
| 569 | + - [x] I have reviewed [tips for building integrations](https://github.com/elastic/integrations/blob/master/docs-dev/tips_for_building_integrations.md) and this pull request is aligned with them. |
570 | 570 | - [ ] ~I have verified that all data streams collect metrics or logs.~ |
571 | 571 | - [x] I have added an entry to my package's `changelog.yml` file. |
572 | 572 | - [x] If I'm introducing a new feature, I have modified the Kibana version constraint in my package's `manifest.yml` file to point to the latest Elastic stack release (e.g. `^7.13.0`). |
@@ -802,7 +802,7 @@ def deprecate_rule(ctx: click.Context, rule_file: Path, deprecation_folder: Path |
802 | 802 | help='GitHub token to push to gist', hide_input=True) |
803 | 803 | @click.option('--gist-id', default=NAVIGATOR_GIST_ID, help='Gist ID to be updated (must exist).') |
804 | 804 | @click.option('--print-markdown', is_flag=True, help='Print the generated urls') |
805 | | -@click.option('--update-coverage', is_flag=True, help='Update the docs/ATT&CK-coverage.md file') |
| 805 | +@click.option('--update-coverage', is_flag=True, help='Update the docs-dev/ATT&CK-coverage.md file') |
806 | 806 | def update_navigator_gists(directory: Path, token: str, gist_id: str, print_markdown: bool, |
807 | 807 | update_coverage: bool) -> list: |
808 | 808 | """Update the gists with new navigator files.""" |
@@ -857,7 +857,7 @@ def raw_permalink(raw_link): |
857 | 857 | click.echo('\n'.join(markdown) + '\n') |
858 | 858 |
|
859 | 859 | if update_coverage: |
860 | | - coverage_file_path = get_path('docs', 'ATT&CK-coverage.md') |
| 860 | + coverage_file_path = get_path(DOCS_DIR, 'ATT&CK-coverage.md') |
861 | 861 | header_lines = textwrap.dedent("""# Rule coverage |
862 | 862 |
|
863 | 863 | ATT&CK navigator layer files are generated when a package is built with `make release` or |
|
0 commit comments