Skip to content
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

Replay --validate fails #57

Open
acook-recon opened this issue Oct 2, 2022 · 0 comments
Open

Replay --validate fails #57

acook-recon opened this issue Oct 2, 2022 · 0 comments

Comments

@acook-recon
Copy link

Expected Behavior

The command limacharlie replay --validate --rule-content T1196.rule should work correctly, as documented: https://doc.limacharlie.io/docs/documentation/ZG9jOjE5MzEwOTc-writing-and-testing-rules

Actual Behavior

Returns: limacharlie.utils.LcApiException: Api failure (400): {'error': 'no event_source specified'}

Running replay by removing --validate and adding a test rule works correctly, e.g. limacharlie replay --rule-content ~/test.yml --events ~/target_event.json

Steps to Reproduce the Problem

  1. Follow the docs to create a test rule
  2. limacharlie replay --validate --rule-content T1196.rule

Specifications

  • Version: 4.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant