Skip to content

Add test-events command to run detections on raw JSON events - #732

Open
illera88 wants to merge 1 commit into
panther-labs:mainfrom
illera88:feature/test-events-json
Open

Add test-events command to run detections on raw JSON events#732
illera88 wants to merge 1 commit into
panther-labs:mainfrom
illera88:feature/test-events-json

Conversation

@illera88

@illera88 illera88 commented Jan 9, 2026

Copy link
Copy Markdown
  • Adds new CLI subcommand test-events to run selected rules/policies against external event inputs (single JSON object, JSON array, or NDJSON/JSONL), printing per-event results.
  • Implements robust event loading/parsing in panther_analysis_tool/event_input.py and wires it into the existing detection import/runtime pipeline.
  • Adds unit tests covering single-event JSON, multi-event JSON array, and NDJSON inputs.
  • Updates README with usage example and help output.

@illera88
illera88 requested a review from a team as a code owner January 9, 2026 18:14
@CLAassistant

CLAassistant commented Jan 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@illera88
illera88 force-pushed the feature/test-events-json branch 2 times, most recently from 84186b2 to d36ee93 Compare January 9, 2026 19:51
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

Successfully merging this pull request may close these issues.

2 participants