Closed shashank-elastic closed 3 weeks ago
These guidelines serve as a reminder set of considerations when addressing a bug in the code.
@shashank-elastic can you share an example of it working with a rule that has the investigation fields?
@shashank-elastic can you share an example of it working with a rule that has the investigation fields?
@Mikaayenson Already updated in "How to Test" part of the PR :)
@shashank-elastic can you share an example of it working with a rule that has the investigation fields?
@Mikaayenson Already updated in "How to Test" part of the PR :)
Looks good. I think we should update the test_toml.json file so the new fields are added to the unit test TestRuleTomlFormatter
@shashank-elastic can you share an example of it working with a rule that has the investigation fields?
@Mikaayenson Already updated in "How to Test" part of the PR :)
Looks good. I think we should update the test_toml.json file so the new fields are added to the unit test
TestRuleTomlFormatter
@Mikaayenson Done
@Mikaayenson make test-cli
execution completed
The output is pretty huge and I have truncated for better readability
Loaded config file: /Users/shashankks/elastic_workspace/detection-rules/.detection-rules-cfg.json
█▀▀▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄ ▄ ▄ █▀▀▄ ▄ ▄ ▄ ▄▄▄ ▄▄▄
█ █ █▄▄ █ █▄▄ █ █ █ █ █ █▀▄ █ █▄▄▀ █ █ █ █▄▄ █▄▄
█▄▄▀ █▄▄ █ █▄▄ █▄▄ █ ▄█▄ █▄█ █ ▀▄█ █ ▀▄ █▄▄█ █▄▄ █▄▄ ▄▄█
Building integration schemas...
processing endpoint
final integrations manifests dumped: /Users/shashankks/elastic_workspace/detection-rules/detection_rules/etc/integration-schemas.json.gz
Detection-rules CLI tests completed!
Pull Request
Issue link(s): https://github.com/elastic/detection-rules/issues/4033
Summary - What I changed
test_cli.bash
scriptHow To Test
python -m detection_rules toml-lint -f rules/windows/command_and_control_common_webservices.toml
No Errors Found
Existing Functionality is not broken
No changes detected
Checklist
bug
,enhancement
,schema
,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