-
Notifications
You must be signed in to change notification settings - Fork 503
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
[FR][DAC] Import Rules Verbose Message #4093
Merged
eric-forte-elastic
merged 9 commits into
main
from
4092-fr-dac-add-exceptions-list-and-action-connector-text-to-import-rules-logging-messages
Oct 9, 2024
Merged
[FR][DAC] Import Rules Verbose Message #4093
eric-forte-elastic
merged 9 commits into
main
from
4092-fr-dac-add-exceptions-list-and-action-connector-text-to-import-rules-logging-messages
Oct 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eric-forte-elastic
added
enhancement
New feature or request
python
Internal python for the repository
detections-as-code
labels
Sep 25, 2024
Enhancement - GuidelinesThese guidelines serve as a reminder set of considerations when addressing adding a feature to the code. Documentation and Context
Code Standards and Practices
Testing
Additional Checks
|
…onnector-text-to-import-rules-logging-messages
eric-forte-elastic
requested review from
Mikaayenson and
terrancedejesus
as code owners
September 25, 2024 18:31
…onnector-text-to-import-rules-logging-messages
terrancedejesus
approved these changes
Sep 27, 2024
Mikaayenson
reviewed
Sep 30, 2024
…onnector-text-to-import-rules-logging-messages
…onnector-text-to-import-rules-logging-messages
Mikaayenson
approved these changes
Oct 9, 2024
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.
nit: I would refactor the handle_response_errors method for readability. For example, moving both of these inner functions to the top of handle_response_errors
function.
…onnector-text-to-import-rules-logging-messages
eric-forte-elastic
deleted the
4092-fr-dac-add-exceptions-list-and-action-connector-text-to-import-rules-logging-messages
branch
October 9, 2024 21:20
protectionsmachine
pushed a commit
that referenced
this pull request
Oct 9, 2024
* Draft Verbose Message * Fix Linting * Made more descriptive * Updated for readability (cherry picked from commit 4edef2e)
protectionsmachine
pushed a commit
that referenced
this pull request
Oct 9, 2024
* Draft Verbose Message * Fix Linting * Made more descriptive * Updated for readability (cherry picked from commit 4edef2e)
protectionsmachine
pushed a commit
that referenced
this pull request
Oct 9, 2024
* Draft Verbose Message * Fix Linting * Made more descriptive * Updated for readability (cherry picked from commit 4edef2e)
protectionsmachine
pushed a commit
that referenced
this pull request
Oct 9, 2024
* Draft Verbose Message * Fix Linting * Made more descriptive * Updated for readability (cherry picked from commit 4edef2e)
protectionsmachine
pushed a commit
that referenced
this pull request
Oct 9, 2024
* Draft Verbose Message * Fix Linting * Made more descriptive * Updated for readability (cherry picked from commit 4edef2e)
protectionsmachine
pushed a commit
that referenced
this pull request
Oct 9, 2024
* Draft Verbose Message * Fix Linting * Made more descriptive * Updated for readability (cherry picked from commit 4edef2e)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
detections-as-code
enhancement
New feature or request
python
Internal python for the repository
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
Summary - What I changed
Updated the return results from importing rules to include the ids of the action connectors and exceptions to better match the export rules output.
Example:
How To Test
To test try importing rules with the
kibana import-rules
command with rules that also have actions connectors and exceptions list (remember to use the-e
and-ac
flags to include these).Checklist
bug
,enhancement
,schema
,Rule: New
,Rule: Deprecation
,Rule: Tuning
,Hunt: New
, orHunt: Tuning
so guidelines can be generatedContributor checklist