-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace master doc URLs with current #4433
Conversation
Rule: Tuning - GuidelinesThese guidelines serve as a reminder set of considerations when tuning an existing rule. Documentation and Context
Rule Metadata Checks
Testing and Validation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the small linting, this lgtm
2s
Run python -m flake8 tests detection_rules --ignore D203,N815 --max-line-length 120
tests/test_all_rules.py:1344:121: E501 line too long (121 > 120 characters)
Error: Process completed with exit code 1.
Since we're touching the unit tests AND rules, we need to open a maintenance window to address the release branches when they backport. cc. @shashank-elastic
This was created from a fork. This might cause issues when we merge upstream ( although I am not sure, never seen a fork merge into our main before) . ![]() cc @Mikaayenson |
We have replicated this PR for merging to our main via #4439 This can be closed. We have cherry-picked the commit so as file changes are identical |
Fix is merged via - #4439. Since this PR was opened as a fork as opposed to a branch. Closing this PR |
Pull Request
Issue link(s):
Related to elastic/docs#3160
Summary - What I changed
We are going to be retiring the "master" documentation, so this PR is intended to fix the hard-coded links to that version of the docs.
Note that this PR seems like it will need to be backported to at least 8.9, since errors like this appear in our doc build test:
Note that we are moving to a new doc system that will use a new style of URLs for V9 and later. Thus the links for V9 and later targets will need to be updated again at that time.
How To Test
I'm not sure what steps are required to generate pages like https://www.elastic.co/guide/en/security/current/wireless-credential-dumping-using-netsh-command.html but that is where links for "Osquery Markdown Plugin" were targeting https://www.elastic.co/guide/en/security/master/invest-guide-run-osquery.html and should target https://www.elastic.co/guide/en/security/current/invest-guide-run-osquery.html instead.
Checklist
bug
,enhancement
,schema
,maintenance
,Rule: New
,Rule: Deprecation
,Rule: Tuning
,Hunt: New
, orHunt: Tuning
so guidelines can be generatedmeta:rapid-merge
label if planning to merge within 24 hoursContributor checklist